diff --git a/.eslintrc.json b/.eslintrc.json index 56462ad135..4bfd9b842d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -7,7 +7,7 @@ }, "extends": [ "@nuxtjs", - "plugin:security/recommended", + "plugin:security/recommended-legacy", "plugin:sonarjs/recommended", "plugin:no-unsanitized/DOM", "plugin:jsonc/recommended-with-json", diff --git a/package-lock.json b/package-lock.json index 0e0a72ecce..1d990c8c7a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,7 +42,7 @@ "eslint-plugin-no-secrets": "0.8.9", "eslint-plugin-no-unsanitized": "4.0.2", "eslint-plugin-prettier": "5.1.1", - "eslint-plugin-security": "1.7.1", + "eslint-plugin-security": "2.1.0", "eslint-plugin-sonarjs": "0.23.0", "eslint-plugin-xss": "0.1.12", "finalhandler": "1.2.0", @@ -10593,9 +10593,9 @@ } }, "node_modules/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, "dependencies": { "safe-regex": "^2.1.1" diff --git a/package.json b/package.json index 44563a1874..02ade84f48 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "eslint-plugin-no-secrets": "0.8.9", "eslint-plugin-no-unsanitized": "4.0.2", "eslint-plugin-prettier": "5.1.1", - "eslint-plugin-security": "1.7.1", + "eslint-plugin-security": "2.1.0", "eslint-plugin-sonarjs": "0.23.0", "eslint-plugin-xss": "0.1.12", "finalhandler": "1.2.0",