Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-no-secrets

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-no-secrets - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"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) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc