@secretlint/secretlint-rule-npm
Advanced tools
Comparing version 7.0.0 to 7.0.1
@@ -18,3 +18,4 @@ import { matchPatterns } from "@textlint/regexp-string-matcher"; | ||
// https://github.blog/2012-09-21-easier-builds-and-deployments-using-git-over-https-and-oauth/ | ||
const XOAuthPattern = /https?:\/\/(.*?):x-oauth-basic@github.com.*/g; | ||
// https://stackoverflow.com/questions/14402407/maximum-length-of-a-domain-name-without-the-http-www-com-parts | ||
const XOAuthPattern = /https?:\/\/(.{1,256}):x-oauth-basic@github.com\//g; | ||
const results = source.content.matchAll(XOAuthPattern); | ||
@@ -21,0 +22,0 @@ for (const result of results) { |
{ | ||
"name": "@secretlint/secretlint-rule-npm", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "A secretlint rule for npm.", | ||
@@ -58,7 +58,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@secretlint/types": "^7.0.0", | ||
"@secretlint/types": "^7.0.1", | ||
"@textlint/regexp-string-matcher": "^2.0.2" | ||
}, | ||
"devDependencies": { | ||
"@secretlint/tester": "^7.0.0", | ||
"@secretlint/tester": "^7.0.1", | ||
"@types/node": "^20.3.3", | ||
@@ -77,3 +77,3 @@ "prettier": "^2.8.1", | ||
}, | ||
"gitHead": "fd1045ba58b297a5dfdb7034ac44a47ce0695510" | ||
"gitHead": "bb4ef809176588a7904c8932779237b5e5a3081a" | ||
} |
@@ -44,3 +44,4 @@ import { | ||
// https://github.blog/2012-09-21-easier-builds-and-deployments-using-git-over-https-and-oauth/ | ||
const XOAuthPattern = /https?:\/\/(.*?):x-oauth-basic@github.com.*/g; | ||
// https://stackoverflow.com/questions/14402407/maximum-length-of-a-domain-name-without-the-http-www-com-parts | ||
const XOAuthPattern = /https?:\/\/(.{1,256}):x-oauth-basic@github.com\//g; | ||
const results = source.content.matchAll(XOAuthPattern); | ||
@@ -47,0 +48,0 @@ for (const result of results) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
21626
333
Updated@secretlint/types@^7.0.1