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.
@@ -991,7 +991,7 @@ function arrayify(maybeArray) {
991
991
  * object in the normallized output.
992
992
  * @returns A normalized version of the object, or `"**non-serializable**"` if any errors are thrown during normalization.
993
993
  */
994
- function normalize(input, depth = 100, maxProperties = Infinity) {
994
+ function normalize(input, depth = 100, maxProperties = 1e400) {
995
995
  try {
996
996
  return visit("", input, depth, maxProperties);
997
997
  } catch (err) {
@@ -1013,7 +1013,7 @@ function normalizeToSize(object, depth = 3, maxSize = 102400) {
1013
1013
  * @param maxProperties Optional maximum number of properties/elements included in any single object/array
1014
1014
  * @param memo Optional Memo class handling decycling
1015
1015
  */
1016
- function visit(key, value, depth = Infinity, maxProperties = Infinity, memo = memoBuilder()) {
1016
+ function visit(key, value, depth = 1e400, maxProperties = 1e400, memo = memoBuilder()) {
1017
1017
  const [memoize, unmemoize] = memo;
1018
1018
  if (value == null || [
1019
1019
  "number",