@hackylabs/deep-redact 3.0.4 → 4.0.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.
Files changed (50) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +221 -106
  3. package/dist/adapters/console/index.cjs +74 -0
  4. package/dist/adapters/console/index.d.cts +22 -0
  5. package/dist/adapters/console/index.d.ts +22 -0
  6. package/dist/adapters/console/index.js +73 -0
  7. package/dist/index.cjs +2743 -0
  8. package/dist/index.d.cts +7 -0
  9. package/dist/index.d.ts +7 -0
  10. package/dist/index.js +2741 -55
  11. package/dist/node-console-sink-BnRUkAAr.cjs +19 -0
  12. package/dist/node-console-sink-DaQleNZ8.js +14 -0
  13. package/dist/public-Da0aARA9.d.cts +127 -0
  14. package/dist/public-Dw4ycNzO.d.ts +127 -0
  15. package/package.json +67 -102
  16. package/dist/index.mjs +0 -40
  17. package/dist/types/index.d.ts +0 -29
  18. package/dist/types/types.d.ts +0 -224
  19. package/dist/types/utils/TransformerRegistry.d.ts +0 -52
  20. package/dist/types/utils/index.d.ts +0 -131
  21. package/dist/types/utils/standardTransformers/bigint.d.ts +0 -2
  22. package/dist/types/utils/standardTransformers/date.d.ts +0 -2
  23. package/dist/types/utils/standardTransformers/error.d.ts +0 -2
  24. package/dist/types/utils/standardTransformers/index.d.ts +0 -9
  25. package/dist/types/utils/standardTransformers/map.d.ts +0 -2
  26. package/dist/types/utils/standardTransformers/regex.d.ts +0 -2
  27. package/dist/types/utils/standardTransformers/set.d.ts +0 -2
  28. package/dist/types/utils/standardTransformers/url.d.ts +0 -2
  29. package/dist/types.js +0 -2
  30. package/dist/types.mjs +0 -1
  31. package/dist/utils/TransformerRegistry.js +0 -100
  32. package/dist/utils/TransformerRegistry.mjs +0 -94
  33. package/dist/utils/index.js +0 -471
  34. package/dist/utils/index.mjs +0 -467
  35. package/dist/utils/standardTransformers/bigint.js +0 -10
  36. package/dist/utils/standardTransformers/bigint.mjs +0 -6
  37. package/dist/utils/standardTransformers/date.js +0 -9
  38. package/dist/utils/standardTransformers/date.mjs +0 -5
  39. package/dist/utils/standardTransformers/error.js +0 -16
  40. package/dist/utils/standardTransformers/error.mjs +0 -12
  41. package/dist/utils/standardTransformers/index.js +0 -38
  42. package/dist/utils/standardTransformers/index.mjs +0 -35
  43. package/dist/utils/standardTransformers/map.js +0 -9
  44. package/dist/utils/standardTransformers/map.mjs +0 -5
  45. package/dist/utils/standardTransformers/regex.js +0 -15
  46. package/dist/utils/standardTransformers/regex.mjs +0 -11
  47. package/dist/utils/standardTransformers/set.js +0 -9
  48. package/dist/utils/standardTransformers/set.mjs +0 -5
  49. package/dist/utils/standardTransformers/url.js +0 -9
  50. package/dist/utils/standardTransformers/url.mjs +0 -5
@@ -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 };
@@ -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 };