Skip to content

Commit 3aa9f8f

Browse files
committed
chore: update dependencies and tests
1 parent f001e74 commit 3aa9f8f

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@
3838
"license": "MIT",
3939
"typings": "index.d.ts",
4040
"devDependencies": {
41-
"@types/json-stable-stringify": "^1.0.32",
41+
"@types/json-stable-stringify": "^1.0.34",
4242
"@types/node": "^16.11.1",
4343
"benchmark": "^2.1.4",
4444
"clone": "^2.1.2",
4545
"fast-json-stable-stringify": "^2.1.0",
46-
"fast-safe-stringify": "^2.0.7",
46+
"fast-safe-stringify": "^2.1.1",
4747
"fast-stable-stringify": "^1.0.0",
4848
"faster-stable-stringify": "^1.0.0",
4949
"fastest-stable-stringify": "^2.0.2",
5050
"json-stable-stringify": "^1.0.1",
51-
"json-stringify-deterministic": "^1.0.1",
51+
"json-stringify-deterministic": "^1.0.7",
5252
"json-stringify-safe": "^5.0.1",
53-
"standard": "^15.0.0",
53+
"standard": "^16.0.4",
5454
"tap": "^15.0.9",
55-
"typescript": "^4.4.3"
55+
"typescript": "^4.8.3"
5656
},
5757
"repository": {
5858
"type": "git",

test.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,9 @@ test('null property', function (assert) {
232232
})
233233

234234
test('nested child circular reference in toJSON', function (assert) {
235-
var circle = { some: 'data' }
235+
const circle = { some: 'data' }
236236
circle.circle = circle
237-
var a = {
237+
const a = {
238238
b: {
239239
toJSON: function () {
240240
// @ts-expect-error
@@ -251,7 +251,7 @@ test('nested child circular reference in toJSON', function (assert) {
251251
}
252252
}
253253
}
254-
var o = {
254+
const o = {
255255
a,
256256
bar: a
257257
}
@@ -736,7 +736,6 @@ test('indent properly; regression test for issue #16', function (assert) {
736736
indentedJSONArrayEmpty
737737
)
738738
assert.equal(
739-
// @ts-ignore
740739
stringify(o, (k, v) => v, 2),
741740
indentedJSONReplacer
742741
)
@@ -755,7 +754,6 @@ test('indent properly; regression test for issue #16', function (assert) {
755754
indentedJSON.replace(circularIdentifier, circularReplacement)
756755
)
757756
assert.equal(
758-
// @ts-ignore
759757
stringify(o, (k, v) => v, 2),
760758
indentedJSONReplacer.replace(circularIdentifier, circularReplacement)
761759
)

0 commit comments

Comments
 (0)