@casual-simulation/fast-json-stable-stringify 3.5.0-alpha.15494496163 → 3.10.2
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/index.spec.ts +1 -1
- package/package.json +45 -46
- package/tsconfig.tsbuildinfo +1 -1
package/index.spec.ts
CHANGED
|
@@ -14,7 +14,7 @@ describe('fast-json-stable-stringify', () => {
|
|
|
14
14
|
let two: any = { a: 2, one: one };
|
|
15
15
|
one.two = two;
|
|
16
16
|
stringify(one);
|
|
17
|
-
}).
|
|
17
|
+
}).toThrow(new TypeError('Converting circular structure to JSON'));
|
|
18
18
|
});
|
|
19
19
|
|
|
20
20
|
it('should support cyclic objects when specified', () => {
|
package/package.json
CHANGED
|
@@ -1,48 +1,47 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
2
|
+
"name": "@casual-simulation/fast-json-stable-stringify",
|
|
3
|
+
"version": "3.10.2",
|
|
4
|
+
"description": "deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"types": "index.d.ts",
|
|
7
|
+
"module": "index",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git@github.com:casual-simulation/casualos.git"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://github.com/casual-simulation/casualos/tree/develop/src/fast-json-stable-stringify",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"json",
|
|
15
|
+
"stringify",
|
|
16
|
+
"deterministic",
|
|
17
|
+
"hash",
|
|
18
|
+
"stable"
|
|
19
|
+
],
|
|
20
|
+
"author": {
|
|
21
|
+
"name": "James Halliday",
|
|
22
|
+
"email": "mail@substack.net",
|
|
23
|
+
"url": "http://substack.net"
|
|
24
|
+
},
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"nyc": {
|
|
27
|
+
"exclude": [
|
|
28
|
+
"test",
|
|
29
|
+
"node_modules"
|
|
24
30
|
],
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"node": ">=8"
|
|
43
|
-
},
|
|
44
|
-
"publishConfig": {
|
|
45
|
-
"access": "public"
|
|
46
|
-
},
|
|
47
|
-
"gitHead": "b40054aef161b5011c5dd8c1aba38207eec44e83"
|
|
48
|
-
}
|
|
31
|
+
"reporter": [
|
|
32
|
+
"lcov",
|
|
33
|
+
"text-summary"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=8"
|
|
38
|
+
},
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"eslint": "eslint index.js test",
|
|
44
|
+
"test-spec": "tape test/*.js",
|
|
45
|
+
"test": "npm run eslint && nyc npm run test-spec"
|
|
46
|
+
}
|
|
47
|
+
}
|