rspack-plugin-cloudflare 0.5.10 → 0.5.12
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/index.d.ts +1 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/workers/asset-worker/index.js +2 -2
- package/dist/workers/asset-worker/index.js.map +1 -1
- package/dist/workers/router-worker/index.js +2 -2
- package/dist/workers/router-worker/index.js.map +1 -1
- package/package.json +14 -14
|
@@ -930,7 +930,7 @@ function arrayify(maybeArray) {
|
|
|
930
930
|
* object in the normallized output.
|
|
931
931
|
* @returns A normalized version of the object, or `"**non-serializable**"` if any errors are thrown during normalization.
|
|
932
932
|
*/
|
|
933
|
-
function normalize(input, depth = 100, maxProperties =
|
|
933
|
+
function normalize(input, depth = 100, maxProperties = 1e400) {
|
|
934
934
|
try {
|
|
935
935
|
return visit("", input, depth, maxProperties);
|
|
936
936
|
} catch (err) {
|
|
@@ -952,7 +952,7 @@ function normalizeToSize(object, depth = 3, maxSize = 102400) {
|
|
|
952
952
|
* @param maxProperties Optional maximum number of properties/elements included in any single object/array
|
|
953
953
|
* @param memo Optional Memo class handling decycling
|
|
954
954
|
*/
|
|
955
|
-
function visit(key, value, depth =
|
|
955
|
+
function visit(key, value, depth = 1e400, maxProperties = 1e400, memo = memoBuilder()) {
|
|
956
956
|
const [memoize, unmemoize] = memo;
|
|
957
957
|
if (value == null || [
|
|
958
958
|
"number",
|