@zuplo/cli 7.9.20 → 7.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@jsep-plugin/assignment/dist/cjs/index.cjs.js.map +1 -1
- package/node_modules/@jsep-plugin/assignment/dist/cjs/index.cjs.min.js +1 -1
- package/node_modules/@jsep-plugin/assignment/dist/cjs/index.cjs.min.js.map +1 -1
- package/node_modules/@jsep-plugin/assignment/dist/iife/index.iife.js +1 -1
- package/node_modules/@jsep-plugin/assignment/dist/iife/index.iife.js.map +1 -1
- package/node_modules/@jsep-plugin/assignment/dist/iife/index.iife.min.js +1 -1
- package/node_modules/@jsep-plugin/assignment/dist/iife/index.iife.min.js.map +1 -1
- package/node_modules/@jsep-plugin/assignment/dist/index.min.js +1 -1
- package/node_modules/@jsep-plugin/assignment/dist/index.min.js.map +1 -1
- package/node_modules/@jsep-plugin/assignment/package.json +4 -4
- package/node_modules/@jsep-plugin/regex/dist/cjs/index.cjs.js.map +1 -1
- package/node_modules/@jsep-plugin/regex/dist/cjs/index.cjs.min.js +1 -1
- package/node_modules/@jsep-plugin/regex/dist/cjs/index.cjs.min.js.map +1 -1
- package/node_modules/@jsep-plugin/regex/dist/iife/index.iife.js +1 -1
- package/node_modules/@jsep-plugin/regex/dist/iife/index.iife.js.map +1 -1
- package/node_modules/@jsep-plugin/regex/dist/iife/index.iife.min.js +1 -1
- package/node_modules/@jsep-plugin/regex/dist/iife/index.iife.min.js.map +1 -1
- package/node_modules/@jsep-plugin/regex/dist/index.min.js +1 -1
- package/node_modules/@jsep-plugin/regex/dist/index.min.js.map +1 -1
- package/node_modules/@jsep-plugin/regex/package.json +4 -4
- package/node_modules/@posthog/core/dist/posthog-core-stateless.d.ts +5 -0
- package/node_modules/@posthog/core/dist/posthog-core-stateless.d.ts.map +1 -1
- package/node_modules/@posthog/core/dist/posthog-core-stateless.js +7 -4
- package/node_modules/@posthog/core/dist/posthog-core-stateless.mjs +7 -4
- package/node_modules/@posthog/core/dist/posthog-core.d.ts +1 -0
- package/node_modules/@posthog/core/dist/posthog-core.d.ts.map +1 -1
- package/node_modules/@posthog/core/dist/posthog-core.js +8 -4
- package/node_modules/@posthog/core/dist/posthog-core.mjs +9 -5
- package/node_modules/@posthog/core/package.json +1 -1
- package/node_modules/@posthog/core/src/posthog-core-stateless.ts +12 -4
- package/node_modules/@posthog/core/src/posthog-core.ts +13 -11
- package/node_modules/@zuplo/core/package.json +1 -1
- package/node_modules/@zuplo/graphql/package.json +1 -1
- package/node_modules/@zuplo/openapi-tools/package.json +1 -1
- package/node_modules/@zuplo/otel/package.json +1 -1
- package/node_modules/@zuplo/runtime/package.json +1 -1
- package/node_modules/ip-address/README.md +70 -70
- package/node_modules/ip-address/dist/ipv6.js +7 -4
- package/node_modules/ip-address/dist/ipv6.js.map +1 -1
- package/node_modules/ip-address/dist/v6/constants.d.ts +3 -0
- package/node_modules/ip-address/dist/v6/constants.js +3 -0
- package/node_modules/ip-address/dist/v6/constants.js.map +1 -1
- package/node_modules/ip-address/package.json +2 -1
- package/node_modules/jsep/dist/cjs/jsep.cjs.js +4 -2
- package/node_modules/jsep/dist/cjs/jsep.cjs.js.map +1 -1
- package/node_modules/jsep/dist/cjs/jsep.cjs.min.js +1 -1
- package/node_modules/jsep/dist/cjs/jsep.cjs.min.js.map +1 -1
- package/node_modules/jsep/dist/iife/jsep.iife.js +5 -3
- package/node_modules/jsep/dist/iife/jsep.iife.js.map +1 -1
- package/node_modules/jsep/dist/iife/jsep.iife.min.js +1 -1
- package/node_modules/jsep/dist/iife/jsep.iife.min.js.map +1 -1
- package/node_modules/jsep/dist/jsep.js +4 -2
- package/node_modules/jsep/dist/jsep.min.js +1 -1
- package/node_modules/jsep/dist/jsep.min.js.map +1 -1
- package/node_modules/jsep/package.json +13 -13
- package/node_modules/process-warning/.github/workflows/ci.yml +1 -1
- package/node_modules/process-warning/.github/workflows/lock-threads.yml +1 -1
- package/node_modules/process-warning/.github/workflows/release.yml +24 -0
- package/node_modules/process-warning/README.md +46 -46
- package/node_modules/process-warning/package.json +1 -1
- package/node_modules/secure-json-parse/.github/dependabot.yml +42 -2
- package/node_modules/secure-json-parse/.github/workflows/ci.yml +20 -45
- package/node_modules/secure-json-parse/.github/workflows/lock-threads.yml +19 -0
- package/node_modules/secure-json-parse/.github/workflows/release.yml +24 -0
- package/node_modules/secure-json-parse/LICENSE +1 -3
- package/node_modules/secure-json-parse/README.md +63 -23
- package/node_modules/secure-json-parse/benchmarks/ignore.js +15 -13
- package/node_modules/secure-json-parse/benchmarks/no__proto__.js +19 -17
- package/node_modules/secure-json-parse/benchmarks/package.json +1 -1
- package/node_modules/secure-json-parse/benchmarks/remove.js +19 -17
- package/node_modules/secure-json-parse/benchmarks/throw.js +19 -17
- package/node_modules/secure-json-parse/benchmarks/valid.js +19 -17
- package/node_modules/secure-json-parse/index.js +4 -2
- package/node_modules/secure-json-parse/package.json +7 -7
- package/node_modules/secure-json-parse/test/index.test.js +3 -1
- package/node_modules/secure-json-parse/types/{index.test-d.ts → index.tst.ts} +15 -13
- package/package.json +11 -11
- package/node_modules/secure-json-parse/.github/stale.yml +0 -21
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const { Bench } = require('tinybench')
|
|
4
4
|
const sjson = require('..')
|
|
5
5
|
|
|
6
6
|
const internals = {
|
|
7
7
|
text: '{ "a": 5, "b": 6, "__proto__": { "x": 7 }, "c": { "d": 0, "e": "text", "__proto__": { "y": 8 }, "f": { "g": 2 } } }'
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
internals.reviver = function (_key, value) {
|
|
11
|
+
return value
|
|
12
|
+
}
|
|
11
13
|
|
|
12
|
-
|
|
14
|
+
const benchmark = new Bench({
|
|
15
|
+
name: 'ignore benchmark',
|
|
16
|
+
iterations: 10000,
|
|
17
|
+
warmupIterations: 100
|
|
18
|
+
})
|
|
19
|
+
|
|
20
|
+
benchmark
|
|
13
21
|
.add('JSON.parse', () => {
|
|
14
22
|
JSON.parse(internals.text)
|
|
15
23
|
})
|
|
@@ -22,14 +30,8 @@ suite
|
|
|
22
30
|
.add('reviver', () => {
|
|
23
31
|
JSON.parse(internals.text, internals.reviver)
|
|
24
32
|
})
|
|
25
|
-
.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
console.log('Fastest is ' + this.filter('fastest').map('name'))
|
|
33
|
+
.run()
|
|
34
|
+
.then(() => {
|
|
35
|
+
console.log(benchmark.name)
|
|
36
|
+
console.table(benchmark.table())
|
|
30
37
|
})
|
|
31
|
-
.run({ async: true })
|
|
32
|
-
|
|
33
|
-
internals.reviver = function (_key, value) {
|
|
34
|
-
return value
|
|
35
|
-
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const { Bench } = require('tinybench')
|
|
4
4
|
const sjson = require('..')
|
|
5
5
|
|
|
6
6
|
const internals = {
|
|
@@ -8,9 +8,21 @@ const internals = {
|
|
|
8
8
|
suspectRx: /"(?:_|\\u005f)(?:_|\\u005f)(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006f)(?:t|\\u0074)(?:o|\\u006f)(?:_|\\u005f)(?:_|\\u005f)"/
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
internals.reviver = function (key, value) {
|
|
12
|
+
if (key.match(internals.suspectRx)) {
|
|
13
|
+
return undefined
|
|
14
|
+
}
|
|
12
15
|
|
|
13
|
-
|
|
16
|
+
return value
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const benchmark = new Bench({
|
|
20
|
+
name: 'no __proto__ benchmark',
|
|
21
|
+
iterations: 10000,
|
|
22
|
+
warmupIterations: 100
|
|
23
|
+
})
|
|
24
|
+
|
|
25
|
+
benchmark
|
|
14
26
|
.add('JSON.parse', () => {
|
|
15
27
|
JSON.parse(internals.text)
|
|
16
28
|
})
|
|
@@ -23,18 +35,8 @@ suite
|
|
|
23
35
|
.add('reviver', () => {
|
|
24
36
|
JSON.parse(internals.text, internals.reviver)
|
|
25
37
|
})
|
|
26
|
-
.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
console.log('Fastest is ' + this.filter('fastest').map('name'))
|
|
38
|
+
.run()
|
|
39
|
+
.then(() => {
|
|
40
|
+
console.log(benchmark.name)
|
|
41
|
+
console.table(benchmark.table())
|
|
31
42
|
})
|
|
32
|
-
.run({ async: true })
|
|
33
|
-
|
|
34
|
-
internals.reviver = function (key, value) {
|
|
35
|
-
if (key.match(internals.suspectRx)) {
|
|
36
|
-
return undefined
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
return value
|
|
40
|
-
}
|
|
@@ -1,15 +1,27 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const { Bench } = require('tinybench')
|
|
4
4
|
const sjson = require('..')
|
|
5
5
|
|
|
6
6
|
const internals = {
|
|
7
7
|
text: '{ "a": 5, "b": 6, "__proto__": { "x": 7 }, "c": { "d": 0, "e": "text", "__proto__": { "y": 8 }, "f": { "g": 2 } } }'
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
internals.reviver = function (key, value) {
|
|
11
|
+
if (key === '__proto__') {
|
|
12
|
+
return undefined
|
|
13
|
+
}
|
|
11
14
|
|
|
12
|
-
|
|
15
|
+
return value
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const benchmark = new Bench({
|
|
19
|
+
name: 'remove benchmark',
|
|
20
|
+
iterations: 10000,
|
|
21
|
+
warmupIterations: 100
|
|
22
|
+
})
|
|
23
|
+
|
|
24
|
+
benchmark
|
|
13
25
|
.add('JSON.parse', () => {
|
|
14
26
|
JSON.parse(internals.text)
|
|
15
27
|
})
|
|
@@ -22,18 +34,8 @@ suite
|
|
|
22
34
|
.add('reviver', () => {
|
|
23
35
|
JSON.parse(internals.text, internals.reviver)
|
|
24
36
|
})
|
|
25
|
-
.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
console.log('Fastest is ' + this.filter('fastest').map('name'))
|
|
37
|
+
.run()
|
|
38
|
+
.then(() => {
|
|
39
|
+
console.log(benchmark.name)
|
|
40
|
+
console.table(benchmark.table())
|
|
30
41
|
})
|
|
31
|
-
.run({ async: true })
|
|
32
|
-
|
|
33
|
-
internals.reviver = function (key, value) {
|
|
34
|
-
if (key === '__proto__') {
|
|
35
|
-
return undefined
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
return value
|
|
39
|
-
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const { Bench } = require('tinybench')
|
|
4
4
|
const sjson = require('..')
|
|
5
5
|
|
|
6
6
|
const internals = {
|
|
@@ -8,9 +8,21 @@ const internals = {
|
|
|
8
8
|
invalid: '{ "a": 5, "b": 6, "__proto__": { "x": 7 }, "c": { "d": 0, "e": "text", "__proto__": { "y": 8 }, "f": { "g": 2 } } } }'
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
internals.reviver = function (key, value) {
|
|
12
|
+
if (key === '__proto__') {
|
|
13
|
+
throw new Error('kaboom')
|
|
14
|
+
}
|
|
12
15
|
|
|
13
|
-
|
|
16
|
+
return value
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const benchmark = new Bench({
|
|
20
|
+
name: 'throw benchmark',
|
|
21
|
+
iterations: 10000,
|
|
22
|
+
warmupIterations: 100
|
|
23
|
+
})
|
|
24
|
+
|
|
25
|
+
benchmark
|
|
14
26
|
.add('JSON.parse valid', () => {
|
|
15
27
|
JSON.parse(internals.text)
|
|
16
28
|
})
|
|
@@ -32,18 +44,8 @@ suite
|
|
|
32
44
|
JSON.parse(internals.invalid, internals.reviver)
|
|
33
45
|
} catch { }
|
|
34
46
|
})
|
|
35
|
-
.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
console.log('Fastest is ' + this.filter('fastest').map('name'))
|
|
47
|
+
.run()
|
|
48
|
+
.then(() => {
|
|
49
|
+
console.log(benchmark.name)
|
|
50
|
+
console.table(benchmark.table())
|
|
40
51
|
})
|
|
41
|
-
.run({ async: true })
|
|
42
|
-
|
|
43
|
-
internals.reviver = function (key, value) {
|
|
44
|
-
if (key === '__proto__') {
|
|
45
|
-
throw new Error('kaboom')
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
return value
|
|
49
|
-
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const { Bench } = require('tinybench')
|
|
4
4
|
const sjson = require('..')
|
|
5
5
|
|
|
6
6
|
const internals = {
|
|
@@ -8,9 +8,21 @@ const internals = {
|
|
|
8
8
|
proto: '{ "a": 5, "b": 6, "__proto__": { "x": 7 }, "c": { "d": 0, "e": "text", "__proto__": { "y": 8 }, "f": { "g": 2 } } }'
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
internals.reviver = function (key, value) {
|
|
12
|
+
if (key === '__proto__') {
|
|
13
|
+
return undefined
|
|
14
|
+
}
|
|
12
15
|
|
|
13
|
-
|
|
16
|
+
return value
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const benchmark = new Bench({
|
|
20
|
+
name: 'valid benchmark',
|
|
21
|
+
iterations: 10000,
|
|
22
|
+
warmupIterations: 100
|
|
23
|
+
})
|
|
24
|
+
|
|
25
|
+
benchmark
|
|
14
26
|
.add('JSON.parse', () => {
|
|
15
27
|
JSON.parse(internals.text)
|
|
16
28
|
})
|
|
@@ -32,18 +44,8 @@ suite
|
|
|
32
44
|
.add('JSON.parse reviver', () => {
|
|
33
45
|
JSON.parse(internals.text, internals.reviver)
|
|
34
46
|
})
|
|
35
|
-
.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
console.log('Fastest is ' + this.filter('fastest').map('name'))
|
|
47
|
+
.run()
|
|
48
|
+
.then(() => {
|
|
49
|
+
console.log(benchmark.name)
|
|
50
|
+
console.table(benchmark.table())
|
|
40
51
|
})
|
|
41
|
-
.run({ async: true })
|
|
42
|
-
|
|
43
|
-
internals.reviver = function (key, value) {
|
|
44
|
-
if (key === '__proto__') {
|
|
45
|
-
return undefined
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
return value
|
|
49
|
-
}
|
|
@@ -145,13 +145,15 @@ function parse (text, reviver, options) {
|
|
|
145
145
|
function safeParse (text, reviver) {
|
|
146
146
|
const { stackTraceLimit } = Error
|
|
147
147
|
Error.stackTraceLimit = 0
|
|
148
|
+
let result
|
|
148
149
|
try {
|
|
149
|
-
|
|
150
|
+
result = _parse(text, reviver, { safe: true })
|
|
150
151
|
} catch {
|
|
151
|
-
|
|
152
|
+
result = undefined
|
|
152
153
|
} finally {
|
|
153
154
|
Error.stackTraceLimit = stackTraceLimit
|
|
154
155
|
}
|
|
156
|
+
return result
|
|
155
157
|
}
|
|
156
158
|
|
|
157
159
|
module.exports = parse
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "secure-json-parse",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "JSON parse with prototype poisoning protection",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"benchmark": "cd benchmarks && npm install && npm run all",
|
|
10
10
|
"lint": "eslint",
|
|
11
11
|
"lint:fix": "eslint --fix",
|
|
12
|
-
"test": "
|
|
12
|
+
"test": "c8 --all --include index.js --check-coverage --100 npm run test:unit && npm run test:typescript",
|
|
13
13
|
"test:unit": "tape \"test/*.test.js\"",
|
|
14
|
-
"test:typescript": "
|
|
14
|
+
"test:typescript": "tstyche",
|
|
15
15
|
"test:browser": "airtap test/*.test.js"
|
|
16
16
|
},
|
|
17
17
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"name": "Tomas Della Vedova",
|
|
29
|
-
"url": "
|
|
29
|
+
"url": "https://delvedor.dev"
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
"name": "Aras Abbasi",
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"airtap": "^5.0.0",
|
|
66
66
|
"airtap-playwright": "^1.0.1",
|
|
67
|
+
"c8": "^12.0.0",
|
|
67
68
|
"eslint": "^9.17.0",
|
|
68
|
-
"neostandard": "^0.
|
|
69
|
-
"nyc": "^17.0.0",
|
|
69
|
+
"neostandard": "^0.13.0",
|
|
70
70
|
"playwright": "^1.43.1",
|
|
71
71
|
"tape": "^5.7.5",
|
|
72
|
-
"
|
|
72
|
+
"tstyche": "^7.1.0"
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -453,11 +453,13 @@ test('safeParse', t => {
|
|
|
453
453
|
t.end()
|
|
454
454
|
})
|
|
455
455
|
|
|
456
|
-
t.test('returns undefined on invalid object string', t => {
|
|
456
|
+
t.test('returns undefined on invalid object string and resets stackTraceLimit', t => {
|
|
457
|
+
Error.stackTraceLimit = 42
|
|
457
458
|
t.strictEqual(
|
|
458
459
|
j.safeParse('{"a": 5, "b": 6'),
|
|
459
460
|
undefined
|
|
460
461
|
)
|
|
462
|
+
t.strictEqual(Error.stackTraceLimit, 42)
|
|
461
463
|
t.end()
|
|
462
464
|
})
|
|
463
465
|
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
|
|
3
|
+
import { expect } from 'tstyche'
|
|
2
4
|
import sjson from '..'
|
|
3
5
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
+
expect(sjson.parse).type.not.toBeCallableWith(null)
|
|
7
|
+
expect(sjson.parse('{"anything":0}')).type.toBe<any>()
|
|
6
8
|
|
|
7
9
|
sjson.parse('"test"', null, { protoAction: 'remove' })
|
|
8
|
-
|
|
10
|
+
expect(sjson.parse).type.not.toBeCallableWith('"test"', null, { protoAction: 'incorrect' })
|
|
9
11
|
sjson.parse('"test"', null, { constructorAction: 'ignore' })
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
expect(sjson.parse).type.not.toBeCallableWith('"test"', null, { constructorAction: 'incorrect' })
|
|
13
|
+
expect(sjson.parse).type.not.toBeCallableWith('"test"', { constructorAction: 'incorrect' })
|
|
12
14
|
sjson.parse('test', { constructorAction: 'remove' })
|
|
13
15
|
sjson.parse('test', { protoAction: 'ignore' })
|
|
14
16
|
sjson.parse('test', () => {}, { protoAction: 'ignore', constructorAction: 'remove' })
|
|
@@ -16,11 +18,11 @@ sjson.parse('"test"', null, { safe: true })
|
|
|
16
18
|
sjson.parse('"test"', { safe: true })
|
|
17
19
|
sjson.parse('test', () => {}, { safe: false })
|
|
18
20
|
sjson.parse('test', { protoAction: 'remove', safe: true })
|
|
19
|
-
|
|
21
|
+
expect(sjson.parse).type.not.toBeCallableWith('"test"', null, { safe: 'incorrect' })
|
|
20
22
|
|
|
21
23
|
sjson.safeParse('"test"', null)
|
|
22
24
|
sjson.safeParse('"test"')
|
|
23
|
-
|
|
25
|
+
expect(sjson.safeParse).type.not.toBeCallableWith(null)
|
|
24
26
|
|
|
25
27
|
sjson.scan({}, { protoAction: 'remove' })
|
|
26
28
|
sjson.scan({}, { protoAction: 'ignore' })
|
|
@@ -29,15 +31,15 @@ sjson.scan({}, { constructorAction: 'ignore' })
|
|
|
29
31
|
sjson.scan([], {})
|
|
30
32
|
sjson.scan({}, { safe: true })
|
|
31
33
|
sjson.scan({}, { protoAction: 'remove', safe: false })
|
|
32
|
-
|
|
34
|
+
expect(sjson.scan).type.not.toBeCallableWith({}, { safe: 'incorrect' })
|
|
33
35
|
|
|
34
36
|
declare const input: Buffer
|
|
35
37
|
sjson.parse(input)
|
|
36
38
|
sjson.safeParse(input)
|
|
37
39
|
|
|
38
|
-
sjson.parse('{"anything":0}', (key,
|
|
39
|
-
|
|
40
|
+
sjson.parse('{"anything":0}', (key, _value) => {
|
|
41
|
+
expect(key).type.toBe<string>()
|
|
40
42
|
})
|
|
41
|
-
sjson.safeParse('{"anything":0}', (key,
|
|
42
|
-
|
|
43
|
+
sjson.safeParse('{"anything":0}', (key, _value) => {
|
|
44
|
+
expect(key).type.toBe<string>()
|
|
43
45
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zuplo/cli",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.10.0",
|
|
4
4
|
"repository": "https://github.com/zuplo/zuplo",
|
|
5
5
|
"author": "Zuplo, Inc.",
|
|
6
6
|
"type": "module",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"@opentelemetry/api": "1.9.0",
|
|
29
29
|
"@opentelemetry/api-logs": "0.220.0",
|
|
30
30
|
"@swc/core": "1.10.18",
|
|
31
|
-
"@zuplo/core": "7.
|
|
31
|
+
"@zuplo/core": "7.10.0",
|
|
32
32
|
"@zuplo/editor": "1.0.33162667821",
|
|
33
|
-
"@zuplo/openapi-tools": "7.
|
|
34
|
-
"@zuplo/runtime": "7.
|
|
33
|
+
"@zuplo/openapi-tools": "7.10.0",
|
|
34
|
+
"@zuplo/runtime": "7.10.0",
|
|
35
35
|
"chalk": "5.4.1",
|
|
36
36
|
"chokidar": "3.5.3",
|
|
37
37
|
"cookie": "1.0.2",
|
|
@@ -62,15 +62,15 @@
|
|
|
62
62
|
"workerd": "1.20261002.1",
|
|
63
63
|
"yargs": "17.7.2",
|
|
64
64
|
"zod": "4.4.3",
|
|
65
|
-
"@zuplo/graphql": "7.
|
|
66
|
-
"@zuplo/otel": "7.
|
|
65
|
+
"@zuplo/graphql": "7.10.0",
|
|
66
|
+
"@zuplo/otel": "7.10.0"
|
|
67
67
|
},
|
|
68
68
|
"optionalDependencies": {
|
|
69
|
-
"@zuplo/lint-darwin-arm64": "7.
|
|
70
|
-
"@zuplo/lint-darwin-x64": "7.
|
|
71
|
-
"@zuplo/lint-linux-x64": "7.
|
|
72
|
-
"@zuplo/lint-linux-arm64": "7.
|
|
73
|
-
"@zuplo/lint-win32-x64": "7.
|
|
69
|
+
"@zuplo/lint-darwin-arm64": "7.10.0",
|
|
70
|
+
"@zuplo/lint-darwin-x64": "7.10.0",
|
|
71
|
+
"@zuplo/lint-linux-x64": "7.10.0",
|
|
72
|
+
"@zuplo/lint-linux-arm64": "7.10.0",
|
|
73
|
+
"@zuplo/lint-win32-x64": "7.10.0"
|
|
74
74
|
},
|
|
75
75
|
"bundleDependencies": [
|
|
76
76
|
"@inquirer/prompts",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Number of days of inactivity before an issue becomes stale
|
|
2
|
-
daysUntilStale: 15
|
|
3
|
-
# Number of days of inactivity before a stale issue is closed
|
|
4
|
-
daysUntilClose: 7
|
|
5
|
-
# Issues with these labels will never be considered stale
|
|
6
|
-
exemptLabels:
|
|
7
|
-
- "discussion"
|
|
8
|
-
- "feature request"
|
|
9
|
-
- "bug"
|
|
10
|
-
- "help wanted"
|
|
11
|
-
- "plugin suggestion"
|
|
12
|
-
- "good first issue"
|
|
13
|
-
# Label to use when marking an issue as stale
|
|
14
|
-
staleLabel: stale
|
|
15
|
-
# Comment to post when marking an issue as stale. Set to `false` to disable
|
|
16
|
-
markComment: >
|
|
17
|
-
This issue has been automatically marked as stale because it has not had
|
|
18
|
-
recent activity. It will be closed if no further activity occurs. Thank you
|
|
19
|
-
for your contributions.
|
|
20
|
-
# Comment to post when closing a stale issue. Set to `false` to disable
|
|
21
|
-
closeComment: false
|