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.
@@ -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 = Infinity) {
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 = Infinity, maxProperties = Infinity, memo = memoBuilder()) {
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",