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.6.8 to 0.7.9

CHANGELOG.md

6

index.js

@@ -57,3 +57,3 @@ const {

const sourceCode = context.getSourceCode();
const comments = sourceCode.getAllComments();
const allPatterns = Object.assign({}, STANDARD_PATTERNS, additionalRegexes);

@@ -116,2 +116,6 @@ const allDelimiters = additionalDelimiters.concat([" "]);

//Check all comments
const comments = sourceCode.getAllComments();
comments.forEach(comment => checkString(comment.value,comment));
return {

@@ -118,0 +122,0 @@ Literal(node) {

3

package.json
{
"name": "eslint-plugin-no-secrets",
"version": "0.6.8",
"version": "0.7.9",
"description": "An eslint rule that searches for potential secrets/keys in code",

@@ -26,2 +26,3 @@ "main": "index.js",

"eslint6": "npm:eslint@^6.8.0",
"eslint7": "npm:eslint@^7.0.0",
"mocha": "^7.1.1"

@@ -28,0 +29,0 @@ },

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