From ace820c8b39f3299ad99ffc977483a6946d23e93 Mon Sep 17 00:00:00 2001 From: weiren Date: Mon, 2 Dec 2024 10:47:09 +0800 Subject: [PATCH] chore: upgrade deps --- lib/rules/test-case-property-ordering.js | 2 +- package.json | 41 ++++++++++++------------ 2 files changed, 21 insertions(+), 22 deletions(-) diff --git a/lib/rules/test-case-property-ordering.js b/lib/rules/test-case-property-ordering.js index 5b161aba..8ffe1336 100644 --- a/lib/rules/test-case-property-ordering.js +++ b/lib/rules/test-case-property-ordering.js @@ -68,7 +68,7 @@ module.exports = { // current < lastChecked to catch unordered; // and lastChecked === -1 to catch extra properties before. if ( - current > -1 && + current !== -1 && (current < lastChecked || lastChecked === -1) ) { let orderMsg = order.filter((item) => diff --git a/package.json b/package.json index f779d139..a0d325a6 100644 --- a/package.json +++ b/package.json @@ -50,41 +50,40 @@ "statements": 99 }, "devDependencies": { - "@commitlint/cli": "^19.2.2", - "@commitlint/config-conventional": "^19.2.2", + "@commitlint/cli": "^19.6.0", + "@commitlint/config-conventional": "^19.6.0", "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0", "@eslint/eslintrc": "^3.0.2", - "@eslint/js": "^9.0.0", - "@release-it/conventional-changelog": "^8.0.1", - "@types/eslint": "^8.56.9", + "@eslint/js": "^9.16.0", + "@release-it/conventional-changelog": "^9.0.3", + "@types/eslint": "^9.6.1", "@types/estree": "^1.0.5", - "@typescript-eslint/parser": "^7.7.0", - "@typescript-eslint/utils": "^7.7.0", - "chai": "^4.4.1", - "dirty-chai": "^2.0.1", - "eslint": "9.14.0", + "@typescript-eslint/parser": "^8.16.0", + "@typescript-eslint/utils": "^8.16.0", + "chai": "^4.5.0", + "eslint": "^9.16.0", "eslint-config-not-an-aardvark": "^2.1.0", "eslint-config-prettier": "^9.1.0", "eslint-doc-generator": "^1.7.0", "eslint-plugin-eslint-plugin": "file:./", "eslint-plugin-markdown": "^5.0.0", - "eslint-plugin-n": "^17.2.1", + "eslint-plugin-n": "^17.14.0", "eslint-plugin-prettier": "^5.1.3", - "eslint-plugin-unicorn": "^53.0.0", - "eslint-remote-tester": "^3.0.1", + "eslint-plugin-unicorn": "^56.0.1", + "eslint-remote-tester": "^4.0.1", "eslint-scope": "^8.0.1", "espree": "^10.0.1", - "globals": "^15.0.0", - "husky": "^9.0.11", + "globals": "^15.13.0", + "husky": "^9.1.7", "lodash": "^4.17.21", - "markdownlint-cli": "^0.41.0", + "markdownlint-cli": "^0.43.0", "mocha": "^10.4.0", - "npm-package-json-lint": "^7.1.0", - "npm-run-all2": "^6.1.2", - "nyc": "^15.1.0", - "prettier": "^3.2.5", + "npm-package-json-lint": "^8.0.0", + "npm-run-all2": "^7.0.1", + "nyc": "^17.1.0", + "prettier": "^3.4.1", "release-it": "^17.2.0", - "typescript": "^5.4.3" + "typescript": "^5.7.2" }, "peerDependencies": { "eslint": ">=8.23.0"