Skip to content

Commit 704aee6

Browse files
authored
Merge pull request #3591 from ProjectMirador/update-dependencies-202301
Update dependencies
2 parents 8ca0169 + 2d26a18 commit 704aee6

4 files changed

Lines changed: 16 additions & 15 deletions

File tree

__tests__/src/components/CanvasLayers.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { shallow } from 'enzyme';
33
import Input from '@material-ui/core/Input';
44
import Slider from '@material-ui/core/Slider';
55
import Typography from '@material-ui/core/Typography';
6-
import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
6+
import { DragDropContext, Droppable, Draggable } from '@hello-pangea/dnd';
77
import { CanvasLayers } from '../../../src/components/CanvasLayers';
88
import IIIFThumbnail from '../../../src/containers/IIIFThumbnail';
99

jest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"coverageDirectory": "<rootDir>/coverage",
99
"coverageReporters": ["html", "lcov"],
1010
"moduleNameMapper": {
11-
"\\.s?css$": "<rootDir>/__mocks__/css.js"
11+
"\\.s?css$": "<rootDir>/__mocks__/css.js",
12+
"^uuid$": "uuid"
1213
},
1314
"setupFiles": [
1415
"<rootDir>/setupJest.js"

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
],
3434
"repository": "https://github.com/ProjectMirador/mirador",
3535
"dependencies": {
36+
"@hello-pangea/dnd": "^16.0.1",
3637
"@material-ui/core": "^4.12.3",
3738
"@material-ui/icons": "^4.9.1",
3839
"@material-ui/lab": "^4.0.0-alpha.53",
@@ -54,7 +55,6 @@
5455
"prop-types": "^15.6.2",
5556
"re-reselect": "^4.0.0",
5657
"react-aria-live": "^2.0.5",
57-
"react-beautiful-dnd": "^13.0.0",
5858
"react-copy-to-clipboard": "^5.0.1",
5959
"react-dnd": "^10.0.2",
6060
"react-dnd-html5-backend": "^10.0.2",
@@ -64,10 +64,10 @@
6464
"react-i18next": "^11.7.0",
6565
"react-image": "^4.0.1",
6666
"react-mosaic-component": "^4.0.1",
67-
"react-redux": "^7.1.0",
67+
"react-redux": "^7.1.0 || ^8.0.0",
6868
"react-resize-observer": "^1.1.1",
6969
"react-rnd": "^10.1",
70-
"react-sizeme": "^2.6.7",
70+
"react-sizeme": "^2.6.7 || ^3.0.0",
7171
"react-virtualized-auto-sizer": "^1.0.2",
7272
"react-window": "^1.8.5",
7373
"redux": "^4.0.5",
@@ -76,7 +76,7 @@
7676
"redux-thunk": "^2.3.0",
7777
"reselect": "^4.0.0",
7878
"url": "^0.11.0",
79-
"uuid": "^8.1.0"
79+
"uuid": "^8.1.0 || ^9.0.0"
8080
},
8181
"devDependencies": {
8282
"@babel/cli": "^7.17.6",
@@ -90,8 +90,8 @@
9090
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
9191
"@typescript-eslint/eslint-plugin": "^5.15.0",
9292
"@typescript-eslint/parser": "^5.15.0",
93-
"babel-jest": "^27.5.1",
94-
"babel-loader": "^8.0.6",
93+
"babel-jest": "^29.3.1",
94+
"babel-loader": "^9.1.0",
9595
"babel-plugin-lodash": "^3.3.4",
9696
"babel-plugin-macros": "^3.0.1",
9797
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
@@ -106,27 +106,27 @@
106106
"eslint-config-react-app": "^7.0.0",
107107
"eslint-plugin-flowtype": "^8.0.3",
108108
"eslint-plugin-import": "^2.25.4",
109-
"eslint-plugin-jest": "^26.1.1",
109+
"eslint-plugin-jest": "^27.1.5",
110110
"eslint-plugin-jsx-a11y": "^6.4.1",
111111
"eslint-plugin-react": "^7.29.4",
112112
"eslint-plugin-react-hooks": "^4.2.0",
113-
"glob": "^7.1.4",
113+
"glob": "^8.0.3",
114114
"http-server": "^14.1.0",
115-
"jest": "^27.5.1",
115+
"jest": "^29.3.1",
116116
"jest-fetch-mock": "^3.0.0",
117117
"jest-puppeteer": "^6.1.0",
118-
"jsdom": "^19.0.0",
118+
"jsdom": "^21.0.0",
119119
"puppeteer": "^13.5.1",
120120
"react": "^16.8.6",
121121
"react-dom": "^16.8.6",
122-
"react-refresh": "^0.11.0",
122+
"react-refresh": "^0.14.0",
123123
"redux-mock-store": "^1.5.1",
124124
"redux-saga-test-plan": "^4.0.0-rc.3",
125125
"terser-webpack-plugin": "^5.3.1",
126126
"unfetch": "^4.1.0",
127127
"url-polyfill": "^1.1.7",
128128
"webpack": "^5.70.0",
129-
"webpack-cli": "^4.9.2",
129+
"webpack-cli": "^5.0.0",
130130
"webpack-dev-server": "^4.7.4"
131131
},
132132
"peerDependencies": {

src/components/CanvasLayers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import VisibilityIcon from '@material-ui/icons/VisibilitySharp';
1414
import VisibilityOffIcon from '@material-ui/icons/VisibilityOffSharp';
1515
import OpacityIcon from '@material-ui/icons/OpacitySharp';
1616
import Typography from '@material-ui/core/Typography';
17-
import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
17+
import { DragDropContext, Droppable, Draggable } from '@hello-pangea/dnd';
1818
import MiradorMenuButton from '../containers/MiradorMenuButton';
1919
import IIIFThumbnail from '../containers/IIIFThumbnail';
2020

0 commit comments

Comments
 (0)