eslint-plugin-no-secrets
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "eslint-plugin-no-secrets", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "An eslint plugin to find strings that might be secrets/passwords", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,1 @@ | ||
const { isPlainObject } = require("lodash"); | ||
@@ -12,2 +11,6 @@ const MATH_LOG_2 = Math.log(2); | ||
function isPlainObject(obj) { | ||
return typeof obj === 'object' && obj.constructor === Object; | ||
} | ||
function checkOptions({ tolerance, additionalRegexes }) { | ||
@@ -22,2 +25,3 @@ tolerance = tolerance || DEFAULT_TOLERANCE; | ||
} | ||
const compiledRegexes = {}; | ||
@@ -24,0 +28,0 @@ for (const regexName in additionalRegexes) { |
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
9706
158