@elliots/unplugin-typical 0.2.0-beta.1 → 0.2.0
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/dist/esbuild.d.mts +1 -1
- package/dist/farm.d.mts +1 -1
- package/dist/{index-CnuworeF.d.mts → index-DrHjl95P.d.mts} +12 -0
- package/dist/index.d.mts +1 -1
- package/dist/rolldown.d.mts +1 -1
- package/dist/rollup.d.mts +1 -1
- package/dist/rspack.d.mts +1 -1
- package/dist/vite.d.mts +1 -1
- package/dist/webpack.d.mts +1 -1
- package/package.json +2 -2
package/dist/esbuild.d.mts
CHANGED
package/dist/farm.d.mts
CHANGED
|
@@ -46,6 +46,18 @@ interface TypicalConfig {
|
|
|
46
46
|
* Default: true
|
|
47
47
|
*/
|
|
48
48
|
validateFunctions?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Transform JSON.parse<T>() calls to validate and filter the parsed result
|
|
51
|
+
* to only include properties defined in type T.
|
|
52
|
+
* Default: true
|
|
53
|
+
*/
|
|
54
|
+
transformJSONParse?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Transform JSON.stringify<T>() calls to only stringify properties defined
|
|
57
|
+
* in type T, preventing accidental data leaks.
|
|
58
|
+
* Default: true
|
|
59
|
+
*/
|
|
60
|
+
transformJSONStringify?: boolean;
|
|
49
61
|
/**
|
|
50
62
|
* Source map generation settings.
|
|
51
63
|
* Controls whether and how source maps are generated for transformed code.
|
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Options, t as Typical } from "./index-
|
|
1
|
+
import { n as Options, t as Typical } from "./index-DrHjl95P.mjs";
|
|
2
2
|
export { Options, Typical };
|
package/dist/rolldown.d.mts
CHANGED
package/dist/rollup.d.mts
CHANGED
package/dist/rspack.d.mts
CHANGED
package/dist/vite.d.mts
CHANGED
package/dist/webpack.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliots/unplugin-typical",
|
|
3
|
-
"version": "0.2.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Unplugin for typical - runtime safe TypeScript transformer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"esbuild",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@elliots/typical": "0.2.0
|
|
60
|
+
"@elliots/typical": "0.2.0",
|
|
61
61
|
"unplugin": "^2.3.11"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|