@flexorch/audit 0.5.0 → 0.5.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/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -700,7 +700,7 @@ function applyMask(text, findings, strategy = "redact") {
|
|
|
700
700
|
}
|
|
701
701
|
|
|
702
702
|
// src/index.ts
|
|
703
|
-
var version = "0.5.
|
|
703
|
+
var version = "0.5.1";
|
|
704
704
|
function computeQualityScore(completeness, avgLength, garbageRatio) {
|
|
705
705
|
const lengthScore = Math.min(avgLength / 500, 1);
|
|
706
706
|
const noiseScore = Math.max(0, 1 - garbageRatio * 10);
|
package/dist/index.d.cts
CHANGED
|
@@ -54,7 +54,7 @@ declare function applyMask(text: string, findings: PiiFinding[], strategy?: Mask
|
|
|
54
54
|
* // "Contact: [REDACTED_EMAIL]"
|
|
55
55
|
*/
|
|
56
56
|
|
|
57
|
-
declare const version = "0.5.
|
|
57
|
+
declare const version = "0.5.1";
|
|
58
58
|
type QualityGrade = "A" | "B" | "C" | "D";
|
|
59
59
|
interface PiiSummaryEntry {
|
|
60
60
|
type: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ declare function applyMask(text: string, findings: PiiFinding[], strategy?: Mask
|
|
|
54
54
|
* // "Contact: [REDACTED_EMAIL]"
|
|
55
55
|
*/
|
|
56
56
|
|
|
57
|
-
declare const version = "0.5.
|
|
57
|
+
declare const version = "0.5.1";
|
|
58
58
|
type QualityGrade = "A" | "B" | "C" | "D";
|
|
59
59
|
interface PiiSummaryEntry {
|
|
60
60
|
type: string;
|
package/dist/index.js
CHANGED
|
@@ -666,7 +666,7 @@ function applyMask(text, findings, strategy = "redact") {
|
|
|
666
666
|
}
|
|
667
667
|
|
|
668
668
|
// src/index.ts
|
|
669
|
-
var version = "0.5.
|
|
669
|
+
var version = "0.5.1";
|
|
670
670
|
function computeQualityScore(completeness, avgLength, garbageRatio) {
|
|
671
671
|
const lengthScore = Math.min(avgLength / 500, 1);
|
|
672
672
|
const noiseScore = Math.max(0, 1 - garbageRatio * 10);
|