mask-privacy 3.5.0 → 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.
package/dist/index.d.mts CHANGED
@@ -69,6 +69,8 @@ interface Span {
69
69
  confidence: number;
70
70
  method: string;
71
71
  language?: string;
72
+ ruleId?: string;
73
+ complianceScope?: ReadonlySet<string>;
72
74
  maskedValue?: string;
73
75
  }
74
76
 
@@ -371,6 +373,8 @@ interface PatternDescriptor {
371
373
  validatorTag: string | null;
372
374
  isHighEntropy: boolean;
373
375
  supportedLocales: string[];
376
+ ruleId: string;
377
+ complianceScope: ReadonlySet<string>;
374
378
  }
375
379
  /**
376
380
  * Immutable catalogue of sensitive-data regex signatures.
@@ -481,7 +485,7 @@ declare class DLPConfidenceScorer {
481
485
  * Provides format-preserving encryption, local/distributed vaulting,
482
486
  * and framework-agnostic tool interception hooks.
483
487
  */
484
- declare const VERSION = "3.5.0";
488
+ declare const VERSION = "3.5.1";
485
489
 
486
490
  /**
487
491
  * Detect PII entities in text and return a list of objects with metadata.
package/dist/index.d.ts CHANGED
@@ -69,6 +69,8 @@ interface Span {
69
69
  confidence: number;
70
70
  method: string;
71
71
  language?: string;
72
+ ruleId?: string;
73
+ complianceScope?: ReadonlySet<string>;
72
74
  maskedValue?: string;
73
75
  }
74
76
 
@@ -371,6 +373,8 @@ interface PatternDescriptor {
371
373
  validatorTag: string | null;
372
374
  isHighEntropy: boolean;
373
375
  supportedLocales: string[];
376
+ ruleId: string;
377
+ complianceScope: ReadonlySet<string>;
374
378
  }
375
379
  /**
376
380
  * Immutable catalogue of sensitive-data regex signatures.
@@ -481,7 +485,7 @@ declare class DLPConfidenceScorer {
481
485
  * Provides format-preserving encryption, local/distributed vaulting,
482
486
  * and framework-agnostic tool interception hooks.
483
487
  */
484
- declare const VERSION = "3.5.0";
488
+ declare const VERSION = "3.5.1";
485
489
 
486
490
  /**
487
491
  * Detect PII entities in text and return a list of objects with metadata.