@secretlint/secretlint-rule-aws
Advanced tools
Comparing version 5.2.0 to 5.2.1
{ | ||
"name": "@secretlint/secretlint-rule-aws", | ||
"version": "5.2.0", | ||
"version": "5.2.1", | ||
"description": "A secretlint rule for AWS.", | ||
@@ -46,16 +46,16 @@ "keywords": [ | ||
"dependencies": { | ||
"@secretlint/types": "^5.2.0", | ||
"@textlint/regexp-string-matcher": "^1.1.0", | ||
"@secretlint/types": "^5.2.1", | ||
"@textlint/regexp-string-matcher": "^2.0.1", | ||
"regx": "^1.0.4" | ||
}, | ||
"devDependencies": { | ||
"@secretlint/tester": "^5.2.0", | ||
"@types/mocha": "^9.1.0", | ||
"@types/node": "^17.0.21", | ||
"mocha": "^9.2.2", | ||
"prettier": "^2.3.1", | ||
"@secretlint/tester": "^5.2.1", | ||
"@types/mocha": "^9.1.1", | ||
"@types/node": "^18.0.0", | ||
"mocha": "^10.0.0", | ||
"prettier": "^2.7.1", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^10.7.0", | ||
"ts-node": "^10.8.1", | ||
"ts-node-test-register": "^10.0.0", | ||
"typescript": "^4.3.4" | ||
"typescript": "^4.7.4" | ||
}, | ||
@@ -68,3 +68,3 @@ "engines": { | ||
}, | ||
"gitHead": "334bdc88e68449009ea32399cec2a14f0a2a537b" | ||
"gitHead": "4e578c531a3989e9575b49bfa1b47d8a4cb7748e" | ||
} |
@@ -66,3 +66,3 @@ import { SecretLintRuleContext, SecretLintRuleCreator, SecretLintSourceCode } from "@secretlint/types"; | ||
const match = result[0] || ""; | ||
const range = [index, index + match.length]; | ||
const range = [index, index + match.length] as const; | ||
// Built-in ignore | ||
@@ -106,3 +106,3 @@ if (BUILTIN_IGNORED.AWSAccountID.includes(match)) { | ||
const match = result[1] || ""; | ||
const range = [index, index + match.length]; | ||
const range = [index, index + match.length] as const; | ||
// Built-in ignored | ||
@@ -144,3 +144,3 @@ if (BUILTIN_IGNORED.AWSSecretAccessKey.includes(match)) { | ||
const match = result[0] || ""; | ||
const range = [index, index + match.length]; | ||
const range = [index, index + match.length] as const; | ||
const allowedResults = matchPatterns(match, options.allows); | ||
@@ -147,0 +147,0 @@ if (allowedResults.length > 0) { |
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
22643
+ Added@textlint/regexp-string-matcher@2.0.2(transitive)
+ Addedescape-string-regexp@4.0.0(transitive)
- Removed@textlint/regexp-string-matcher@1.1.1(transitive)
- Removedassign-symbols@1.0.0(transitive)
- Removedclone-regexp@2.2.0(transitive)
- Removeddefine-property@2.0.2(transitive)
- Removedescape-string-regexp@2.0.0(transitive)
- Removedexecall@2.0.0(transitive)
- Removedextend-shallow@3.0.2(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedis-accessor-descriptor@1.0.1(transitive)
- Removedis-data-descriptor@1.0.1(transitive)
- Removedis-descriptor@1.0.3(transitive)
- Removedis-extendable@1.0.1(transitive)
- Removedis-plain-object@2.0.4(transitive)
- Removedis-regexp@2.1.0(transitive)
- Removedisobject@3.0.1(transitive)
- Removedregex-not@1.0.2(transitive)
- Removedret@0.1.15(transitive)
- Removedsafe-regex@1.1.0(transitive)
- Removedto-regex@3.0.2(transitive)
Updated@secretlint/types@^5.2.1