@dr.pogodin/react-utils 1.43.29 → 1.43.30

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.
@@ -233,9 +233,9 @@ function configFactory(ops) {
233
233
  enforce: 'pre',
234
234
  use: ['source-map-loader'],
235
235
  }, {
236
- // Loads JS modules (.cjs, .js, .jsx); TS modules (.ts, .tsx);
236
+ // Loads JS modules (.cjs, .js, .jsx, .mjs); TS modules (.ts, .tsx);
237
237
  // and SVG assets (.svg).
238
- test: ops.typescript ? /\.(cjs|(j|t)sx?|svg)$/ : /\.(cjs|jsx?|svg)$/,
238
+ test: /\.(cjs|js|jsx|mjs|svg|ts|tsx)$/,
239
239
  exclude: (_b = ops.babelLoaderExclude) !== null && _b !== void 0 ? _b : [/node_modules/],
240
240
  loader: 'babel-loader',
241
241
  options: Object.assign({ babelrc: false, configFile: false, envName: o.babelEnv, presets: [['@dr.pogodin/react-utils/config/babel/webpack', {
@@ -72,7 +72,7 @@ function configFactory(ops) {
72
72
  use: ['source-map-loader'],
73
73
  }, {
74
74
  /* Loads JS and JSX moudles, and inlines SVG assets. */
75
- test: ops.typescript ? /\.((j|t)sx?|svg)$/ : /\.(jsx?|svg)$/,
75
+ test: /\.(cjs|js|jsx|mjs|svg|ts|tsx)$/,
76
76
  exclude: [
77
77
  /node_modules/,
78
78
  /src[/\\]assets[/\\]fonts/,
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.43.29",
2
+ "version": "1.43.30",
3
3
  "bin": {
4
4
  "react-utils-build": "bin/build.js",
5
5
  "react-utils-setup": "bin/setup.js"
@@ -8,7 +8,7 @@
8
8
  "url": "https://github.com/birdofpreyru/react-utils/issues"
9
9
  },
10
10
  "dependencies": {
11
- "@babel/runtime": "^7.27.4",
11
+ "@babel/runtime": "^7.28.2",
12
12
  "@dr.pogodin/babel-plugin-react-css-modules": "^6.13.6",
13
13
  "@dr.pogodin/csurf": "^1.16.5",
14
14
  "@dr.pogodin/js-utils": "^0.1.3",
@@ -19,10 +19,10 @@
19
19
  "axios": "^1.11.0",
20
20
  "commander": "^14.0.0",
21
21
  "compression": "^1.8.1",
22
- "config": "^4.0.1",
22
+ "config": "^4.1.0",
23
23
  "cookie": "^1.0.2",
24
24
  "cookie-parser": "^1.4.7",
25
- "cross-env": "^7.0.3",
25
+ "cross-env": "^10.0.0",
26
26
  "dayjs": "^1.11.13",
27
27
  "express": "^5.1.0",
28
28
  "helmet": "^8.1.0",
@@ -35,7 +35,7 @@
35
35
  "raf": "^3.4.1",
36
36
  "react": "^19.1.0",
37
37
  "react-dom": "^19.1.0",
38
- "react-router": "^7.7.0",
38
+ "react-router": "^7.7.1",
39
39
  "request-ip": "^3.3.0",
40
40
  "rimraf": "^6.0.0",
41
41
  "serialize-javascript": "^6.0.2",
@@ -90,7 +90,7 @@
90
90
  "identity-obj-proxy": "^3.0.0",
91
91
  "jest": "^30.0.5",
92
92
  "jest-environment-jsdom": "^30.0.5",
93
- "memfs": "^4.17.2",
93
+ "memfs": "^4.22.0",
94
94
  "mini-css-extract-plugin": "^2.9.2",
95
95
  "mockdate": "^3.0.5",
96
96
  "nodelist-foreach-polyfill": "^1.2.0",