fast-redact
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -26,3 +26,3 @@ 'use strict' | ||
const expr = s.replace(/^\*/, '〇').replace(/\.\*/g, '.〇').replace(/\[\*\]/g, '[〇]') | ||
if (/\n|;/.test(expr)) throw Error() | ||
if (/\n|\r|;/.test(expr)) throw Error() | ||
if (/\/\*/.test(expr)) throw Error() | ||
@@ -29,0 +29,0 @@ runInContext(` |
{ | ||
"name": "fast-redact", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "very fast object redaction", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -132,2 +132,5 @@ 'use strict' | ||
}, err('a\n')) | ||
throws((e) => { | ||
fastRedact({paths: ['a\r']}) | ||
}, err('a\r')) | ||
end() | ||
@@ -134,0 +137,0 @@ }) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50935
1147