diff --git a/.editorconfig b/.editorconfig index a412a766f..391165974 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,6 +9,7 @@ insert_final_newline = true end_of_line = lf # editorconfig-tools is unable to ignore longs strings or urls max_line_length = null +quote_type = single [*.ts] indent_style = tab diff --git a/.oxfmtrc.json b/.oxfmtrc.json new file mode 100644 index 000000000..d2d6aef7b --- /dev/null +++ b/.oxfmtrc.json @@ -0,0 +1,34 @@ +{ + "printWidth": 120, + "quoteProps": "preserve", + "sortImports": { + "customGroups": [ + { "groupName": "apify-public", "selector": "external", "modifiers": ["value"], "elementNamePattern": ["@apify/**"] }, + { "groupName": "apify-public-type", "selector": "type", "elementNamePattern": ["@apify/**"] }, + { "groupName": "apify-private", "selector": "external", "modifiers": ["value"], "elementNamePattern": ["@apify-packages/**"] }, + { "groupName": "apify-private-type", "selector": "type", "elementNamePattern": ["@apify-packages/**"] } + ], + "groups": [ + ["side_effect_style", "side_effect"], + "builtin", + "external", + ["apify-public", "apify-public-type"], + ["apify-private", "apify-private-type"], + ["parent", "sibling", "index"] + ] + }, + "ignorePatterns": [ + "**/*.md", + "**/*.mdx", + "**/*.json", + "**/*.jsonc", + "**/*.yaml", + "**/*.yml", + "**/node_modules", + "**/dist", + "coverage", + "website", + "test/__setup__/input-schemas", + "test/tmp" + ] +} diff --git a/biome.json b/biome.json deleted file mode 100644 index 7189c8787..000000000 --- a/biome.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", - "formatter": { - "includes": [ - "**", - "!**/website/**", - "!**/dist/**", - "!**/test/__setup__/input-schemas/**/*.json", - "!**/test/tmp/**", - "!**/LICENSE.md", - "!**/pnpm-lock.yaml" - ], - "formatWithErrors": true - }, - "javascript": { - "formatter": { - "quoteStyle": "single", - "semicolons": "always", - "trailingCommas": "all", - "lineWidth": 120, - "indentStyle": "tab", - "indentWidth": 4, - "quoteProperties": "preserve", - "lineEnding": "lf" - } - }, - "linter": { - "enabled": false - }, - "assist": { - "enabled": false - } -} diff --git a/package.json b/package.json index 3fdba27cc..899b8b644 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ "test:python": "vitest run --testNamePattern \"\\[python\\]\"", "lint": "oxlint --type-aware", "lint:fix": "oxlint --type-aware --fix", - "format": "biome format . && prettier --check \"**/*.{md,yml,yaml}\"", - "format:fix": "biome format --write . && prettier --write \"**/*.{md,yml,yaml}\"", + "format": "oxfmt --check", + "format:fix": "oxfmt", "clean": "rimraf dist", "build": "pnpm run clean && tsc && tsdown", "build-bundles": "bun run scripts/build-cli-bundles.ts", @@ -118,9 +118,8 @@ "wrap-ansi": "^10.0.0" }, "devDependencies": { - "@apify/oxlint-config": "^0.2.5", + "@apify/oxlint-config": "^0.2.9", "@apify/tsconfig": "^0.1.2", - "@biomejs/biome": "^2.4.10", "@crawlee/types": "^3.16.0", "@types/adm-zip": "^0.5.8", "@types/archiver": "^7.0.0", @@ -139,9 +138,9 @@ "husky": "^9.1.7", "lint-staged": "^16.4.0", "mock-stdin": "^1.0.0", - "oxlint": "1.62.0", - "oxlint-tsgolint": "0.22.0", - "prettier": "^3.8.1", + "oxfmt": "0.48.0", + "oxlint": "1.63.0", + "oxlint-tsgolint": "0.22.1", "tsdown": "^0.21.9", "tsx": "^4.21.0", "typescript": "^6.0.2", @@ -172,8 +171,9 @@ } }, "lint-staged": { - "*": "biome format --write --no-errors-on-unmatched", - "*.{mjs,js,ts,mts,jsx,tsx}": "oxlint --type-aware --fix", - "*.md": "prettier --write" + "*.{mjs,js,ts,mts,jsx,tsx}": [ + "oxfmt --no-error-on-unmatched-pattern", + "oxlint --type-aware --fix --no-error-on-unmatched-pattern" + ] } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ccb98dd2d..dc42cabf4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -166,14 +166,11 @@ importers: version: 10.0.0 devDependencies: '@apify/oxlint-config': - specifier: ^0.2.5 - version: 0.2.5(oxlint@1.62.0(oxlint-tsgolint@0.22.0)) + specifier: ^0.2.9 + version: 0.2.9(oxlint@1.63.0(oxlint-tsgolint@0.22.1)) '@apify/tsconfig': specifier: ^0.1.2 version: 0.1.2 - '@biomejs/biome': - specifier: ^2.4.10 - version: 2.4.10 '@crawlee/types': specifier: ^3.16.0 version: 3.16.0 @@ -228,15 +225,15 @@ importers: mock-stdin: specifier: ^1.0.0 version: 1.0.0 + oxfmt: + specifier: 0.48.0 + version: 0.48.0 oxlint: - specifier: 1.62.0 - version: 1.62.0(oxlint-tsgolint@0.22.0) + specifier: 1.63.0 + version: 1.63.0(oxlint-tsgolint@0.22.1) oxlint-tsgolint: - specifier: 0.22.0 - version: 0.22.0 - prettier: - specifier: ^3.8.1 - version: 3.8.1 + specifier: 0.22.1 + version: 0.22.1 tsdown: specifier: ^0.21.9 version: 0.21.10(typescript@6.0.2) @@ -506,8 +503,8 @@ packages: '@apify/log@2.5.38': resolution: {integrity: sha512-Lzmrra3Vvb9Fi4JzWFWPOeSGxItAk50ZHpB070TsSPxuYf9mgJqQ1VlLWn3HNalcdbIf0OoPAFOW31BEs5Khsw==} - '@apify/oxlint-config@0.2.5': - resolution: {integrity: sha512-WTv3t49YBsAw/iIO3LauT7Gy/f9AEqMAqRwUtLBx1+gcBZSB0t2IHa4AqJA9DIo5115dnY6CWyqbqaf1IP0m0A==} + '@apify/oxlint-config@0.2.9': + resolution: {integrity: sha512-uGheX/IEIQBSptzdeT9GQlyYuSC01jq/MrNY+s+ka5pMSU/9b1nSLvroOv6FVVF11ia7pgfR41FopeIOznZ6OQ==} peerDependencies: oxlint: ^1.61.0 @@ -1134,63 +1131,6 @@ packages: resolution: {integrity: sha512-mOm5ZrYmphGfqVWoH5YYMTITb3cDXsFgmvFlvkvWDMsR9X8RFnt7a0Wb6yNIdoFsiMO9WjYLq+U/FMtqIYAF8Q==} engines: {node: ^20.19.0 || >=22.12.0} - '@biomejs/biome@2.4.10': - resolution: {integrity: sha512-xxA3AphFQ1geij4JTHXv4EeSTda1IFn22ye9LdyVPoJU19fNVl0uzfEuhsfQ4Yue/0FaLs2/ccVi4UDiE7R30w==} - engines: {node: '>=14.21.3'} - hasBin: true - - '@biomejs/cli-darwin-arm64@2.4.10': - resolution: {integrity: sha512-vuzzI1cWqDVzOMIkYyHbKqp+AkQq4K7k+UCXWpkYcY/HDn1UxdsbsfgtVpa40shem8Kax4TLDLlx8kMAecgqiw==} - engines: {node: '>=14.21.3'} - cpu: [arm64] - os: [darwin] - - '@biomejs/cli-darwin-x64@2.4.10': - resolution: {integrity: sha512-14fzASRo+BPotwp7nWULy2W5xeUyFnTaq1V13Etrrxkrih+ez/2QfgFm5Ehtf5vSjtgx/IJycMMpn5kPd5ZNaA==} - engines: {node: '>=14.21.3'} - cpu: [x64] - os: [darwin] - - '@biomejs/cli-linux-arm64-musl@2.4.10': - resolution: {integrity: sha512-WrJY6UuiSD/Dh+nwK2qOTu8kdMDlLV3dLMmychIghHPAysWFq1/DGC1pVZx8POE3ZkzKR3PUUnVrtZfMfaJjyQ==} - engines: {node: '>=14.21.3'} - cpu: [arm64] - os: [linux] - libc: [musl] - - '@biomejs/cli-linux-arm64@2.4.10': - resolution: {integrity: sha512-7MH1CMW5uuxQ/s7FLST63qF8B3Hgu2HRdZ7tA1X1+mk+St4JOuIrqdhIBnnyqeyWJNI+Bww7Es5QZ0wIc1Cmkw==} - engines: {node: '>=14.21.3'} - cpu: [arm64] - os: [linux] - libc: [glibc] - - '@biomejs/cli-linux-x64-musl@2.4.10': - resolution: {integrity: sha512-kDTi3pI6PBN6CiczsWYOyP2zk0IJI08EWEQyDMQWW221rPaaEz6FvjLhnU07KMzLv8q3qSuoB93ua6inSQ55Tw==} - engines: {node: '>=14.21.3'} - cpu: [x64] - os: [linux] - libc: [musl] - - '@biomejs/cli-linux-x64@2.4.10': - resolution: {integrity: sha512-tZLvEEi2u9Xu1zAqRjTcpIDGVtldigVvzug2fTuPG0ME/g8/mXpRPcNgLB22bGn6FvLJpHHnqLnwliOu8xjYrg==} - engines: {node: '>=14.21.3'} - cpu: [x64] - os: [linux] - libc: [glibc] - - '@biomejs/cli-win32-arm64@2.4.10': - resolution: {integrity: sha512-umwQU6qPzH+ISTf/eHyJ/QoQnJs3V9Vpjz2OjZXe9MVBZ7prgGafMy7yYeRGnlmDAn87AKTF3Q6weLoMGpeqdQ==} - engines: {node: '>=14.21.3'} - cpu: [arm64] - os: [win32] - - '@biomejs/cli-win32-x64@2.4.10': - resolution: {integrity: sha512-aW/JU5GuyH4uxMrNYpoC2kjaHlyJGLgIa3XkhPEZI0uKhZhJZU8BuEyJmvgzSPQNGozBwWjC972RaNdcJ9KyJg==} - engines: {node: '>=14.21.3'} - cpu: [x64] - os: [win32] - '@borewit/text-codec@0.2.2': resolution: {integrity: sha512-DDaRehssg1aNrH4+2hnj1B7vnUGEjU6OIlyRdkMd0aUdIUvKXrJfXsy8LVtXAy7DRvYVluWbMspsRhz2lcW0mQ==} @@ -2568,154 +2508,276 @@ packages: '@oxc-project/types@0.127.0': resolution: {integrity: sha512-aIYXQBo4lCbO4z0R3FHeucQHpF46l2LbMdxRvqvuRuW2OxdnSkcng5B8+K12spgLDj93rtN3+J2Vac/TIO+ciQ==} - '@oxlint-tsgolint/darwin-arm64@0.22.0': - resolution: {integrity: sha512-/exgXceakHbQrzaHTtKOe7MuDATaWMCCWpsCDQCZKeYhLGXzComipTrCYnHzAXrdnNBb5r5K+RRf5A6ormrhMA==} + '@oxfmt/binding-android-arm-eabi@0.48.0': + resolution: {integrity: sha512-uwqk+/KhQvBIpULD8SMM/zAafMRC/+DV/xsEQjkkIsJ/kLmEI/2bxonVowcYTiXqqZ/a0FEW8DPkZY3VvwELDA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [android] + + '@oxfmt/binding-android-arm64@0.48.0': + resolution: {integrity: sha512-VUCiKuXK5+McVssgHEJdrcGK7hRJzrRb36zm9/jwzMholyYt4BgXhw5Nm1V1DX6Ce717Zi/1jk432b/tgmQgtQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [android] + + '@oxfmt/binding-darwin-arm64@0.48.0': + resolution: {integrity: sha512-IkKp8rnIyQLW6Jt+6jragCbUVYSayk55lapiprLjIVvt4NczLyO/nwX2GgefLQ5iaBdfS8UEAFgCs/pLO6Cl0w==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [darwin] + + '@oxfmt/binding-darwin-x64@0.48.0': + resolution: {integrity: sha512-+aFuhsGIuvnoOjXyKVHMhPKJZR1kQkAl8QyrKoMlA7yJsSTC3N0Asl53La8TChSHhW8epToQ/Q0nvLmEmfNmLg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [darwin] + + '@oxfmt/binding-freebsd-x64@0.48.0': + resolution: {integrity: sha512-fbqzQL8FjI9gGnktI7RIo0dksDziTAYBy7xlI7jU7eID5fxLF/25fS4Xj6GydD8Y5oWHL83U4NK160QaOAxtyg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [freebsd] + + '@oxfmt/binding-linux-arm-gnueabihf@0.48.0': + resolution: {integrity: sha512-hn4i0zhAyTiB3ZHjQfYUZkDvrbVkohw1S7pySWxWUoZ87HnkDoTFThj7QTxk40hNPOTUP0vHbPRNamFIv1HBJQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [linux] + + '@oxfmt/binding-linux-arm-musleabihf@0.48.0': + resolution: {integrity: sha512-R4WBD9qF3QM9hqgdAa+fBGXmquTvDUujrPQ36t2Sjk8RPOSKGHDeN7l/khr10hqbQaOq9KCgPHG9ubNET/X/RQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [linux] + + '@oxfmt/binding-linux-arm64-gnu@0.48.0': + resolution: {integrity: sha512-5bVdwSwlm1M8wbYCorLOxWxUBw/8tBvHYyQNIfwWVPwOJaj5vg1APSGJQVpwJfV5VNE9PSrR91UKEpoNwHhqUA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@oxfmt/binding-linux-arm64-musl@0.48.0': + resolution: {integrity: sha512-vCS3Fk7gFslTqE1lUE2IlroyVV7u/9SmMA/uBqDoshuck2psGWcjW0ePyPZI3rM3+qtf2pDaMVIKMHozraifuw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@oxfmt/binding-linux-ppc64-gnu@0.48.0': + resolution: {integrity: sha512-gKtfFfueUClXDumyoHUbymqRf7prHejOOyzJK0eIJn93GF9JBdFHdo60TM1ZBHxkEwZvjuOgHmKtneKbEOc/Eg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [ppc64] + os: [linux] + libc: [glibc] + + '@oxfmt/binding-linux-riscv64-gnu@0.48.0': + resolution: {integrity: sha512-SYt0UhOvZD/UwZz9sXq6J2uAw8o24f5VZpLB2DH01f6MevshmlgakQlZe2lwek2sZJkd07eLu7mZa0g7yeiw7Q==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [riscv64] + os: [linux] + libc: [glibc] + + '@oxfmt/binding-linux-riscv64-musl@0.48.0': + resolution: {integrity: sha512-JLbrwck2AopG4ud/XklZO5N+qxGC7cS7ROvXZVNfx0MCLDDL2kGOLvzuWORkVjnjAM0CMAfIMU2zNBtQbM+4dw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [riscv64] + os: [linux] + libc: [musl] + + '@oxfmt/binding-linux-s390x-gnu@0.48.0': + resolution: {integrity: sha512-mdxt5L8OQLxkQH+JVpdC/lknZNe0lX4hlO3d8+xvw2wToo+iDrid9tiGOd5bmHfUVd5wVhrUry0qlu5vq66NkQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [s390x] + os: [linux] + libc: [glibc] + + '@oxfmt/binding-linux-x64-gnu@0.48.0': + resolution: {integrity: sha512-oEz1BQwMrV7OMEFx/3VPDU3n9TM0AnxpktDYXjEg5i6nTX87wo18wSfBvkl4tzAICdKtoAQAdBIl7Y7hsPlx5w==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@oxfmt/binding-linux-x64-musl@0.48.0': + resolution: {integrity: sha512-g2SKTTurP5mWjd8Ecait0erYqmltL4IqW1EwttM25BxM6NiTt4ubobJYMR1uox1V2QgG4UfHH10CGRvWlUixjw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [linux] + libc: [musl] + + '@oxfmt/binding-openharmony-arm64@0.48.0': + resolution: {integrity: sha512-CIg24VgheEpvolHL2gQuax5qcQ602bRMHrJ9g8XsQr3iVj9aSPgopigBKuMqrXsupwkrU+RQCn5cG8PgFntR6w==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [openharmony] + + '@oxfmt/binding-win32-arm64-msvc@0.48.0': + resolution: {integrity: sha512-zeaWkcxcEULwkGF3I/HgEvcDPN8buYDrxibBUa/IFh5Vmwyge+KpLO+hEwSovW349H0O/C0Z2kaFmEzEDm00/Q==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [win32] + + '@oxfmt/binding-win32-ia32-msvc@0.48.0': + resolution: {integrity: sha512-yiEKnIAGvx5CyZQOlMaNlZkAbwT7/Quk0j3WLt+PR5hK+qYjPTRRJYDfD77wCBPLvEYAG41v4KG3iL0H+uxoxg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [ia32] + os: [win32] + + '@oxfmt/binding-win32-x64-msvc@0.48.0': + resolution: {integrity: sha512-GSD2+7t2UoVMV2NgxXypa4bKewflPMAjYnF0Xw9/ht82ZfafAHhb8STwrEd7wlH2PFogt5zw3WVCxYJaHUdbeQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [win32] + + '@oxlint-tsgolint/darwin-arm64@0.22.1': + resolution: {integrity: sha512-4150Lpgc1YM09GcjA6GSrra1JoPjC7aOpfywLjWEY4vW0Sd1qKzqHF1WRaiw0/qUZ40OATYdv3aRd7ipPkWQbw==} cpu: [arm64] os: [darwin] - '@oxlint-tsgolint/darwin-x64@0.22.0': - resolution: {integrity: sha512-xFGdIahlmUbK+/MpZ5y08D0ewMGLDbd2Vki5wxVFYg50lSrtgPAtdDl+kqKZLNaFu0zpMar8n9wv1le05sL/jw==} + '@oxlint-tsgolint/darwin-x64@0.22.1': + resolution: {integrity: sha512-vFWcPWYOgZs4HWcgS1EjUZg33NLcNfEYU49KGImmCfZWkflENrmBYV4HN/C0YeAPum6ZZ/goPSvQrB/cOD+NfA==} cpu: [x64] os: [darwin] - '@oxlint-tsgolint/linux-arm64@0.22.0': - resolution: {integrity: sha512-53RvC9f77eUo+V1dfQNwGVnsIfPJFMibRR0ee128EUpYNDOZe/ojmCfuXJeU7cY91V7r7fZSm42KPJocXUX8og==} + '@oxlint-tsgolint/linux-arm64@0.22.1': + resolution: {integrity: sha512-6LiUpP0Zir3+29FvBm7Y28q/dBjSHqTZ5MhG1Ckw4fGhI4cAvbcwXaKvbjx1TP7rRmBNOoq/M5xdpHjTb+GAew==} cpu: [arm64] os: [linux] - '@oxlint-tsgolint/linux-x64@0.22.0': - resolution: {integrity: sha512-evZcJAZ9hjNyuN69RnXwbt+U2pAOcYt+yvqukgugiCkRm4iBZ0R0CvpY1tgfG2XcGUhEPh8dljO+nPZTEVGpCQ==} + '@oxlint-tsgolint/linux-x64@0.22.1': + resolution: {integrity: sha512-fuX1hEQfpHauUbXADsfqVhRzrUrGabzGXbj5wsp2vKhV5uk/Rze8Mba9GdjFGECzvXudMGqHqxB4r6jGRdhxVA==} cpu: [x64] os: [linux] - '@oxlint-tsgolint/win32-arm64@0.22.0': - resolution: {integrity: sha512-7jTO+k1mr5BxRAI2fxc1NRcE3MAbHNZ0Vef9SD1yAR6d1E6qEv5D/D7yuHpQpw6AO3qoecSVo2Jzr+JirN61+w==} + '@oxlint-tsgolint/win32-arm64@0.22.1': + resolution: {integrity: sha512-8SZidAj+jrbZf9ZjBEYW0tiNZ+KasqB2zgW26qdiPpQSF/DzURnPmXz651IeA9YsmbVdHGIooEHUmev6QJdquA==} cpu: [arm64] os: [win32] - '@oxlint-tsgolint/win32-x64@0.22.0': - resolution: {integrity: sha512-7lbl9XFcqO+scsynxMzTQdl0XUe6sBUCyY/oGWvCB+JmV4U+70vzSyZJdTEzzxtkZiNnUVFFh9RJLmoiQSne+w==} + '@oxlint-tsgolint/win32-x64@0.22.1': + resolution: {integrity: sha512-QweSk9H5lFh5Y+WUf2Kq/OAN88V6+62ZwGhP38gqdRotI90luXSMkruFTj7Q2rYrzH4ZVNaSqx7NY8JpSfIzqg==} cpu: [x64] os: [win32] - '@oxlint/binding-android-arm-eabi@1.62.0': - resolution: {integrity: sha512-pKsthNECyvJh8lPTICz6VcwVy2jOqdhhsp1rlxCkhgZR47aKvXPmaRWQDv+zlXpRae4qm1MaaTnutkaOk5aofg==} + '@oxlint/binding-android-arm-eabi@1.63.0': + resolution: {integrity: sha512-A9xLtQt7i0OA1PoB/meog6kikXI9CdwEp7ZwQqmgnpKn3G3b1orvTDy8CQ6T7w1HvDrgWGB78PkFKcWgibcTCg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [android] - '@oxlint/binding-android-arm64@1.62.0': - resolution: {integrity: sha512-b1AUNViByvgmR2xJDubvLIr+dSuu3uraG7bsAoKo+xrpspPvu6RIn6Fhr2JUhobfep3jwUTy18Huco6GkwdvGQ==} + '@oxlint/binding-android-arm64@1.63.0': + resolution: {integrity: sha512-SQo+ZMvdR9l3CxZp5W5gFNxSiDxclY6lOzzNpKYLF8asESpm3Pwumx0gER5T7aHLF1/2BAAtLD3DiDkdgy4V1A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@oxlint/binding-darwin-arm64@1.62.0': - resolution: {integrity: sha512-iG+Tvf70UJ6otfwFYIHk36Sjq9cpPP5YLxkoggANNRtzgi3Tj3g8q6Ybqi6AtkU3+yg9QwF7bDCkCS6bbL4PCg==} + '@oxlint/binding-darwin-arm64@1.63.0': + resolution: {integrity: sha512-6W82XjJDTmMnjg30427l0dufpnyLoq7wEukKdM6/g2VIybRVuQiBVh43EA4b+UxZ3+tLcKm+Or/pXGNgLCEU8g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@oxlint/binding-darwin-x64@1.62.0': - resolution: {integrity: sha512-oOWI6YPPr5AJUx+yIDlxmuUbQjS5gZX3OH3QisawYvsZgLiQVvZtR0rPBcJTxLWqt2ClrWg0DlSrlUiG5SQNHg==} + '@oxlint/binding-darwin-x64@1.63.0': + resolution: {integrity: sha512-CnWd/YCuVG5W1BYkjJEVbJG11o526O9qAwBEQM+nh8K19CRFUkFdROXCyYkGmroHEYQe4vgQ6+lh3550Lp35Xw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@oxlint/binding-freebsd-x64@1.62.0': - resolution: {integrity: sha512-dLP33T7VLCmLVv4cvjkVX+rmkcwNk2UfxmsZPNur/7BQHoQR60zJ7XLiRvNUawlzn0u8ngCa3itjEG73MAMa/w==} + '@oxlint/binding-freebsd-x64@1.63.0': + resolution: {integrity: sha512-a4eZAqrmtajqcxfdAzC+l7g3PaE3V8hpAYqqeD3fTxLXOMFdK3eNTZrU80n4dDEVm0JXy1aL5PqvqWldBl6zYA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@oxlint/binding-linux-arm-gnueabihf@1.62.0': - resolution: {integrity: sha512-fl//LWNks6qo9chNY60UDYyIwtp7a5cEx4Y/rHPjaarhuwqx6jtbzEpD5V5AqmdL4a6Y5D8zeXg5HF2Cr0QmSQ==} + '@oxlint/binding-linux-arm-gnueabihf@1.63.0': + resolution: {integrity: sha512-tYUtU9TdbU3uXF5D62g5zXJ13iniFGhXQx5vp9cyEjGdbSAY3VdFBSaldYvyoDmgMZ0ZYuwQP1Y4t2Fhejwa0w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxlint/binding-linux-arm-musleabihf@1.62.0': - resolution: {integrity: sha512-i5vkAuxvueTODV3J2dL61/TXewDHhMFKvtD156cIsk7GsdfiAu7zW7kY0NJXhKeFHeiMZIh7eFNjkPYH6J47HQ==} + '@oxlint/binding-linux-arm-musleabihf@1.63.0': + resolution: {integrity: sha512-I5r3twFf776UZg9dmRo2xbrKt00tTkORXEVe0ctg4vdTkQvJAjiCHxnbAU2HL1AiJ9cqADA76MAliuilsAWnvg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxlint/binding-linux-arm64-gnu@1.62.0': - resolution: {integrity: sha512-QwN19LLuIGuOjEflSeJkZmOTfBdBMlTmW8xbMf8TZhjd//cxVNYQPq75q7oKZBJc6hRx3gY7sX0Egc8cEIFZYg==} + '@oxlint/binding-linux-arm64-gnu@1.63.0': + resolution: {integrity: sha512-t7ltUkg6FFh4b564QyGir8xIj/QZbXu8FlcRkcyW9+ztr/mfRHlvUOFd95pJCXi9s/L5DrUeWWgpXRS+V+6igQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@oxlint/binding-linux-arm64-musl@1.62.0': - resolution: {integrity: sha512-8eCy3FCDuWUM5hWujAv6heMvfZPbcCOU3SdQUAkixZLu5bSzOkNfirJiLGoQFO943xceOKkiQRMQNzH++jM3WA==} + '@oxlint/binding-linux-arm64-musl@1.63.0': + resolution: {integrity: sha512-Q5mmZy/XWjuYFUuQyYjOvZ5U/JkKEwnpir6hGxhh6HcdP0V/BKxLo8dqkfF/t7r7AguB17dfS/8+go5AQDRR6g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@oxlint/binding-linux-ppc64-gnu@1.62.0': - resolution: {integrity: sha512-NjQ7K7tpTPDe9J+yq8p/s/J0E7lRCkK2uDBDqvT4XIT6f4Z0tlnr59OBg/WcrmVHER1AbrcfyxhGTXgcG8ytWg==} + '@oxlint/binding-linux-ppc64-gnu@1.63.0': + resolution: {integrity: sha512-uBGtuZ0TzLB4x5wVa82HGNvYqY8buwDhyCnCP0R0gkk9szqVsP0MeTtD5HX7EsEuFIt+aYmYxuxeVxs3nTSwtQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@oxlint/binding-linux-riscv64-gnu@1.62.0': - resolution: {integrity: sha512-oKZed9gmSwze29dEt3/Wnsv6l/Ygw/FUst+8Kfpv2SGeS/glEoTGZAMQw37SVyzFV76UTHJN2snGgxK2t2+8ow==} + '@oxlint/binding-linux-riscv64-gnu@1.63.0': + resolution: {integrity: sha512-h4s6FwxE+9MeA181o0dnDwHP32Y/bG8EiB/vrD6Ib+AMt6haigDc/0bUtI/sLmQDBMJnUfaCmtSSrEAqjtEVrA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [glibc] - '@oxlint/binding-linux-riscv64-musl@1.62.0': - resolution: {integrity: sha512-gBjBxQ+9lGpAYq+ELqw0w8QXsBnkZclFc7GRX2r0LnEVn3ZTEqeIKpKcGjucmp76Q53bvJD0i4qBWBhcfhSfGA==} + '@oxlint/binding-linux-riscv64-musl@1.63.0': + resolution: {integrity: sha512-2EaNcCBR8Mcjl5ARtuN3BdEpVkX7KpjSjMGZ/mJMIeaXgTtdz5ytg2VwygMSStA/k0ixfvZFoZOfjDEcouV5vQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [musl] - '@oxlint/binding-linux-s390x-gnu@1.62.0': - resolution: {integrity: sha512-Ew2Kxs9EQ9/mbAIJ2hvocMC0wsOu6YKzStI2eFBDt+Td5O8seVC/oxgRIHqCcl5sf5ratA1nozQBAuv7tphkHg==} + '@oxlint/binding-linux-s390x-gnu@1.63.0': + resolution: {integrity: sha512-p4hlf/fd7TrYYl3QrWWD0GocqJefwMu3cHQhmi2FvEB/YOvFb5DZN3SMBaPi7B1TM5DeypkEtrVib674q1KKPg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@oxlint/binding-linux-x64-gnu@1.62.0': - resolution: {integrity: sha512-5z25jcAA0gfKyVwz71A0VXgaPlocPoTAxhlv/hgoK6tlCrfoNuw7haWbDHvGMfjXhdic4EqVXGRv5XsTqFnbRQ==} + '@oxlint/binding-linux-x64-gnu@1.63.0': + resolution: {integrity: sha512-Vgq9rkRVcPcjbcH+ihYTfpeR7vCXfqpd+z5ItTGc0yYUV59L5ceHYN1iV4H9bKGV7Rn5hkVc7x3mSvHegduENA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@oxlint/binding-linux-x64-musl@1.62.0': - resolution: {integrity: sha512-IWpHmMB6ZDllPvqWDkG6AmXrN7JF5e/c4g/0PuURsmlK+vHoYZPB70rr4u1bn3I4LsKCSpqqfveyx6UCOC8wdg==} + '@oxlint/binding-linux-x64-musl@1.63.0': + resolution: {integrity: sha512-3/Lkq/ncooA61rorrC+ZQed1Bc4VpGj+WnGsp58zmxKgvZ2vhreu+dcVyr3mX8NUpq7mfZ4gDDTou/yrF1Pd7A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@oxlint/binding-openharmony-arm64@1.62.0': - resolution: {integrity: sha512-fjlSxxrD5pA594vkyikCS9MnPRjQawW6/BLgyTYkO+73wwPlYjkcZ7LSd974l0Q2zkHQmu4DPvJFLYA7o8xrxQ==} + '@oxlint/binding-openharmony-arm64@1.63.0': + resolution: {integrity: sha512-0/EdD/6hDkx5Mfd769PTjvEM8mZ/6Dfukp1dBCL/2PjlIVGEtYdNZyok6ChqYPsT9JcFnlQnUeQzO0/1L/oC9w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@oxlint/binding-win32-arm64-msvc@1.62.0': - resolution: {integrity: sha512-EiFXr8loNS0Ul3Gu80+9nr1T8jRmnKocqmHHg16tj5ZqTgUXyb97l2rrspVHdDluyFn9JfR4PoJFdNzw4paHww==} + '@oxlint/binding-win32-arm64-msvc@1.63.0': + resolution: {integrity: sha512-wb0CUkN8ngwPiRQBjD1Cj0LsHeNvm+Xt6YBHDMtj2DVQVD6Oj8Ri7g6BD+KICf6LaBqZlmzOvy6nF9E/8yyGOg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@oxlint/binding-win32-ia32-msvc@1.62.0': - resolution: {integrity: sha512-IgOFvL73li1bFgab+hThXYA0N2Xms2kV2MvZN95cebV+fmrZ9AVui1JSxfeeqRLo3CpPxKZlzhyq4G0cnaAvIw==} + '@oxlint/binding-win32-ia32-msvc@1.63.0': + resolution: {integrity: sha512-BX5iq+ovdNlVYhSn5qPMUIT0uwAwt2lmEnCnzK+Gkhw4DovIvhGb96OFhV8yzQNUnQxn/xGkOR+X+BLrLDNm8w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ia32] os: [win32] - '@oxlint/binding-win32-x64-msvc@1.62.0': - resolution: {integrity: sha512-6hMpyDWQ2zGA1OXFKBrdYMUveUCO8UJhkO6JdwZPd78xIdHZNhjx+pib+4fC2Cljuhjyl0QwA2F3df/bs4Bp6A==} + '@oxlint/binding-win32-x64-msvc@1.63.0': + resolution: {integrity: sha512-QeN/WELOfsXMeYwxvfgQrl6CbVftYUCZsGXHjXQd5Trccm8+i4gmtxaOui4xbJQaiDlviF8F3yLSBloQUeFsfA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -6721,16 +6783,21 @@ packages: resolution: {integrity: sha512-sJBRCbS5vh1Jp9EOgwp1Ws3c16lJrUkJYlvWTYC03oyiYVwS/ns7lKRWow4w4XjDyTrA2pplQv4B2naWSR6yDA==} engines: {node: '>=14.16'} - oxlint-tsgolint@0.22.0: - resolution: {integrity: sha512-ku4MecLmCQIj1ScCtzNAqTuyl0BJQ02B36fJT+c5XQihHpYSFak+FC3GYO5fPyYk4oDwi0w0S7hTvrpNzuZhig==} + oxfmt@0.48.0: + resolution: {integrity: sha512-AVaLh+7XeGx+R1zfFV+f6VV61nT2MWVJXVUDhbTm5LBWGyNt64xAyh3NYYyjeY2WykNt9AvqSQLPHcbWquYF9g==} + engines: {node: ^20.19.0 || >=22.12.0} + hasBin: true + + oxlint-tsgolint@0.22.1: + resolution: {integrity: sha512-YUSGSLUnoolsu8gxISEDio3q1rtsCozwfOzASUn3DT2mR2EeQ93uEEnen7s+6LpF+lyTQFln1pQfqwBh/fsVEg==} hasBin: true - oxlint@1.62.0: - resolution: {integrity: sha512-1uFkg6HakjsGIpW9wNdeW4/2LOHW9MEkoWjZUTUfQtIHyLIZPYt00w3Sg+H3lH+206FgBPHBbW5dVE5l2ExECQ==} + oxlint@1.63.0: + resolution: {integrity: sha512-9TGXetdjgIHOJ9OiReomP7nnrMkV9HxC1xM2ramJSLQpzxjsAJtQwa4wqkJN2f/uCrqZuJseFuSlWDdvcruveg==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: - oxlint-tsgolint: '>=0.18.0' + oxlint-tsgolint: '>=0.22.1' peerDependenciesMeta: oxlint-tsgolint: optional: true @@ -8358,6 +8425,10 @@ packages: resolution: {integrity: sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==} engines: {node: ^18.0.0 || >=20.0.0} + tinypool@2.1.0: + resolution: {integrity: sha512-Pugqs6M0m7Lv1I7FtxN4aoyToKg1C4tu+/381vH35y8oENM/Ai7f7C4StcoK4/+BSw9ebcS8jRiVrORFKCALLw==} + engines: {node: ^20.0.0 || >=22.0.0} + tinyrainbow@3.1.0: resolution: {integrity: sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==} engines: {node: '>=14.0.0'} @@ -9295,9 +9366,9 @@ snapshots: '@apify/consts': 2.53.0 ansi-colors: 4.1.3 - '@apify/oxlint-config@0.2.5(oxlint@1.62.0(oxlint-tsgolint@0.22.0))': + '@apify/oxlint-config@0.2.9(oxlint@1.63.0(oxlint-tsgolint@0.22.1))': dependencies: - oxlint: 1.62.0(oxlint-tsgolint@0.22.0) + oxlint: 1.63.0(oxlint-tsgolint@0.22.1) '@apify/ps-tree@1.2.0': dependencies: @@ -10135,41 +10206,6 @@ snapshots: '@babel/helper-string-parser': 8.0.0-rc.4 '@babel/helper-validator-identifier': 8.0.0-rc.3 - '@biomejs/biome@2.4.10': - optionalDependencies: - '@biomejs/cli-darwin-arm64': 2.4.10 - '@biomejs/cli-darwin-x64': 2.4.10 - '@biomejs/cli-linux-arm64': 2.4.10 - '@biomejs/cli-linux-arm64-musl': 2.4.10 - '@biomejs/cli-linux-x64': 2.4.10 - '@biomejs/cli-linux-x64-musl': 2.4.10 - '@biomejs/cli-win32-arm64': 2.4.10 - '@biomejs/cli-win32-x64': 2.4.10 - - '@biomejs/cli-darwin-arm64@2.4.10': - optional: true - - '@biomejs/cli-darwin-x64@2.4.10': - optional: true - - '@biomejs/cli-linux-arm64-musl@2.4.10': - optional: true - - '@biomejs/cli-linux-arm64@2.4.10': - optional: true - - '@biomejs/cli-linux-x64-musl@2.4.10': - optional: true - - '@biomejs/cli-linux-x64@2.4.10': - optional: true - - '@biomejs/cli-win32-arm64@2.4.10': - optional: true - - '@biomejs/cli-win32-x64@2.4.10': - optional: true - '@borewit/text-codec@0.2.2': {} '@colors/colors@1.5.0': @@ -12211,79 +12247,136 @@ snapshots: '@oxc-project/types@0.127.0': {} - '@oxlint-tsgolint/darwin-arm64@0.22.0': + '@oxfmt/binding-android-arm-eabi@0.48.0': + optional: true + + '@oxfmt/binding-android-arm64@0.48.0': + optional: true + + '@oxfmt/binding-darwin-arm64@0.48.0': + optional: true + + '@oxfmt/binding-darwin-x64@0.48.0': + optional: true + + '@oxfmt/binding-freebsd-x64@0.48.0': + optional: true + + '@oxfmt/binding-linux-arm-gnueabihf@0.48.0': + optional: true + + '@oxfmt/binding-linux-arm-musleabihf@0.48.0': + optional: true + + '@oxfmt/binding-linux-arm64-gnu@0.48.0': + optional: true + + '@oxfmt/binding-linux-arm64-musl@0.48.0': + optional: true + + '@oxfmt/binding-linux-ppc64-gnu@0.48.0': optional: true - '@oxlint-tsgolint/darwin-x64@0.22.0': + '@oxfmt/binding-linux-riscv64-gnu@0.48.0': optional: true - '@oxlint-tsgolint/linux-arm64@0.22.0': + '@oxfmt/binding-linux-riscv64-musl@0.48.0': optional: true - '@oxlint-tsgolint/linux-x64@0.22.0': + '@oxfmt/binding-linux-s390x-gnu@0.48.0': optional: true - '@oxlint-tsgolint/win32-arm64@0.22.0': + '@oxfmt/binding-linux-x64-gnu@0.48.0': optional: true - '@oxlint-tsgolint/win32-x64@0.22.0': + '@oxfmt/binding-linux-x64-musl@0.48.0': optional: true - '@oxlint/binding-android-arm-eabi@1.62.0': + '@oxfmt/binding-openharmony-arm64@0.48.0': optional: true - '@oxlint/binding-android-arm64@1.62.0': + '@oxfmt/binding-win32-arm64-msvc@0.48.0': optional: true - '@oxlint/binding-darwin-arm64@1.62.0': + '@oxfmt/binding-win32-ia32-msvc@0.48.0': optional: true - '@oxlint/binding-darwin-x64@1.62.0': + '@oxfmt/binding-win32-x64-msvc@0.48.0': optional: true - '@oxlint/binding-freebsd-x64@1.62.0': + '@oxlint-tsgolint/darwin-arm64@0.22.1': optional: true - '@oxlint/binding-linux-arm-gnueabihf@1.62.0': + '@oxlint-tsgolint/darwin-x64@0.22.1': optional: true - '@oxlint/binding-linux-arm-musleabihf@1.62.0': + '@oxlint-tsgolint/linux-arm64@0.22.1': optional: true - '@oxlint/binding-linux-arm64-gnu@1.62.0': + '@oxlint-tsgolint/linux-x64@0.22.1': optional: true - '@oxlint/binding-linux-arm64-musl@1.62.0': + '@oxlint-tsgolint/win32-arm64@0.22.1': optional: true - '@oxlint/binding-linux-ppc64-gnu@1.62.0': + '@oxlint-tsgolint/win32-x64@0.22.1': optional: true - '@oxlint/binding-linux-riscv64-gnu@1.62.0': + '@oxlint/binding-android-arm-eabi@1.63.0': optional: true - '@oxlint/binding-linux-riscv64-musl@1.62.0': + '@oxlint/binding-android-arm64@1.63.0': optional: true - '@oxlint/binding-linux-s390x-gnu@1.62.0': + '@oxlint/binding-darwin-arm64@1.63.0': optional: true - '@oxlint/binding-linux-x64-gnu@1.62.0': + '@oxlint/binding-darwin-x64@1.63.0': optional: true - '@oxlint/binding-linux-x64-musl@1.62.0': + '@oxlint/binding-freebsd-x64@1.63.0': optional: true - '@oxlint/binding-openharmony-arm64@1.62.0': + '@oxlint/binding-linux-arm-gnueabihf@1.63.0': optional: true - '@oxlint/binding-win32-arm64-msvc@1.62.0': + '@oxlint/binding-linux-arm-musleabihf@1.63.0': optional: true - '@oxlint/binding-win32-ia32-msvc@1.62.0': + '@oxlint/binding-linux-arm64-gnu@1.63.0': optional: true - '@oxlint/binding-win32-x64-msvc@1.62.0': + '@oxlint/binding-linux-arm64-musl@1.63.0': + optional: true + + '@oxlint/binding-linux-ppc64-gnu@1.63.0': + optional: true + + '@oxlint/binding-linux-riscv64-gnu@1.63.0': + optional: true + + '@oxlint/binding-linux-riscv64-musl@1.63.0': + optional: true + + '@oxlint/binding-linux-s390x-gnu@1.63.0': + optional: true + + '@oxlint/binding-linux-x64-gnu@1.63.0': + optional: true + + '@oxlint/binding-linux-x64-musl@1.63.0': + optional: true + + '@oxlint/binding-openharmony-arm64@1.63.0': + optional: true + + '@oxlint/binding-win32-arm64-msvc@1.63.0': + optional: true + + '@oxlint/binding-win32-ia32-msvc@1.63.0': + optional: true + + '@oxlint/binding-win32-x64-msvc@1.63.0': optional: true '@peculiar/asn1-cms@2.7.0': @@ -16790,37 +16883,61 @@ snapshots: lodash.isequal: 4.5.0 vali-date: 1.0.0 - oxlint-tsgolint@0.22.0: + oxfmt@0.48.0: + dependencies: + tinypool: 2.1.0 optionalDependencies: - '@oxlint-tsgolint/darwin-arm64': 0.22.0 - '@oxlint-tsgolint/darwin-x64': 0.22.0 - '@oxlint-tsgolint/linux-arm64': 0.22.0 - '@oxlint-tsgolint/linux-x64': 0.22.0 - '@oxlint-tsgolint/win32-arm64': 0.22.0 - '@oxlint-tsgolint/win32-x64': 0.22.0 - - oxlint@1.62.0(oxlint-tsgolint@0.22.0): + '@oxfmt/binding-android-arm-eabi': 0.48.0 + '@oxfmt/binding-android-arm64': 0.48.0 + '@oxfmt/binding-darwin-arm64': 0.48.0 + '@oxfmt/binding-darwin-x64': 0.48.0 + '@oxfmt/binding-freebsd-x64': 0.48.0 + '@oxfmt/binding-linux-arm-gnueabihf': 0.48.0 + '@oxfmt/binding-linux-arm-musleabihf': 0.48.0 + '@oxfmt/binding-linux-arm64-gnu': 0.48.0 + '@oxfmt/binding-linux-arm64-musl': 0.48.0 + '@oxfmt/binding-linux-ppc64-gnu': 0.48.0 + '@oxfmt/binding-linux-riscv64-gnu': 0.48.0 + '@oxfmt/binding-linux-riscv64-musl': 0.48.0 + '@oxfmt/binding-linux-s390x-gnu': 0.48.0 + '@oxfmt/binding-linux-x64-gnu': 0.48.0 + '@oxfmt/binding-linux-x64-musl': 0.48.0 + '@oxfmt/binding-openharmony-arm64': 0.48.0 + '@oxfmt/binding-win32-arm64-msvc': 0.48.0 + '@oxfmt/binding-win32-ia32-msvc': 0.48.0 + '@oxfmt/binding-win32-x64-msvc': 0.48.0 + + oxlint-tsgolint@0.22.1: optionalDependencies: - '@oxlint/binding-android-arm-eabi': 1.62.0 - '@oxlint/binding-android-arm64': 1.62.0 - '@oxlint/binding-darwin-arm64': 1.62.0 - '@oxlint/binding-darwin-x64': 1.62.0 - '@oxlint/binding-freebsd-x64': 1.62.0 - '@oxlint/binding-linux-arm-gnueabihf': 1.62.0 - '@oxlint/binding-linux-arm-musleabihf': 1.62.0 - '@oxlint/binding-linux-arm64-gnu': 1.62.0 - '@oxlint/binding-linux-arm64-musl': 1.62.0 - '@oxlint/binding-linux-ppc64-gnu': 1.62.0 - '@oxlint/binding-linux-riscv64-gnu': 1.62.0 - '@oxlint/binding-linux-riscv64-musl': 1.62.0 - '@oxlint/binding-linux-s390x-gnu': 1.62.0 - '@oxlint/binding-linux-x64-gnu': 1.62.0 - '@oxlint/binding-linux-x64-musl': 1.62.0 - '@oxlint/binding-openharmony-arm64': 1.62.0 - '@oxlint/binding-win32-arm64-msvc': 1.62.0 - '@oxlint/binding-win32-ia32-msvc': 1.62.0 - '@oxlint/binding-win32-x64-msvc': 1.62.0 - oxlint-tsgolint: 0.22.0 + '@oxlint-tsgolint/darwin-arm64': 0.22.1 + '@oxlint-tsgolint/darwin-x64': 0.22.1 + '@oxlint-tsgolint/linux-arm64': 0.22.1 + '@oxlint-tsgolint/linux-x64': 0.22.1 + '@oxlint-tsgolint/win32-arm64': 0.22.1 + '@oxlint-tsgolint/win32-x64': 0.22.1 + + oxlint@1.63.0(oxlint-tsgolint@0.22.1): + optionalDependencies: + '@oxlint/binding-android-arm-eabi': 1.63.0 + '@oxlint/binding-android-arm64': 1.63.0 + '@oxlint/binding-darwin-arm64': 1.63.0 + '@oxlint/binding-darwin-x64': 1.63.0 + '@oxlint/binding-freebsd-x64': 1.63.0 + '@oxlint/binding-linux-arm-gnueabihf': 1.63.0 + '@oxlint/binding-linux-arm-musleabihf': 1.63.0 + '@oxlint/binding-linux-arm64-gnu': 1.63.0 + '@oxlint/binding-linux-arm64-musl': 1.63.0 + '@oxlint/binding-linux-ppc64-gnu': 1.63.0 + '@oxlint/binding-linux-riscv64-gnu': 1.63.0 + '@oxlint/binding-linux-riscv64-musl': 1.63.0 + '@oxlint/binding-linux-s390x-gnu': 1.63.0 + '@oxlint/binding-linux-x64-gnu': 1.63.0 + '@oxlint/binding-linux-x64-musl': 1.63.0 + '@oxlint/binding-openharmony-arm64': 1.63.0 + '@oxlint/binding-win32-arm64-msvc': 1.63.0 + '@oxlint/binding-win32-ia32-msvc': 1.63.0 + '@oxlint/binding-win32-x64-msvc': 1.63.0 + oxlint-tsgolint: 0.22.1 p-cancelable@3.0.0: {} @@ -18813,6 +18930,8 @@ snapshots: tinypool@1.1.1: {} + tinypool@2.1.0: {} + tinyrainbow@3.1.0: {} tldts-core@7.0.27: {} diff --git a/scripts/documentation-renderer/doc-building.ts b/scripts/documentation-renderer/doc-building.ts index 6ac8b935e..c5180882e 100644 --- a/scripts/documentation-renderer/doc-building.ts +++ b/scripts/documentation-renderer/doc-building.ts @@ -48,9 +48,7 @@ export async function renderDocs(categories: Record { static override name = 'calculate-memory' as const; - static override description = - `Calculates the Actor’s dynamic memory usage based on a memory expression from actor.json, input data, and run options.`; + static override description = `Calculates the Actor’s dynamic memory usage based on a memory expression from actor.json, input data, and run options.`; static override group = 'Actor Runtime'; @@ -58,8 +57,7 @@ export class ActorCalculateMemoryCommand extends ApifyCommand { url = `https://console.apify.com/actors/${actorId}/runs/${yieldedRun.id}`; datasetUrl = `https://console.apify.com/storage/datasets/${yieldedRun.defaultDatasetId}`; - const message: string[] = [ - `${chalk.yellow('Started')}: ${TimestampFormatter.display(yieldedRun.startedAt)}`, - ]; + const message: string[] = [`${chalk.yellow('Started')}: ${TimestampFormatter.display(yieldedRun.startedAt)}`]; // container url if (yieldedRun.containerUrl) { @@ -209,9 +207,7 @@ export class ActorsCallCommand extends ApifyCommand { message.push(messageParts.join(' ')); // timeout - message.push( - `${chalk.yellow('Timeout')}: ${run.options.timeoutSecs.toLocaleString('en-US')} seconds`, - ); + message.push(`${chalk.yellow('Timeout')}: ${run.options.timeoutSecs.toLocaleString('en-US')} seconds`); // memory limit message.push(`${chalk.yellow('Memory')}: ${run.options.memoryMbytes} MB`); diff --git a/src/commands/actors/ls.ts b/src/commands/actors/ls.ts index 54cb0e493..fee970d26 100644 --- a/src/commands/actors/ls.ts +++ b/src/commands/actors/ls.ts @@ -239,8 +239,7 @@ export class ActorsLsCommand extends ApifyCommand { (item.actor.taggedBuilds ?? {}) as Record, ).find( ([tag, data]) => - data.buildNumber === item.actor!.defaultRunOptions.build || - tag === item.actor!.defaultRunOptions.build, + data.buildNumber === item.actor!.defaultRunOptions.build || tag === item.actor!.defaultRunOptions.build, ); if (buildVersionToTag) { @@ -267,10 +266,7 @@ export class ActorsLsCommand extends ApifyCommand { if (diff < Time.Week) { stringParts.push('\n', chalk.gray(`${ShortDurationFormatter.format(diff)} ago`)); } else { - stringParts.push( - '\n', - chalk.gray('On', DateOnlyTimestampFormatter.display(item.lastRun.finishedAt)), - ); + stringParts.push('\n', chalk.gray('On', DateOnlyTimestampFormatter.display(item.lastRun.finishedAt))); } } diff --git a/src/commands/actors/push.ts b/src/commands/actors/push.ts index f8905ac09..927709226 100644 --- a/src/commands/actors/push.ts +++ b/src/commands/actors/push.ts @@ -106,8 +106,7 @@ export class ActorsPushCommand extends ApifyCommand { required: false, }), 'allow-missing-secrets': Flags.boolean({ - description: - 'Allow the command to continue even when secret values are not found in the local secrets storage.', + description: 'Allow the command to continue even when secret values are not found in the local secrets storage.', required: false, default: false, }), @@ -179,8 +178,7 @@ export class ActorsPushCommand extends ApifyCommand { let isActorCreatedNow = false; // User can override Actor version and build tag, attributes in localConfig will remain same. - const version = - this.flags.version || (actorConfig?.version as string | undefined) || DEFAULT_ACTOR_VERSION_NUMBER; + const version = this.flags.version || (actorConfig?.version as string | undefined) || DEFAULT_ACTOR_VERSION_NUMBER; let buildTag = this.flags.buildTag || (actorConfig?.buildTag as string | undefined); @@ -212,8 +210,7 @@ export class ActorsPushCommand extends ApifyCommand { } else { const { templates } = await fetchManifest(); const actorTemplate = templates.find((t) => t.name === actorConfig!.template); - const defaultRunOptions = (actorTemplate?.defaultRunOptions || - DEFAULT_RUN_OPTIONS) as ActorDefaultRunOptions; + const defaultRunOptions = (actorTemplate?.defaultRunOptions || DEFAULT_RUN_OPTIONS) as ActorDefaultRunOptions; const newActor: ActorCollectionCreateOptions = { name: actorConfig!.name as string, title: actorConfig!.title as string | undefined, diff --git a/src/commands/actors/start.ts b/src/commands/actors/start.ts index 57e57396d..37ce1a47e 100644 --- a/src/commands/actors/start.ts +++ b/src/commands/actors/start.ts @@ -154,9 +154,9 @@ export class ActorsStartCommand extends ApifyCommand const actorVersion = actorData.versions.find((item) => item.versionNumber === expectedActorVersion); - const runVersionTaggedAs = Object.entries( - (actorData.taggedBuilds ?? {}) as Record, - ).find(([, data]) => data.buildNumber === run.buildNumber)?.[0]; + const runVersionTaggedAs = Object.entries((actorData.taggedBuilds ?? {}) as Record).find( + ([, data]) => data.buildNumber === run.buildNumber, + )?.[0]; const messageParts = [`${chalk.yellow('Build')}:`, chalk.cyan(run.buildNumber)]; diff --git a/src/commands/api.ts b/src/commands/api.ts index d4825c9f8..19e1278a4 100644 --- a/src/commands/api.ts +++ b/src/commands/api.ts @@ -357,9 +357,7 @@ async function fetchEndpoints(): Promise { try { response = await fetch(OPENAPI_SPEC_URL); } catch (err) { - throw new Error( - `Failed to download the Apify OpenAPI spec from ${OPENAPI_SPEC_URL}: ${(err as Error).message}`, - ); + throw new Error(`Failed to download the Apify OpenAPI spec from ${OPENAPI_SPEC_URL}: ${(err as Error).message}`); } if (!response.ok) { diff --git a/src/commands/auth/login.ts b/src/commands/auth/login.ts index b5fa80a8b..9c8128401 100644 --- a/src/commands/auth/login.ts +++ b/src/commands/auth/login.ts @@ -216,9 +216,7 @@ export class AuthLoginCommand extends ApifyCommand { info({ message: `Opening Apify Console at "${consoleUrl.href}"...` }); await open(consoleUrl.href); } else { - console.log( - 'Enter your Apify API token. You can find it at https://console.apify.com/settings/integrations', - ); + console.log('Enter your Apify API token. You can find it at https://console.apify.com/settings/integrations'); const tokenAnswer = await useMaskedInput({ message: 'token:' }); await tryToLogin(tokenAnswer); diff --git a/src/commands/builds/create.ts b/src/commands/builds/create.ts index ed6181d65..9931fcc56 100644 --- a/src/commands/builds/create.ts +++ b/src/commands/builds/create.ts @@ -74,10 +74,7 @@ export class BuildsCreateCommand extends ApifyCommand actorVersion.buildTag ?? 'latest', - ); + const versionsByBuildTag = objectGroupBy(actorInfo.versions, (actorVersion) => actorVersion.buildTag ?? 'latest'); const taggedVersions = versionsByBuildTag[tag ?? 'latest']; const specificVersionExists = actorInfo.versions.find((v) => v.versionNumber === version); diff --git a/src/commands/builds/info.ts b/src/commands/builds/info.ts index 764ad0667..7153f1c49 100644 --- a/src/commands/builds/info.ts +++ b/src/commands/builds/info.ts @@ -84,9 +84,7 @@ export class BuildsInfoCommand extends ApifyCommand { ); } else { const diff = Date.now() - build.startedAt.getTime(); - message.push( - ` ${chalk.yellow('Finished')}: ${chalk.gray(`Running for ${DurationFormatter.format(diff)}`)}`, - ); + message.push(` ${chalk.yellow('Finished')}: ${chalk.gray(`Running for ${DurationFormatter.format(diff)}`)}`); } if (build.stats?.computeUnits) { diff --git a/src/commands/create.ts b/src/commands/create.ts index 41f8e2e2b..f5dcbacbc 100644 --- a/src/commands/create.ts +++ b/src/commands/create.ts @@ -321,15 +321,7 @@ export class CreateCommand extends ApifyCommand { await execWithLog({ cmd: runtime.executablePath, - args: [ - '-m', - 'pip', - 'install', - '--no-cache-dir', - '--no-warn-script-location', - '-r', - 'requirements.txt', - ], + args: ['-m', 'pip', 'install', '--no-cache-dir', '--no-warn-script-location', '-r', 'requirements.txt'], opts: { cwd: actFolderDir }, }); @@ -360,9 +352,7 @@ export class CreateCommand extends ApifyCommand { } // Suggest install command if dependencies were not installed - const installCommandSuggestion = !dependenciesInstalled - ? await getInstallCommandSuggestion(actFolderDir) - : null; + const installCommandSuggestion = !dependenciesInstalled ? await getInstallCommandSuggestion(actFolderDir) : null; // Success message with extra empty line simpleLog({ message: '' }); diff --git a/src/commands/datasets/get-items.ts b/src/commands/datasets/get-items.ts index ab1596970..93bf6847f 100644 --- a/src/commands/datasets/get-items.ts +++ b/src/commands/datasets/get-items.ts @@ -40,8 +40,7 @@ export class DatasetsGetItems extends ApifyCommand { static override flags = { limit: Flags.integer({ - description: - 'The amount of elements to get from the dataset. By default, it will return all available items.', + description: 'The amount of elements to get from the dataset. By default, it will return all available items.', }), offset: Flags.integer({ description: 'The offset in the dataset where to start getting items.', diff --git a/src/commands/datasets/info.ts b/src/commands/datasets/info.ts index 846141f54..431a2aa2d 100644 --- a/src/commands/datasets/info.ts +++ b/src/commands/datasets/info.ts @@ -100,8 +100,7 @@ export class DatasetsInfoCommand extends ApifyCommand { let inputSchemaStr; try { - inputSchemaStr = existsSync(inputSchemaPath) - ? readFileSync(inputSchemaPath, { encoding: 'utf-8' }) - : '{}\n'; + inputSchemaStr = existsSync(inputSchemaPath) ? readFileSync(inputSchemaPath, { encoding: 'utf-8' }) : '{}\n'; if (inputSchemaStr.length > 3) { jsonIndentation = detectIndent(inputSchemaStr).indent || jsonIndentation; } diff --git a/src/commands/help.ts b/src/commands/help.ts index c0b7588b3..568966797 100644 --- a/src/commands/help.ts +++ b/src/commands/help.ts @@ -43,9 +43,7 @@ export class HelpCommand extends ApifyCommand { if (closestMatches.length) { message += '\n '; - message += chalk.gray( - `Did you mean: ${closestMatches.map((cmd) => chalk.whiteBright(cmd)).join(', ')}?`, - ); + message += chalk.gray(`Did you mean: ${closestMatches.map((cmd) => chalk.whiteBright(cmd)).join(', ')}?`); } error({ diff --git a/src/commands/init.ts b/src/commands/init.ts index 315bbce6c..87f02ceb0 100644 --- a/src/commands/init.ts +++ b/src/commands/init.ts @@ -124,9 +124,7 @@ export class InitCommand extends ApifyCommand { } if (!actorName) { - let response = actorConfig.isOkAnd((cfg) => cfg.exists) - ? (actorConfig.unwrap().config.name as string) - : null; + let response = actorConfig.isOkAnd((cfg) => cfg.exists) ? (actorConfig.unwrap().config.name as string) : null; // TODO: see if we can use promptActorName instead while (!response) { diff --git a/src/commands/key-value-stores/get-value.ts b/src/commands/key-value-stores/get-value.ts index 460637619..44f06bf6a 100644 --- a/src/commands/key-value-stores/get-value.ts +++ b/src/commands/key-value-stores/get-value.ts @@ -8,8 +8,7 @@ import { getLoggedClientOrThrow } from '../../lib/utils.js'; export class KeyValueStoresGetValueCommand extends ApifyCommand { static override name = 'get-value' as const; - static override description = - 'Retrieves stored value for specified key. Use --only-content-type to check MIME type.'; + static override description = 'Retrieves stored value for specified key. Use --only-content-type to check MIME type.'; static override examples = [ { diff --git a/src/commands/key-value-stores/info.ts b/src/commands/key-value-stores/info.ts index 3e1b4f77f..b20f18d27 100644 --- a/src/commands/key-value-stores/info.ts +++ b/src/commands/key-value-stores/info.ts @@ -102,8 +102,7 @@ export class KeyValueStoresInfoCommand extends ApifyCommand { exclusive: ['resurrect'], }), resurrect: Flags.boolean({ - description: - 'Whether to keep the default request queue, dataset and key-value store before the run starts.', + description: 'Whether to keep the default request queue, dataset and key-value store before the run starts.', required: false, default: false, exclusive: ['purge'], @@ -137,8 +136,7 @@ export class RunCommand extends ApifyCommand { exclusive: ['input'], }), 'allow-missing-secrets': Flags.boolean({ - description: - 'Allow the command to continue even when secret values are not found in the local secrets storage.', + description: 'Allow the command to continue even when secret values are not found in the local secrets storage.', required: false, default: false, }), @@ -272,11 +270,7 @@ export class RunCommand extends ApifyCommand { CRAWLEE_PURGE_ON_START = '1'; if (crawleeVersion.isNone()) { - await Promise.all([ - purgeDefaultQueue(), - purgeDefaultKeyValueStore(resolvedInputKey), - purgeDefaultDataset(), - ]); + await Promise.all([purgeDefaultQueue(), purgeDefaultKeyValueStore(resolvedInputKey), purgeDefaultDataset()]); info({ message: 'All default local stores were purged.' }); } } @@ -336,11 +330,9 @@ export class RunCommand extends ApifyCommand { if (userId) localEnvVars[APIFY_ENV_VARS.USER_ID] = userId; if (token) localEnvVars[APIFY_ENV_VARS.TOKEN] = token; if (localConfig!.environmentVariables) { - const updatedEnv = replaceSecretsValue( - localConfig!.environmentVariables as Record, - undefined, - { allowMissing: this.flags.allowMissingSecrets }, - ); + const updatedEnv = replaceSecretsValue(localConfig!.environmentVariables as Record, undefined, { + allowMissing: this.flags.allowMissingSecrets, + }); Object.assign(localEnvVars, updatedEnv); } @@ -547,12 +539,10 @@ export class RunCommand extends ApifyCommand { switch (inputOverride?.source) { case 'stdin': - errorHeader = - 'The input provided through standard input is invalid. Please fix the following errors:\n'; + errorHeader = 'The input provided through standard input is invalid. Please fix the following errors:\n'; break; case 'input': - errorHeader = - 'The input provided through the --input flag is invalid. Please fix the following errors:\n'; + errorHeader = 'The input provided through the --input flag is invalid. Please fix the following errors:\n'; break; default: if (inputOverride) { @@ -574,9 +564,7 @@ export class RunCommand extends ApifyCommand { if (errors.length > 0) { throw new Error( - `${errorHeader}${errors - .map((e) => ` - ${e.message.replace('Field input.', 'Field ')}`) - .join('\n')}`, + `${errorHeader}${errors.map((e) => ` - ${e.message.replace('Field input.', 'Field ')}`).join('\n')}`, ); } @@ -622,9 +610,7 @@ export class RunCommand extends ApifyCommand { if (errors.length > 0) { throw new Error( - `${errorHeader}${errors - .map((e) => ` - ${e.message.replace('Field input.', 'Field ')}`) - .join('\n')}`, + `${errorHeader}${errors.map((e) => ` - ${e.message.replace('Field input.', 'Field ')}`).join('\n')}`, ); } diff --git a/src/commands/runs/info.ts b/src/commands/runs/info.ts index 96000fb6a..7c0118548 100644 --- a/src/commands/runs/info.ts +++ b/src/commands/runs/info.ts @@ -180,9 +180,7 @@ export class RunsInfoCommand extends ApifyCommand { ); } else { const diff = Date.now() - run.startedAt.getTime(); - message.push( - `${chalk.yellow('Finished')}: ${chalk.gray(`Running for ${ShortDurationFormatter.format(diff)}`)}`, - ); + message.push(`${chalk.yellow('Finished')}: ${chalk.gray(`Running for ${ShortDurationFormatter.format(diff)}`)}`); } // Separator @@ -212,9 +210,9 @@ export class RunsInfoCommand extends ApifyCommand { const actorVersion = actor.versions.find((item) => item.versionNumber === expectedActorVersion); - const runVersionTaggedAs = Object.entries( - (actor.taggedBuilds ?? {}) as Record, - ).find(([, data]) => data.buildNumber === run.buildNumber)?.[0]; + const runVersionTaggedAs = Object.entries((actor.taggedBuilds ?? {}) as Record).find( + ([, data]) => data.buildNumber === run.buildNumber, + )?.[0]; const messageParts = [`${chalk.yellow('Build')}:`, chalk.cyan(run.buildNumber)]; diff --git a/src/commands/secrets/_index.ts b/src/commands/secrets/_index.ts index 69b1146da..95e5b030c 100644 --- a/src/commands/secrets/_index.ts +++ b/src/commands/secrets/_index.ts @@ -7,8 +7,7 @@ import { SecretsRmCommand } from './rm.js'; export class SecretsIndexCommand extends ApifyCommand { static override name = 'secrets' as const; - static override description = - `Manage locally stored secrets that can be referenced from '${LOCAL_CONFIG_PATH}' environment variables using the "@" prefix (e.g. "@mySecret"). Secrets are uploaded alongside the Actor and stored encrypted on the Apify platform.`; + static override description = `Manage locally stored secrets that can be referenced from '${LOCAL_CONFIG_PATH}' environment variables using the "@" prefix (e.g. "@mySecret"). Secrets are uploaded alongside the Actor and stored encrypted on the Apify platform.`; static override group = 'Authentication'; diff --git a/src/commands/task/_index.ts b/src/commands/task/_index.ts index 87944566b..f44286d6e 100644 --- a/src/commands/task/_index.ts +++ b/src/commands/task/_index.ts @@ -4,8 +4,7 @@ import { TaskRunCommand } from './run.js'; export class TasksIndexCommand extends ApifyCommand { static override name = 'task' as const; - static override description = - `Run saved Apify tasks (named Actor configurations). Only 'task run' is available; create and manage tasks in Apify Console.`; + static override description = `Run saved Apify tasks (named Actor configurations). Only 'task run' is available; create and manage tasks in Apify Console.`; static override group = 'Apify Console'; diff --git a/src/commands/validate-schema.ts b/src/commands/validate-schema.ts index e07c5d422..4940f197a 100644 --- a/src/commands/validate-schema.ts +++ b/src/commands/validate-schema.ts @@ -120,8 +120,7 @@ When no path is provided, validates all schemas found in '${LOCAL_CONFIG_PATH}': }, { label: 'Key-Value Store', - read: () => - readStorageSchema({ cwd, key: 'keyValueStore', label: 'Key-Value Store', throwOnMissing: true }), + read: () => readStorageSchema({ cwd, key: 'keyValueStore', label: 'Key-Value Store', throwOnMissing: true }), validate: validateKvsSchema, }, ]; @@ -133,9 +132,7 @@ When no path is provided, validates all schemas found in '${LOCAL_CONFIG_PATH}': if (result) { foundAny = true; - const location = result.schemaPath - ? `at ${result.schemaPath}` - : `embedded in '${LOCAL_CONFIG_PATH}'`; + const location = result.schemaPath ? `at ${result.schemaPath}` : `embedded in '${LOCAL_CONFIG_PATH}'`; info({ message: `Validating ${label} schema ${location}` }); validate(result.schema); @@ -149,9 +146,7 @@ When no path is provided, validates all schemas found in '${LOCAL_CONFIG_PATH}': } if (!foundAny) { - throw new Error( - `No schemas found. Make sure '${LOCAL_CONFIG_PATH}' exists and defines at least one schema.`, - ); + throw new Error(`No schemas found. Make sure '${LOCAL_CONFIG_PATH}' exists and defines at least one schema.`); } if (hasErrors) { diff --git a/src/lib/command-framework/CommandError.ts b/src/lib/command-framework/CommandError.ts index f7831817e..f73a204de 100644 --- a/src/lib/command-framework/CommandError.ts +++ b/src/lib/command-framework/CommandError.ts @@ -82,18 +82,14 @@ export class CommandError extends Error { name: match.groups!.flagName, expectsValue: match.groups!.noArg === undefined, ambiguousFlag: match.groups!.ambiguous ? match.groups!.ambiguous : undefined, - ambiguousMessage: match.groups!.ambiguousMessage - ? match.groups!.ambiguousMessage.trim() - : undefined, + ambiguousMessage: match.groups!.ambiguousMessage ? match.groups!.ambiguousMessage.trim() : undefined, }; return flagData; } case CommandErrorCode.NODEJS_ERR_PARSE_ARGS_UNKNOWN_OPTION: { - const match = /Unknown option '-(?-)?(?.+)'\.(?.*)/gi.exec( - this.message, - ); + const match = /Unknown option '-(?-)?(?.+)'\.(?.*)/gi.exec(this.message); if (!match) { throw new Error( @@ -134,9 +130,7 @@ export class CommandError extends Error { chalk.gray( `Unknown flag provided: ${chalk.white.bold(flagData.shortForm ? `-${flagData.name}` : `--${flagData.name}`)}`, ), - flagData.unknownOptionSuggestion - ? chalk.gray(` ${flagData.unknownOptionSuggestion.trim()}`) - : null, + flagData.unknownOptionSuggestion ? chalk.gray(` ${flagData.unknownOptionSuggestion.trim()}`) : null, '', helpMessage, ] @@ -190,9 +184,7 @@ export class CommandError extends Error { for (const [a, b] of flagPairs) { messageParts.push( - chalk.gray( - `${redArrow}${chalk.white.bold(a)} cannot also be provided when using ${chalk.white.bold(b)}`, - ), + chalk.gray(`${redArrow}${chalk.white.bold(a)} cannot also be provided when using ${chalk.white.bold(b)}`), ); } diff --git a/src/lib/command-framework/apify-command.ts b/src/lib/command-framework/apify-command.ts index 8c64af0d0..71b2e8563 100644 --- a/src/lib/command-framework/apify-command.ts +++ b/src/lib/command-framework/apify-command.ts @@ -474,9 +474,7 @@ export abstract class ApifyCommand token.kind === 'option' && token.name === baseFlagName, - ); + const usedShortFormOfTheFlag = rawTokens.some((token) => token.kind === 'option' && token.name === baseFlagName); if (builderData.exclusive?.length) { const existingExclusiveFlags = exclusiveFlagMap.get(baseFlagName) ?? new Set(); @@ -820,20 +818,14 @@ export abstract class ApifyCommand