@next-core/brick-container 3.20.13 → 3.21.0
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/dist/all.11fc848b.js +3 -0
- package/dist/all.11fc848b.js.map +1 -0
- package/dist/index.html +1 -1
- package/dist/main.6a3dae83.js +2 -0
- package/dist/{main.f9451191.js.map → main.6a3dae83.js.map} +1 -1
- package/dist/{polyfill.f195b10e.js → polyfill.03fee91b.js} +1 -1
- package/dist/preview/core.90c8b64c.js +1 -0
- package/dist/preview/{core.178db1b1.js.map → core.90c8b64c.js.map} +1 -1
- package/dist/preview/index.html +1 -1
- package/dist/preview/{main.a8adb724.js → main.f682d533.js} +1 -1
- package/dist/preview/{main.a8adb724.js.map → main.f682d533.js.map} +1 -1
- package/dist/preview/vendors.8e69c579.js +2 -0
- package/package.json +9 -9
- package/serve/getProxy.js +6 -9
- package/dist/all.0ac5d39b.js +0 -3
- package/dist/all.0ac5d39b.js.map +0 -1
- package/dist/main.f9451191.js +0 -2
- package/dist/preview/core.178db1b1.js +0 -1
- package/dist/preview/vendors.6d0bcc3c.js +0 -2
- /package/dist/{all.0ac5d39b.js.LICENSE.txt → all.11fc848b.js.LICENSE.txt} +0 -0
- /package/dist/preview/{vendors.6d0bcc3c.js.LICENSE.txt → vendors.8e69c579.js.LICENSE.txt} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/brick-container",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.21.0",
|
|
4
4
|
"description": "Brick Container Server",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/v3/packages/brick-container",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -51,18 +51,18 @@
|
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@next-api-sdk/api-gateway-sdk": "^1.2.2",
|
|
54
|
-
"@next-api-sdk/micro-app-standalone-sdk": "^1.
|
|
54
|
+
"@next-api-sdk/micro-app-standalone-sdk": "^1.3.0",
|
|
55
55
|
"@next-core/build-next-bricks": "^1.23.12",
|
|
56
|
-
"@next-core/easyops-runtime": "^0.
|
|
56
|
+
"@next-core/easyops-runtime": "^0.14.0",
|
|
57
57
|
"@next-core/http": "^1.2.12",
|
|
58
|
-
"@next-core/i18n": "^1.0.
|
|
58
|
+
"@next-core/i18n": "^1.0.77",
|
|
59
59
|
"@next-core/loader": "^1.6.15",
|
|
60
|
-
"@next-core/preview": "^0.7.
|
|
61
|
-
"@next-core/runtime": "^1.
|
|
60
|
+
"@next-core/preview": "^0.7.58",
|
|
61
|
+
"@next-core/runtime": "^1.62.0",
|
|
62
62
|
"@next-core/test-next": "^1.1.9",
|
|
63
63
|
"@next-core/theme": "^1.5.4",
|
|
64
|
-
"@next-core/types": "^1.
|
|
65
|
-
"@next-core/utils": "^1.7.
|
|
64
|
+
"@next-core/types": "^1.15.0",
|
|
65
|
+
"@next-core/utils": "^1.7.35",
|
|
66
66
|
"broadcast-channel": "^7.0.0",
|
|
67
67
|
"copy-webpack-plugin": "^13.0.0",
|
|
68
68
|
"core-js": "^3.41.0",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"@next-core/runtime": "*",
|
|
76
76
|
"@next-core/utils": "*"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "476cb2d4ed1a01da364c06c182516ca6d7718116"
|
|
79
79
|
}
|
package/serve/getProxy.js
CHANGED
|
@@ -116,19 +116,16 @@ export default function getProxy(env, getRawIndexHtml) {
|
|
|
116
116
|
req.path === "/next/api/auth/login/v2" &&
|
|
117
117
|
Array.isArray(setCookies)
|
|
118
118
|
) {
|
|
119
|
-
// - If the
|
|
120
|
-
// - Otherwise, if the local is localhost and cookieSameSiteNone is enabled (default),
|
|
119
|
+
// - If the local is localhost and cookieSameSiteNone is enabled (default),
|
|
121
120
|
// add the secure cookie flags;
|
|
122
121
|
// - Otherwise, if the local is https, do nothing;
|
|
123
122
|
// - Otherwise, clear the secure cookie flags;
|
|
124
123
|
const strategy =
|
|
125
|
-
env.
|
|
126
|
-
? "
|
|
127
|
-
: env.
|
|
128
|
-
?
|
|
129
|
-
:
|
|
130
|
-
? null
|
|
131
|
-
: "clear";
|
|
124
|
+
env.cookieSameSiteNone && env.host === "localhost"
|
|
125
|
+
? "add"
|
|
126
|
+
: env.https
|
|
127
|
+
? null
|
|
128
|
+
: "clear";
|
|
132
129
|
if (strategy) {
|
|
133
130
|
// Note: it seems that now Chrome (v107) requires `SameSite=None` even for localhost.
|
|
134
131
|
// However, `Secure` can use used with non-http for localhost.
|