🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

json-stringify-extended

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-stringify-extended - npm Package Compare versions

Comparing version
1.0.6
to
1.0.7
+4
-2
main.js

@@ -168,4 +168,6 @@

// wrap strange key with quotes
if (_item.key && !_item.key.match(/^\w[\d\w_]*$/)) {
_item.key = __quote(key, options.keyQuote || '"')
if (_item.key) {
if (_item.key.match(/^[^a-zA-Z]/) || !_item.key.match(/^\w[\d\w_]*$/)) {
_item.key = __quote(key, options.keyQuote || '"')
}
}

@@ -172,0 +174,0 @@ _out.push(options.endline + _spacing1 + _item.key + ':' + __keySpace + _item.value)

{
"name": "json-stringify-extended",
"version": "1.0.6",
"version": "1.0.7",
"dependencies": {

@@ -5,0 +5,0 @@ "uglify-es": "^3.3.9"