diff --git a/package-lock.json b/package-lock.json index 32fa3f618..428c0145d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,7 +38,7 @@ "@vercel/ncc": "0.38.1", "date-fns": "^4.1.0", "eslint": "^9.39.2", - "eslint-config-expensify": "^2.0.102", + "eslint-config-expensify": "github:Expensify/eslint-config-expensify#b8869c9a418be16cec55a6c7b5c991936f3b6275", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-import": "^2.31.0", @@ -7382,9 +7382,9 @@ } }, "node_modules/eslint-config-expensify": { - "version": "2.0.102", - "resolved": "https://registry.npmjs.org/eslint-config-expensify/-/eslint-config-expensify-2.0.102.tgz", - "integrity": "sha512-ZDkh7YKdfAnCSxfrawEDrQPM2P2dX9HgcsjL7CN3oaJ+Cxx1Es7u5yXwYIK0Z5uqLjd5eVdIuJsV0v7jCUoKAQ==", + "version": "2.0.105", + "resolved": "git+ssh://git@github.com/Expensify/eslint-config-expensify.git#b8869c9a418be16cec55a6c7b5c991936f3b6275", + "integrity": "sha512-/fBPJEa6x3b1DyxOTG4CHwE/bsp/oXlc14+iLHolmjhF6BKRRuTL+Jm30tIsRfutBTac4ubXc5WRULu22/jIvQ==", "dev": true, "license": "ISC", "dependencies": { @@ -7399,7 +7399,7 @@ "eslint-plugin-jsdoc": "^60.2.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-react": "^7.37.5", - "eslint-plugin-react-hooks": "^5.2.0", + "eslint-plugin-react-hooks": "^7.0.1", "eslint-plugin-rulesdir": "^0.2.2", "eslint-plugin-unicorn": "^61.0.2", "globals": "^15.14.0", @@ -7424,13 +7424,20 @@ } }, "node_modules/eslint-config-expensify/node_modules/eslint-plugin-react-hooks": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.2.0.tgz", - "integrity": "sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.0.1.tgz", + "integrity": "sha512-O0d0m04evaNzEPoSW+59Mezf8Qt0InfgGIBJnpC0h3NH/WjUAR7BIKUfysC6todmtiZ/A0oUVS8Gce0WhBrHsA==", "dev": true, "license": "MIT", + "dependencies": { + "@babel/core": "^7.24.4", + "@babel/parser": "^7.24.4", + "hermes-parser": "^0.25.1", + "zod": "^3.25.0 || ^4.0.0", + "zod-validation-error": "^3.5.0 || ^4.0.0" + }, "engines": { - "node": ">=10" + "node": ">=18" }, "peerDependencies": { "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" @@ -7512,17 +7519,21 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/eslint-config-expensify/node_modules/globals": { - "version": "15.15.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz", - "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==", + "node_modules/eslint-config-expensify/node_modules/hermes-estree": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz", + "integrity": "sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==", + "dev": true, + "license": "MIT" + }, + "node_modules/eslint-config-expensify/node_modules/hermes-parser": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.25.1.tgz", + "integrity": "sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==", "dev": true, "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "dependencies": { + "hermes-estree": "0.25.1" } }, "node_modules/eslint-config-expensify/node_modules/indent-string": { @@ -16571,9 +16582,23 @@ "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", "dev": true, "license": "MIT", + "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } + }, + "node_modules/zod-validation-error": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz", + "integrity": "sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "zod": "^3.25.0 || ^4.0.0" + } } } } diff --git a/package.json b/package.json index 427dc2ee6..92af20103 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "@vercel/ncc": "0.38.1", "date-fns": "^4.1.0", "eslint": "^9.39.2", - "eslint-config-expensify": "^2.0.102", + "eslint-config-expensify": "github:Expensify/eslint-config-expensify#b8869c9a418be16cec55a6c7b5c991936f3b6275", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-import": "^2.31.0",