typia 7.0.0-dev.20241008 → 7.0.0-dev.20241009
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.
|
@@ -1 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* In the past, name of `typia` was `typescript-json`, and supported
|
|
3
|
+
* JSON serialization by wrapping `fast-json-stringify. `typescript-json` was
|
|
4
|
+
* a helper library of `fast-json-stringify`, which can skip manual JSON schema
|
|
5
|
+
* definition just by putting pure TypeScript type.
|
|
6
|
+
*
|
|
7
|
+
* This `$string` function is a part of `fast-json-stringify` at that time, and
|
|
8
|
+
* still being used in `typia` for the string serialization.
|
|
9
|
+
*
|
|
10
|
+
* @reference https://github.com/fastify/fast-json-stringify/blob/master/lib/serializer.js
|
|
11
|
+
* @blog https://dev.to/samchon/good-bye-typescript-is-ancestor-of-typia-20000x-faster-validator-49fi
|
|
12
|
+
*/
|
|
13
|
+
export declare const $jsonStringifyString: (str: string) => string;
|
|
@@ -10,7 +10,6 @@ exports.$jsonStringifyString = void 0;
|
|
|
10
10
|
* This `$string` function is a part of `fast-json-stringify` at that time, and
|
|
11
11
|
* still being used in `typia` for the string serialization.
|
|
12
12
|
*
|
|
13
|
-
* @internal
|
|
14
13
|
* @reference https://github.com/fastify/fast-json-stringify/blob/master/lib/serializer.js
|
|
15
14
|
* @blog https://dev.to/samchon/good-bye-typescript-is-ancestor-of-typia-20000x-faster-validator-49fi
|
|
16
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"$jsonStringifyString.js","sourceRoot":"","sources":["../../src/internal/$jsonStringifyString.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"$jsonStringifyString.js","sourceRoot":"","sources":["../../src/internal/$jsonStringifyString.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;GAWG;AACI,IAAM,oBAAoB,GAAG,UAAC,GAAW;IAC9C,IAAM,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC;IACvB,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC;IACd,IAAI,KAAK,GAAG,GAAG,CAAC;IAEhB,2BAA2B;IAC3B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;QAC7B,KAAK,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QAC1B,IAAI,KAAK,GAAG,EAAE,EAAE,CAAC;YACf,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;QAC7B,CAAC;QACD,IAAI,KAAK,IAAI,MAAM,IAAI,KAAK,IAAI,MAAM,EAAE,CAAC;YACvC,wCAAwC;YACxC,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;QAC7B,CAAC;QACD,IACE,KAAK,KAAK,IAAI,IAAI,MAAM;YACxB,KAAK,KAAK,IAAI,CAAC,MAAM;UACrB,CAAC;YACD,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;YAC1B,MAAM,IAAI,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC;YACpC,IAAI,GAAG,CAAC,CAAC;QACX,CAAC;IACH,CAAC;IAED,OAAO,CACL,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC,IAAI,GAAG,GAAG,MAAM,GAAG,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,GAAG,CACzE,CAAC;AACJ,CAAC,CAAC;AA7BW,QAAA,oBAAoB,wBA6B/B"}
|
package/package.json
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
* This `$string` function is a part of `fast-json-stringify` at that time, and
|
|
8
8
|
* still being used in `typia` for the string serialization.
|
|
9
9
|
*
|
|
10
|
-
* @internal
|
|
11
10
|
* @reference https://github.com/fastify/fast-json-stringify/blob/master/lib/serializer.js
|
|
12
11
|
* @blog https://dev.to/samchon/good-bye-typescript-is-ancestor-of-typia-20000x-faster-validator-49fi
|
|
13
12
|
*/
|