@dr.pogodin/react-utils 1.56.2 → 1.56.3
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 +15 -17
- package/patches/jest-resolve+30.4.1.patch +0 -29
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.56.
|
|
2
|
+
"version": "1.56.3",
|
|
3
3
|
"bin": {
|
|
4
4
|
"react-utils-build": "bin/build.js",
|
|
5
5
|
"react-utils-run-with-babel": "bin/run-with-babel.js",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
"@dr.pogodin/react-global-state": "^0.25.0",
|
|
18
18
|
"@dr.pogodin/react-helmet": "^3.2.3",
|
|
19
19
|
"@dr.pogodin/react-themes": "^1.11.0",
|
|
20
|
-
"@jest/environment": "^30.
|
|
21
|
-
"axios": "^1.
|
|
20
|
+
"@jest/environment": "^30.5.0",
|
|
21
|
+
"axios": "^1.20.0",
|
|
22
22
|
"commander": "^15.0.0",
|
|
23
23
|
"compression": "^1.8.1",
|
|
24
|
-
"config": "^
|
|
24
|
+
"config": "^5.0.1",
|
|
25
25
|
"cookie": "^2.0.1",
|
|
26
26
|
"cookie-parser": "^1.4.7",
|
|
27
27
|
"core-js-pure": "^3.50.0",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"helmet": "^8.3.0",
|
|
32
32
|
"http-status-codes": "^2.3.0",
|
|
33
33
|
"lodash-es": "^4.18.1",
|
|
34
|
-
"morgan": "^1.
|
|
34
|
+
"morgan": "^1.12.0",
|
|
35
35
|
"qs": "^6.15.3",
|
|
36
36
|
"raf": "^3.4.1",
|
|
37
37
|
"react": "^19.2.8",
|
|
38
38
|
"react-dom": "^19.2.8",
|
|
39
|
-
"react-router": "^8.3.
|
|
39
|
+
"react-router": "^8.3.1",
|
|
40
40
|
"request-ip": "^3.3.0",
|
|
41
41
|
"rimraf": "^6.1.3",
|
|
42
42
|
"serialize-javascript": "^7.1.0",
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
"@dr.pogodin/babel-plugin-transform-assets": "^2.0.0",
|
|
58
58
|
"@dr.pogodin/babel-preset-svgr": "^2.0.0",
|
|
59
59
|
"@dr.pogodin/eslint-configs": "^0.3.6",
|
|
60
|
-
"@jest/globals": "^30.
|
|
61
|
-
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.
|
|
60
|
+
"@jest/globals": "^30.5.0",
|
|
61
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.3",
|
|
62
62
|
"@standard-schema/spec": "^1.1.0",
|
|
63
63
|
"@testing-library/dom": "^10.4.1",
|
|
64
|
-
"@testing-library/react": "^16.3.
|
|
64
|
+
"@testing-library/react": "^16.3.3",
|
|
65
65
|
"@testing-library/user-event": "^14.6.6",
|
|
66
66
|
"@tsconfig/recommended": "^1.0.13",
|
|
67
67
|
"@types/compression": "^1.8.1",
|
|
@@ -83,21 +83,20 @@
|
|
|
83
83
|
"@types/webpack": "^5.28.5",
|
|
84
84
|
"@types/webpack-hot-middleware": "^2.25.12",
|
|
85
85
|
"autoprefixer": "^10.5.4",
|
|
86
|
-
"babel-jest": "^30.
|
|
86
|
+
"babel-jest": "^30.5.0",
|
|
87
87
|
"babel-loader": "^10.1.1",
|
|
88
88
|
"babel-plugin-module-resolver": "^5.0.3",
|
|
89
89
|
"babel-plugin-polyfill-corejs3": "^1.0.0",
|
|
90
90
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
91
|
-
"css-loader": "^7.1.
|
|
91
|
+
"css-loader": "^7.1.5",
|
|
92
92
|
"css-minimizer-webpack-plugin": "^8.0.0",
|
|
93
93
|
"identity-obj-proxy": "^3.0.0",
|
|
94
|
-
"jest": "^30.
|
|
95
|
-
"jest-environment-jsdom": "^30.
|
|
96
|
-
"memfs": "^4.68.
|
|
94
|
+
"jest": "^30.5.0",
|
|
95
|
+
"jest-environment-jsdom": "^30.5.0",
|
|
96
|
+
"memfs": "^4.68.2",
|
|
97
97
|
"mini-css-extract-plugin": "^2.10.2",
|
|
98
98
|
"mockdate": "^3.0.5",
|
|
99
99
|
"nodelist-foreach-polyfill": "^1.2.0",
|
|
100
|
-
"patch-package": "^8.0.1",
|
|
101
100
|
"postcss": "^8.5.26",
|
|
102
101
|
"postcss-loader": "^8.2.1",
|
|
103
102
|
"postcss-scss": "^4.0.9",
|
|
@@ -115,7 +114,7 @@
|
|
|
115
114
|
"tstyche": "^7.2.3",
|
|
116
115
|
"typed-scss-modules": "^8.1.1",
|
|
117
116
|
"typescript": "^6.0.3",
|
|
118
|
-
"webpack": "^5.
|
|
117
|
+
"webpack": "^5.110.1",
|
|
119
118
|
"webpack-dev-middleware": "^8.1.1",
|
|
120
119
|
"webpack-hot-middleware": "^2.26.1",
|
|
121
120
|
"webpack-merge": "^6.0.1",
|
|
@@ -191,7 +190,6 @@
|
|
|
191
190
|
"lint": "npm run lint:code && npm run lint:scss",
|
|
192
191
|
"lint:code": "eslint --cache --cache-strategy content",
|
|
193
192
|
"lint:scss": "stylelint -- **/*.{css,scss}",
|
|
194
|
-
"postinstall": "patch-package || true",
|
|
195
193
|
"test": "npm run lint && npm run typecheck && npm run jest",
|
|
196
194
|
"typecheck": "tsc --noEmit"
|
|
197
195
|
},
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
diff --git a/node_modules/jest-resolve/build/index.js b/node_modules/jest-resolve/build/index.js
|
|
2
|
-
index 2dbd326..f480209 100644
|
|
3
|
-
--- a/node_modules/jest-resolve/build/index.js
|
|
4
|
-
+++ b/node_modules/jest-resolve/build/index.js
|
|
5
|
-
@@ -1165,7 +1165,7 @@ function loadResolver(resolver) {
|
|
6
|
-
if (resolver == null) {
|
|
7
|
-
return _defaultResolver.default;
|
|
8
|
-
}
|
|
9
|
-
- const loadedResolver = require(resolver);
|
|
10
|
-
+ let loadedResolver = require(resolver);
|
|
11
|
-
if (loadedResolver == null) {
|
|
12
|
-
throw new Error(`Resolver located at ${resolver} does not export anything`);
|
|
13
|
-
}
|
|
14
|
-
@@ -1175,6 +1175,15 @@ function loadResolver(resolver) {
|
|
15
|
-
if (typeof loadedResolver === 'object' && (loadedResolver.sync != null || loadedResolver.async != null)) {
|
|
16
|
-
return loadedResolver;
|
|
17
|
-
}
|
|
18
|
-
+ if (typeof loadedResolver === 'object' && loadedResolver.default) {
|
|
19
|
-
+ loadedResolver = loadedResolver.default;
|
|
20
|
-
+ if (typeof loadedResolver === 'function') {
|
|
21
|
-
+ return loadedResolver;
|
|
22
|
-
+ }
|
|
23
|
-
+ if (typeof loadedResolver === 'object' && (loadedResolver.sync != null || loadedResolver.async != null)) {
|
|
24
|
-
+ return loadedResolver;
|
|
25
|
-
+ }
|
|
26
|
-
+ }
|
|
27
|
-
throw new Error(`Resolver located at ${resolver} does not export a function or an object with "sync" and "async" props`);
|
|
28
|
-
}
|
|
29
|
-
|