@dr.pogodin/react-utils 1.24.1 → 1.25.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/build/development/server/index.js +1 -1
- package/build/development/server/index.js.map +1 -1
- package/build/development/server/renderer.js +4 -4
- package/build/development/server/renderer.js.map +1 -1
- package/build/development/shared/components/Dropdown/index.js +25 -17
- package/build/development/shared/components/Dropdown/index.js.map +1 -1
- package/build/development/shared/components/WithTooltip/Tooltip.js +41 -7
- package/build/development/shared/components/WithTooltip/Tooltip.js.map +1 -1
- package/build/development/shared/components/WithTooltip/index.js +49 -3
- package/build/development/shared/components/WithTooltip/index.js.map +1 -1
- package/build/development/shared/components/YouTubeVideo/index.js +1 -1
- package/build/development/shared/components/YouTubeVideo/index.js.map +1 -1
- package/build/development/shared/utils/jest/E2eSsrEnv.js +1 -1
- package/build/development/shared/utils/jest/E2eSsrEnv.js.map +1 -1
- package/build/development/style.css +8 -4
- package/build/development/web.bundle.js +4 -4
- package/build/production/server/index.js +1 -1
- package/build/production/server/index.js.map +1 -1
- package/build/production/server/renderer.js +1 -1
- package/build/production/server/renderer.js.map +1 -1
- package/build/production/shared/components/Dropdown/index.js +6 -2
- package/build/production/shared/components/Dropdown/index.js.map +1 -1
- package/build/production/shared/components/WithTooltip/Tooltip.js +13 -2
- package/build/production/shared/components/WithTooltip/Tooltip.js.map +1 -1
- package/build/production/shared/components/WithTooltip/index.js +11 -1
- package/build/production/shared/components/WithTooltip/index.js.map +1 -1
- package/build/production/shared/components/YouTubeVideo/index.js +1 -1
- package/build/production/shared/components/YouTubeVideo/index.js.map +1 -1
- package/build/production/shared/utils/jest/E2eSsrEnv.js +1 -1
- package/build/production/shared/utils/jest/E2eSsrEnv.js.map +1 -1
- package/build/production/web.bundle.js +1 -1
- package/build/production/web.bundle.js.map +1 -1
- package/config/webpack/app-base.js +3 -2
- package/config/webpack/lib-base.js +4 -7
- package/config/webpack/lib-production.js +3 -7
- package/package.json +38 -34
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
* Base [Webpack](https://webpack.js.org/) configuration for apps.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
const nodeFs = require('fs');
|
|
9
|
+
const path = require('path');
|
|
10
|
+
|
|
8
11
|
const {
|
|
9
12
|
clone,
|
|
10
13
|
defaults,
|
|
@@ -15,8 +18,6 @@ const {
|
|
|
15
18
|
const autoprefixer = require('autoprefixer');
|
|
16
19
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
17
20
|
const forge = require('node-forge');
|
|
18
|
-
const nodeFs = require('fs');
|
|
19
|
-
const path = require('path');
|
|
20
21
|
const SM = require('sitemap');
|
|
21
22
|
const { DefinePlugin, ProgressPlugin } = require('webpack');
|
|
22
23
|
const WorkboxPlugin = require('workbox-webpack-plugin');
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* Base Webpack config for ReactJS libraries.
|
|
6
|
-
*/
|
|
1
|
+
// Base Webpack config for ReactJS libraries.
|
|
2
|
+
|
|
3
|
+
const path = require('path');
|
|
4
|
+
|
|
7
5
|
const autoprefixer = require('autoprefixer');
|
|
8
6
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
9
|
-
const path = require('path');
|
|
10
7
|
const { ProgressPlugin } = require('webpack');
|
|
11
8
|
|
|
12
9
|
const {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
* @category Configs
|
|
3
|
-
* @module webpack/lib-production
|
|
4
|
-
* @desc
|
|
5
|
-
* Production Webpack config for ReactJS libraries.
|
|
6
|
-
*/
|
|
1
|
+
// Production Webpack config for ReactJS libraries.
|
|
7
2
|
|
|
8
|
-
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
|
|
9
3
|
const path = require('path');
|
|
4
|
+
|
|
5
|
+
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
|
|
10
6
|
const webpack = require('webpack');
|
|
11
7
|
const { merge } = require('webpack-merge');
|
|
12
8
|
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.25.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.22.
|
|
12
|
-
"@dr.pogodin/babel-plugin-react-css-modules": "^6.
|
|
13
|
-
"@dr.pogodin/csurf": "^1.
|
|
11
|
+
"@babel/runtime": "^7.22.10",
|
|
12
|
+
"@dr.pogodin/babel-plugin-react-css-modules": "^6.10.0",
|
|
13
|
+
"@dr.pogodin/csurf": "^1.13.0",
|
|
14
14
|
"@dr.pogodin/js-utils": "^0.0.6",
|
|
15
|
-
"@dr.pogodin/react-global-state": "^0.
|
|
15
|
+
"@dr.pogodin/react-global-state": "^0.10.0-alpha.2",
|
|
16
16
|
"@dr.pogodin/react-themes": "^1.4.8",
|
|
17
17
|
"axios": "^1.4.0",
|
|
18
18
|
"commander": "^11.0.0",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"cookie": "^0.5.0",
|
|
22
22
|
"cookie-parser": "^1.4.6",
|
|
23
23
|
"cross-env": "^7.0.3",
|
|
24
|
-
"dayjs": "^1.11.
|
|
24
|
+
"dayjs": "^1.11.9",
|
|
25
25
|
"express": "^4.18.2",
|
|
26
26
|
"helmet": "^7.0.0",
|
|
27
27
|
"http-status-codes": "^2.2.0",
|
|
@@ -35,66 +35,66 @@
|
|
|
35
35
|
"react": "^18.2.0",
|
|
36
36
|
"react-dom": "^18.2.0",
|
|
37
37
|
"react-helmet": "^6.1.0",
|
|
38
|
-
"react-router-dom": "^6.
|
|
38
|
+
"react-router-dom": "^6.15.0",
|
|
39
39
|
"request-ip": "^3.3.0",
|
|
40
40
|
"rimraf": "^5.0.1",
|
|
41
41
|
"serialize-javascript": "^6.0.1",
|
|
42
42
|
"serve-favicon": "^2.5.0",
|
|
43
43
|
"source-map-support": "^0.5.21",
|
|
44
44
|
"uuid": "^9.0.0",
|
|
45
|
-
"winston": "^3.
|
|
45
|
+
"winston": "^3.10.0"
|
|
46
46
|
},
|
|
47
47
|
"description": "Collection of generic ReactJS components and utils",
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@babel/cli": "^7.22.
|
|
50
|
-
"@babel/core": "^7.22.
|
|
51
|
-
"@babel/eslint-parser": "^7.22.
|
|
52
|
-
"@babel/eslint-plugin": "^7.22.
|
|
53
|
-
"@babel/node": "^7.22.
|
|
54
|
-
"@babel/plugin-transform-runtime": "^7.22.
|
|
55
|
-
"@babel/preset-env": "^7.22.
|
|
49
|
+
"@babel/cli": "^7.22.10",
|
|
50
|
+
"@babel/core": "^7.22.10",
|
|
51
|
+
"@babel/eslint-parser": "^7.22.10",
|
|
52
|
+
"@babel/eslint-plugin": "^7.22.10",
|
|
53
|
+
"@babel/node": "^7.22.10",
|
|
54
|
+
"@babel/plugin-transform-runtime": "^7.22.10",
|
|
55
|
+
"@babel/preset-env": "^7.22.10",
|
|
56
56
|
"@babel/preset-react": "^7.22.5",
|
|
57
57
|
"@babel/register": "^7.22.5",
|
|
58
58
|
"@dr.pogodin/babel-plugin-transform-assets": "^1.2.2",
|
|
59
59
|
"@dr.pogodin/babel-preset-svgr": "^1.7.0",
|
|
60
|
-
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.
|
|
61
|
-
"autoprefixer": "^10.4.
|
|
62
|
-
"babel-jest": "^29.
|
|
63
|
-
"babel-loader": "^9.1.
|
|
60
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
|
|
61
|
+
"autoprefixer": "^10.4.15",
|
|
62
|
+
"babel-jest": "^29.6.2",
|
|
63
|
+
"babel-loader": "^9.1.3",
|
|
64
64
|
"babel-plugin-module-resolver": "^5.0.0",
|
|
65
|
-
"core-js": "^3.
|
|
65
|
+
"core-js": "^3.32.0",
|
|
66
66
|
"css-loader": "^6.8.1",
|
|
67
67
|
"css-minimizer-webpack-plugin": "^5.0.1",
|
|
68
|
-
"eslint": "^8.
|
|
68
|
+
"eslint": "^8.47.0",
|
|
69
69
|
"eslint-config-airbnb": "^19.0.4",
|
|
70
70
|
"eslint-import-resolver-babel-module": "^5.3.2",
|
|
71
|
-
"eslint-plugin-import": "^2.
|
|
72
|
-
"eslint-plugin-jest": "^27.2.
|
|
71
|
+
"eslint-plugin-import": "^2.28.0",
|
|
72
|
+
"eslint-plugin-jest": "^27.2.3",
|
|
73
73
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
74
|
-
"eslint-plugin-react": "^7.
|
|
74
|
+
"eslint-plugin-react": "^7.33.2",
|
|
75
75
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
76
76
|
"identity-obj-proxy": "^3.0.0",
|
|
77
|
-
"jest": "^29.
|
|
78
|
-
"jest-environment-jsdom": "^29.
|
|
79
|
-
"memfs": "^4.2.
|
|
77
|
+
"jest": "^29.6.2",
|
|
78
|
+
"jest-environment-jsdom": "^29.6.2",
|
|
79
|
+
"memfs": "^4.2.1",
|
|
80
80
|
"mini-css-extract-plugin": "^2.7.6",
|
|
81
81
|
"mockdate": "^3.0.5",
|
|
82
82
|
"nodelist-foreach-polyfill": "^1.2.0",
|
|
83
|
-
"postcss": "^8.4.
|
|
83
|
+
"postcss": "^8.4.28",
|
|
84
84
|
"postcss-loader": "^7.3.3",
|
|
85
|
-
"postcss-scss": "^4.0.
|
|
85
|
+
"postcss-scss": "^4.0.7",
|
|
86
86
|
"pretty": "^2.0.0",
|
|
87
87
|
"react-refresh": "^0.14.0",
|
|
88
88
|
"react-test-renderer": "^18.2.0",
|
|
89
|
-
"regenerator-runtime": "^0.
|
|
89
|
+
"regenerator-runtime": "^0.14.0",
|
|
90
90
|
"resolve-url-loader": "^5.0.0",
|
|
91
|
-
"sass": "^1.
|
|
91
|
+
"sass": "^1.65.1",
|
|
92
92
|
"sass-loader": "^13.3.2",
|
|
93
93
|
"sitemap": "^7.1.1",
|
|
94
|
-
"stylelint": "^15.
|
|
95
|
-
"stylelint-config-standard-scss": "^
|
|
94
|
+
"stylelint": "^15.10.2",
|
|
95
|
+
"stylelint-config-standard-scss": "^10.0.0",
|
|
96
96
|
"supertest": "^6.3.3",
|
|
97
|
-
"webpack": "^5.88.
|
|
97
|
+
"webpack": "^5.88.2",
|
|
98
98
|
"webpack-dev-middleware": "^6.1.1",
|
|
99
99
|
"webpack-hot-middleware": "^2.25.4",
|
|
100
100
|
"webpack-merge": "^5.9.0",
|
|
@@ -137,6 +137,10 @@
|
|
|
137
137
|
},
|
|
138
138
|
"homepage": "https://dr.pogodin.studio/docs/react-utils/index.html",
|
|
139
139
|
"author": "Dr. Sergey Pogodin <doc@pogodin.studio> (https://dr.pogodin.studio)",
|
|
140
|
+
"funding": {
|
|
141
|
+
"type": "github",
|
|
142
|
+
"url": "https://github.com/sponsors/birdofpreyru"
|
|
143
|
+
},
|
|
140
144
|
"keywords": [
|
|
141
145
|
"JavaScript",
|
|
142
146
|
"JS",
|