@rushstack/eslint-plugin-security
Advanced tools
Comparing version 0.7.1 to 0.8.0
@@ -1,2 +0,2 @@ | ||
import { TSESLint } from '@typescript-eslint/experimental-utils'; | ||
import { TSESLint } from '@typescript-eslint/utils'; | ||
interface IPlugin { | ||
@@ -3,0 +3,0 @@ rules: { |
@@ -1,2 +0,2 @@ | ||
import type { TSESLint } from '@typescript-eslint/experimental-utils'; | ||
import type { TSESLint } from '@typescript-eslint/utils'; | ||
type MessageIds = 'error-unsafe-regexp'; | ||
@@ -3,0 +3,0 @@ type Options = []; |
@@ -6,3 +6,3 @@ "use strict"; | ||
exports.noUnsafeRegExp = void 0; | ||
const experimental_utils_1 = require("@typescript-eslint/experimental-utils"); | ||
const utils_1 = require("@typescript-eslint/utils"); | ||
const tree_pattern_1 = require("@rushstack/tree-pattern"); | ||
@@ -53,5 +53,3 @@ // Matches an expression like this: | ||
' building strings at runtime.', | ||
// Deprecated in ESLint v8; Keep for backwards compatibility | ||
category: 'Best Practices', | ||
recommended: 'warn', | ||
recommended: 'strict', | ||
url: 'https://www.npmjs.com/package/@rushstack/eslint-plugin-security' | ||
@@ -66,3 +64,3 @@ } | ||
if (captures.constructorArgs.length > 0 && | ||
captures.constructorArgs[0].type !== experimental_utils_1.AST_NODE_TYPES.Literal) { | ||
captures.constructorArgs[0].type !== utils_1.AST_NODE_TYPES.Literal) { | ||
context.report({ | ||
@@ -69,0 +67,0 @@ node, |
{ | ||
"name": "@rushstack/eslint-plugin-security", | ||
"version": "0.7.1", | ||
"version": "0.8.0", | ||
"description": "An ESLint plugin providing rules that identify common security vulnerabilities for browser applications, Node.js tools, and Node.js services", | ||
@@ -20,4 +20,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"@typescript-eslint/experimental-utils": "~5.59.2", | ||
"@rushstack/tree-pattern": "0.3.1" | ||
"@typescript-eslint/utils": "~6.19.0", | ||
"@rushstack/tree-pattern": "0.3.2" | ||
}, | ||
@@ -28,12 +28,14 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@rushstack/heft": "0.59.0", | ||
"@rushstack/heft-node-rig": "2.2.23", | ||
"@eslint/eslintrc": "~3.0.0", | ||
"@rushstack/heft": "0.62.0", | ||
"@rushstack/heft-node-rig": "2.3.2", | ||
"@types/eslint": "8.2.0", | ||
"@types/estree": "0.0.50", | ||
"@types/estree": "1.0.5", | ||
"@types/heft-jest": "1.0.1", | ||
"@types/node": "18.17.15", | ||
"@typescript-eslint/parser": "~5.59.2", | ||
"@typescript-eslint/typescript-estree": "~5.59.2", | ||
"@typescript-eslint/parser": "~6.19.0", | ||
"@typescript-eslint/rule-tester": "~6.19.0", | ||
"@typescript-eslint/typescript-estree": "~6.19.0", | ||
"eslint": "~8.7.0", | ||
"typescript": "~5.0.4" | ||
"typescript": "~5.3.3" | ||
}, | ||
@@ -40,0 +42,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
15600
12
98
+ Added@rushstack/tree-pattern@0.3.2(transitive)
+ Added@typescript-eslint/scope-manager@6.19.1(transitive)
+ Added@typescript-eslint/types@6.19.1(transitive)
+ Added@typescript-eslint/typescript-estree@6.19.1(transitive)
+ Added@typescript-eslint/utils@6.19.1(transitive)
+ Added@typescript-eslint/visitor-keys@6.19.1(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedminimatch@9.0.3(transitive)
+ Addedts-api-utils@1.3.0(transitive)
- Removed@rushstack/tree-pattern@0.3.1(transitive)
- Removed@typescript-eslint/experimental-utils@5.59.11(transitive)
- Removed@typescript-eslint/scope-manager@5.59.11(transitive)
- Removed@typescript-eslint/types@5.59.11(transitive)
- Removed@typescript-eslint/typescript-estree@5.59.11(transitive)
- Removed@typescript-eslint/utils@5.59.11(transitive)
- Removed@typescript-eslint/visitor-keys@5.59.11(transitive)
- Removedeslint-scope@5.1.1(transitive)
- Removedestraverse@4.3.0(transitive)
- Removedtslib@1.14.1(transitive)
- Removedtsutils@3.21.0(transitive)