Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Commit fc44379

Browse files
committed
Update to version 1.0.2
1 parent 45bb5b5 commit fc44379

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Converts a JavaScript object or value to a JSON string. The following are valid
6060
* Throws a `TypeError` if an object contains a `BigInt`.
6161

6262
```js
63-
const { jsonStringify } = require('@tuft/json-stringify');
63+
const { jsonStringify } = require('json-stringify-lite');
6464

6565
const obj = {
6666
foo: 42,
@@ -95,7 +95,7 @@ A deterministic version of `jsonStringify()`. It performs the same, with the exc
9595
* Throws a `TypeError` if an object contains a `BigInt`.
9696

9797
```js
98-
const { stableJsonStringify } = require('@tuft/json-stringify');
98+
const { stableJsonStringify } = require('json-stringify-lite');
9999

100100
const obj = {
101101
b: 'foo',
@@ -114,7 +114,7 @@ If a comparison function is provided, it works the same as JavaScript's `Array.p
114114
* If `0` is returned, the original order will be maintained.
115115

116116
```js
117-
const { stableJsonStringify } = require('@tuft/json-stringify');
117+
const { stableJsonStringify } = require('json-stringify-lite');
118118

119119
// Sorts keys in descending alphabetical order.
120120
function compareFunction(keyA, keyB) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "json-stringify-lite",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Serialize JavaScript objects to JSON strings.",
55
"author": "Stuart Kennedy",
66
"license": "MIT",

0 commit comments

Comments
 (0)