Skip to content

Commit 825e0d2

Browse files
authored
Merge pull request #255 from maslianok/update-dependencies
React 19 + Update dependencies
2 parents 0e7330c + 0a16c84 commit 825e0d2

File tree

7 files changed

+3183
-3000
lines changed

7 files changed

+3183
-3000
lines changed

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "react-resize-detector",
3-
"version": "11.0.0-beta.0",
3+
"version": "12.0.0",
44
"description": "React resize detector",
5-
"main": "build/index.js",
6-
"module": "build/index.esm.js",
5+
"type": "module",
6+
"exports": "./build/index.js",
7+
"types": "./build/index.d.ts",
78
"files": [
89
"build"
910
],
10-
"types": "build/types/index.d.ts",
1111
"repository": {
1212
"type": "git",
1313
"url": "git+https://github.com/maslianok/react-resize-detector.git"
@@ -25,25 +25,25 @@
2525
"lodash": "^4.17.21"
2626
},
2727
"devDependencies": {
28-
"@rollup/plugin-commonjs": "^25.0.8",
29-
"@rollup/plugin-node-resolve": "^15.2.3",
30-
"@rollup/plugin-typescript": "^11.1.6",
31-
"@types/lodash": "^4.17.4",
32-
"@types/react": "^18.3.3",
33-
"@types/react-dom": "^18.3.0",
34-
"@typescript-eslint/eslint-plugin": "^7.11.0",
35-
"@typescript-eslint/parser": "^7.11.0",
36-
"eslint": "^8.57.0",
28+
"@rollup/plugin-commonjs": "^28.0.1",
29+
"@rollup/plugin-node-resolve": "^15.3.0",
30+
"@rollup/plugin-typescript": "^12.1.1",
31+
"@types/lodash": "^4.17.13",
32+
"@types/react": "^19.0.1",
33+
"@types/react-dom": "^19.0.2",
34+
"@typescript-eslint/eslint-plugin": "^7.18.0",
35+
"@typescript-eslint/parser": "^7.18.0",
36+
"eslint": "^8.57.1",
3737
"eslint-config-prettier": "^9.1.0",
38-
"eslint-plugin-react": "^7.34.2",
39-
"prettier": "^3.2.5",
40-
"rollup": "^4.18.0",
41-
"rollup-plugin-node-externals": "^7.1.2",
42-
"typescript": "^5.4.5"
38+
"eslint-plugin-react": "^7.37.2",
39+
"prettier": "^3.4.2",
40+
"rollup": "^4.28.1",
41+
"rollup-plugin-node-externals": "^7.1.3",
42+
"tslib": "^2.8.1",
43+
"typescript": "^5.7.2"
4344
},
4445
"peerDependencies": {
45-
"react": "^18.0.0",
46-
"react-dom": "^18.0.0"
46+
"react": "^18.0.0 || ^19.0.0"
4747
},
4848
"author": "Vitalii Maslianok <[email protected]> (https://github.com/maslianok)",
4949
"bugs": {

playground/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@
1111
"preview": "vite preview"
1212
},
1313
"dependencies": {
14-
"@radix-ui/themes": "^3.0.1",
15-
"lucide-react": "^0.363.0",
16-
"react": "^18.2.0",
17-
"react-dom": "^18.2.0",
14+
"@radix-ui/themes": "^3.1.6",
15+
"lucide-react": "^0.468.0",
16+
"react": "^18.3.1",
17+
"react-dom": "^18.3.1",
1818
"react-resize-detector": "file:.."
1919
},
2020
"devDependencies": {
21-
"@types/node": "^20.11.30",
22-
"@types/react": "^18.2.72",
23-
"@types/react-dom": "^18.2.22",
24-
"@vitejs/plugin-react": "^4.2.1",
25-
"eslint": "^8.57.0",
21+
"@types/node": "^22.10.2",
22+
"@types/react": "^18.3.3",
23+
"@types/react-dom": "^18.3.0",
24+
"@vitejs/plugin-react": "^4.3.4",
25+
"eslint": "^8.57.1",
2626
"eslint-config-prettier": "^9.1.0",
2727
"linklocal": "^2.8.2",
28-
"prettier": "3.2.5",
29-
"typescript": "^5.4.3",
30-
"typescript-eslint": "^7.4.0",
31-
"vite": "^5.2.6"
28+
"prettier": "3.4.2",
29+
"typescript": "^5.7.2",
30+
"typescript-eslint": "^7.18.0",
31+
"vite": "^5.4.11"
3232
}
3333
}

0 commit comments

Comments
 (0)