diff --git a/.eslintrc.js b/.eslintrc.js index 61856ce..09a3eae 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -10,7 +10,7 @@ module.exports = { ], "extends": [ "eslint:recommended", - "plugin:security/recommended" + "plugin:security/recommended-legacy" ], "parserOptions": { "ecmaVersion": 6, diff --git a/package-lock.json b/package-lock.json index 80e23e7..c202a00 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "css-loader": "^6.2.0", "eslint": "~8.56.0", "eslint-plugin-no-unsafe-innerhtml": "^1.0.16", - "eslint-plugin-security": "^1.4.0", + "eslint-plugin-security": "^2.1.0", "file-loader": "^6.0.0", "loglevel": "^1.4.1", "mocha": "^10.0.0", @@ -2181,9 +2181,9 @@ } }, "node_modules/eslint-plugin-security": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-security/-/eslint-plugin-security-1.7.0.tgz", - "integrity": "sha512-+ahcCh7M5w7fdFaNccaChBGq8nd3Wa+XvGJS+hY74kvrMhG4EuLbljRIjilOqh1iDMW/EckB1oOWmiVIYlVACQ==", + "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, "dependencies": { "safe-regex": "^2.1.1" diff --git a/package.json b/package.json index d0d5747..b71470b 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "css-loader": "^6.2.0", "eslint": "~8.56.0", "eslint-plugin-no-unsafe-innerhtml": "^1.0.16", - "eslint-plugin-security": "^1.4.0", + "eslint-plugin-security": "^2.1.0", "file-loader": "^6.0.0", "loglevel": "^1.4.1", "mocha": "^10.0.0",