Socket
Socket
Sign inDemoInstall

fast-json-stringify

Package Overview
Dependencies
6
Maintainers
8
Versions
158
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.4.1 to 5.5.0

types/index.d.ts

2

index.js

@@ -891,2 +891,4 @@ 'use strict'

module.exports = build
module.exports.default = build
module.exports.build = build

@@ -893,0 +895,0 @@ module.exports.validLargeArrayMechanisms = validLargeArrayMechanisms

39

package.json
{
"name": "fast-json-stringify",
"version": "5.4.1",
"version": "5.5.0",
"description": "Stringify your JSON at max speed",
"main": "index.js",
"types": "index.d.ts",
"precommit": [
"lint",
"test"
],
"types": "types/index.d.ts",
"scripts": {
"bench": "node ./benchmark/bench.js",
"bench:cmp": "node ./benchmark/bench-cmp-branch.js",
"bench:cmp:ci": "node ./benchmark/bench-cmp-branch.js --ci",
"benchmark": "node ./benchmark/bench-cmp-lib.js",
"lint": "standard",
"lint:fix": "standard --fix",
"test:typescript": "tsd",
"test:unit": "tap -J test/*.test.js test/**/*.test.js",
"test": "npm run test:unit && npm run test:typescript"
},
"precommit": ["lint", "test"],
"repository": {

@@ -41,3 +49,2 @@ "type": "git",

"tsd": "^0.24.1",
"typescript": "^4.0.2",
"webpack": "^5.40.0"

@@ -58,17 +65,3 @@ },

},
"runkitExampleFilename": "./examples/example.js",
"tsd": {
"directory": "test/types"
},
"scripts": {
"bench": "node ./benchmark/bench.js",
"bench:cmp": "node ./benchmark/bench-cmp-branch.js",
"bench:cmp:ci": "node ./benchmark/bench-cmp-branch.js --ci",
"benchmark": "node ./benchmark/bench-cmp-lib.js",
"lint": "standard",
"lint:fix": "standard --fix",
"test:typescript": "tsc --project ./test/types/tsconfig.json && tsd",
"test:unit": "tap -J test/*.test.js test/**/*.test.js",
"test": "npm run test:unit && npm run test:typescript"
}
}
"runkitExampleFilename": "./examples/example.js"
}

@@ -653,3 +653,3 @@ # fast-json-stringify

In order to achieve lowest cost/highest performance redaction `fast-json-stringify`
To achieve low cost and high performance redaction `fast-json-stringify`
creates and compiles a function (using the `Function` constructor) on initialization.

@@ -660,2 +660,6 @@ While the `schema` is currently validated for any developer errors,

Users are responsible for sending trusted data. `fast-json-stringify` guarantees that you will get
a valid output only if your input matches the schema or can be coerced to the schema. If your input
doesn't match the schema, you will get undefined behavior.
<a name="debug"></a>

@@ -662,0 +666,0 @@ ### Debug Mode

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc