react-resizable 3.0.5 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-resizable",
3
- "version": "3.0.5",
3
+ "version": "3.1.1",
4
4
  "description": "A component that is resizable with handles.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11,7 +11,6 @@
11
11
  "build-example": "webpack",
12
12
  "dev": "webpack serve --open",
13
13
  "prepublishOnly": "npm run build",
14
- "validate": "yarn check",
15
14
  "preversion": "npm run lint",
16
15
  "version": "git add CHANGELOG.md",
17
16
  "postversion": "git push && git push --tags",
@@ -33,48 +32,49 @@
33
32
  },
34
33
  "homepage": "https://github.com/react-grid-layout/react-resizable",
35
34
  "devDependencies": {
36
- "@babel/cli": "^7.21.0",
37
- "@babel/core": "^7.21.3",
38
- "@babel/eslint-parser": "^7.21.3",
35
+ "@babel/cli": "^7.28.3",
36
+ "@babel/core": "^7.28.5",
37
+ "@babel/eslint-parser": "^7.28.5",
39
38
  "@babel/plugin-proposal-class-properties": "^7.18.6",
40
39
  "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
41
- "@babel/preset-env": "^7.20.2",
42
- "@babel/preset-flow": "^7.18.6",
43
- "@babel/preset-react": "^7.18.6",
44
- "babel-loader": "^9.1.2",
45
- "cross-env": "^7.0.2",
46
- "css-loader": "^6.7.3",
47
- "enzyme": "^3.11.0",
48
- "enzyme-adapter-react-16": "^1.15.7",
49
- "eslint": "^8.36.0",
50
- "eslint-plugin-jest": "^27.2.1",
51
- "eslint-plugin-react": "^7.32.2",
40
+ "@babel/preset-env": "^7.28.5",
41
+ "@babel/preset-flow": "^7.27.1",
42
+ "@babel/preset-react": "^7.28.5",
43
+ "@testing-library/dom": "^10.4.1",
44
+ "@testing-library/jest-dom": "^6.1.0",
45
+ "@testing-library/react": "^16.3.1",
46
+ "@testing-library/user-event": "^14.5.0",
47
+ "babel-loader": "^10.0.0",
48
+ "cross-env": "^10.1.0",
49
+ "css-loader": "^7.1.2",
50
+ "eslint": "^9.39.2",
51
+ "eslint-plugin-jest": "^29.11.3",
52
+ "eslint-plugin-react": "^7.37.5",
52
53
  "flow-bin": "^0.153.0",
53
- "jest": "^29.5.0",
54
- "jest-environment-jsdom": "^29.5.0",
54
+ "jest": "^30.2.0",
55
+ "jest-environment-jsdom": "^30.2.0",
55
56
  "lodash": "^4.17.20",
56
57
  "pre-commit": "^1.1.2",
57
- "react": "^16.10.2",
58
- "react-dom": "^16.10.2",
59
- "react-test-renderer": "^16.11.0",
60
- "style-loader": "^3.3.2",
61
- "webpack": "^5.76.2",
62
- "webpack-cli": "^5.0.1",
63
- "webpack-dev-server": "^4.13.1"
58
+ "react": "^19.2.3",
59
+ "react-dom": "^19.2.3",
60
+ "style-loader": "^4.0.0",
61
+ "webpack": "^5.104.1",
62
+ "webpack-cli": "^6.0.1",
63
+ "webpack-dev-server": "^5.2.2"
64
64
  },
65
65
  "dependencies": {
66
66
  "prop-types": "15.x",
67
- "react-draggable": "^4.0.3"
67
+ "react-draggable": "^4.5.0"
68
68
  },
69
69
  "peerDependencies": {
70
- "react": ">= 16.3"
70
+ "react": ">= 16.3",
71
+ "react-dom": ">= 16.3"
71
72
  },
72
73
  "publishConfig": {
73
74
  "registry": "https://registry.npmjs.org"
74
75
  },
75
76
  "pre-commit": [
76
77
  "lint",
77
- "validate",
78
78
  "test"
79
79
  ]
80
80
  }
package/.eslintrc DELETED
@@ -1,38 +0,0 @@
1
- {
2
- "root": true,
3
- "parser": "@babel/eslint-parser",
4
- "plugins": [
5
- "react"
6
- ],
7
- "extends": [
8
- "eslint:recommended",
9
- "plugin:jest/recommended"
10
- ],
11
- "rules": {
12
- "strict": 0,
13
- "quotes": [0, "single"],
14
- "curly": [1, "multi-line"],
15
- "camelcase": 0,
16
- "comma-dangle": 0,
17
- "dot-notation": 0,
18
- "no-console": 0,
19
- "no-use-before-define": [1, "nofunc"],
20
- "no-underscore-dangle": 0,
21
- "no-unused-vars": 0,
22
- "new-cap": 0,
23
- "react/jsx-uses-vars": 1,
24
- "semi": [1, "always"]
25
- },
26
- "env": {
27
- "browser": true,
28
- "node": true,
29
- "jest": true
30
- },
31
- "globals": {
32
- // For Flow
33
- "ReactElement": false,
34
- "ReactClass": false,
35
- "SyntheticEvent": false,
36
- "ClientRect": false
37
- }
38
- }