diff --git a/.eslintrc.js b/.eslintrc.js index 7f7e5ce..510ec5b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -9,7 +9,7 @@ module.exports = { ], "extends": [ "eslint:recommended", - "plugin:security/recommended" + "plugin:security/recommended-legacy" ], "globals": { "_": true, diff --git a/package-lock.json b/package-lock.json index c8a6fa0..9eff3e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -289,9 +289,9 @@ } }, "eslint-plugin-security": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-security/-/eslint-plugin-security-1.7.1.tgz", - "integrity": "sha512-sMStceig8AFglhhT2LqlU5r+/fn9OwsA72O5bBuQVTssPCdQAOQzL+oMn/ZcpeUY6KcNfLJArgcrsSULNjYYdQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-security/-/eslint-plugin-security-2.1.0.tgz", + "integrity": "sha512-ywxclP954bf8d3gr6KOQ/AFc+PRvWuhOxtPOEtiHmVYiZr/mcgQtmSJq6+hTEXC5ylTjHnPPG+PEnzlDiWMXbQ==", "dev": true, "requires": { "safe-regex": "^2.1.1" @@ -701,9 +701,9 @@ "dev": true }, "regexp-tree": { - "version": "0.1.24", - "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.24.tgz", - "integrity": "sha512-s2aEVuLhvnVJW6s/iPgEGK6R+/xngd2jNQ+xy4bXNDKxZKJH6jpPHY6kVeVv1IeLCHgswRj+Kl3ELaDjG6V1iw==", + "version": "0.1.27", + "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.27.tgz", + "integrity": "sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==", "dev": true }, "resolve-from": { diff --git a/package.json b/package.json index fb0d6d2..6871e52 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,6 @@ }, "devDependencies": { "eslint": "~8.56.0", - "eslint-plugin-security": "^1.7.1" + "eslint-plugin-security": "^2.1.0" } }