afront 1.0.24 → 1.0.26

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,6 +1,6 @@
1
1
  {
2
2
  "name": "afront",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "description": "AFront is a front-end JavaScript library designed to create seamless server-side rendered (SSSR) websites.",
5
5
  "main": "webpack.dev.js",
6
6
  "scripts": {
@@ -23,7 +23,6 @@
23
23
  "author": "imarksea - Piyush Nishad",
24
24
  "files": [
25
25
  "install.js",
26
- "npm-shrinkwrap.json",
27
26
  "server.js",
28
27
  "webpack.build-prod.js",
29
28
  "webpack.dev.js",
@@ -39,9 +38,7 @@
39
38
  "license": "MIT",
40
39
  "dependencies": {
41
40
  "adm-zip": "^0.5.16",
42
- "afront": "^1.0.24",
43
41
  "asggen-headtags": "^1.0.3",
44
- "aui": "file:../AUI",
45
42
  "babel-plugin-css-modules-transform": "^1.6.2",
46
43
  "babel-plugin-dynamic-import-node": "^2.3.3",
47
44
  "banner-webpack-after-content": "^1.0.3",
@@ -56,8 +53,7 @@
56
53
  "html-inline-css-webpack-plugin": "^1.11.2",
57
54
  "ignore-styles": "^5.0.1",
58
55
  "loader-utils": "^3.3.1",
59
- "postcss": "^8.5.6",
60
- "react-router": "^7.5.2",
56
+ "react-router": "^7.12.0",
61
57
  "readline-sync": "^1.4.10",
62
58
  "styled-components": "^6.1.13",
63
59
  "terser-webpack-plugin": "^5.3.10",
@@ -90,6 +86,16 @@
90
86
  "resolutions": {
91
87
  "loader-utils": "^3.3.1"
92
88
  },
89
+ "overrides": {
90
+ "generic-names": {
91
+ "loader-utils": "^3.3.1"
92
+ },
93
+ "loader-utils": "^3.3.1",
94
+ "json5": "^2.2.3",
95
+ "styled-components": {
96
+ "postcss": "8.5.6"
97
+ }
98
+ },
93
99
  "bin": {
94
100
  "afront": "install.js"
95
101
  }
@@ -113,6 +113,7 @@ module.exports = {
113
113
  }),
114
114
  new CspHtmlWebpackPlugin({
115
115
  "default-src": ["'self'"],
116
+ "connect-src": ["'self'", "wss:"],
116
117
  "script-src": ["'self'"],
117
118
  "style-src": ["'self'", "https://fonts.googleapis.com", "'unsafe-hashes'"],
118
119
  "style-src-elem": ["'self'", "https://fonts.googleapis.com", "https://fonts.gstatic.com"],
package/webpack.prod.js CHANGED
@@ -117,6 +117,7 @@ module.exports = {
117
117
  }),
118
118
  new CspHtmlWebpackPlugin({
119
119
  "default-src": ["'self'"],
120
+ "connect-src": ["'self'", "wss:"],
120
121
  "script-src": ["'self'"],
121
122
  "style-src": ["'self'", "https://fonts.googleapis.com", "'unsafe-hashes'"],
122
123
  "style-src-elem": ["'self'", "https://fonts.googleapis.com", "https://fonts.gstatic.com"],