@dr.pogodin/react-utils 1.26.7 → 1.28.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,5 +1,5 @@
1
1
  {
2
- "version": "1.26.7",
2
+ "version": "1.28.1",
3
3
  "bin": {
4
4
  "react-utils-build": "bin/build.js",
5
5
  "react-utils-setup": "bin/setup.js"
@@ -8,11 +8,11 @@
8
8
  "url": "https://github.com/birdofpreyru/react-utils/issues"
9
9
  },
10
10
  "dependencies": {
11
- "@babel/runtime": "^7.23.4",
11
+ "@babel/runtime": "^7.23.6",
12
12
  "@dr.pogodin/babel-plugin-react-css-modules": "^6.12.0",
13
13
  "@dr.pogodin/csurf": "^1.13.0",
14
14
  "@dr.pogodin/js-utils": "^0.0.6",
15
- "@dr.pogodin/react-global-state": "^0.11.0",
15
+ "@dr.pogodin/react-global-state": "^0.12.0",
16
16
  "@dr.pogodin/react-themes": "^1.5.1",
17
17
  "@jest/environment": "^29.7.0",
18
18
  "axios": "^1.6.2",
@@ -36,7 +36,7 @@
36
36
  "react": "^18.2.0",
37
37
  "react-dom": "^18.2.0",
38
38
  "react-helmet": "^6.1.0",
39
- "react-router-dom": "^6.18.0",
39
+ "react-router-dom": "^6.21.0",
40
40
  "request-ip": "^3.3.0",
41
41
  "rimraf": "^5.0.5",
42
42
  "serialize-javascript": "^6.0.1",
@@ -48,12 +48,12 @@
48
48
  "description": "Collection of generic ReactJS components and utils",
49
49
  "devDependencies": {
50
50
  "@babel/cli": "^7.23.4",
51
- "@babel/core": "^7.23.3",
51
+ "@babel/core": "^7.23.6",
52
52
  "@babel/eslint-parser": "^7.23.3",
53
- "@babel/eslint-plugin": "^7.22.10",
53
+ "@babel/eslint-plugin": "^7.23.5",
54
54
  "@babel/node": "^7.22.19",
55
- "@babel/plugin-transform-runtime": "^7.23.4",
56
- "@babel/preset-env": "^7.23.3",
55
+ "@babel/plugin-transform-runtime": "^7.23.6",
56
+ "@babel/preset-env": "^7.23.6",
57
57
  "@babel/preset-react": "^7.23.3",
58
58
  "@babel/preset-typescript": "^7.23.3",
59
59
  "@babel/register": "^7.22.15",
@@ -61,21 +61,21 @@
61
61
  "@dr.pogodin/babel-preset-svgr": "^1.8.0",
62
62
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
63
63
  "@tsconfig/recommended": "^1.0.3",
64
- "@tsd/typescript": "^5.3.2",
64
+ "@tsd/typescript": "^5.3.3",
65
65
  "@types/compression": "^1.7.5",
66
66
  "@types/config": "^3.3.3",
67
67
  "@types/cookie": "^0.6.0",
68
68
  "@types/cookie-parser": "^1.4.6",
69
69
  "@types/csurf": "^1.11.5",
70
70
  "@types/express": "^4.17.21",
71
- "@types/jest": "^29.5.10",
71
+ "@types/jest": "^29.5.11",
72
72
  "@types/lodash": "^4.14.202",
73
73
  "@types/morgan": "^1.9.9",
74
74
  "@types/node-forge": "^1.3.10",
75
75
  "@types/pretty": "^2.0.3",
76
- "@types/react": "^18.2.38",
77
- "@types/react-dom": "^18.2.17",
78
- "@types/react-helmet": "^6.1.9",
76
+ "@types/react": "^18.2.45",
77
+ "@types/react-dom": "^18.2.18",
78
+ "@types/react-helmet": "^6.1.11",
79
79
  "@types/react-test-renderer": "^18.0.7",
80
80
  "@types/request-ip": "^0.0.41",
81
81
  "@types/serialize-javascript": "^5.0.4",
@@ -83,20 +83,20 @@
83
83
  "@types/supertest": "^2.0.16",
84
84
  "@types/uuid": "^9.0.7",
85
85
  "@types/webpack": "^5.28.5",
86
- "@typescript-eslint/eslint-plugin": "^6.12.0",
87
- "@typescript-eslint/parser": "^6.12.0",
86
+ "@typescript-eslint/eslint-plugin": "^6.14.0",
87
+ "@typescript-eslint/parser": "^6.14.0",
88
88
  "autoprefixer": "^10.4.16",
89
89
  "babel-jest": "^29.7.0",
90
90
  "babel-loader": "^9.1.3",
91
91
  "babel-plugin-module-resolver": "^5.0.0",
92
- "core-js": "^3.33.3",
92
+ "core-js": "^3.34.0",
93
93
  "css-loader": "^6.8.1",
94
94
  "css-minimizer-webpack-plugin": "^5.0.1",
95
- "eslint": "^8.54.0",
95
+ "eslint": "^8.56.0",
96
96
  "eslint-config-airbnb": "^19.0.4",
97
97
  "eslint-config-airbnb-typescript": "^17.1.0",
98
98
  "eslint-import-resolver-babel-module": "^5.3.2",
99
- "eslint-plugin-import": "^2.29.0",
99
+ "eslint-plugin-import": "^2.29.1",
100
100
  "eslint-plugin-jest": "^27.6.0",
101
101
  "eslint-plugin-jsx-a11y": "^6.8.0",
102
102
  "eslint-plugin-react": "^7.33.2",
@@ -108,23 +108,23 @@
108
108
  "mini-css-extract-plugin": "^2.7.6",
109
109
  "mockdate": "^3.0.5",
110
110
  "nodelist-foreach-polyfill": "^1.2.0",
111
- "postcss": "^8.4.31",
111
+ "postcss": "^8.4.32",
112
112
  "postcss-loader": "^7.3.3",
113
113
  "postcss-scss": "^4.0.9",
114
114
  "pretty": "^2.0.0",
115
115
  "react-refresh": "^0.14.0",
116
116
  "react-test-renderer": "^18.2.0",
117
- "regenerator-runtime": "^0.14.0",
117
+ "regenerator-runtime": "^0.14.1",
118
118
  "resolve-url-loader": "^5.0.0",
119
119
  "sass": "^1.69.5",
120
120
  "sass-loader": "^13.3.2",
121
121
  "sitemap": "^7.1.1",
122
- "stylelint": "^15.11.0",
123
- "stylelint-config-standard-scss": "^11.1.0",
122
+ "stylelint": "^16.0.2",
123
+ "stylelint-config-standard-scss": "^12.0.0",
124
124
  "supertest": "^6.3.3",
125
125
  "tsc-alias": "^1.8.8",
126
126
  "typed-scss-modules": "^8.0.0",
127
- "typescript": "^5.3.2",
127
+ "typescript": "^5.3.3",
128
128
  "webpack": "^5.89.0",
129
129
  "webpack-dev-middleware": "^6.1.1",
130
130
  "webpack-hot-middleware": "^2.25.4",
@@ -27,7 +27,7 @@ export default function Launch(
27
27
  if (!container) throw Error('Failed to find container for React app');
28
28
  const scene = (
29
29
  <GlobalStateProvider initialState={getInj().ISTATE}>
30
- <BrowserRouter>
30
+ <BrowserRouter future={{ v7_relativeSplatPath: true }}>
31
31
  <Application />
32
32
  </BrowserRouter>
33
33
  </GlobalStateProvider>
@@ -439,7 +439,10 @@ export default function factory(
439
439
  initialState={ssrContext.state}
440
440
  ssrContext={ssrContext}
441
441
  >
442
- <StaticRouter location={req.url}>
442
+ <StaticRouter
443
+ future={{ v7_relativeSplatPath: true }}
444
+ location={req.url}
445
+ >
443
446
  <App2 />
444
447
  </StaticRouter>
445
448
  </GlobalStateProvider>,