Socket
Socket
Sign inDemoInstall

@secretlint/secretlint-rule-sendgrid

Package Overview
Dependencies
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@secretlint/secretlint-rule-sendgrid - npm Package Compare versions

Comparing version 8.1.0 to 8.1.1

2

module/index.js

@@ -9,3 +9,3 @@ import { matchPatterns } from "@textlint/regexp-string-matcher";

function reportIfFoundKey({ source, options, context, t, }) {
const SENDGRID_KEY_PATTERN = /SG\.\w{1,128}\.\w{1,128}-\w{1,128}/g;
const SENDGRID_KEY_PATTERN = /SG\.\w{1,128}\.\w{1,128}([-_]?)\w{1,128}/g;
const results = source.content.matchAll(SENDGRID_KEY_PATTERN);

@@ -12,0 +12,0 @@ for (const result of results) {

{
"name": "@secretlint/secretlint-rule-sendgrid",
"version": "8.1.0",
"version": "8.1.1",
"description": "A secretlint rule for sendgrid api keys.",

@@ -58,8 +58,8 @@ "keywords": [

"dependencies": {
"@secretlint/types": "^8.1.0",
"@secretlint/types": "^8.1.1",
"@textlint/regexp-string-matcher": "^2.0.2"
},
"devDependencies": {
"@secretlint/tester": "^8.1.0",
"@types/node": "^20.10.5",
"@secretlint/tester": "^8.1.1",
"@types/node": "^20.11.5",
"prettier": "^2.8.1",

@@ -77,3 +77,3 @@ "rimraf": "^3.0.2",

},
"gitHead": "4573b820cb1863edf15b43706f69ced3a8d54fae"
"gitHead": "267c761fd636d6f82d0562c4b7ddfdff34643a96"
}

@@ -35,3 +35,3 @@ import {

}) {
const SENDGRID_KEY_PATTERN = /SG\.\w{1,128}\.\w{1,128}-\w{1,128}/g;
const SENDGRID_KEY_PATTERN = /SG\.\w{1,128}\.\w{1,128}([-_]?)\w{1,128}/g;
const results = source.content.matchAll(SENDGRID_KEY_PATTERN);

@@ -38,0 +38,0 @@ for (const result of results) {

Sorry, the diff of this file is not supported yet

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