@qwik.dev/router 2.0.0-beta.7 → 2.0.0-beta.8
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/lib/index.qwik.cjs +1 -1
- package/lib/index.qwik.mjs +1 -1
- package/lib/middleware/azure-swa/index.mjs +4 -3
- package/lib/vite/index.cjs +558 -311
- package/lib/vite/index.mjs +558 -311
- package/package.json +15 -17
package/lib/index.qwik.cjs
CHANGED
|
@@ -1690,7 +1690,7 @@ const zodQrl = (qrl) => {
|
|
|
1690
1690
|
}
|
|
1691
1691
|
});
|
|
1692
1692
|
const data = inputData ?? await ev.parseBody();
|
|
1693
|
-
const result = await schema.safeParseAsync(data);
|
|
1693
|
+
const result = await core.withLocale(ev.locale(), () => schema.safeParseAsync(data));
|
|
1694
1694
|
if (result.success) {
|
|
1695
1695
|
return result;
|
|
1696
1696
|
} else {
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -1672,7 +1672,7 @@ const zodQrl = (qrl) => {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
});
|
|
1674
1674
|
const data = inputData ?? await ev.parseBody();
|
|
1675
|
-
const result = await schema.safeParseAsync(data);
|
|
1675
|
+
const result = await withLocale(ev.locale(), () => schema.safeParseAsync(data));
|
|
1676
1676
|
if (result.success) {
|
|
1677
1677
|
return result;
|
|
1678
1678
|
} else {
|
|
@@ -24,9 +24,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
24
|
mod
|
|
25
25
|
));
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/set-cookie-parser@2.
|
|
27
|
+
// node_modules/.pnpm/set-cookie-parser@2.7.1/node_modules/set-cookie-parser/lib/set-cookie.js
|
|
28
28
|
var require_set_cookie = __commonJS({
|
|
29
|
-
"node_modules/.pnpm/set-cookie-parser@2.
|
|
29
|
+
"node_modules/.pnpm/set-cookie-parser@2.7.1/node_modules/set-cookie-parser/lib/set-cookie.js"(exports, module) {
|
|
30
30
|
"use strict";
|
|
31
31
|
var defaultParseOptions = {
|
|
32
32
|
decodeValues: true,
|
|
@@ -69,6 +69,8 @@ var require_set_cookie = __commonJS({
|
|
|
69
69
|
cookie.httpOnly = true;
|
|
70
70
|
} else if (key === "samesite") {
|
|
71
71
|
cookie.sameSite = value2;
|
|
72
|
+
} else if (key === "partitioned") {
|
|
73
|
+
cookie.partitioned = true;
|
|
72
74
|
} else {
|
|
73
75
|
cookie[key] = value2;
|
|
74
76
|
}
|
|
@@ -116,7 +118,6 @@ var require_set_cookie = __commonJS({
|
|
|
116
118
|
if (!Array.isArray(input)) {
|
|
117
119
|
input = [input];
|
|
118
120
|
}
|
|
119
|
-
options = options ? Object.assign({}, defaultParseOptions, options) : defaultParseOptions;
|
|
120
121
|
if (!options.map) {
|
|
121
122
|
return input.filter(isNonEmptyString).map(function(str) {
|
|
122
123
|
return parseString2(str, options);
|