From b383ed2a312de8d5d94e3f5d8a754717b44020a9 Mon Sep 17 00:00:00 2001 From: Simon Fisher Date: Tue, 25 Jul 2023 13:43:29 +0100 Subject: [PATCH 1/4] Update dependencies to be compatible with eslint v8 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2c22b78..01be27e 100644 --- a/package.json +++ b/package.json @@ -22,12 +22,12 @@ "dependencies": { "eslint-plugin-node": "11.1.0", "eslint-plugin-security": "1.4.0", - "eslint-plugin-react": "7.24.0" + "eslint-plugin-react": "7.33.0" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^3.7.0", "@typescript-eslint/parser": "^3.7.0", - "eslint": "^7.32.0", + "eslint": "^7.32.0 || ^8", "mocha": "^8.3.2", "typescript": "^3.9.7" }, From 09464bb6062256be01027273f61eb87f872eaa4e Mon Sep 17 00:00:00 2001 From: Simon Fisher Date: Tue, 25 Jul 2023 16:24:30 +0100 Subject: [PATCH 2/4] bump package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 01be27e..cf10332 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/eslint-plugin-sdl", - "version": "0.2.1", + "version": "0.2.2", "description": "ESLint plugin focused on common security issues and misconfigurations discoverable during static testing as part of Microsoft Security Development Lifecycle (SDL)", "keywords": [ "eslint", From b45f9a48ea8b2125b11a50ecc123cf0bbeedf310 Mon Sep 17 00:00:00 2001 From: Simon Fisher Date: Wed, 26 Jul 2023 08:50:36 +0100 Subject: [PATCH 3/4] Add peerDependencies section from #51 and add v8 to it --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index cf10332..fd27a1d 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,9 @@ "mocha": "^8.3.2", "typescript": "^3.9.7" }, + "peerDependencies": { + "eslint": "^4.19.1 || ^5 || ^6 || ^7 || ^8" + }, "engines": { "node": ">=0.10.0" }, From f2f898ebc1016f3a253fc9041634825ebd51be8f Mon Sep 17 00:00:00 2001 From: Simon Fisher Date: Wed, 26 Jul 2023 13:36:30 +0100 Subject: [PATCH 4/4] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fd27a1d..cee4b4a 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "devDependencies": { "@typescript-eslint/eslint-plugin": "^3.7.0", "@typescript-eslint/parser": "^3.7.0", - "eslint": "^7.32.0 || ^8", + "eslint": "^7.32.0", "mocha": "^8.3.2", "typescript": "^3.9.7" },