Comparing version 4.2.2 to 4.2.3
{ | ||
"name": "devalue", | ||
"description": "Gets the job done when JSON.stringify can't", | ||
"version": "4.2.2", | ||
"version": "4.2.3", | ||
"repository": "Rich-Harris/devalue", | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -66,2 +66,4 @@ /** @type {Record<string, string>} */ | ||
result += escaped[char]; | ||
} else if (code <= 0x001F) { | ||
result += `\\u${code.toString(16).toUpperCase().padStart(4, "0")}` | ||
} else if (code >= 0xd800 && code <= 0xdfff) { | ||
@@ -68,0 +70,0 @@ const next = str.charCodeAt(i + 1); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23364
619