Skip to content

Commit f155795

Browse files
authored
chore(npm): update packages (react-grid-layout#1848)
1 parent 6deb935 commit f155795

8 files changed

+3937
-3773
lines changed

.flowconfig

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<PROJECT_ROOT>/build/.*
66
<PROJECT_ROOT>/dist/.*
77
<PROJECT_ROOT>/node_modules/resolve/.*
8+
<PROJECT_ROOT>/node_modules/.*/resolve/.*
89
# Speeds parsing:
910
.*/node_modules/@babel.*
1011
.*/node_modules/babel.*

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ dist/*
66
npm-debug.log
77
build/
88
.idea
9+
coverage/
910
# Ignore built example files
1011
examples/*.html
1112
examples/*.js

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ Using hooks to save your layout state on change will cause the layouts to re-ren
566566
To avoid this you should wrap your WidthProvider in a useMemo:
567567
568568
```js
569-
const ResponsiveReactGridLayout = useMemo(()=>WidthProvider(Responsive), [])
569+
const ResponsiveReactGridLayout = useMemo(() => WidthProvider(Responsive), []);
570570
```
571571
572572
### Custom Child Components and Draggable Handles

dist/react-grid-layout.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-grid-layout.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+35-32
Original file line numberDiff line numberDiff line change
@@ -37,54 +37,55 @@
3737
},
3838
"homepage": "https://github.com/STRML/react-grid-layout",
3939
"dependencies": {
40-
"clsx": "^1.1.1",
40+
"clsx": "^1.2.1",
4141
"lodash.isequal": "^4.0.0",
4242
"prop-types": "^15.8.1",
43-
"react-draggable": "^4.0.0",
43+
"react-draggable": "^4.4.5",
4444
"react-resizable": "^3.0.4"
4545
},
4646
"devDependencies": {
47-
"@babel/cli": "^7.17.3",
48-
"@babel/core": "^7.17.5",
49-
"@babel/eslint-parser": "^7.17.0",
50-
"@babel/plugin-proposal-class-properties": "^7.16.7",
51-
"@babel/plugin-transform-flow-comments": "^7.16.7",
52-
"@babel/preset-env": "^7.16.11",
53-
"@babel/preset-flow": "^7.16.7",
54-
"@babel/preset-react": "^7.16.7",
55-
"@babel/register": "^7.17.0",
56-
"@webpack-cli/serve": "^1.6.1",
57-
"babel-jest": "^27.5.1",
58-
"babel-loader": "^8.2.2",
47+
"@babel/cli": "^7.21.0",
48+
"@babel/core": "^7.21.0",
49+
"@babel/eslint-parser": "^7.19.1",
50+
"@babel/plugin-proposal-class-properties": "^7.18.6",
51+
"@babel/plugin-transform-flow-comments": "^7.21.0",
52+
"@babel/preset-env": "^7.20.2",
53+
"@babel/preset-flow": "^7.18.6",
54+
"@babel/preset-react": "^7.18.6",
55+
"@babel/register": "^7.21.0",
56+
"@webpack-cli/serve": "^2.0.1",
57+
"babel-jest": "^29.4.3",
58+
"babel-loader": "^9.1.2",
5959
"babel-plugin-preval": "^5.1.0",
60-
"css-loader": "^6.6.0",
61-
"ejs": "^3.1.6",
60+
"css-loader": "^6.7.3",
61+
"ejs": "^3.1.8",
6262
"enzyme": "^3.11.0",
63-
"enzyme-adapter-react-16": "^1.15.6",
63+
"enzyme-adapter-react-16": "^1.15.7",
6464
"enzyme-to-json": "^3.6.2",
65-
"eslint": "^8.9.0",
65+
"eslint": "^8.34.0",
6666
"eslint-plugin-flowtype": "^8.0.3",
67-
"eslint-plugin-mocha": "^10.0.3",
68-
"eslint-plugin-react": "^7.28.0",
69-
"eslint-plugin-unicorn": "^41.0.0",
70-
"exports-loader": "^3.0.0",
67+
"eslint-plugin-mocha": "^10.1.0",
68+
"eslint-plugin-react": "^7.32.2",
69+
"eslint-plugin-unicorn": "^45.0.2",
70+
"exports-loader": "^4.0.0",
7171
"flow-bin": "^0.172.0",
72-
"husky": "^7.0.2",
73-
"imports-loader": "^3.0.0",
74-
"jest": "^27.5.1",
75-
"lint-staged": "^12.3.4",
72+
"husky": "^8.0.3",
73+
"imports-loader": "^4.0.1",
74+
"jest": "^29.4.3",
75+
"jest-environment-jsdom": "^29.4.3",
76+
"lint-staged": "^13.1.2",
7677
"lodash": "^4.17.21",
7778
"opener": "^1.5.2",
78-
"prettier": "^2.3.2",
79+
"prettier": "^2.8.4",
7980
"react": "^16.13.1",
8081
"react-dom": "^16.13.1",
81-
"react-hot-loader": "^4.13.0",
82+
"react-hot-loader": "^4.13.1",
8283
"react-transform-hmr": "^1.0.2",
8384
"style-loader": "^3.2.1",
8485
"timsort": "^0.3.0",
85-
"webpack": "^5.69.1",
86-
"webpack-cli": "^4.9.2",
87-
"webpack-dev-server": "^4.7.4"
86+
"webpack": "^5.75.0",
87+
"webpack-cli": "^5.0.1",
88+
"webpack-dev-server": "^4.11.1"
8889
},
8990
"peerDependencies": {
9091
"react": ">= 16.3.0",
@@ -104,7 +105,9 @@
104105
"<rootDir>/test/spec/*.js"
105106
],
106107
"testEnvironment": "jsdom",
107-
"testURL": "http://localhost",
108+
"testEnvironmentOptions": {
109+
"url": "http://localhost"
110+
},
108111
"coverageThreshold": {
109112
"global": {
110113
"statements": 77,

0 commit comments

Comments
 (0)