fast-redact
Advanced tools
Comparing version 1.1.9 to 1.1.10
@@ -9,3 +9,3 @@ 'use strict' | ||
const { | ||
ERR_CENSOR_MUST_BE_FUNCTION = () => 'fast-redact – censor may not be a function', | ||
ERR_CENSOR_MUST_NOT_BE_FUNCTION = () => 'fast-redact – censor may not be a function', | ||
ERR_PATHS_MUST_BE_STRINGS = () => 'fast-redact - Paths must be strings', | ||
@@ -17,3 +17,3 @@ ERR_INVALID_PATH = (s) => `fast-redact – Invalid path (${s})` | ||
if (typeof censor === 'function') { | ||
throw Error(ERR_CENSOR_MUST_BE_FUNCTION()) | ||
throw Error(ERR_CENSOR_MUST_NOT_BE_FUNCTION()) | ||
} | ||
@@ -20,0 +20,0 @@ paths.forEach((s) => { |
{ | ||
"name": "fast-redact", | ||
"version": "1.1.9", | ||
"version": "1.1.10", | ||
"description": "very fast object redaction", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
51240