@powersync/service-jsonbig 0.17.12 → 0.17.13
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/README.md +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/json.d.ts +1 -1
- package/dist/json_stringify.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
JSON is used everywhere, including:
|
|
4
4
|
|
|
5
5
|
1. PostgreSQL (json/jsonb types)
|
|
6
|
-
2. Sync
|
|
7
|
-
3. Sync
|
|
6
|
+
2. Sync query input (values are normalized to JSON text).
|
|
7
|
+
3. Sync query transformations (extracting values, constructing objects in the future)
|
|
8
8
|
4. Persisting data in the database.
|
|
9
9
|
5. Sending to the client.
|
|
10
10
|
|
package/dist/index.d.ts
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,SAAS,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC"}
|
package/dist/json.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Replacer, Reviver
|
|
1
|
+
import { JavaScriptValue, Replacer, Reviver } from 'lossless-json';
|
|
2
2
|
export declare const JSONBig: {
|
|
3
3
|
parse(text: string, reviver?: Reviver): JavaScriptValue;
|
|
4
4
|
stringify(value: any, replacer?: Replacer, space?: string | number): string;
|
package/dist/json_stringify.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { JavaScriptValue, NumberStringifier, Replacer } from 'lossless-json';
|
|
2
2
|
/**
|
|
3
3
|
* The LosslessJSON.stringify() method converts a JavaScript value to a JSON string,
|
|
4
4
|
* optionally replacing values if a replacer function is specified, or
|
package/package.json
CHANGED