Skip to content

Commit

Permalink
Merge pull request #2616 from Amsterdam/update-dependencies
Browse files Browse the repository at this point in the history
Updated dep immer
  • Loading branch information
remyvdwereld authored Sep 4, 2024
2 parents d1c00de + 6bb19cf commit a29569a
Show file tree
Hide file tree
Showing 8 changed files with 198 additions and 203 deletions.
371 changes: 187 additions & 184 deletions package-lock.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@
"@types/react-dom": "^18.0.3",
"@types/styled-components": "^5.1.26",
"@vitejs/plugin-react": "^4.2.1",
"axios": "^1.6.7",
"axios": "^1.7.2",
"dompurify": "^3.0.1",
"env-cmd": "^10.1.0",
"eslint-config-react-app": "^7.0.1",
"final-form": "^4.20.10",
"final-form-arrays": "^3.1.0",
"immer": "^9.0.19",
"immer": "^10.1.1",
"jwt-decode": "^3.1.2",
"keycloak-js": "^24.0.5",
"lodash.difference": "^4.5.0",
Expand All @@ -62,16 +62,16 @@
"react-dom": "^17.0.2",
"react-final-form": "^6.5.9",
"react-final-form-arrays": "^3.1.4",
"react-router-dom": "^6.22.3",
"react-router-dom": "^6.23.1",
"styled-components": "^5.3.11",
"typescript": "5.1.6",
"vite": "^5.2.13",
"vite-tsconfig-paths": "^4.3.1"
"vite-tsconfig-paths": "^4.3.2"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.23.3",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.1",
Expand All @@ -80,7 +80,7 @@
"dtsgenerator": "^3.18.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.2",
"lint-staged": "^15.2.5",
"nock": "^13.5.4"
},
"eslintConfig": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react"
import produce from "immer"
import { produce } from "immer"

import ScaffoldField, { Field } from "../ScaffoldField"
import { useForm, useFormState } from "react-final-form"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useCallback, useReducer } from "react"
import produce from "immer"
import { produce } from "immer"

import { FormValues, WizardStep } from "app/features/visits/components/organisms/NoteWizard/types"

Expand Down
2 changes: 1 addition & 1 deletion src/app/state/rest/hooks/useApiCache.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useCallback, useReducer } from "react"
import produce from "immer"
import { produce } from "immer"

export type ApiCacheItem = {
valid: boolean
Expand Down
2 changes: 1 addition & 1 deletion src/app/state/rest/hooks/useRequestQueue.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useCallback, useEffect, useReducer, useState } from "react"
import produce from "immer"
import { produce } from "immer"

type QueuedPromise = () => Promise<any>

Expand Down
2 changes: 0 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import "./polyfills/"

import React from "react"
import ReactDOM from "react-dom"
import App from "./App"
Expand Down
6 changes: 0 additions & 6 deletions src/polyfills/index.ts

This file was deleted.

0 comments on commit a29569a

Please sign in to comment.