fast-json-stringify
Advanced tools
Comparing version 5.9.0 to 5.9.1
'use strict' | ||
const { spawn } = require('node:child_process') | ||
const { spawn } = require('child_process') | ||
@@ -5,0 +5,0 @@ const cliSelect = require('cli-select') |
'use strict' | ||
const { workerData: benchmark, parentPort } = require('node:worker_threads') | ||
const { workerData: benchmark, parentPort } = require('worker_threads') | ||
@@ -5,0 +5,0 @@ const Benchmark = require('benchmark') |
'use strict' | ||
const path = require('node:path') | ||
const { Worker } = require('node:worker_threads') | ||
const path = require('path') | ||
const { Worker } = require('worker_threads') | ||
@@ -6,0 +6,0 @@ const BENCH_THREAD_PATH = path.join(__dirname, 'bench-thread.js') |
@@ -6,4 +6,4 @@ 'use strict' | ||
const ajvFormats = require('ajv-formats') | ||
const fs = require('node:fs') | ||
const path = require('node:path') | ||
const fs = require('fs') | ||
const path = require('path') | ||
@@ -10,0 +10,0 @@ const ajv = new Ajv({ |
'use strict' | ||
const http = require('node:http') | ||
const http = require('http') | ||
@@ -5,0 +5,0 @@ const stringify = require('fast-json-stringify')({ |
@@ -7,3 +7,3 @@ 'use strict' | ||
const clone = require('rfdc')({ proto: true }) | ||
const { randomUUID } = require('node:crypto') | ||
const { randomUUID } = require('crypto') | ||
const { RefResolver } = require('json-schema-ref-resolver') | ||
@@ -10,0 +10,0 @@ |
{ | ||
"name": "fast-json-stringify", | ||
"version": "5.9.0", | ||
"version": "5.9.1", | ||
"description": "Stringify your JSON at max speed", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -695,3 +695,3 @@ # fast-json-stringify | ||
```js | ||
const fs = require('node:fs') | ||
const fs = require('fs') | ||
const code = fastJson({ | ||
@@ -698,0 +698,0 @@ title: 'default string', |
@@ -5,4 +5,4 @@ 'use strict' | ||
const fjs = require('..') | ||
const fs = require('node:fs') | ||
const path = require('node:path') | ||
const fs = require('fs') | ||
const path = require('path') | ||
@@ -9,0 +9,0 @@ function build (opts, schema) { |
@@ -5,3 +5,3 @@ 'use strict' | ||
const webpack = require('webpack') | ||
const path = require('node:path') | ||
const path = require('path') | ||
@@ -8,0 +8,0 @@ test('the library should work with webpack', async (t) => { |
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
354196
9
4