@hackylabs/deep-redact 3.0.5 → 4.0.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/README.md +229 -106
- package/dist/adapters/console/index.cjs +74 -0
- package/dist/adapters/console/index.d.cts +22 -0
- package/dist/adapters/console/index.d.ts +22 -0
- package/dist/adapters/console/index.js +73 -0
- package/dist/index.cjs +2782 -0
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +2780 -55
- package/dist/node-console-sink-BnRUkAAr.cjs +19 -0
- package/dist/node-console-sink-DaQleNZ8.js +14 -0
- package/dist/public-Da0aARA9.d.cts +127 -0
- package/dist/public-Dw4ycNzO.d.ts +127 -0
- package/package.json +68 -106
- package/dist/index.mjs +0 -40
- package/dist/types/index.d.ts +0 -29
- package/dist/types/types.d.ts +0 -224
- package/dist/types/utils/TransformerRegistry.d.ts +0 -52
- package/dist/types/utils/index.d.ts +0 -131
- package/dist/types/utils/standardTransformers/bigint.d.ts +0 -2
- package/dist/types/utils/standardTransformers/date.d.ts +0 -2
- package/dist/types/utils/standardTransformers/error.d.ts +0 -2
- package/dist/types/utils/standardTransformers/index.d.ts +0 -9
- package/dist/types/utils/standardTransformers/map.d.ts +0 -2
- package/dist/types/utils/standardTransformers/regex.d.ts +0 -2
- package/dist/types/utils/standardTransformers/set.d.ts +0 -2
- package/dist/types/utils/standardTransformers/url.d.ts +0 -2
- package/dist/types.js +0 -2
- package/dist/types.mjs +0 -1
- package/dist/utils/TransformerRegistry.js +0 -100
- package/dist/utils/TransformerRegistry.mjs +0 -94
- package/dist/utils/index.js +0 -471
- package/dist/utils/index.mjs +0 -467
- package/dist/utils/standardTransformers/bigint.js +0 -10
- package/dist/utils/standardTransformers/bigint.mjs +0 -6
- package/dist/utils/standardTransformers/date.js +0 -9
- package/dist/utils/standardTransformers/date.mjs +0 -5
- package/dist/utils/standardTransformers/error.js +0 -16
- package/dist/utils/standardTransformers/error.mjs +0 -12
- package/dist/utils/standardTransformers/index.js +0 -38
- package/dist/utils/standardTransformers/index.mjs +0 -35
- package/dist/utils/standardTransformers/map.js +0 -9
- package/dist/utils/standardTransformers/map.mjs +0 -5
- package/dist/utils/standardTransformers/regex.js +0 -15
- package/dist/utils/standardTransformers/regex.mjs +0 -11
- package/dist/utils/standardTransformers/set.js +0 -9
- package/dist/utils/standardTransformers/set.mjs +0 -5
- package/dist/utils/standardTransformers/url.js +0 -9
- package/dist/utils/standardTransformers/url.mjs +0 -5
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { A as StructuredPathSelector, C as PathRule, D as PublicWildcardSegment, E as PublicRecursiveWildcardSegment, O as RegexPathSegment, S as PathEntry, T as PathSelector, _ as DiagnosticSink, a as KeySelector, b as FunctionCensorContext, c as SubstringRule, d as Transformer, f as TransformersByConstructor, g as DiagnosticEvent, h as IgnoredValueTypesOption, i as KeyRule, k as StructuredPathSegment, l as ValueTypeName, m as TransformersOption, n as RedactorFactory, o as SerialiseOption, p as TransformersByType, r as DeepRedactOptions, s as StringTest, t as Redactor, u as CustomConstructorTransformerRegistration, v as DiagnosticsOptions, w as PathSegments, x as IgnorePathSegment, y as Censor } from "./public-Da0aARA9.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/index.d.ts
|
|
4
|
+
declare const deepRedact: RedactorFactory;
|
|
5
|
+
declare const createRedactor: RedactorFactory;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { type Censor, type CustomConstructorTransformerRegistration, type DeepRedactOptions, type DiagnosticEvent, type DiagnosticSink, type DiagnosticsOptions, type FunctionCensorContext, type IgnorePathSegment, type IgnoredValueTypesOption, type KeyRule, type KeySelector, type PathEntry, type PathRule, type PathSegments, type PathSelector, type PublicRecursiveWildcardSegment, type PublicWildcardSegment, type Redactor, type RedactorFactory, type RegexPathSegment, type SerialiseOption, type StringTest, type StructuredPathSegment, type StructuredPathSelector, type SubstringRule, type Transformer, type TransformersByConstructor, type TransformersByType, type TransformersOption, type ValueTypeName, createRedactor, deepRedact };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { A as StructuredPathSelector, C as PathRule, D as PublicWildcardSegment, E as PublicRecursiveWildcardSegment, O as RegexPathSegment, S as PathEntry, T as PathSelector, _ as DiagnosticSink, a as KeySelector, b as FunctionCensorContext, c as SubstringRule, d as Transformer, f as TransformersByConstructor, g as DiagnosticEvent, h as IgnoredValueTypesOption, i as KeyRule, k as StructuredPathSegment, l as ValueTypeName, m as TransformersOption, n as RedactorFactory, o as SerialiseOption, p as TransformersByType, r as DeepRedactOptions, s as StringTest, t as Redactor, u as CustomConstructorTransformerRegistration, v as DiagnosticsOptions, w as PathSegments, x as IgnorePathSegment, y as Censor } from "./public-Dw4ycNzO.js";
|
|
2
|
+
|
|
3
|
+
//#region src/index.d.ts
|
|
4
|
+
declare const deepRedact: RedactorFactory;
|
|
5
|
+
declare const createRedactor: RedactorFactory;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { type Censor, type CustomConstructorTransformerRegistration, type DeepRedactOptions, type DiagnosticEvent, type DiagnosticSink, type DiagnosticsOptions, type FunctionCensorContext, type IgnorePathSegment, type IgnoredValueTypesOption, type KeyRule, type KeySelector, type PathEntry, type PathRule, type PathSegments, type PathSelector, type PublicRecursiveWildcardSegment, type PublicWildcardSegment, type Redactor, type RedactorFactory, type RegexPathSegment, type SerialiseOption, type StringTest, type StructuredPathSegment, type StructuredPathSelector, type SubstringRule, type Transformer, type TransformersByConstructor, type TransformersByType, type TransformersOption, type ValueTypeName, createRedactor, deepRedact };
|