react-router-pagination 3.3.185 → 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.
Files changed (2) hide show
  1. package/husky.mjs +16 -0
  2. package/package.json +30 -30
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.185",
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.28.5",
34
- "@babel/eslint-parser": "^7.28.5",
35
- "@babel/plugin-syntax-jsx": "^7.27.1",
36
- "@babel/plugin-transform-typescript": "^7.28.5",
37
- "@babel/preset-env": "^7.28.5",
38
- "@babel/preset-react": "^7.28.5",
39
- "@babel/preset-typescript": "^7.28.5",
40
- "@babel/register": "^7.28.3",
41
- "@chromatic-com/storybook": "^4.1.3",
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
42
  "@sequencemedia/eslint-config-standard": "^0.2.107",
43
43
  "@sequencemedia/eslint-config-typescript": "^0.1.182",
44
- "@storybook/addon-docs": "^10.1.2",
45
- "@storybook/addon-links": "^10.1.2",
46
- "@storybook/addon-webpack5-compiler-babel": "^4.0.0",
47
- "@storybook/react-webpack5": "^10.1.2",
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.0",
49
+ "@testing-library/react": "^16.3.2",
50
50
  "@types/babel__register": "^7.17.3",
51
- "@types/debug": "^4.1.12",
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.7",
54
+ "@types/react": "^19.2.17",
55
55
  "@types/react-dom": "^19.2.3",
56
56
  "@types/react-router": "^5.1.20",
57
- "@typescript-eslint/eslint-plugin": "^8.48.0",
58
- "@typescript-eslint/parser": "^8.48.0",
59
- "core-js": "^3.47.0",
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.1.2",
64
- "globals": "^16.5.0",
63
+ "eslint-plugin-storybook": "^10.4.4",
64
+ "globals": "^17.6.0",
65
65
  "husky": "^9.1.7",
66
- "jest": "^30.2.0",
67
- "jest-environment-jsdom": "^30.2.0",
66
+ "jest": "^30.4.2",
67
+ "jest-environment-jsdom": "^30.4.1",
68
68
  "prop-types": "^15.8.1",
69
- "react": "^19.2.0",
70
- "react-component-snapshot": "^0.0.166",
71
- "react-dom": "^19.2.0",
72
- "react-router": "^7.9.6",
73
- "storybook": "^10.1.2"
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"