diff --git a/eslint-config/package.json b/eslint-config/package.json index 0568485f6..34cebee07 100644 --- a/eslint-config/package.json +++ b/eslint-config/package.json @@ -11,7 +11,7 @@ "eslint-config-prettier": "^8.10.0", "eslint-config-standard": "^16.0.3", "eslint-plugin-import": "^2.29.1", - "eslint-plugin-node": "^11.1.0", + "eslint-plugin-n": "^14.0.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-promise": "^5.2.0", "eslint-plugin-security": "^1.7.1", diff --git a/yarn.lock b/yarn.lock index 6897e8531..62ee8d510 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6512,7 +6512,7 @@ __metadata: eslint-config-prettier: "npm:^8.10.0" eslint-config-standard: "npm:^16.0.3" eslint-plugin-import: "npm:^2.29.1" - eslint-plugin-node: "npm:^11.1.0" + eslint-plugin-n: "npm:^14.0.0" eslint-plugin-prettier: "npm:^4.2.1" eslint-plugin-promise: "npm:^5.2.0" eslint-plugin-security: "npm:^1.7.1" @@ -18704,15 +18704,15 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-es@npm:^3.0.0": - version: 3.0.1 - resolution: "eslint-plugin-es@npm:3.0.1" +"eslint-plugin-es@npm:^4.1.0": + version: 4.1.0 + resolution: "eslint-plugin-es@npm:4.1.0" dependencies: eslint-utils: "npm:^2.0.0" regexpp: "npm:^3.0.0" peerDependencies: eslint: ">=4.19.1" - checksum: 9814e6305183edfdff7d99cbc0f95f0aed1446045cbd1d4f28e7be0903d0013880f0aaf04486a27de96bfb2f5a746bea97cbb238f9b0035cb378d48d179a0a1b + checksum: 431c7a6296f6f44d94acfb65c8d00fdd2c1c187d8aa97e1eab1d6780e9ed6cf6b62007fd403509ed5ec788a75cf41c8f1e3174cc16f5cc08b9ea266dc92de68e languageName: node linkType: hard @@ -18825,19 +18825,20 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-node@npm:^11.1.0": - version: 11.1.0 - resolution: "eslint-plugin-node@npm:11.1.0" +"eslint-plugin-n@npm:^14.0.0": + version: 14.0.0 + resolution: "eslint-plugin-n@npm:14.0.0" dependencies: - eslint-plugin-es: "npm:^3.0.0" - eslint-utils: "npm:^2.0.0" + eslint-plugin-es: "npm:^4.1.0" + eslint-utils: "npm:^3.0.0" ignore: "npm:^5.1.1" + is-core-module: "npm:^2.3.0" minimatch: "npm:^3.0.4" resolve: "npm:^1.10.1" semver: "npm:^6.1.0" peerDependencies: - eslint: ">=5.16.0" - checksum: bda540f390a84d835989f21f56743f3aa8f41fd9b53359d635c116632c86af92d70d8e6449ddd18860e6241f9cef04fc90c37eb192a9047c3c3a46de6145c30c + eslint: ">=7.0.0" + checksum: 37161c1fcfb83dd03e04771de48a3ddcd33b41517164b57eb968a015cf8cda54b74d124c939f7855d8caee908622698d3ad6244907e22ec6c45f697bf8b2a877 languageName: node linkType: hard @@ -21825,6 +21826,15 @@ __metadata: languageName: node linkType: hard +"hasown@npm:^2.0.2": + version: 2.0.2 + resolution: "hasown@npm:2.0.2" + dependencies: + function-bind: "npm:^1.1.2" + checksum: 7898a9c1788b2862cf0f9c345a6bec77ba4a0c0983c7f19d610c382343d4f98fa260686b225dfb1f88393a66679d2ec58ee310c1d6868c081eda7918f32cc70a + languageName: node + linkType: hard + "hast-util-whitespace@npm:^2.0.0": version: 2.0.1 resolution: "hast-util-whitespace@npm:2.0.1" @@ -23146,6 +23156,15 @@ __metadata: languageName: node linkType: hard +"is-core-module@npm:^2.3.0": + version: 2.15.0 + resolution: "is-core-module@npm:2.15.0" + dependencies: + hasown: "npm:^2.0.2" + checksum: 70e962543e5d3a97c07cb29144a86792d545a21f28e67da5401d85878a0193d46fbab8d97bc3ca680e2778705dca66e7b6ca840c493497a27ca0e8c5f3ac3d1d + languageName: node + linkType: hard + "is-date-object@npm:^1.0.1, is-date-object@npm:^1.0.5": version: 1.0.5 resolution: "is-date-object@npm:1.0.5"