From 12a38a7111bf4d471ec2d4b5b01ad9a723dee425 Mon Sep 17 00:00:00 2001 From: Kanad Gupta <8854718+kanadgupta@users.noreply.github.com> Date: Tue, 12 Sep 2023 19:09:12 -0500 Subject: [PATCH] chore(deps-dev): bump `knip` and `@readme/eslint-config` (#894) * refactor: remove node-config * chore: some more cleanup * refactor: import package.json * test: fix * test: oops * chore: remove unused package have i mentioned knip slaps * chore(deps-dev): bump knip and @readme/eslint-config --- package-lock.json | 51 +++++++++++++++++++++++++++++++++-------------- package.json | 4 ++-- 2 files changed, 38 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1c803b37e..51d9da410 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44,7 +44,7 @@ "@commitlint/cli": "^17.6.6", "@commitlint/config-conventional": "^17.6.6", "@readme/better-ajv-errors": "^1.5.0", - "@readme/eslint-config": "^12.2.0", + "@readme/eslint-config": "^13.0.0", "@readme/oas-examples": "^5.10.0", "@types/command-line-args": "^5.2.0", "@types/command-line-usage": "^5.0.2", @@ -66,7 +66,7 @@ "headers-polyfill": "^3.1.2", "husky": "^8.0.0", "js-yaml": "^4.1.0", - "knip": "^2.19.3", + "knip": "^2.24.0", "msw": "^1.2.3", "nock": "^13.2.7", "openapi-types": "^12.1.3", @@ -1526,9 +1526,9 @@ } }, "node_modules/@readme/eslint-config": { - "version": "12.2.1", - "resolved": "https://registry.npmjs.org/@readme/eslint-config/-/eslint-config-12.2.1.tgz", - "integrity": "sha512-tkYhhH8BTkdH4CFuMSWSby+Z4+XscROyC6/rGHSV1Y3dmJuj35FjhwTCR/nsiOLDVDBkKuJY3v0G5oCSxfgtkQ==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/@readme/eslint-config/-/eslint-config-13.0.0.tgz", + "integrity": "sha512-DyP5X6Qppt5729BDNafWY8Sw3jhNvvSV+r/+jq13DP1ZxF7hCKvFHxY5nbN1/k/0G35G7uG+5+K4NILImgeEYw==", "dev": true, "dependencies": { "@typescript-eslint/eslint-plugin": "^6.2.1", @@ -1546,6 +1546,7 @@ "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-react": "^7.33.1", "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-require-extensions": "^0.1.3", "eslint-plugin-testing-library": "^6.0.1", "eslint-plugin-typescript-sort-keys": "^3.0.0", "eslint-plugin-unicorn": "^48.0.1", @@ -1554,7 +1555,7 @@ "lodash.merge": "^4.6.2" }, "engines": { - "node": ">=14.18" + "node": ">=18" }, "peerDependencies": { "eslint": "^8.0.0", @@ -5348,6 +5349,18 @@ "semver": "bin/semver.js" } }, + "node_modules/eslint-plugin-require-extensions": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-require-extensions/-/eslint-plugin-require-extensions-0.1.3.tgz", + "integrity": "sha512-T3c1PZ9PIdI3hjV8LdunfYI8gj017UQjzAnCrxuo3wAjneDbTPHdE3oNWInOjMA+z/aBkUtlW5vC0YepYMZIug==", + "dev": true, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "eslint": "*" + } + }, "node_modules/eslint-plugin-testing-library": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/eslint-plugin-testing-library/-/eslint-plugin-testing-library-6.0.1.tgz", @@ -8265,9 +8278,9 @@ } }, "node_modules/knip": { - "version": "2.22.0", - "resolved": "https://registry.npmjs.org/knip/-/knip-2.22.0.tgz", - "integrity": "sha512-4YboXHvLYE3WzJM5A+M4oXoTogEe+etljGYdEq+nxCEHl6B/C5EdwieOqwGCd63VAmxXF72YvN8qKdoL2iBtmQ==", + "version": "2.24.0", + "resolved": "https://registry.npmjs.org/knip/-/knip-2.24.0.tgz", + "integrity": "sha512-WQSQynLTzq7D1WNe0YXsBOf3gOBmsjhW4BxzqXMbFqqyIFzmH+clRO4SKl4zBSf1ltWAi0SqZAsbFGN7V1niAA==", "dev": true, "dependencies": { "@ericcornelissen/bash-parser": "^0.5.2", @@ -16199,9 +16212,9 @@ } }, "@readme/eslint-config": { - "version": "12.2.1", - "resolved": "https://registry.npmjs.org/@readme/eslint-config/-/eslint-config-12.2.1.tgz", - "integrity": "sha512-tkYhhH8BTkdH4CFuMSWSby+Z4+XscROyC6/rGHSV1Y3dmJuj35FjhwTCR/nsiOLDVDBkKuJY3v0G5oCSxfgtkQ==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/@readme/eslint-config/-/eslint-config-13.0.0.tgz", + "integrity": "sha512-DyP5X6Qppt5729BDNafWY8Sw3jhNvvSV+r/+jq13DP1ZxF7hCKvFHxY5nbN1/k/0G35G7uG+5+K4NILImgeEYw==", "dev": true, "requires": { "@typescript-eslint/eslint-plugin": "^6.2.1", @@ -16219,6 +16232,7 @@ "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-react": "^7.33.1", "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-require-extensions": "^0.1.3", "eslint-plugin-testing-library": "^6.0.1", "eslint-plugin-typescript-sort-keys": "^3.0.0", "eslint-plugin-unicorn": "^48.0.1", @@ -18986,6 +19000,13 @@ "dev": true, "requires": {} }, + "eslint-plugin-require-extensions": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-require-extensions/-/eslint-plugin-require-extensions-0.1.3.tgz", + "integrity": "sha512-T3c1PZ9PIdI3hjV8LdunfYI8gj017UQjzAnCrxuo3wAjneDbTPHdE3oNWInOjMA+z/aBkUtlW5vC0YepYMZIug==", + "dev": true, + "requires": {} + }, "eslint-plugin-testing-library": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/eslint-plugin-testing-library/-/eslint-plugin-testing-library-6.0.1.tgz", @@ -21051,9 +21072,9 @@ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==" }, "knip": { - "version": "2.22.0", - "resolved": "https://registry.npmjs.org/knip/-/knip-2.22.0.tgz", - "integrity": "sha512-4YboXHvLYE3WzJM5A+M4oXoTogEe+etljGYdEq+nxCEHl6B/C5EdwieOqwGCd63VAmxXF72YvN8qKdoL2iBtmQ==", + "version": "2.24.0", + "resolved": "https://registry.npmjs.org/knip/-/knip-2.24.0.tgz", + "integrity": "sha512-WQSQynLTzq7D1WNe0YXsBOf3gOBmsjhW4BxzqXMbFqqyIFzmH+clRO4SKl4zBSf1ltWAi0SqZAsbFGN7V1niAA==", "dev": true, "requires": { "@ericcornelissen/bash-parser": "^0.5.2", diff --git a/package.json b/package.json index accd4ae36..8ee9e5c86 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "@commitlint/cli": "^17.6.6", "@commitlint/config-conventional": "^17.6.6", "@readme/better-ajv-errors": "^1.5.0", - "@readme/eslint-config": "^12.2.0", + "@readme/eslint-config": "^13.0.0", "@readme/oas-examples": "^5.10.0", "@types/command-line-args": "^5.2.0", "@types/command-line-usage": "^5.0.2", @@ -89,7 +89,7 @@ "headers-polyfill": "^3.1.2", "husky": "^8.0.0", "js-yaml": "^4.1.0", - "knip": "^2.19.3", + "knip": "^2.24.0", "msw": "^1.2.3", "nock": "^13.2.7", "openapi-types": "^12.1.3",