diff --git a/package-lock.json b/package-lock.json index 5209c654..5a21dbdb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,7 @@ "eslint-plugin-perfectionist": "^1.5.1", "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-promise": "^6.1.1", - "eslint-plugin-putout": "^18.2.0", + "eslint-plugin-putout": "^19.0.2", "eslint-plugin-ramda": "^2.5.1", "eslint-plugin-react": "^7.33.1", "eslint-plugin-react-form-fields": "^1.2.22", @@ -464,17 +464,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/plugin-syntax-decorators": { "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.22.5.tgz", @@ -1290,6 +1279,14 @@ "url": "https://opencollective.com/unts" } }, + "node_modules/@putout/babel": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@putout/babel/-/babel-1.0.5.tgz", + "integrity": "sha512-xo7Yx/18FSYMnCxhfKNU31V3OzWr4X10dExR7RUqHn1mrGgYbSRygMRp5rB7fKJdDZB3vJotREKN3g7JvIghjg==", + "engines": { + "node": ">=16" + } + }, "node_modules/@putout/cli-cache": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/@putout/cli-cache/-/cli-cache-2.3.0.tgz", @@ -6558,16 +6555,14 @@ } }, "node_modules/eslint-plugin-putout": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-putout/-/eslint-plugin-putout-18.2.0.tgz", - "integrity": "sha512-pwZ6iPP1qrMZWqVrwWpniGYqu5rCBRX8x+QG/FSwEJsUiCAK13MfUyeydb+7Mb9j5c2FCftt7Zccj27hKf+DNA==", + "version": "19.0.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-putout/-/eslint-plugin-putout-19.0.2.tgz", + "integrity": "sha512-lYSTKNFUI1ViAzo44E7Hg1MGhJ0smc2TZW61wQ9ahh9S1DIVtmyDpRHwKfRZA2Y7g4b8YtaLMTFWHXHUlFvjUQ==", "dependencies": { - "@babel/core": "^7.12.3", - "@babel/eslint-parser": "^7.15.0", - "@babel/plugin-syntax-class-properties": "^7.12.1", - "@babel/traverse": "^7.16.3", + "@babel/core": "8.0.0-alpha.1", + "@babel/eslint-parser": "8.0.0-alpha.1", "@eslint/eslintrc": "^2.0.2", - "@putout/engine-parser": "^7.0.0", + "@putout/engine-parser": "^8.0.1", "@putout/eslint": "^2.0.0", "@putout/eslint-config": "^7.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", @@ -6587,6 +6582,663 @@ "putout": ">=30" } }, + "node_modules/eslint-plugin-putout/node_modules/@babel/code-frame": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-8.0.0-alpha.1.tgz", + "integrity": "sha512-lFaogDHlXCpz3uVxNdL0IzhS0E/VVY0n0f+hfZk+HXenuKRnI4fB6kNk1nhifLLiCZFlWKUEAiJW2zMo5PNAFQ==", + "dependencies": { + "@babel/highlight": "^8.0.0-alpha.1", + "chalk": "^2.4.2" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/compat-data": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-8.0.0-alpha.1.tgz", + "integrity": "sha512-FPxuV1fqkkD+yfMYeXg4U9zQ07zPwyMNe2rQHMHCKYL/u7k2iltcK0hX92jK4l1TWwJcp0J9pN3pg8YKPGQ8Og==", + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/core": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-8.0.0-alpha.1.tgz", + "integrity": "sha512-e0SqYXGpeFt8vgZmplY9jHI5245QqljNq2ed9OfRow9QC44zB8/7Ou08QRj+sLtpS4YHFUx/hKPRIm3hsQfRPg==", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^8.0.0-alpha.1", + "@babel/generator": "^8.0.0-alpha.1", + "@babel/helper-compilation-targets": "^8.0.0-alpha.1", + "@babel/helper-module-transforms": "^8.0.0-alpha.1", + "@babel/helpers": "^8.0.0-alpha.1", + "@babel/parser": "^8.0.0-alpha.1", + "@babel/template": "^8.0.0-alpha.1", + "@babel/traverse": "^8.0.0-alpha.1", + "@babel/types": "^8.0.0-alpha.1", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.2", + "semver": "^7.3.4" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + }, + "peerDependencies": { + "@babel/preset-typescript": "^7.21.4 || ^8.0.0-0" + }, + "peerDependenciesMeta": { + "@babel/preset-typescript": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/eslint-parser": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-8.0.0-alpha.1.tgz", + "integrity": "sha512-tq8suhLbTWGFoiEBnq1zKfQmlsTKu762BoYckZI1uKdUN2K0k4EukmtXN6gE0m+mPwPl7ImJAnSGExgek1vkLg==", + "dependencies": { + "eslint-scope": "^7.1.1", + "eslint-visitor-keys": "^3.3.0", + "semver": "^7.3.4" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + }, + "peerDependencies": { + "@babel/core": ">=7.11.0", + "eslint": "^8.9.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/generator": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-8.0.0-alpha.1.tgz", + "integrity": "sha512-6uv/9Lz1nKGG3pO0lA4jdH8YjCugN6Q64i8Mog08we0SuDbx5spV/h38oJABp3pYkTxANC0w8ALNRUNjD1pgFA==", + "dependencies": { + "@babel/types": "^8.0.0-alpha.1", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^3.0.2" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/helper-compilation-targets": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-8.0.0-alpha.1.tgz", + "integrity": "sha512-mNNOHBfb6/XJ28tN1Y8P67d0QVAgAIU1o+bg4Tz04EPzDamCwFwzlIf2bndPZW2S+btWM8cfjvbSvWJh2DDN6g==", + "dependencies": { + "@babel/compat-data": "^8.0.0-alpha.1", + "@babel/helper-validator-option": "^8.0.0-alpha.1", + "browserslist": "^4.21.9", + "lru-cache": "^7.14.1", + "semver": "^7.3.4" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/helper-environment-visitor": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-8.0.0-alpha.1.tgz", + "integrity": "sha512-SSl11ANGRAIgn0oix6N+dNtl793hmezMr+Wn8WGlPpaxIiJm5D8ooEzGy32v8aieeZxDnKWnZCy3ZjDuIwUkgA==", + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/helper-function-name": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-8.0.0-alpha.1.tgz", + "integrity": "sha512-9b0zBU19wFgGysCnRuIF0dS7S3zkAqt8iT+g7KnpZUWri7exnQigafWex82BgIldWswdu921B5n2cCQuBf5Ilw==", + "dependencies": { + "@babel/template": "^8.0.0-alpha.1", + "@babel/types": "^8.0.0-alpha.1" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/helper-hoist-variables": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-8.0.0-alpha.1.tgz", + "integrity": "sha512-7Z9eDeo8Nm2iBqhNnANX0/C7m3CM4s9eWq6o6vJETzFIKgpE5yDVnwoUE4d6/sHiEdgIy/y1Z0JK4S4KLP7tmw==", + "dependencies": { + "@babel/types": "^8.0.0-alpha.1" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/helper-module-imports": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-8.0.0-alpha.1.tgz", + "integrity": "sha512-R/G/DOWMSQNK6ZzqgtwwTc0iseOUfhf+4iE2IzuoDh8u92XR3T1iMoDLo3j7CQQm1sYcdm6EtwhCCgAUguhq9Q==", + "dependencies": { + "@babel/types": "^8.0.0-alpha.1" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/helper-module-transforms": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-8.0.0-alpha.1.tgz", + "integrity": "sha512-MGmGg9P4wmXm3rpvpyF1dfb9z9mUXCZvERDailCPYhuvsWMTaesXLX3uqv3Reuxu1im4I/fSptCV0nT++iQ4uw==", + "dependencies": { + "@babel/helper-environment-visitor": "^8.0.0-alpha.1", + "@babel/helper-module-imports": "^8.0.0-alpha.1", + "@babel/helper-simple-access": "^8.0.0-alpha.1", + "@babel/helper-split-export-declaration": "^8.0.0-alpha.1", + "@babel/helper-validator-identifier": "^8.0.0-alpha.1" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0-alpha.1" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/helper-simple-access": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-8.0.0-alpha.1.tgz", + "integrity": "sha512-ShjhFcY0SWG++/SrGrt3O/zJK+oxg/eEaesisPLeJdMkU5jABYOL4iHhAPrSJlMBdC5QpwsTsQLbGWRSJ3z0fw==", + "dependencies": { + "@babel/types": "^8.0.0-alpha.1" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/helper-split-export-declaration": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-8.0.0-alpha.1.tgz", + "integrity": "sha512-ZqbcaPCoq5S+9ICxuw8zpUbKSh/voGRNWz2q5fic4lxkOqHFyc66GyXjPC5nAoWkjCn8wXtBhraxt5/5jBviRg==", + "dependencies": { + "@babel/types": "^8.0.0-alpha.1" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/helper-string-parser": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.0-alpha.1.tgz", + "integrity": "sha512-gSRHw4k60JZdndZY2zQyXdPLujyUjBCq13DR3InVBfJefkh4E5xUODAwLsmYm8W6Ub0Gyx+FGBL3B0F97QVlPQ==", + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/helper-validator-identifier": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-8.0.0-alpha.1.tgz", + "integrity": "sha512-sNE8CRYwXFczisuxlBjFd5mL7yEPXv7+0W6U2hMyMb0BMTec5R5DPb26LCddy65wQHtVWBiedgw3Gec+ZIfj9Q==", + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/helper-validator-option": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-8.0.0-alpha.1.tgz", + "integrity": "sha512-E5ZkcIWQE5CnSCow8pNw21OOh0ow5kJPGAAFoEjSgtCZmSh2GPwlkMVbqbt3bDctrAQLZTiIjQrKua1bLlUnTw==", + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/helpers": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-8.0.0-alpha.1.tgz", + "integrity": "sha512-R6M7TQ85Lxo3YZvk4KUBRUw2Xdc2uyyb0puEA/V4YuaX6GlhAsSIHHKfRCAJzmOWI8TjzH+6KQuRcnGQMZEoQQ==", + "dependencies": { + "@babel/template": "^8.0.0-alpha.1", + "@babel/traverse": "^8.0.0-alpha.1", + "@babel/types": "^8.0.0-alpha.1" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/highlight": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-8.0.0-alpha.1.tgz", + "integrity": "sha512-QsgEXpMB7cw1uOR8HgbI707af4+bfkNiF5nS9swMQAMVy1XZoe230k9RNRxdKi5DmU5kVoBbrWdb1dNttRbdWQ==", + "dependencies": { + "@babel/helper-validator-identifier": "^8.0.0-alpha.1", + "chalk": "^2.4.2", + "js-tokens": "^8.0.0" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/parser": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.0-alpha.1.tgz", + "integrity": "sha512-ubuaD0I7m6dlXE2UeMW4Zx16FO6l8sHhztQbg1IPspoxItFvc8F8VCnnnlOBh22COx7pAeEt4HatBPt8nFv1pA==", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/template": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-8.0.0-alpha.1.tgz", + "integrity": "sha512-dj/zFHfhS5Htz6d5FsO3si1FSWdOa1930+LlqW2KeXNY5ut7PKIc5nJ4cpKDgb3ynzdQbz0fwpmnVIRlv0pdCQ==", + "dependencies": { + "@babel/code-frame": "^8.0.0-alpha.1", + "@babel/parser": "^8.0.0-alpha.1", + "@babel/types": "^8.0.0-alpha.1" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/traverse": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-8.0.0-alpha.1.tgz", + "integrity": "sha512-dpB4kxhCG8P3V6Za5pepWjOK/8Whhh6MMWXMcKzFZjOofu8cvpFpC9sonibkXWV+yNzKB2u84cCy431OCxHu9Q==", + "dependencies": { + "@babel/code-frame": "^8.0.0-alpha.1", + "@babel/generator": "^8.0.0-alpha.1", + "@babel/helper-environment-visitor": "^8.0.0-alpha.1", + "@babel/helper-function-name": "^8.0.0-alpha.1", + "@babel/helper-hoist-variables": "^8.0.0-alpha.1", + "@babel/helper-split-export-declaration": "^8.0.0-alpha.1", + "@babel/parser": "^8.0.0-alpha.1", + "@babel/types": "^8.0.0-alpha.1", + "debug": "^4.1.0", + "globals": "^13.5.0" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@babel/types": { + "version": "8.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.0-alpha.1.tgz", + "integrity": "sha512-WTaZM60MnL4ynPu5q1NSoaeQdAwv/6Kw97edyAeSE527MsGh0Ef1gTK3cpFHL2ylfi20UE6NLac24nMGBvIcGQ==", + "dependencies": { + "@babel/helper-string-parser": "^8.0.0-alpha.1", + "@babel/helper-validator-identifier": "^8.0.0-alpha.1", + "to-fast-properties": "^3.0.0" + }, + "engines": { + "node": "^16.20.0 || ^18.16.0 || >=20.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/compare": { + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@putout/compare/-/compare-12.0.4.tgz", + "integrity": "sha512-a7ynaMhZRz6/rG9aM79tA5a9AwQaCUErLtePsckDpv3SZ7GFvZbRMaha1WFxajmSJuNSAD6BdwPcX7BFU6nigw==", + "dependencies": { + "@putout/babel": "^1.0.5", + "@putout/engine-parser": "^8.0.1", + "@putout/operate": "^10.0.2", + "debug": "^4.1.1", + "jessy": "^3.0.0", + "nessy": "^4.0.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/engine-parser": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/@putout/engine-parser/-/engine-parser-8.0.3.tgz", + "integrity": "sha512-MwFj6cbwj+mFp2Ab54O7sw8mv/iSkj1Ht6UPsy2FPdgkDTd3VSEddKt+7BetlzZjDgfGkCi8XVDHlXAy41Sp8g==", + "dependencies": { + "@putout/babel": "^1.0.4", + "@putout/printer": "^3.0.0", + "@putout/recast": "^1.12.1", + "estree-to-babel": "^6.0.0", + "nano-memoize": "^3.0.11", + "once": "^1.4.0", + "try-catch": "^3.0.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/operate": { + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@putout/operate/-/operate-10.0.2.tgz", + "integrity": "sha512-GREn2TxBSqJtXc4niKVrxq8LYgSfnLqklqDecfzUu/0YPduM2nS3qCnHjxMLTCm8Zep/sppdBB7OM8ZmYiIAlg==", + "dependencies": { + "@putout/babel": "^1.0.5" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@putout/printer/-/printer-3.0.1.tgz", + "integrity": "sha512-BQVv1yV/vb0ViYlZyw6FC5ccAZopH2dx+BVUXEBiKYHTUqVzL/IycAyyCdAxY21l8kYIO7TgNd8Yt6GLQNZBHQ==", + "dependencies": { + "@babel/code-frame": "^7.18.6", + "@babel/parser": "^7.19.0", + "@babel/traverse": "^7.21.2", + "@babel/types": "^7.21.3", + "@putout/compare": "^12.0.4", + "@putout/operate": "^10.0.2", + "fullstore": "^3.0.0", + "just-snake-case": "^3.2.0", + "parse-import-specifiers": "^1.0.1", + "rendy": "^3.1.1" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/@babel/code-frame": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.5.tgz", + "integrity": "sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==", + "dependencies": { + "@babel/highlight": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/@babel/generator": { + "version": "7.22.9", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.9.tgz", + "integrity": "sha512-KtLMbmicyuK2Ak/FTCJVbDnkN1SlT8/kceFTiuDiiRUUSMnHMidxSCdG4ndkTOHHpoomWe/4xkvHkEOncwjYIw==", + "dependencies": { + "@babel/types": "^7.22.5", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/@babel/helper-environment-visitor": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz", + "integrity": "sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q==", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/@babel/helper-function-name": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz", + "integrity": "sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==", + "dependencies": { + "@babel/template": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/@babel/helper-hoist-variables": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", + "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/@babel/helper-split-export-declaration": { + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", + "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/@babel/helper-string-parser": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", + "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz", + "integrity": "sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/@babel/highlight": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.5.tgz", + "integrity": "sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==", + "dependencies": { + "@babel/helper-validator-identifier": "^7.22.5", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/@babel/parser": { + "version": "7.22.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.7.tgz", + "integrity": "sha512-7NF8pOkHP5o2vpmGgNGcfAeCvOYhGLyA3Z4eBQkT1RJlWu47n63bCs93QfJ2hIAFCil7L5P2IWhs1oToVgrL0Q==", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/@babel/template": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", + "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", + "dependencies": { + "@babel/code-frame": "^7.22.5", + "@babel/parser": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/@babel/traverse": { + "version": "7.22.8", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.22.8.tgz", + "integrity": "sha512-y6LPR+wpM2I3qJrsheCTwhIinzkETbplIgPBbwvqPKc+uljeA5gP+3nP8irdYt1mjQaDnlIcG+dw8OjAco4GXw==", + "dependencies": { + "@babel/code-frame": "^7.22.5", + "@babel/generator": "^7.22.7", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/parser": "^7.22.7", + "@babel/types": "^7.22.5", + "debug": "^4.1.0", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/@babel/types": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.5.tgz", + "integrity": "sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-putout/node_modules/@putout/printer/node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-putout/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==", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-plugin-putout/node_modules/eslint-visitor-keys": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz", + "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-plugin-putout/node_modules/globals": { + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint-plugin-putout/node_modules/js-tokens": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-8.0.1.tgz", + "integrity": "sha512-3AGrZT6tuMm1ZWWn9mLXh7XMfi2YtiLNPALCVxBCiUVq0LD1OQMxV/AdS/s7rLJU5o9i/jBZw/N4vXXL5dm29A==" + }, + "node_modules/eslint-plugin-putout/node_modules/jsesc": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", + "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/eslint-plugin-putout/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "engines": { + "node": ">=12" + } + }, + "node_modules/eslint-plugin-putout/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint-plugin-putout/node_modules/semver/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint-plugin-putout/node_modules/to-fast-properties": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-3.0.1.tgz", + "integrity": "sha512-/wtNi1tW1F3nf0OL6AqVxGw9Tr1ET70InMhJuVxPwFdGqparF0nQ4UWGLf2DsoI2bFDtthlBnALncZpUzOnsUw==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint-plugin-putout/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==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint-plugin-putout/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, "node_modules/eslint-plugin-ramda": { "version": "2.5.1", "resolved": "https://registry.npmjs.org/eslint-plugin-ramda/-/eslint-plugin-ramda-2.5.1.tgz", diff --git a/package.json b/package.json index 45c19054..74f18da3 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "eslint-plugin-perfectionist": "^1.5.1", "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-promise": "^6.1.1", - "eslint-plugin-putout": "^18.2.0", + "eslint-plugin-putout": "^19.0.2", "eslint-plugin-ramda": "^2.5.1", "eslint-plugin-react": "^7.33.1", "eslint-plugin-react-form-fields": "^1.2.22",