Socket
Socket
Sign inDemoInstall

devalue

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devalue - npm Package Compare versions

Comparing version 4.2.2 to 4.2.3

2

package.json
{
"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);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc