diff --git a/.clang-format-version b/.clang-format-version index cecac1d4..0e5541b2 100644 --- a/.clang-format-version +++ b/.clang-format-version @@ -1 +1 @@ -llvmorg-19.1.6 +llvmorg-19.1.7 diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 2436d95e..00000000 --- a/.eslintignore +++ /dev/null @@ -1,9 +0,0 @@ -# dependencies -node_modules - -# production -build -.next - -# package -package-lock.json diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index 64231b59..00000000 --- a/.eslintrc.js +++ /dev/null @@ -1,20 +0,0 @@ -module.exports = { - root: true, - extends: [ - // extends has priority. Last index has the highest priority. - 'eslint:recommended', - 'plugin:import/recommended', - 'airbnb-base', - 'prettier', - ], - env: { - commonjs: true, - es2024: true, - node: true, - mocha: true, - }, - parserOptions: { - sourceType: 'module', - ecmaVersion: 15, - }, -}; diff --git a/.github/sync-client.yml b/.github/sync-client.yml index 952da677..074e702d 100644 --- a/.github/sync-client.yml +++ b/.github/sync-client.yml @@ -45,10 +45,6 @@ lumirlumir/lumirlumir-configs: # ./ - source: ./.editorconfig dest: ./configs/.editorconfig - - source: ./.eslintignore - dest: ./configs/.eslintignore - - source: ./.eslintrc.js - dest: ./configs/.eslintrc.js - source: ./.gitattributes dest: ./configs/.gitattributes - source: ./.gitignore @@ -65,13 +61,15 @@ lumirlumir/lumirlumir-configs: dest: ./configs/.prettierrc.js - source: ./.textlintrc.js dest: ./configs/.textlintrc.js - - source: ./babel.config.js - dest: ./configs/babel.config.js - source: ./CODE_OF_CONDUCT.md dest: ./configs/CODE_OF_CONDUCT.md - source: ./LICENSE.md dest: ./configs/LICENSE.md - - source: ./lint-staged.config.js - dest: ./configs/lint-staged.config.js - source: ./VScode.code-workspace dest: ./configs/VScode.code-workspace + - source: ./babel.config.js + dest: ./configs/babel.config.js + - source: ./eslint.config.js + dest: ./configs/eslint.config.js + - source: ./lint-staged.config.js + dest: ./configs/lint-staged.config.js diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 00000000..86c5fcd7 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,8 @@ +const bananass = require('eslint-config-bananass'); + +module.exports = [ + { + ignores: ['**/build/', '**/coverage/'], + }, + bananass.configs.recommended, +]; diff --git a/examples/clang-format/package.json b/examples/clang-format/package.json index 79822505..6bc53caa 100644 --- a/examples/clang-format/package.json +++ b/examples/clang-format/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "examples-clang-format", - "version": "1.2.4", + "version": "1.2.5", "scripts": { "formatted:c": "npx clang-format src/formatted.c", "formatted:c:dry-run": "npx clang-format -Werror -n src/formatted.c", @@ -13,6 +13,6 @@ "unformatted:cpp:dry-run": "npx clang-format -Werror -n src/unformatted.cpp" }, "dependencies": { - "clang-format-node": "^1.2.4" + "clang-format-node": "^1.2.5" } } diff --git a/examples/git-clang-format/package.json b/examples/git-clang-format/package.json index aaab3f21..981c9c4b 100644 --- a/examples/git-clang-format/package.json +++ b/examples/git-clang-format/package.json @@ -1,13 +1,13 @@ { "private": true, "name": "examples-git-clang-format", - "version": "1.2.4", + "version": "1.2.5", "scripts": { "add-a-space-to-line-9-of-main-c-file": "cat src/main_overwrite.txt > src/main.c", "git-add": "git add src/main.c && git status", "git-clang-format": "npx git-clang-format" }, "dependencies": { - "clang-format-git": "^1.2.4" + "clang-format-git": "^1.2.5" } } diff --git a/lerna.json b/lerna.json index 317485df..96423fe2 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,4 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "1.2.4" + "version": "1.2.5" } diff --git a/package-lock.json b/package-lock.json index 57193cd3..d4821b54 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,33 +17,34 @@ "c8": "^10.1.3", "concurrently": "^9.0.0", "editorconfig-checker": "^6.0.0", - "eslint": "^8.57.0", - "eslint-config-airbnb-base": "^15.0.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-import": "^2.29.1", + "eslint": "^9.18.0", + "eslint-config-bananass": "^0.0.1", "husky": "^9.1.5", "lerna": "^8.1.9", - "lint-staged": "^15.2.10", + "lint-staged": "^15.4.1", "markdownlint-cli": "^0.43.0", "prettier": "^3.3.3", "prettier-config-bananass": "^0.0.1", "textlint": "^14.3.0", "textlint-rule-allowed-uris": "^1.0.6", "typescript": "^5.6.3" + }, + "engines": { + "node": ">=20.18.0" } }, "examples/clang-format": { "name": "examples-clang-format", - "version": "1.2.4", + "version": "1.2.5", "dependencies": { - "clang-format-node": "^1.2.4" + "clang-format-node": "^1.2.5" } }, "examples/git-clang-format": { "name": "examples-git-clang-format", - "version": "1.2.4", + "version": "1.2.5", "dependencies": { - "clang-format-git": "^1.2.4" + "clang-format-git": "^1.2.5" } }, "node_modules/@ampproject/remapping": { @@ -1590,42 +1591,73 @@ } }, "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", - "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz", + "integrity": "sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==", "dev": true, "license": "MIT", "dependencies": { - "eslint-visitor-keys": "^3.3.0" + "eslint-visitor-keys": "^3.4.3" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, + "funding": { + "url": "https://opencollective.com/eslint" + }, "peerDependencies": { "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, "node_modules/@eslint-community/regexpp": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", - "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", "dev": true, "license": "MIT", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, + "node_modules/@eslint/config-array": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.19.1.tgz", + "integrity": "sha512-fo6Mtm5mWyKjA/Chy1BYTdn5mGJoDNjC7C64ug20ADsRDGrA85bN3uK3MaKbeRkRuuIEAR5N33Jr1pbm411/PA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^2.1.5", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/core": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.10.0.tgz", + "integrity": "sha512-gFHJ+xBOo4G3WRlR1e/3G8A6/KZAH6zcE/hkLRCZTi/B9avAG365QhFA8uOGzTMqgTghpn7/fSnscW++dpMSAw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, "node_modules/@eslint/eslintrc": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", - "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.2.0.tgz", + "integrity": "sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==", "dev": true, "license": "MIT", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", + "espree": "^10.0.1", + "globals": "^14.0.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", @@ -1633,63 +1665,95 @@ "strip-json-comments": "^3.1.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" } }, "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "13.24.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", - "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", "dev": true, "license": "MIT", - "dependencies": { - "type-fest": "^0.20.2" - }, "engines": { - "node": ">=8" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@eslint/eslintrc/node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "node_modules/@eslint/js": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.18.0.tgz", + "integrity": "sha512-fK6L7rxcq6/z+AaQMtiFTkvbHkBLNlwyRxHpKawP0x3u9+NC6MQTnFW+AdpwC6gfHTW0051cokQgtTN2FqlxQA==", "dev": true, - "license": "(MIT OR CC0-1.0)", + "license": "MIT", "engines": { - "node": ">=10" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/object-schema": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.5.tgz", + "integrity": "sha512-o0bhxnL89h5Bae5T318nFoFzGy+YE5i/gGkoPAgkmTVdRKTiv3p8JHevPiPaMwoloKfEiiaHlawCqaZMqRm+XQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.5.tgz", + "integrity": "sha512-lB05FkqEdUg2AA0xEbUz0SnkXT1LcCTa438W4IWTUh4hdOnVbQyOJ81OrDXsJk/LSiJHubgGEFoR5EHq1NsH1A==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.10.0", + "levn": "^0.4.1" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@eslint/js": { - "version": "8.57.1", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz", - "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==", + "node_modules/@humanfs/core": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", + "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", "dev": true, + "license": "Apache-2.0", "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=18.18.0" } }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.13.0", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", - "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", - "deprecated": "Use @eslint/config-array instead", + "node_modules/@humanfs/node": { + "version": "0.16.6", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz", + "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==", "dev": true, + "license": "Apache-2.0", "dependencies": { - "@humanwhocodes/object-schema": "^2.0.3", - "debug": "^4.3.1", - "minimatch": "^3.0.5" + "@humanfs/core": "^0.19.1", + "@humanwhocodes/retry": "^0.3.0" }, "engines": { - "node": ">=10.10.0" + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", + "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" } }, "node_modules/@humanwhocodes/module-importer": { @@ -1706,12 +1770,19 @@ "url": "https://github.com/sponsors/nzakas" } }, - "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", - "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", - "deprecated": "Use @eslint/object-schema instead", - "dev": true + "node_modules/@humanwhocodes/retry": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.1.tgz", + "integrity": "sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } }, "node_modules/@hutson/parse-repository-url": { "version": "3.0.2", @@ -3636,6 +3707,36 @@ "dev": true, "license": "MIT" }, + "node_modules/@stylistic/eslint-plugin-js": { + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/@stylistic/eslint-plugin-js/-/eslint-plugin-js-2.13.0.tgz", + "integrity": "sha512-GPPDK4+fcbsQD58a3abbng2Dx+jBoxM5cnYjBM4T24WFZRZdlNSKvR19TxP8CPevzMOodQ9QVzNeqWvMXzfJRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^4.2.0", + "espree": "^10.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "peerDependencies": { + "eslint": ">=8.40.0" + } + }, + "node_modules/@stylistic/eslint-plugin-js/node_modules/eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, "node_modules/@textlint/ast-node-types": { "version": "14.4.2", "resolved": "https://registry.npmjs.org/@textlint/ast-node-types/-/ast-node-types-14.4.2.tgz", @@ -4019,6 +4120,13 @@ "tslib": "^2.4.0" } }, + "node_modules/@types/estree": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", @@ -4026,6 +4134,13 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/json5": { "version": "0.0.29", "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", @@ -4071,13 +4186,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", - "dev": true, - "license": "ISC" - }, "node_modules/@yarnpkg/lockfile": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", @@ -4147,9 +4255,9 @@ } }, "node_modules/acorn": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", - "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", "dev": true, "license": "MIT", "bin": { @@ -5588,13 +5696,6 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, - "node_modules/confusing-browser-globals": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz", - "integrity": "sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==", - "dev": true, - "license": "MIT" - }, "node_modules/console-control-strings": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", @@ -6203,19 +6304,6 @@ "node": ">=8" } }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/dom-serializer": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", @@ -6439,6 +6527,20 @@ "once": "^1.4.0" } }, + "node_modules/enhanced-resolve": { + "version": "5.18.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.0.tgz", + "integrity": "sha512-0/r0MySGYG8YqlayBZ6MuCfECmHFdJ5qyPh8s8wa5Hnm6SaFLSK1VYCbj+NKp090Nm1caZhD+QTnmxO7esYGyQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, "node_modules/enquirer": { "version": "2.3.6", "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", @@ -6678,91 +6780,121 @@ } }, "node_modules/eslint": { - "version": "8.57.1", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", - "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.18.0.tgz", + "integrity": "sha512-+waTfRWQlSbpt3KWE+CjrPPYnbq9kfZIYUqapc0uBXyjTp8aYXZDsUH16m39Ryq3NjAVP4tjuF7KaukeqoCoaA==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.1", - "@humanwhocodes/config-array": "^0.13.0", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.19.0", + "@eslint/core": "^0.10.0", + "@eslint/eslintrc": "^3.2.0", + "@eslint/js": "9.18.0", + "@eslint/plugin-kit": "^0.2.5", + "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", - "@nodelib/fs.walk": "^1.2.8", - "@ungap/structured-clone": "^1.2.0", + "@humanwhocodes/retry": "^0.4.1", + "@types/estree": "^1.0.6", + "@types/json-schema": "^7.0.15", "ajv": "^6.12.4", "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", + "cross-spawn": "^7.0.6", "debug": "^4.3.2", - "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.3", - "espree": "^9.6.1", - "esquery": "^1.4.2", + "eslint-scope": "^8.2.0", + "eslint-visitor-keys": "^4.2.0", + "espree": "^10.3.0", + "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", + "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", - "optionator": "^0.9.3", - "strip-ansi": "^6.0.1", - "text-table": "^0.2.0" + "optionator": "^0.9.3" }, "bin": { "eslint": "bin/eslint.js" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } } }, - "node_modules/eslint-config-airbnb-base": { - "version": "15.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-15.0.0.tgz", - "integrity": "sha512-xaX3z4ZZIcFLvh2oUNvcX5oEofXda7giYmuplVxoOg5A7EXJMrUyqRgR+mhDhPK8LZ4PttFOBvCYDbX3sUoUig==", + "node_modules/eslint-compat-utils": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/eslint-compat-utils/-/eslint-compat-utils-0.5.1.tgz", + "integrity": "sha512-3z3vFexKIEnjHE3zCMRo6fn/e44U7T1khUjg+Hp0ZQMCigh28rALD0nPFBcGZuiLC5rLZa2ubQHDRln09JfU2Q==", "dev": true, "license": "MIT", "dependencies": { - "confusing-browser-globals": "^1.0.10", - "object.assign": "^4.1.2", - "object.entries": "^1.1.5", - "semver": "^6.3.0" + "semver": "^7.5.4" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=12" }, "peerDependencies": { - "eslint": "^7.32.0 || ^8.2.0", - "eslint-plugin-import": "^2.25.2" + "eslint": ">=6.0.0" } }, - "node_modules/eslint-config-prettier": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz", - "integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==", + "node_modules/eslint-compat-utils/node_modules/semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, - "license": "MIT", + "license": "ISC", "bin": { - "eslint-config-prettier": "bin/cli.js" + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint-config-bananass": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/eslint-config-bananass/-/eslint-config-bananass-0.0.1.tgz", + "integrity": "sha512-94MOh1hXNd2IDJ7+b8EJGAeeVD8XMaYTd/MPNnFeou3fE35ydcJ5iLrRCvzQOpruwJqxohcg71+nG1nRUTXNKA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@stylistic/eslint-plugin-js": "^2.13.0", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", + "globals": "^15.14.0" }, "peerDependencies": { - "eslint": ">=7.0.0" + "eslint": "^9.0.0" + } + }, + "node_modules/eslint-config-bananass/node_modules/globals": { + "version": "15.14.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.14.0.tgz", + "integrity": "sha512-OkToC372DtlQeje9/zHIo5CT8lRP/FUgEOKBEhU4e0abL7J7CD24fD9ohiLN5hagG/kWCYj4K5oaxxtj2Z0Dig==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/eslint-import-resolver-node": { @@ -6813,6 +6945,28 @@ "ms": "^2.1.1" } }, + "node_modules/eslint-plugin-es-x": { + "version": "7.8.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-es-x/-/eslint-plugin-es-x-7.8.0.tgz", + "integrity": "sha512-7Ds8+wAAoV3T+LAKeu39Y5BzXCrGKrcISfgKEqTS4BDN8SFEDQd0S43jiQ8vIa3wUKD07qitZdfzlenSi8/0qQ==", + "dev": true, + "funding": [ + "https://github.com/sponsors/ota-meshi", + "https://opencollective.com/eslint" + ], + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.1.2", + "@eslint-community/regexpp": "^4.11.0", + "eslint-compat-utils": "^0.5.1" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": ">=8" + } + }, "node_modules/eslint-plugin-import": { "version": "2.31.0", "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.31.0.tgz", @@ -6869,10 +7023,88 @@ "node": ">=0.10.0" } }, + "node_modules/eslint-plugin-n": { + "version": "17.15.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-17.15.1.tgz", + "integrity": "sha512-KFw7x02hZZkBdbZEFQduRGH4VkIH4MW97ClsbAM4Y4E6KguBJWGfWG1P4HEIpZk2bkoWf0bojpnjNAhYQP8beA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.1", + "enhanced-resolve": "^5.17.1", + "eslint-plugin-es-x": "^7.8.0", + "get-tsconfig": "^4.8.1", + "globals": "^15.11.0", + "ignore": "^5.3.2", + "minimatch": "^9.0.5", + "semver": "^7.6.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": ">=8.23.0" + } + }, + "node_modules/eslint-plugin-n/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/eslint-plugin-n/node_modules/globals": { + "version": "15.14.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.14.0.tgz", + "integrity": "sha512-OkToC372DtlQeje9/zHIo5CT8lRP/FUgEOKBEhU4e0abL7J7CD24fD9ohiLN5hagG/kWCYj4K5oaxxtj2Z0Dig==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint-plugin-n/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/eslint-plugin-n/node_modules/semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.2.0.tgz", + "integrity": "sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -6880,7 +7112,7 @@ "estraverse": "^5.2.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" @@ -6929,6 +7161,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/eslint/node_modules/eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, "node_modules/eslint/node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -6942,48 +7187,32 @@ "node": ">=10.13.0" } }, - "node_modules/eslint/node_modules/globals": { - "version": "13.24.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", - "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "node_modules/espree": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz", + "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==", "dev": true, - "license": "MIT", + "license": "BSD-2-Clause", "dependencies": { - "type-fest": "^0.20.2" + "acorn": "^8.14.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.2.0" }, "engines": { - "node": ">=8" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint/node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://opencollective.com/eslint" } }, - "node_modules/espree": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "acorn": "^8.9.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" - }, + "license": "Apache-2.0", "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" @@ -7223,16 +7452,16 @@ } }, "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", "dev": true, "license": "MIT", "dependencies": { - "flat-cache": "^3.0.4" + "flat-cache": "^4.0.0" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=16.0.0" } }, "node_modules/filelist": { @@ -7309,18 +7538,17 @@ } }, "node_modules/flat-cache": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", - "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", "dev": true, "license": "MIT", "dependencies": { "flatted": "^3.2.9", - "keyv": "^4.5.3", - "rimraf": "^3.0.2" + "keyv": "^4.5.4" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=16" } }, "node_modules/flatted": { @@ -7779,6 +8007,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/get-tsconfig": { + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.8.1.tgz", + "integrity": "sha512-k9PN+cFBmaLWtVz29SkUoqU5O0slLuHJXt/2P+tMVFT+phsSGXGkp9t3rQIqdz0e+06EHNGs3oM6ZX1s2zHxRg==", + "dev": true, + "license": "MIT", + "dependencies": { + "resolve-pkg-maps": "^1.0.0" + }, + "funding": { + "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" + } + }, "node_modules/git-raw-commits": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-3.0.0.tgz", @@ -8002,13 +8243,6 @@ "dev": true, "license": "ISC" }, - "node_modules/graphemer": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true, - "license": "MIT" - }, "node_modules/handlebars": { "version": "4.7.8", "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", @@ -8982,16 +9216,6 @@ "node": ">=8" } }, - "node_modules/is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/is-plain-obj": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", @@ -10144,9 +10368,9 @@ } }, "node_modules/lint-staged": { - "version": "15.3.0", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.3.0.tgz", - "integrity": "sha512-vHFahytLoF2enJklgtOtCtIjZrKD/LoxlaUusd5nh7dWv/dkKQJY74ndFSzxCdv7g0ueGg1ORgTSt4Y9LPZn9A==", + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.4.1.tgz", + "integrity": "sha512-P8yJuVRyLrm5KxCtFx+gjI5Bil+wO7wnTl7C3bXhvtTaAFGirzeB24++D0wGoUwxrUKecNiehemgCob9YL39NA==", "dev": true, "license": "MIT", "dependencies": { @@ -12382,21 +12606,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object.entries": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.8.tgz", - "integrity": "sha512-cmopxi8VwRIAw/fkijJohSfpef5PdN0pMQJN6VC/ZKvn0LIknWD8KtgY6KlQdEc4tIjcQ3HxSMmnvtzIscdaYQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/object.fromentries": { "version": "2.0.8", "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz", @@ -13907,6 +14116,16 @@ "node": ">=4" } }, + "node_modules/resolve-pkg-maps": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", + "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" + } + }, "node_modules/restore-cursor": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", @@ -13968,23 +14187,6 @@ "dev": true, "license": "MIT" }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "deprecated": "Rimraf versions prior to v4 are no longer supported", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", @@ -14831,6 +15033,16 @@ "node": ">=8" } }, + "node_modules/tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/tar": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz", @@ -16508,11 +16720,11 @@ } }, "packages/clang-format-git": { - "version": "1.2.4", + "version": "1.2.5", "hasInstallScript": true, "license": "MIT", "dependencies": { - "clang-format-node": "^1.2.4" + "clang-format-node": "^1.2.5" }, "bin": { "clang-format-git": "build/cli.js", @@ -16523,11 +16735,11 @@ } }, "packages/clang-format-git-python": { - "version": "1.2.4", + "version": "1.2.5", "hasInstallScript": true, "license": "MIT", "dependencies": { - "clang-format-node": "^1.2.4" + "clang-format-node": "^1.2.5" }, "bin": { "clang-format-git-python": "build/cli.js", @@ -16538,7 +16750,7 @@ } }, "packages/clang-format-node": { - "version": "1.2.4", + "version": "1.2.5", "hasInstallScript": true, "license": "MIT", "bin": { @@ -16551,20 +16763,20 @@ }, "tests/integration-api-cjs": { "name": "tests-integration-api-cjs", - "version": "1.2.4", + "version": "1.2.5", "dependencies": { - "clang-format-git": "^1.2.4", - "clang-format-git-python": "^1.2.4", - "clang-format-node": "^1.2.4" + "clang-format-git": "^1.2.5", + "clang-format-git-python": "^1.2.5", + "clang-format-node": "^1.2.5" } }, "tests/integration-api-esm": { "name": "tests-integration-api-esm", - "version": "1.2.4", + "version": "1.2.5", "dependencies": { - "clang-format-git": "^1.2.4", - "clang-format-git-python": "^1.2.4", - "clang-format-node": "^1.2.4" + "clang-format-git": "^1.2.5", + "clang-format-git-python": "^1.2.5", + "clang-format-node": "^1.2.5" } }, "tests/integration-binaries-perimission": { @@ -16577,11 +16789,11 @@ }, "tests/integration-binaries-permission": { "name": "tests-integration-binaries-permission", - "version": "1.2.4", + "version": "1.2.5", "dependencies": { - "clang-format-git": "^1.2.4", - "clang-format-git-python": "^1.2.4", - "clang-format-node": "^1.2.4" + "clang-format-git": "^1.2.5", + "clang-format-git-python": "^1.2.5", + "clang-format-node": "^1.2.5" } }, "tests/integration-cjs": { @@ -16617,7 +16829,7 @@ } }, "website": { - "version": "1.2.4" + "version": "1.2.5" } } } diff --git a/package.json b/package.json index 0c113def..2c678d62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,9 @@ { "private": true, "packageManager": "npm@10.9.2", + "engines": { + "node": ">=20.18.0" + }, "workspaces": [ "examples/*", "packages/*", @@ -14,13 +17,13 @@ "test": "npx lerna run test --concurrency 1", "coverage": "npx c8 --reporter=lcov npm run test", "lint": "concurrently \"npm:lint:*\"", - "lint:eslint": "npx eslint . --ext .js", + "lint:eslint": "npx eslint", "lint:prettier": "npx prettier . --check", "lint:editorconfig": "npx editorconfig-checker -config .editorconfig-checker.json", "lint:markdownlint": "npx markdownlint **/*.md", "lint:textlint": "npx textlint -f pretty-error **/*.md", "fix": "concurrently \"npm:fix:*\"", - "fix:eslint": "npx eslint . --fix --ext .js", + "fix:eslint": "npx eslint --fix", "fix:prettier": "npx prettier . --write" }, "devDependencies": { @@ -30,13 +33,11 @@ "c8": "^10.1.3", "concurrently": "^9.0.0", "editorconfig-checker": "^6.0.0", - "eslint": "^8.57.0", - "eslint-config-airbnb-base": "^15.0.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-import": "^2.29.1", + "eslint": "^9.18.0", + "eslint-config-bananass": "^0.0.1", "husky": "^9.1.5", "lerna": "^8.1.9", - "lint-staged": "^15.2.10", + "lint-staged": "^15.4.1", "markdownlint-cli": "^0.43.0", "prettier": "^3.3.3", "prettier-config-bananass": "^0.0.1", diff --git a/packages/clang-format-git-python/package.json b/packages/clang-format-git-python/package.json index 0ec11113..e714facc 100644 --- a/packages/clang-format-git-python/package.json +++ b/packages/clang-format-git-python/package.json @@ -1,6 +1,6 @@ { "name": "clang-format-git-python", - "version": "1.2.4", + "version": "1.2.5", "description": "Node wrapper for git-clang-format Python script. This package requires Python3 as a dependency.🐉", "main": "build/index.js", "files": [ @@ -53,6 +53,6 @@ "chmod": "find ./src/script ./build/script -type f -exec chmod 755 {} + || exit 0" }, "dependencies": { - "clang-format-node": "^1.2.4" + "clang-format-node": "^1.2.5" } } diff --git a/packages/clang-format-git-python/src/cli.js b/packages/clang-format-git-python/src/cli.js index a56597fd..4c972d09 100644 --- a/packages/clang-format-git-python/src/cli.js +++ b/packages/clang-format-git-python/src/cli.js @@ -4,6 +4,8 @@ * @fileoverview Entry file for the `npx git-clang-format` or `npx clang-format-git-python` command. See the `bin` property in `package.json`. */ +/* eslint-disable n/prefer-node-protocol */ + // -------------------------------------------------------------------------------- // Require // -------------------------------------------------------------------------------- @@ -32,7 +34,6 @@ const spawned = spawn( spawned.on('close', code => { if (code !== 0) { - // eslint-disable-next-line no-console console.error(`Process exited with code: ${code}`); process.exit(code); } diff --git a/packages/clang-format-git-python/src/utils/gitClangFormatPath.js b/packages/clang-format-git-python/src/utils/gitClangFormatPath.js index 19fea477..4684c170 100644 --- a/packages/clang-format-git-python/src/utils/gitClangFormatPath.js +++ b/packages/clang-format-git-python/src/utils/gitClangFormatPath.js @@ -2,6 +2,8 @@ * @fileoverview `gitClangFormatPath` and `clangFormatGitPythonPath` APIs. */ +/* eslint-disable n/prefer-node-protocol */ + // -------------------------------------------------------------------------------- // Require // -------------------------------------------------------------------------------- diff --git a/packages/clang-format-git/package.json b/packages/clang-format-git/package.json index b7ef8c24..08f573e7 100644 --- a/packages/clang-format-git/package.json +++ b/packages/clang-format-git/package.json @@ -1,6 +1,6 @@ { "name": "clang-format-git", - "version": "1.2.4", + "version": "1.2.5", "description": "Node wrapper for git-clang-format Python script as a standalone native binary to allow execution without a Python dependency.🐉", "main": "build/index.js", "files": [ @@ -52,6 +52,6 @@ "chmod": "find ./src/bin ./build/bin -type f -exec chmod 755 {} + || exit 0" }, "dependencies": { - "clang-format-node": "^1.2.4" + "clang-format-node": "^1.2.5" } } diff --git a/packages/clang-format-git/src/bin/cfg-linux-arm/git-clang-format b/packages/clang-format-git/src/bin/cfg-linux-arm/git-clang-format index 237d7ba6..0576b8f4 100755 Binary files a/packages/clang-format-git/src/bin/cfg-linux-arm/git-clang-format and b/packages/clang-format-git/src/bin/cfg-linux-arm/git-clang-format differ diff --git a/packages/clang-format-git/src/bin/cfg-linux-ppc64/git-clang-format b/packages/clang-format-git/src/bin/cfg-linux-ppc64/git-clang-format index 2e4f6943..72eb11e7 100755 Binary files a/packages/clang-format-git/src/bin/cfg-linux-ppc64/git-clang-format and b/packages/clang-format-git/src/bin/cfg-linux-ppc64/git-clang-format differ diff --git a/packages/clang-format-git/src/bin/cfg-win32-x64/git-clang-format.exe b/packages/clang-format-git/src/bin/cfg-win32-x64/git-clang-format.exe index 397c1c9c..46629293 100755 Binary files a/packages/clang-format-git/src/bin/cfg-win32-x64/git-clang-format.exe and b/packages/clang-format-git/src/bin/cfg-win32-x64/git-clang-format.exe differ diff --git a/packages/clang-format-git/src/cli.js b/packages/clang-format-git/src/cli.js index f4ba3390..65e30f6e 100644 --- a/packages/clang-format-git/src/cli.js +++ b/packages/clang-format-git/src/cli.js @@ -4,6 +4,8 @@ * @fileoverview Entry file for the `npx git-clang-format` or `npx clang-format-git` command. See the `bin` property in `package.json`. */ +/* eslint-disable n/prefer-node-protocol */ + // -------------------------------------------------------------------------------- // Require // -------------------------------------------------------------------------------- @@ -28,7 +30,6 @@ const spawned = spawn( spawned.on('close', code => { if (code !== 0) { - // eslint-disable-next-line no-console console.error(`Process exited with code: ${code}`); process.exit(code); } diff --git a/packages/clang-format-git/src/utils/getGitClangFormatPath.js b/packages/clang-format-git/src/utils/getGitClangFormatPath.js index 2c149a74..ac496330 100644 --- a/packages/clang-format-git/src/utils/getGitClangFormatPath.js +++ b/packages/clang-format-git/src/utils/getGitClangFormatPath.js @@ -2,6 +2,8 @@ * @fileoverview `getGitClangFormatPath` and `getClangFormatGitPath` APIs. */ +/* eslint-disable n/prefer-node-protocol */ + // -------------------------------------------------------------------------------- // Require // -------------------------------------------------------------------------------- diff --git a/packages/clang-format-git/src/utils/gitClangFormatPath.js b/packages/clang-format-git/src/utils/gitClangFormatPath.js index a65c80ad..e9a2293c 100644 --- a/packages/clang-format-git/src/utils/gitClangFormatPath.js +++ b/packages/clang-format-git/src/utils/gitClangFormatPath.js @@ -2,6 +2,8 @@ * @fileoverview `gitClangFormatPath` and `clangFormatGitPath` APIs. */ +/* eslint-disable n/prefer-node-protocol */ + // -------------------------------------------------------------------------------- // Require // -------------------------------------------------------------------------------- diff --git a/packages/clang-format-node/package.json b/packages/clang-format-node/package.json index 3c679aad..e864e5e3 100644 --- a/packages/clang-format-node/package.json +++ b/packages/clang-format-node/package.json @@ -1,6 +1,6 @@ { "name": "clang-format-node", - "version": "1.2.4", + "version": "1.2.5", "description": "Node wrapper for clang-format native binary inspired by angular/clang-format.🐉", "main": "build/index.js", "files": [ diff --git a/packages/clang-format-node/src/bin/cfn-darwin-arm64/clang-format b/packages/clang-format-node/src/bin/cfn-darwin-arm64/clang-format index e4b6144c..4e971618 100755 Binary files a/packages/clang-format-node/src/bin/cfn-darwin-arm64/clang-format and b/packages/clang-format-node/src/bin/cfn-darwin-arm64/clang-format differ diff --git a/packages/clang-format-node/src/bin/cfn-darwin-x64/clang-format b/packages/clang-format-node/src/bin/cfn-darwin-x64/clang-format index 22709742..8a75bd56 100755 Binary files a/packages/clang-format-node/src/bin/cfn-darwin-x64/clang-format and b/packages/clang-format-node/src/bin/cfn-darwin-x64/clang-format differ diff --git a/packages/clang-format-node/src/bin/cfn-linux-arm/clang-format b/packages/clang-format-node/src/bin/cfn-linux-arm/clang-format index c948b5d0..befc9072 100755 Binary files a/packages/clang-format-node/src/bin/cfn-linux-arm/clang-format and b/packages/clang-format-node/src/bin/cfn-linux-arm/clang-format differ diff --git a/packages/clang-format-node/src/bin/cfn-linux-arm64/clang-format b/packages/clang-format-node/src/bin/cfn-linux-arm64/clang-format index 62dd4eb2..233f05f7 100755 Binary files a/packages/clang-format-node/src/bin/cfn-linux-arm64/clang-format and b/packages/clang-format-node/src/bin/cfn-linux-arm64/clang-format differ diff --git a/packages/clang-format-node/src/bin/cfn-linux-ppc64/clang-format b/packages/clang-format-node/src/bin/cfn-linux-ppc64/clang-format index 6276fadc..0173d2ac 100755 Binary files a/packages/clang-format-node/src/bin/cfn-linux-ppc64/clang-format and b/packages/clang-format-node/src/bin/cfn-linux-ppc64/clang-format differ diff --git a/packages/clang-format-node/src/bin/cfn-linux-s390x/clang-format b/packages/clang-format-node/src/bin/cfn-linux-s390x/clang-format index 69ba7411..50051dbf 100755 Binary files a/packages/clang-format-node/src/bin/cfn-linux-s390x/clang-format and b/packages/clang-format-node/src/bin/cfn-linux-s390x/clang-format differ diff --git a/packages/clang-format-node/src/bin/cfn-linux-x64/clang-format b/packages/clang-format-node/src/bin/cfn-linux-x64/clang-format index 0c46d097..ea071613 100755 Binary files a/packages/clang-format-node/src/bin/cfn-linux-x64/clang-format and b/packages/clang-format-node/src/bin/cfn-linux-x64/clang-format differ diff --git a/packages/clang-format-node/src/bin/cfn-win32-x64/clang-format.exe b/packages/clang-format-node/src/bin/cfn-win32-x64/clang-format.exe index b5259800..0b88bebb 100755 Binary files a/packages/clang-format-node/src/bin/cfn-win32-x64/clang-format.exe and b/packages/clang-format-node/src/bin/cfn-win32-x64/clang-format.exe differ diff --git a/packages/clang-format-node/src/cli.js b/packages/clang-format-node/src/cli.js index df0ca255..5adb236e 100644 --- a/packages/clang-format-node/src/cli.js +++ b/packages/clang-format-node/src/cli.js @@ -1,6 +1,8 @@ #!/usr/bin/env node // The shebang line `#!/usr/bin/env node` ensures the script runs with the correct Node.js interpreter across different environments. +/* eslint-disable n/prefer-node-protocol */ + /** * @fileoverview Entry file for the `npx clang-format` and `npx clang-format-node` command. See the `bin` property in `package.json`. */ @@ -23,7 +25,6 @@ const spawned = spawn(clangFormatPath, process.argv.slice(2), { spawned.on('close', code => { if (code !== 0) { - // eslint-disable-next-line no-console console.error(`Process exited with code: ${code}`); process.exit(code); } diff --git a/packages/clang-format-node/src/utils/clangFormatPath.js b/packages/clang-format-node/src/utils/clangFormatPath.js index e8d2d6a0..7716d41e 100644 --- a/packages/clang-format-node/src/utils/clangFormatPath.js +++ b/packages/clang-format-node/src/utils/clangFormatPath.js @@ -2,6 +2,8 @@ * @fileoverview `clangFormatPath` and `clangFormatNodePath` APIs. */ +/* eslint-disable n/prefer-node-protocol */ + // -------------------------------------------------------------------------------- // Require // -------------------------------------------------------------------------------- diff --git a/packages/clang-format-node/src/utils/getClangFormatPath.js b/packages/clang-format-node/src/utils/getClangFormatPath.js index 9d5b5651..d6678bac 100644 --- a/packages/clang-format-node/src/utils/getClangFormatPath.js +++ b/packages/clang-format-node/src/utils/getClangFormatPath.js @@ -2,6 +2,8 @@ * @fileoverview `getClangFormatPath` and `getClangFormatNodePath` APIs. */ +/* eslint-disable n/prefer-node-protocol */ + // -------------------------------------------------------------------------------- // Require // -------------------------------------------------------------------------------- diff --git a/tests/integration-api-cjs/package.json b/tests/integration-api-cjs/package.json index 816d8e20..9b2319dc 100644 --- a/tests/integration-api-cjs/package.json +++ b/tests/integration-api-cjs/package.json @@ -1,14 +1,14 @@ { "private": true, "name": "tests-integration-api-cjs", - "version": "1.2.4", + "version": "1.2.5", "type": "commonjs", "scripts": { "test": "node --test" }, "dependencies": { - "clang-format-git": "^1.2.4", - "clang-format-git-python": "^1.2.4", - "clang-format-node": "^1.2.4" + "clang-format-git": "^1.2.5", + "clang-format-git-python": "^1.2.5", + "clang-format-node": "^1.2.5" } } diff --git a/tests/integration-api-esm/package.json b/tests/integration-api-esm/package.json index 03148585..427e4bee 100644 --- a/tests/integration-api-esm/package.json +++ b/tests/integration-api-esm/package.json @@ -1,14 +1,14 @@ { "private": true, "name": "tests-integration-api-esm", - "version": "1.2.4", + "version": "1.2.5", "type": "module", "scripts": { "test": "node --test" }, "dependencies": { - "clang-format-git": "^1.2.4", - "clang-format-git-python": "^1.2.4", - "clang-format-node": "^1.2.4" + "clang-format-git": "^1.2.5", + "clang-format-git-python": "^1.2.5", + "clang-format-node": "^1.2.5" } } diff --git a/tests/integration-binaries-permission/index.test.js b/tests/integration-binaries-permission/index.test.js index fb7f7f89..2e669ee2 100644 --- a/tests/integration-binaries-permission/index.test.js +++ b/tests/integration-binaries-permission/index.test.js @@ -68,7 +68,6 @@ describe('integration-binaries-permission ok testing', () => { // On Windows, using `chmod` to change permissions doesn't work correctly, // which can lead to unwanted results, as some binary permissions are not changed. if (platform() === 'win32') { - // eslint-disable-next-line no-console console.log('This test was skipped on Windows.'); return; } diff --git a/tests/integration-binaries-permission/package.json b/tests/integration-binaries-permission/package.json index fb527c41..1d2a21f8 100644 --- a/tests/integration-binaries-permission/package.json +++ b/tests/integration-binaries-permission/package.json @@ -1,13 +1,13 @@ { "private": true, "name": "tests-integration-binaries-permission", - "version": "1.2.4", + "version": "1.2.5", "scripts": { "test": "node --test" }, "dependencies": { - "clang-format-git": "^1.2.4", - "clang-format-git-python": "^1.2.4", - "clang-format-node": "^1.2.4" + "clang-format-git": "^1.2.5", + "clang-format-git-python": "^1.2.5", + "clang-format-node": "^1.2.5" } } diff --git a/website/package.json b/website/package.json index 7bc3ac1d..ebb72235 100644 --- a/website/package.json +++ b/website/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "website", - "version": "1.2.4", + "version": "1.2.5", "scripts": { "start": "echo start" } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy