Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
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.5
to
1.0.6
+1
-1
package.json
{
"name": "json-stringify-extended",
"version": "1.0.5",
"version": "1.0.6",
"dependencies": {

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

+14
-14

@@ -12,4 +12,4 @@ # json-stringify-extended

- Stringify more primitive types into JSON format
- Stringify in JavaScript Object
- stringify more primitive types into JSON format
- stringify in JavaScript Object
- Use not yet defined types (e.g. enums)

@@ -81,3 +81,3 @@ - Avoid useless quotes

* ``number``
* ``noolean``
* ``boolean``
* ``function``

@@ -99,3 +99,3 @@ * ``Object``

Stringify data into string
stringify data into string

@@ -128,3 +128,3 @@ #### data

##### options.safe
Type: `Boolean`
Type: `boolean`
Default: `false`

@@ -135,3 +135,3 @@

##### options.endline
Type: `String`
Type: `string`
Default: `\n`

@@ -142,3 +142,3 @@

##### options.spacing
Type: `String`
Type: `string`
Default: ` ` (two spaces)

@@ -149,3 +149,3 @@

##### options.compress
Type: `Boolean`
Type: `boolean`
Default: `false`

@@ -157,3 +157,3 @@

##### options.filter
Type: `function(key:String, value:String) return Boolean`
Type: `function(key:string, value:string) return boolean`
Default: `null`

@@ -199,3 +199,3 @@

##### options.replace
Type: `function(key:String, value:String) return {key, value}`
Type: `function(key:string, value:string) return {key, value}`
Default: `null`

@@ -240,3 +240,3 @@

##### options.keyQuote
Type: `String`
Type: `string`
Default: `null`

@@ -247,3 +247,3 @@

##### options.valueQuote
Type: `String`
Type: `string`
Default: `'`

@@ -254,3 +254,3 @@

##### options.keySpace
Type: `Boolean`
Type: `boolean`
Default: `false`

@@ -261,3 +261,3 @@

##### options.discard
Type: `Boolean`
Type: `boolean`
Default: `false`

@@ -264,0 +264,0 @@