react-router-pagination 3.3.184 → 3.3.220
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/husky.mjs +16 -0
- package/package.json +33 -33
package/husky.mjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// @ts-ignore
|
|
4
|
+
Promise.resolve(import('husky'))
|
|
5
|
+
.then(({ default: husky }) => husky())
|
|
6
|
+
.catch((e) => {
|
|
7
|
+
if (e instanceof Error) {
|
|
8
|
+
if ('code' in e) {
|
|
9
|
+
const { code } = e
|
|
10
|
+
if (code === 'ERR_MODULE_NOT_FOUND') return
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const { message } = e
|
|
14
|
+
if (message) console.error(`💥 ${message}`)
|
|
15
|
+
}
|
|
16
|
+
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-router-pagination",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.220",
|
|
4
4
|
"description": "A React Router Pagination component",
|
|
5
5
|
"main": "./src/index.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"build-storybook": "storybook build",
|
|
23
23
|
"lint": "eslint",
|
|
24
24
|
"lint:fix": "npm run lint -- --fix",
|
|
25
|
-
"prepare": "husky",
|
|
25
|
+
"prepare": "node husky.mjs",
|
|
26
26
|
"storybook": "storybook dev -p 6006",
|
|
27
27
|
"test": "cross-env NODE_ENV=test jest --verbose"
|
|
28
28
|
},
|
|
@@ -30,47 +30,47 @@
|
|
|
30
30
|
"debug": "^4.4.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@babel/core": "^7.
|
|
34
|
-
"@babel/eslint-parser": "^7.
|
|
35
|
-
"@babel/plugin-syntax-jsx": "^7.
|
|
36
|
-
"@babel/plugin-transform-typescript": "^7.
|
|
37
|
-
"@babel/preset-env": "^7.
|
|
38
|
-
"@babel/preset-react": "^7.
|
|
39
|
-
"@babel/preset-typescript": "^7.
|
|
40
|
-
"@babel/register": "^7.
|
|
41
|
-
"@chromatic-com/storybook": "^
|
|
42
|
-
"@sequencemedia/eslint-config-standard": "^0.2.
|
|
43
|
-
"@sequencemedia/eslint-config-typescript": "^0.1.
|
|
44
|
-
"@storybook/addon-docs": "^10.
|
|
45
|
-
"@storybook/addon-links": "^10.
|
|
46
|
-
"@storybook/addon-webpack5-compiler-babel": "^4.0.
|
|
47
|
-
"@storybook/react-webpack5": "^10.
|
|
33
|
+
"@babel/core": "^7.29.7",
|
|
34
|
+
"@babel/eslint-parser": "^7.29.7",
|
|
35
|
+
"@babel/plugin-syntax-jsx": "^7.29.7",
|
|
36
|
+
"@babel/plugin-transform-typescript": "^7.29.7",
|
|
37
|
+
"@babel/preset-env": "^7.29.7",
|
|
38
|
+
"@babel/preset-react": "^7.29.7",
|
|
39
|
+
"@babel/preset-typescript": "^7.29.7",
|
|
40
|
+
"@babel/register": "^7.29.7",
|
|
41
|
+
"@chromatic-com/storybook": "^5.2.1",
|
|
42
|
+
"@sequencemedia/eslint-config-standard": "^0.2.107",
|
|
43
|
+
"@sequencemedia/eslint-config-typescript": "^0.1.182",
|
|
44
|
+
"@storybook/addon-docs": "^10.4.4",
|
|
45
|
+
"@storybook/addon-links": "^10.4.4",
|
|
46
|
+
"@storybook/addon-webpack5-compiler-babel": "^4.0.1",
|
|
47
|
+
"@storybook/react-webpack5": "^10.4.4",
|
|
48
48
|
"@testing-library/jest-dom": "^6.9.1",
|
|
49
|
-
"@testing-library/react": "^16.3.
|
|
49
|
+
"@testing-library/react": "^16.3.2",
|
|
50
50
|
"@types/babel__register": "^7.17.3",
|
|
51
|
-
"@types/debug": "^4.1.
|
|
51
|
+
"@types/debug": "^4.1.13",
|
|
52
52
|
"@types/jest": "^30.0.0",
|
|
53
53
|
"@types/prop-types": "^15.7.15",
|
|
54
|
-
"@types/react": "^19.2.
|
|
55
|
-
"@types/react-dom": "^19.2.
|
|
54
|
+
"@types/react": "^19.2.17",
|
|
55
|
+
"@types/react-dom": "^19.2.3",
|
|
56
56
|
"@types/react-router": "^5.1.20",
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
58
|
-
"@typescript-eslint/parser": "^8.
|
|
59
|
-
"core-js": "^3.
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "^8.61.0",
|
|
58
|
+
"@typescript-eslint/parser": "^8.61.0",
|
|
59
|
+
"core-js": "^3.49.0",
|
|
60
60
|
"cross-env": "^10.1.0",
|
|
61
61
|
"eslint": "9.38.0",
|
|
62
62
|
"eslint-plugin-react": "^7.37.5",
|
|
63
|
-
"eslint-plugin-storybook": "^10.
|
|
64
|
-
"globals": "^
|
|
63
|
+
"eslint-plugin-storybook": "^10.4.4",
|
|
64
|
+
"globals": "^17.6.0",
|
|
65
65
|
"husky": "^9.1.7",
|
|
66
|
-
"jest": "^30.2
|
|
67
|
-
"jest-environment-jsdom": "^30.
|
|
66
|
+
"jest": "^30.4.2",
|
|
67
|
+
"jest-environment-jsdom": "^30.4.1",
|
|
68
68
|
"prop-types": "^15.8.1",
|
|
69
|
-
"react": "^19.2.
|
|
70
|
-
"react-component-snapshot": "^0.0.
|
|
71
|
-
"react-dom": "^19.2.
|
|
72
|
-
"react-router": "^7.
|
|
73
|
-
"storybook": "^10.
|
|
69
|
+
"react": "^19.2.7",
|
|
70
|
+
"react-component-snapshot": "^0.0.168",
|
|
71
|
+
"react-dom": "^19.2.7",
|
|
72
|
+
"react-router": "^7.17.0",
|
|
73
|
+
"storybook": "^10.4.4"
|
|
74
74
|
},
|
|
75
75
|
"overrides": {
|
|
76
76
|
"storybook": "$storybook"
|