Socket
Socket
Sign inDemoInstall

@rushstack/eslint-plugin-security

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rushstack/eslint-plugin-security - npm Package Compare versions

Comparing version 0.7.1 to 0.8.0

2

lib/index.d.ts

@@ -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

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