@rotorsoft/act 1.37.0 → 1.37.1
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/.tsbuildinfo +1 -1
- package/dist/@types/sensitive.d.ts.map +1 -1
- package/dist/{chunk-A3XDAB7T.js → chunk-2H5MBVSQ.js} +3 -2
- package/dist/{chunk-A3XDAB7T.js.map → chunk-2H5MBVSQ.js.map} +1 -1
- package/dist/{chunk-C67XTW3W.cjs → chunk-5OU5CTJZ.cjs} +13 -13
- package/dist/{chunk-C67XTW3W.cjs.map → chunk-5OU5CTJZ.cjs.map} +1 -1
- package/dist/{chunk-NXURHBSB.cjs → chunk-J6G7UKZA.cjs} +4 -3
- package/dist/chunk-J6G7UKZA.cjs.map +1 -0
- package/dist/{chunk-BRJZQ4IY.js → chunk-SIOPY6HT.js} +2 -2
- package/dist/index.cjs +146 -146
- package/dist/index.js +2 -2
- package/dist/test/index.cjs +4 -4
- package/dist/test/index.js +2 -2
- package/dist/types/index.cjs +2 -2
- package/dist/types/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-NXURHBSB.cjs.map +0 -1
- /package/dist/{chunk-BRJZQ4IY.js.map → chunk-SIOPY6HT.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sensitive.d.ts","sourceRoot":"","sources":["../../src/sensitive.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS;eAA2B,IAAI;iFAAK,CAAC;AAe3D;;;GAGG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,GAAG,IAAI,CAOvD;
|
|
1
|
+
{"version":3,"file":"sensitive.d.ts","sourceRoot":"","sources":["../../src/sensitive.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS;eAA2B,IAAI;iFAAK,CAAC;AAe3D;;;GAGG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,GAAG,IAAI,CAOvD;AAkCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAmBxE;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,GAAG,SAAS,MAAM,EAAE,CAE/D"}
|
|
@@ -146,7 +146,8 @@ function is_pii(schema) {
|
|
|
146
146
|
if (_registry.has(cur)) return true;
|
|
147
147
|
const def = cur._zod?.def;
|
|
148
148
|
if (def?.[_SENSITIVE] === true) return true;
|
|
149
|
-
const
|
|
149
|
+
const d = cur._def;
|
|
150
|
+
const inner = d?.innerType ?? d?.in;
|
|
150
151
|
if (!inner || inner === cur) return false;
|
|
151
152
|
cur = inner;
|
|
152
153
|
}
|
|
@@ -275,4 +276,4 @@ export {
|
|
|
275
276
|
LogLevels,
|
|
276
277
|
ExitCodes
|
|
277
278
|
};
|
|
278
|
-
//# sourceMappingURL=chunk-
|
|
279
|
+
//# sourceMappingURL=chunk-2H5MBVSQ.js.map
|