From 9e368087eb28a0da293dc48bbc4ad95eb22fcb3e Mon Sep 17 00:00:00 2001 From: "apify-deps[bot]" <318662269+apify-deps[bot]@users.noreply.github.com> Date: Wed, 30 Sep 2026 15:24:59 +0200 Subject: [PATCH 1/2] chore(deps): security bumps + minimatch override prune (#4175) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Dependency sweep โ€” security bumps (all within existing ranges): - `brace-expansion` 1.1.18 โ†’ 1.1.21 in `website/versioned_docs/version-3.18/yarn.lock` (high/high/medium) A broader `pnpm update -r` freshening pass was tried first (per this repo's `lockfileRefresh: true` option), but it bumped `oxlint` 1.62 โ†’ 1.86 and broke the `Lint` check on new rules flagging pre-existing test code unrelated to this sweep โ€” narrowed back to just the security fix + override prune below, per the skill's CI-gate rule ("the freshening isn't worth a red build"). ## ๐Ÿงน Pruned overrides (no longer needed) - `minimatch` (blanket `^9.0.0` dedupe) โ€” no longer doing a useful job: it was capping direct v10 consumers (e.g. `@crawlee/basic`'s own `^10.0.1`) *below* their declared range with no offsetting benefit. Dropping it moves `@crawlee/basic`'s minimatch to `^10.2.6`. The lerna-specific `lerna>minimatch: ^3.1.4` pin (needed for lerna 9.x's CJS-only bundled code) is untouched and still applies. ## โœ… Dismissed (don't apply to our usage) _None โ€” all 3 open alerts were fixed directly._ ## ๐Ÿšฉ Flagged โ€” needs review - `header-generator>ow` override (`^2.0.0`) โ€” likely stale: `@crawlee/*` packages now resolve `ow@1.1.1` (not `2.0.0`), so forcing header-generator's nested copy to `2.0.0` no longer achieves a true dedupe and risks reintroducing the original branded-symbol type mismatch (`@crawlee/stagehand`'s build) the override was added to prevent, just at 1.x vs 2.x instead of 0.28.x vs 2.x. Needs a human to verify `@crawlee/stagehand`'s build against a single matched major (e.g. bump the override to `^1.1.1`, or confirm 1.x/2.x predicate types don't actually clash) before changing it. ๐Ÿค– Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: apify-deps[bot] <4649591+apify-deps[bot]@users.noreply.github.com> --- packages/basic-crawler/package.json | 2 +- pnpm-lock.yaml | 350 +++++++++--------- pnpm-workspace.yaml | 10 +- website/versioned_docs/version-3.18/yarn.lock | 6 +- 4 files changed, 188 insertions(+), 180 deletions(-) diff --git a/packages/basic-crawler/package.json b/packages/basic-crawler/package.json index 241a2d266178..03e99230f727 100644 --- a/packages/basic-crawler/package.json +++ b/packages/basic-crawler/package.json @@ -49,7 +49,7 @@ "@sapphire/async-queue": "^1.5.5", "@standard-schema/spec": "^1.0.0", "csv-stringify": "^6.5.2", - "minimatch": "^10.0.1", + "minimatch": "^10.2.6", "tldts": "^7.0.6", "tough-cookie": "^6.0.0", "tslib": "^2.8.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3b0dd53e141e..f1c4143a79c0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -166,10 +166,9 @@ catalogs: default: zod: specifier: ^4.5.4 - version: 4.5.4 + version: 4.6.5 overrides: - minimatch: ^9.0.0 '@puppeteer/browsers': ^3.0.4 tar: ^7.5.16 lerna>js-yaml: ^4.2.0 @@ -424,7 +423,7 @@ importers: version: 4.1.4(@opentelemetry/api@1.9.0)(@types/node@24.12.2)(@vitest/coverage-v8@4.1.4)(jsdom@26.1.0(bufferutil@4.1.0)(supports-color@7.2.0))(vite@8.0.8(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)(terser@5.46.1)(tsx@4.21.0)(yaml@2.9.0)) zod: specifier: 'catalog:' - version: 4.5.4 + version: 4.6.5 docs: dependencies: @@ -469,7 +468,7 @@ importers: version: 1.43.0 apify: specifier: ^4.0.0-beta.35 - version: 4.0.0-beta.35(bufferutil@4.1.0)(debug@4.4.3(supports-color@7.2.0))(supports-color@8.1.1) + version: 4.0.0-beta.35(bufferutil@4.1.0)(debug@4.4.3(supports-color@8.1.1))(supports-color@8.1.1) crawlee: specifier: workspace:* version: link:../packages/crawlee @@ -529,8 +528,8 @@ importers: specifier: ^6.5.2 version: 6.7.0 minimatch: - specifier: ^9.0.0 - version: 9.0.9 + specifier: ^10.2.6 + version: 10.2.6 tldts: specifier: ^7.0.6 version: 7.0.28 @@ -545,7 +544,7 @@ importers: version: 4.41.0 zod: specifier: 'catalog:' - version: 4.5.4 + version: 4.6.5 optionalDependencies: '@crawlee/impit-client': specifier: workspace:^ @@ -582,7 +581,7 @@ importers: version: 4.41.0 zod: specifier: 'catalog:' - version: 4.5.4 + version: 4.6.5 packages/browser-pool: dependencies: @@ -633,7 +632,7 @@ importers: version: 2.8.1 zod: specifier: 'catalog:' - version: 4.5.4 + version: 4.6.5 packages/cheerio-crawler: dependencies: @@ -735,7 +734,7 @@ importers: version: 4.41.0 zod: specifier: 'catalog:' - version: 4.5.4 + version: 4.6.5 packages/crawlee: dependencies: @@ -801,7 +800,7 @@ importers: version: link:../utils zod: specifier: 'catalog:' - version: 4.5.4 + version: 4.6.5 packages/got-scraping-client: dependencies: @@ -867,7 +866,7 @@ importers: version: 4.41.0 zod: specifier: 'catalog:' - version: 4.5.4 + version: 4.6.5 packages/impit-client: dependencies: @@ -904,7 +903,7 @@ importers: version: 0.210.0 semver: specifier: ^7.7.0 - version: 7.7.4 + version: 7.8.5 packages/playwright-crawler: dependencies: @@ -961,7 +960,7 @@ importers: version: 4.41.0 zod: specifier: 'catalog:' - version: 4.5.4 + version: 4.6.5 packages/puppeteer-crawler: dependencies: @@ -1000,7 +999,7 @@ importers: version: 2.8.1 zod: specifier: 'catalog:' - version: 4.5.4 + version: 4.6.5 packages/stagehand-crawler: dependencies: @@ -1027,11 +1026,11 @@ importers: version: 2.8.1 zod: specifier: 'catalog:' - version: 4.5.4 + version: 4.6.5 devDependencies: '@browserbasehq/stagehand': specifier: 3.0.7 - version: 3.0.7(@cfworker/json-schema@4.1.1)(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(deepmerge@4.3.1)(dotenv@16.4.7)(encoding@0.1.13)(supports-color@8.1.1)(zod@4.5.4) + version: 3.0.7(@cfworker/json-schema@4.1.1)(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(deepmerge@4.3.1)(dotenv@16.4.7)(encoding@0.1.13)(supports-color@8.1.1)(zod@4.6.5) playwright: specifier: ^1.60.0 version: 1.61.1 @@ -1055,7 +1054,7 @@ importers: version: 1.2.0 '@apify/validations': specifier: ^1.1.0 - version: 1.1.0 + version: 1.1.1 '@crawlee/http-client': specifier: workspace:* version: link:../http-client @@ -1091,7 +1090,7 @@ importers: version: 4.0.0 zod: specifier: 'catalog:' - version: 4.5.4 + version: 4.6.5 website: dependencies: @@ -5791,19 +5790,9 @@ packages: ajv-formats@2.1.1: resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} - peerDependencies: - ajv: ^8.0.0 - peerDependenciesMeta: - ajv: - optional: true ajv-formats@3.0.1: resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==} - peerDependencies: - ajv: ^8.0.0 - peerDependenciesMeta: - ajv: - optional: true ajv-keywords@3.5.2: resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==} @@ -5842,7 +5831,6 @@ packages: ansi-html-community@0.0.8: resolution: {integrity: sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==} - engines: {'0': node >= 0.8.0} hasBin: true ansi-regex@5.0.1: @@ -6584,7 +6572,6 @@ packages: concat-stream@2.0.0: resolution: {integrity: sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==} - engines: {'0': node >= 6.0} confbox@0.1.8: resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==} @@ -9167,7 +9154,6 @@ packages: jsonparse@1.3.1: resolution: {integrity: sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==} - engines: {'0': node >= 0.2.0} jsx-ast-utils@3.3.5: resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==} @@ -9868,6 +9854,22 @@ packages: minimalistic-crypto-utils@1.0.1: resolution: {integrity: sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==} + minimatch@10.2.3: + resolution: {integrity: sha512-Rwi3pnapEqirPSbWbrZaa6N3nmqq4Xer/2XooiOKyV3q12ML06f7MOuc5DVH8ONZIFhwIYQ3yzPH4nt7iWHaTg==} + engines: {node: 18 || 20 || >=22} + + minimatch@10.2.4: + resolution: {integrity: sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==} + engines: {node: 18 || 20 || >=22} + + minimatch@10.2.5: + resolution: {integrity: sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==} + engines: {node: 18 || 20 || >=22} + + minimatch@10.2.6: + resolution: {integrity: sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==} + engines: {node: 18 || 20 || >=22} + minimatch@3.1.5: resolution: {integrity: sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==} @@ -13225,123 +13227,123 @@ snapshots: section-matter: 1.0.0 strip-bom-string: 1.0.0 - '@ai-sdk/anthropic@2.0.74(zod@4.5.4)': + '@ai-sdk/anthropic@2.0.74(zod@4.6.5)': dependencies: '@ai-sdk/provider': 2.0.1 - '@ai-sdk/provider-utils': 3.0.23(zod@4.5.4) - zod: 4.5.4 + '@ai-sdk/provider-utils': 3.0.23(zod@4.6.5) + zod: 4.6.5 optional: true - '@ai-sdk/azure@2.0.104(zod@4.5.4)': + '@ai-sdk/azure@2.0.104(zod@4.6.5)': dependencies: - '@ai-sdk/openai': 2.0.102(zod@4.5.4) + '@ai-sdk/openai': 2.0.102(zod@4.6.5) '@ai-sdk/provider': 2.0.1 - '@ai-sdk/provider-utils': 3.0.23(zod@4.5.4) - zod: 4.5.4 + '@ai-sdk/provider-utils': 3.0.23(zod@4.6.5) + zod: 4.6.5 optional: true - '@ai-sdk/cerebras@1.0.40(zod@4.5.4)': + '@ai-sdk/cerebras@1.0.40(zod@4.6.5)': dependencies: - '@ai-sdk/openai-compatible': 1.0.35(zod@4.5.4) + '@ai-sdk/openai-compatible': 1.0.35(zod@4.6.5) '@ai-sdk/provider': 2.0.1 - '@ai-sdk/provider-utils': 3.0.23(zod@4.5.4) - zod: 4.5.4 + '@ai-sdk/provider-utils': 3.0.23(zod@4.6.5) + zod: 4.6.5 optional: true - '@ai-sdk/deepseek@1.0.36(zod@4.5.4)': + '@ai-sdk/deepseek@1.0.36(zod@4.6.5)': dependencies: '@ai-sdk/provider': 2.0.1 - '@ai-sdk/provider-utils': 3.0.23(zod@4.5.4) - zod: 4.5.4 + '@ai-sdk/provider-utils': 3.0.23(zod@4.6.5) + zod: 4.6.5 optional: true - '@ai-sdk/gateway@2.0.77(zod@4.5.4)': + '@ai-sdk/gateway@2.0.77(zod@4.6.5)': dependencies: '@ai-sdk/provider': 2.0.1 - '@ai-sdk/provider-utils': 3.0.23(zod@4.5.4) + '@ai-sdk/provider-utils': 3.0.23(zod@4.6.5) '@vercel/oidc': 3.1.0 - zod: 4.5.4 + zod: 4.6.5 - '@ai-sdk/google-vertex@3.0.128(supports-color@8.1.1)(zod@4.5.4)': + '@ai-sdk/google-vertex@3.0.128(supports-color@8.1.1)(zod@4.6.5)': dependencies: - '@ai-sdk/anthropic': 2.0.74(zod@4.5.4) - '@ai-sdk/google': 2.0.68(zod@4.5.4) - '@ai-sdk/openai-compatible': 1.0.35(zod@4.5.4) + '@ai-sdk/anthropic': 2.0.74(zod@4.6.5) + '@ai-sdk/google': 2.0.68(zod@4.6.5) + '@ai-sdk/openai-compatible': 1.0.35(zod@4.6.5) '@ai-sdk/provider': 2.0.1 - '@ai-sdk/provider-utils': 3.0.23(zod@4.5.4) + '@ai-sdk/provider-utils': 3.0.23(zod@4.6.5) google-auth-library: 10.6.2(supports-color@8.1.1) - zod: 4.5.4 + zod: 4.6.5 transitivePeerDependencies: - supports-color optional: true - '@ai-sdk/google@2.0.68(zod@4.5.4)': + '@ai-sdk/google@2.0.68(zod@4.6.5)': dependencies: '@ai-sdk/provider': 2.0.1 - '@ai-sdk/provider-utils': 3.0.23(zod@4.5.4) - zod: 4.5.4 + '@ai-sdk/provider-utils': 3.0.23(zod@4.6.5) + zod: 4.6.5 optional: true - '@ai-sdk/groq@2.0.37(zod@4.5.4)': + '@ai-sdk/groq@2.0.37(zod@4.6.5)': dependencies: '@ai-sdk/provider': 2.0.1 - '@ai-sdk/provider-utils': 3.0.23(zod@4.5.4) - zod: 4.5.4 + '@ai-sdk/provider-utils': 3.0.23(zod@4.6.5) + zod: 4.6.5 optional: true - '@ai-sdk/mistral@2.0.30(zod@4.5.4)': + '@ai-sdk/mistral@2.0.30(zod@4.6.5)': dependencies: '@ai-sdk/provider': 2.0.1 - '@ai-sdk/provider-utils': 3.0.23(zod@4.5.4) - zod: 4.5.4 + '@ai-sdk/provider-utils': 3.0.23(zod@4.6.5) + zod: 4.6.5 optional: true - '@ai-sdk/openai-compatible@1.0.35(zod@4.5.4)': + '@ai-sdk/openai-compatible@1.0.35(zod@4.6.5)': dependencies: '@ai-sdk/provider': 2.0.1 - '@ai-sdk/provider-utils': 3.0.23(zod@4.5.4) - zod: 4.5.4 + '@ai-sdk/provider-utils': 3.0.23(zod@4.6.5) + zod: 4.6.5 optional: true - '@ai-sdk/openai@2.0.102(zod@4.5.4)': + '@ai-sdk/openai@2.0.102(zod@4.6.5)': dependencies: '@ai-sdk/provider': 2.0.1 - '@ai-sdk/provider-utils': 3.0.23(zod@4.5.4) - zod: 4.5.4 + '@ai-sdk/provider-utils': 3.0.23(zod@4.6.5) + zod: 4.6.5 optional: true - '@ai-sdk/perplexity@2.0.27(zod@4.5.4)': + '@ai-sdk/perplexity@2.0.27(zod@4.6.5)': dependencies: '@ai-sdk/provider': 2.0.1 - '@ai-sdk/provider-utils': 3.0.23(zod@4.5.4) - zod: 4.5.4 + '@ai-sdk/provider-utils': 3.0.23(zod@4.6.5) + zod: 4.6.5 optional: true - '@ai-sdk/provider-utils@3.0.23(zod@4.5.4)': + '@ai-sdk/provider-utils@3.0.23(zod@4.6.5)': dependencies: '@ai-sdk/provider': 2.0.1 '@standard-schema/spec': 1.1.0 eventsource-parser: 3.0.6 - zod: 4.5.4 + zod: 4.6.5 '@ai-sdk/provider@2.0.1': dependencies: json-schema: 0.4.0 - '@ai-sdk/togetherai@1.0.38(zod@4.5.4)': + '@ai-sdk/togetherai@1.0.38(zod@4.6.5)': dependencies: - '@ai-sdk/openai-compatible': 1.0.35(zod@4.5.4) + '@ai-sdk/openai-compatible': 1.0.35(zod@4.6.5) '@ai-sdk/provider': 2.0.1 - '@ai-sdk/provider-utils': 3.0.23(zod@4.5.4) - zod: 4.5.4 + '@ai-sdk/provider-utils': 3.0.23(zod@4.6.5) + zod: 4.6.5 optional: true - '@ai-sdk/xai@2.0.67(zod@4.5.4)': + '@ai-sdk/xai@2.0.67(zod@4.6.5)': dependencies: - '@ai-sdk/openai-compatible': 1.0.35(zod@4.5.4) + '@ai-sdk/openai-compatible': 1.0.35(zod@4.6.5) '@ai-sdk/provider': 2.0.1 - '@ai-sdk/provider-utils': 3.0.23(zod@4.5.4) - zod: 4.5.4 + '@ai-sdk/provider-utils': 3.0.23(zod@4.6.5) + zod: 4.6.5 optional: true '@algolia/abtesting@1.16.1': @@ -13579,7 +13581,7 @@ snapshots: '@apify/validations@1.1.0': dependencies: - zod: 4.5.4 + zod: 4.6.5 '@apify/validations@1.1.1': dependencies: @@ -14361,43 +14363,43 @@ snapshots: transitivePeerDependencies: - encoding - '@browserbasehq/stagehand@3.0.7(@cfworker/json-schema@4.1.1)(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(deepmerge@4.3.1)(dotenv@16.4.7)(encoding@0.1.13)(supports-color@8.1.1)(zod@4.5.4)': + '@browserbasehq/stagehand@3.0.7(@cfworker/json-schema@4.1.1)(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(deepmerge@4.3.1)(dotenv@16.4.7)(encoding@0.1.13)(supports-color@8.1.1)(zod@4.6.5)': dependencies: '@ai-sdk/provider': 2.0.1 '@anthropic-ai/sdk': 0.39.0(encoding@0.1.13) '@browserbasehq/sdk': 2.10.0(encoding@0.1.13) - '@google/genai': 1.50.0(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(supports-color@8.1.1)(zod@4.5.4))(bufferutil@4.1.0)(supports-color@8.1.1) - '@langchain/openai': 0.4.9(@langchain/core@0.3.80(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(openai@4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.5.4)))(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0)) - '@modelcontextprotocol/sdk': 1.29.0(@cfworker/json-schema@4.1.1)(supports-color@8.1.1)(zod@4.5.4) - ai: 5.0.173(zod@4.5.4) + '@google/genai': 1.50.0(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(supports-color@8.1.1)(zod@4.6.5))(bufferutil@4.1.0)(supports-color@8.1.1) + '@langchain/openai': 0.4.9(@langchain/core@0.3.80(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(openai@4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.6.5)))(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0)) + '@modelcontextprotocol/sdk': 1.29.0(@cfworker/json-schema@4.1.1)(supports-color@8.1.1)(zod@4.6.5) + ai: 5.0.173(zod@4.6.5) deepmerge: 4.3.1 devtools-protocol: 0.0.1464554 dotenv: 16.4.7 fetch-cookie: 3.2.0 - openai: 4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.5.4) + openai: 4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.6.5) pino: 9.14.0 pino-pretty: 13.1.3 uuid: 11.1.1 ws: 8.21.3(bufferutil@4.1.0) - zod: 4.5.4 - zod-to-json-schema: 3.25.2(zod@4.5.4) + zod: 4.6.5 + zod-to-json-schema: 3.25.2(zod@4.6.5) optionalDependencies: - '@ai-sdk/anthropic': 2.0.74(zod@4.5.4) - '@ai-sdk/azure': 2.0.104(zod@4.5.4) - '@ai-sdk/cerebras': 1.0.40(zod@4.5.4) - '@ai-sdk/deepseek': 1.0.36(zod@4.5.4) - '@ai-sdk/google': 2.0.68(zod@4.5.4) - '@ai-sdk/google-vertex': 3.0.128(supports-color@8.1.1)(zod@4.5.4) - '@ai-sdk/groq': 2.0.37(zod@4.5.4) - '@ai-sdk/mistral': 2.0.30(zod@4.5.4) - '@ai-sdk/openai': 2.0.102(zod@4.5.4) - '@ai-sdk/perplexity': 2.0.27(zod@4.5.4) - '@ai-sdk/togetherai': 1.0.38(zod@4.5.4) - '@ai-sdk/xai': 2.0.67(zod@4.5.4) - '@langchain/core': 0.3.80(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(openai@4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.5.4)) + '@ai-sdk/anthropic': 2.0.74(zod@4.6.5) + '@ai-sdk/azure': 2.0.104(zod@4.6.5) + '@ai-sdk/cerebras': 1.0.40(zod@4.6.5) + '@ai-sdk/deepseek': 1.0.36(zod@4.6.5) + '@ai-sdk/google': 2.0.68(zod@4.6.5) + '@ai-sdk/google-vertex': 3.0.128(supports-color@8.1.1)(zod@4.6.5) + '@ai-sdk/groq': 2.0.37(zod@4.6.5) + '@ai-sdk/mistral': 2.0.30(zod@4.6.5) + '@ai-sdk/openai': 2.0.102(zod@4.6.5) + '@ai-sdk/perplexity': 2.0.27(zod@4.6.5) + '@ai-sdk/togetherai': 1.0.38(zod@4.6.5) + '@ai-sdk/xai': 2.0.67(zod@4.6.5) + '@langchain/core': 0.3.80(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(openai@4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.6.5)) bufferutil: 4.1.0 chrome-launcher: 1.2.1(supports-color@8.1.1) - ollama-ai-provider-v2: 1.5.5(zod@4.5.4) + ollama-ai-provider-v2: 1.5.5(zod@4.6.5) patchright-core: 1.59.4 playwright: 1.61.1 playwright-core: 1.61.1 @@ -15888,7 +15890,7 @@ snapshots: ignore: 5.3.2 import-fresh: 3.3.1 js-yaml: 4.3.1 - minimatch: 9.0.9 + minimatch: 3.1.5 strip-json-comments: 3.1.1 transitivePeerDependencies: - supports-color @@ -15903,14 +15905,14 @@ snapshots: react: 19.2.5 react-dom: 19.2.5(react@19.2.5) - '@google/genai@1.50.0(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(supports-color@8.1.1)(zod@4.5.4))(bufferutil@4.1.0)(supports-color@8.1.1)': + '@google/genai@1.50.0(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(supports-color@8.1.1)(zod@4.6.5))(bufferutil@4.1.0)(supports-color@8.1.1)': dependencies: google-auth-library: 10.6.2(supports-color@8.1.1) p-retry: 4.6.2 protobufjs: 7.6.5 ws: 8.21.3(bufferutil@4.1.0) optionalDependencies: - '@modelcontextprotocol/sdk': 1.29.0(@cfworker/json-schema@4.1.1)(supports-color@8.1.1)(zod@4.5.4) + '@modelcontextprotocol/sdk': 1.29.0(@cfworker/json-schema@4.1.1)(supports-color@8.1.1)(zod@4.6.5) transitivePeerDependencies: - bufferutil - supports-color @@ -15942,7 +15944,7 @@ snapshots: dependencies: '@humanwhocodes/object-schema': 2.0.3 debug: 4.4.3(supports-color@8.1.1) - minimatch: 9.0.9 + minimatch: 3.1.5 transitivePeerDependencies: - supports-color @@ -16271,14 +16273,14 @@ snapshots: '@keyv/serialize@1.1.1': {} - '@langchain/core@0.3.80(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(openai@4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.5.4))': + '@langchain/core@0.3.80(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(openai@4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.6.5))': dependencies: '@cfworker/json-schema': 4.1.1 ansi-styles: 5.2.0 camelcase: 6.3.0 decamelize: 1.2.0 js-tiktoken: 1.0.21 - langsmith: 0.3.87(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(openai@4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.5.4)) + langsmith: 0.3.87(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(openai@4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.6.5)) mustache: 4.2.0 p-queue: 6.6.2 p-retry: 4.6.2 @@ -16291,9 +16293,9 @@ snapshots: - '@opentelemetry/sdk-trace-base' - openai - '@langchain/openai@0.4.9(@langchain/core@0.3.80(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(openai@4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.5.4)))(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))': + '@langchain/openai@0.4.9(@langchain/core@0.3.80(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(openai@4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.6.5)))(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))': dependencies: - '@langchain/core': 0.3.80(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(openai@4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.5.4)) + '@langchain/core': 0.3.80(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(openai@4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.6.5)) js-tiktoken: 1.0.21 openai: 4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@3.25.76) zod: 3.25.76 @@ -16368,7 +16370,7 @@ snapshots: '@rushstack/terminal': 0.24.3(@types/node@24.12.2) '@rushstack/ts-command-line': 5.3.13(@types/node@24.12.2) diff: 8.0.4 - minimatch: 9.0.9 + minimatch: 10.2.3 resolve: 1.22.12 semver: 7.7.4 source-map: 0.6.1 @@ -16385,11 +16387,11 @@ snapshots: '@microsoft/tsdoc@0.16.0': {} - '@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(supports-color@8.1.1)(zod@4.5.4)': + '@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(supports-color@8.1.1)(zod@4.6.5)': dependencies: '@hono/node-server': 1.19.17(hono@4.13.3) ajv: 8.20.0 - ajv-formats: 3.0.1(ajv@8.20.0) + ajv-formats: 3.0.1 content-type: 1.0.5 cors: 2.8.6 cross-spawn: 7.0.6 @@ -16402,8 +16404,8 @@ snapshots: json-schema-typed: 8.0.2 pkce-challenge: 5.0.1 raw-body: 3.0.2 - zod: 4.5.4 - zod-to-json-schema: 3.25.2(zod@4.5.4) + zod: 4.6.5 + zod-to-json-schema: 3.25.2(zod@4.6.5) optionalDependencies: '@cfworker/json-schema': 4.1.1 transitivePeerDependencies: @@ -16515,7 +16517,7 @@ snapshots: hosted-git-info: 9.0.2 json-stringify-nice: 1.1.4 lru-cache: 11.3.5 - minimatch: 9.0.9 + minimatch: 10.2.6 nopt: 8.1.0 npm-install-checks: 7.1.2 npm-package-arg: 13.0.1 @@ -16579,7 +16581,7 @@ snapshots: '@npmcli/name-from-folder': 4.0.0 '@npmcli/package-json': 7.0.2 glob: 13.0.6 - minimatch: 9.0.9 + minimatch: 10.2.6 '@npmcli/metavuln-calculator@9.0.3(supports-color@7.2.0)': dependencies: @@ -16641,7 +16643,7 @@ snapshots: '@zkochan/js-yaml': 0.0.7 ejs: 5.0.1 enquirer: 2.3.6 - minimatch: 9.0.9 + minimatch: 10.2.4 nx: 22.7.8(@swc/core@1.15.43) semver: 7.7.4 tslib: 2.8.1 @@ -17506,7 +17508,7 @@ snapshots: dependencies: ajv: 8.20.0 ajv-draft-04: 1.0.0(ajv@8.20.0) - ajv-formats: 3.0.1(ajv@8.20.0) + ajv-formats: 3.0.1 fs-extra: 11.3.4 import-lazy: 4.0.0 jju: 1.4.0 @@ -17907,7 +17909,7 @@ snapshots: '@tufjs/models@4.1.0': dependencies: '@tufjs/canonical-json': 2.0.0 - minimatch: 9.0.9 + minimatch: 10.2.6 '@turbo/darwin-64@2.10.11': optional: true @@ -18749,24 +18751,24 @@ snapshots: clean-stack: 2.2.0 indent-string: 4.0.0 - ai@5.0.173(zod@4.5.4): + ai@5.0.173(zod@4.6.5): dependencies: - '@ai-sdk/gateway': 2.0.77(zod@4.5.4) + '@ai-sdk/gateway': 2.0.77(zod@4.6.5) '@ai-sdk/provider': 2.0.1 - '@ai-sdk/provider-utils': 3.0.23(zod@4.5.4) + '@ai-sdk/provider-utils': 3.0.23(zod@4.6.5) '@opentelemetry/api': 1.9.0 - zod: 4.5.4 + zod: 4.6.5 ajv-draft-04@1.0.0(ajv@8.20.0): optionalDependencies: ajv: 8.20.0 - ajv-formats@2.1.1(ajv@8.20.0): - optionalDependencies: + ajv-formats@2.1.1: + dependencies: ajv: 8.20.0 - ajv-formats@3.0.1(ajv@8.20.0): - optionalDependencies: + ajv-formats@3.0.1: + dependencies: ajv: 8.20.0 ajv-keywords@3.5.2(ajv@6.14.0): @@ -18870,7 +18872,7 @@ snapshots: - debug - supports-color - apify-client@2.25.0(debug@4.4.3(supports-color@7.2.0))(supports-color@8.1.1): + apify-client@2.25.0(debug@4.4.3(supports-color@8.1.1))(supports-color@8.1.1): dependencies: '@apify/consts': 2.52.1 '@apify/log': 2.5.35 @@ -18878,7 +18880,7 @@ snapshots: '@crawlee/types': 3.16.0 ansi-colors: 4.1.3 async-retry: 1.3.3 - axios: 1.19.0(debug@4.4.3(supports-color@7.2.0))(supports-color@8.1.1) + axios: 1.19.0(debug@4.4.3(supports-color@8.1.1))(supports-color@8.1.1) content-type: 1.0.5 ow: 0.28.2 proxy-agent: 6.5.0(supports-color@8.1.1) @@ -18904,18 +18906,18 @@ snapshots: '@crawlee/types': link:packages/types '@crawlee/utils': link:packages/utils apify-client: 2.25.0(debug@4.4.3(supports-color@7.2.0))(supports-color@7.2.0) - minimatch: 9.0.9 + minimatch: 10.2.6 semver: 7.8.5 tslib: 2.8.1 ws: 8.21.3(bufferutil@4.1.0) - zod: 4.5.4 + zod: 4.6.5 transitivePeerDependencies: - bufferutil - debug - supports-color - utf-8-validate - apify@4.0.0-beta.35(bufferutil@4.1.0)(debug@4.4.3(supports-color@7.2.0))(supports-color@8.1.1): + apify@4.0.0-beta.35(bufferutil@4.1.0)(debug@4.4.3(supports-color@8.1.1))(supports-color@8.1.1): dependencies: '@apify/consts': 3.0.1 '@apify/datastructures': 3.0.1 @@ -18928,12 +18930,12 @@ snapshots: '@crawlee/core': link:packages/core '@crawlee/types': link:packages/types '@crawlee/utils': link:packages/utils - apify-client: 2.25.0(debug@4.4.3(supports-color@7.2.0))(supports-color@8.1.1) - minimatch: 9.0.9 + apify-client: 2.25.0(debug@4.4.3(supports-color@8.1.1))(supports-color@8.1.1) + minimatch: 10.2.6 semver: 7.8.5 tslib: 2.8.1 ws: 8.21.3(bufferutil@4.1.0) - zod: 4.5.4 + zod: 4.6.5 transitivePeerDependencies: - bufferutil - debug @@ -19118,16 +19120,6 @@ snapshots: - debug - supports-color - axios@1.19.0(debug@4.4.3(supports-color@7.2.0))(supports-color@8.1.1): - dependencies: - follow-redirects: 1.16.0(debug@4.4.3(supports-color@7.2.0)) - form-data: 4.0.6 - https-proxy-agent: 5.0.1(supports-color@8.1.1) - proxy-from-env: 2.1.0 - transitivePeerDependencies: - - debug - - supports-color - axios@1.19.0(debug@4.4.3(supports-color@8.1.1))(supports-color@8.1.1): dependencies: follow-redirects: 1.16.0(debug@4.4.3(supports-color@8.1.1)) @@ -21036,7 +21028,7 @@ snapshots: hasown: 2.0.4 is-core-module: 2.16.1 is-glob: 4.0.3 - minimatch: 9.0.9 + minimatch: 3.1.5 object.fromentries: 2.0.8 object.groupby: 1.0.3 object.values: 1.2.1 @@ -21065,7 +21057,7 @@ snapshots: hasown: 2.0.4 is-core-module: 2.16.1 is-glob: 4.0.3 - minimatch: 9.0.9 + minimatch: 3.1.5 object.fromentries: 2.0.8 object.groupby: 1.0.3 object.values: 1.2.1 @@ -21093,7 +21085,7 @@ snapshots: hasown: 2.0.4 jsx-ast-utils: 3.3.5 language-tags: 1.0.9 - minimatch: 9.0.9 + minimatch: 3.1.5 object.fromentries: 2.0.8 safe-regex-test: 1.1.0 string.prototype.includes: 2.0.1 @@ -21125,7 +21117,7 @@ snapshots: estraverse: 5.3.0 hasown: 2.0.4 jsx-ast-utils: 3.3.5 - minimatch: 9.0.9 + minimatch: 3.1.5 object.entries: 1.1.9 object.fromentries: 2.0.8 object.values: 1.2.1 @@ -21182,7 +21174,7 @@ snapshots: json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 lodash.merge: 4.6.2 - minimatch: 9.0.9 + minimatch: 3.1.5 natural-compare: 1.4.0 optionator: 0.9.4 strip-ansi: 6.0.1 @@ -21851,14 +21843,14 @@ snapshots: dependencies: foreground-child: 3.3.1 jackspeak: 4.2.3 - minimatch: 9.0.9 + minimatch: 10.2.6 minipass: 7.1.3 package-json-from-dist: 1.0.1 path-scurry: 2.0.2 glob@13.0.6: dependencies: - minimatch: 9.0.9 + minimatch: 10.2.6 minipass: 7.1.3 path-scurry: 2.0.2 @@ -21867,7 +21859,7 @@ snapshots: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 - minimatch: 9.0.9 + minimatch: 3.1.5 once: 1.4.0 path-is-absolute: 1.0.1 @@ -22483,7 +22475,7 @@ snapshots: ignore-walk@8.0.0: dependencies: - minimatch: 9.0.9 + minimatch: 10.2.6 ignore@5.3.2: {} @@ -23075,7 +23067,7 @@ snapshots: kuler@2.0.0: {} - langsmith@0.3.87(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(openai@4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.5.4)): + langsmith@0.3.87(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.10.0(@opentelemetry/api@1.9.0))(openai@4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.6.5)): dependencies: '@types/uuid': 10.0.0 chalk: 4.1.2 @@ -23087,7 +23079,7 @@ snapshots: '@opentelemetry/api': 1.9.0 '@opentelemetry/exporter-trace-otlp-proto': 0.217.0(@opentelemetry/api@1.9.0) '@opentelemetry/sdk-trace-base': 2.10.0(@opentelemetry/api@1.9.0) - openai: 4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.5.4) + openai: 4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.6.5) language-subtag-registry@0.3.23: {} @@ -24121,6 +24113,22 @@ snapshots: minimalistic-crypto-utils@1.0.1: {} + minimatch@10.2.3: + dependencies: + brace-expansion: 5.0.8 + + minimatch@10.2.4: + dependencies: + brace-expansion: 5.0.8 + + minimatch@10.2.5: + dependencies: + brace-expansion: 5.0.8 + + minimatch@10.2.6: + dependencies: + brace-expansion: 5.0.8 + minimatch@3.1.5: dependencies: brace-expansion: 1.1.18 @@ -24520,7 +24528,7 @@ snapshots: mime-db: 1.52.0 mime-types: 2.1.35 mimic-fn: 2.1.0 - minimatch: 9.0.9 + minimatch: 10.2.5 minimist: 1.2.8 ms: 2.1.3 npm-run-path: 4.0.1 @@ -24621,11 +24629,11 @@ snapshots: obug@2.1.1: {} - ollama-ai-provider-v2@1.5.5(zod@4.5.4): + ollama-ai-provider-v2@1.5.5(zod@4.6.5): dependencies: '@ai-sdk/provider': 2.0.1 - '@ai-sdk/provider-utils': 3.0.23(zod@4.5.4) - zod: 4.5.4 + '@ai-sdk/provider-utils': 3.0.23(zod@4.6.5) + zod: 4.6.5 optional: true on-exit-leak-free@2.1.2: {} @@ -24682,7 +24690,7 @@ snapshots: transitivePeerDependencies: - encoding - openai@4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.5.4): + openai@4.104.0(encoding@0.1.13)(ws@8.21.3(bufferutil@4.1.0))(zod@4.6.5): dependencies: '@types/node': 18.19.130 '@types/node-fetch': 2.6.13 @@ -24693,7 +24701,7 @@ snapshots: node-fetch: 2.7.0(encoding@0.1.13) optionalDependencies: ws: 8.21.3(bufferutil@4.1.0) - zod: 4.5.4 + zod: 4.6.5 transitivePeerDependencies: - encoding @@ -26567,7 +26575,7 @@ snapshots: dependencies: '@types/json-schema': 7.0.15 ajv: 8.20.0 - ajv-formats: 2.1.1(ajv@8.20.0) + ajv-formats: 2.1.1 ajv-keywords: 5.1.0(ajv@8.20.0) search-insights@2.17.3: {} @@ -26659,7 +26667,7 @@ snapshots: bytes: 3.0.0 content-disposition: 0.5.2 mime-types: 2.1.18 - minimatch: 9.0.9 + minimatch: 3.1.5 path-is-inside: 1.0.2 path-to-regexp: 3.3.0 range-parser: 1.2.0 @@ -28191,9 +28199,9 @@ snapshots: dependencies: zod: 3.25.76 - zod-to-json-schema@3.25.2(zod@4.5.4): + zod-to-json-schema@3.25.2(zod@4.6.5): dependencies: - zod: 4.5.4 + zod: 4.6.5 zod-validation-error@4.0.2(zod@4.5.4): dependencies: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 21ffff97ecec..78abaa377c42 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -16,11 +16,11 @@ minimumReleaseAgeExclude: - "got-scraping" overrides: - # Dedup minimatch to v9 everywhere except inside lerna โ€” lerna 9.x's bundled - # code (`__toESM(require('minimatch')).default(...)`) only works with v3, - # whose CJS export *is* the function. Pinning v9 there caused the publish - # step to silently report 0 changed packages. - minimatch: "^9.0.0" + # lerna 9.x's bundled code (`__toESM(require('minimatch')).default(...)`) only + # works with v3, whose CJS export *is* the function โ€” pin lerna's nested copy + # there; the old blanket `minimatch: ^9.0.0` dedupe (everywhere else) was + # dropped since it now holds direct v10 consumers (e.g. @crawlee/basic) below + # their declared range with no remaining benefit. "@puppeteer/browsers": "^3.0.4" tar: "^7.5.16" "lerna>js-yaml": "^4.2.0" diff --git a/website/versioned_docs/version-3.18/yarn.lock b/website/versioned_docs/version-3.18/yarn.lock index bcd982b16581..1a4ceb637581 100644 --- a/website/versioned_docs/version-3.18/yarn.lock +++ b/website/versioned_docs/version-3.18/yarn.lock @@ -36,12 +36,12 @@ __metadata: linkType: hard "brace-expansion@npm:^1.1.7": - version: 1.1.18 - resolution: "brace-expansion@npm:1.1.18" + version: 1.1.21 + resolution: "brace-expansion@npm:1.1.21" dependencies: balanced-match: "npm:^1.0.0" concat-map: "npm:0.0.1" - checksum: 10c0/3432c18a9e2ebf94162d4effb62198bd0adea06a9f332b2c0188df5d5e30b1e51ea3c848b6608e47d0b857ebe1ea5b3888ed3326dd3c4f6f9645c94153cf9c14 + checksum: 10c0/8f0a68a720f9cb28c2ecaea5cdaf15fafd686d6b6e4e722a81c9d4bd2f68c1fd0619731cac05875d842221eaf4d97d564d329a12eb3c4c22137502fb3c65be8b languageName: node linkType: hard From 6284c4e228f45d1a16c25abe079373d75b935108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ad=C3=A1mek?= Date: Wed, 30 Sep 2026 16:40:26 +0200 Subject: [PATCH 2/2] chore(deps): update oxlint, oxfmt and @apify/oxlint-config (#4176) --- .../proxy_management_inspection_cheerio.ts | 4 +- .../proxy_management_inspection_http.ts | 4 +- .../proxy_management_inspection_playwright.ts | 4 +- .../proxy_management_inspection_puppeteer.ts | 4 +- .../proxy_management_session_cheerio.ts | 4 +- docs/guides/proxy_management_session_http.ts | 4 +- .../proxy_management_session_playwright.ts | 4 +- .../proxy_management_session_puppeteer.ts | 4 +- .../proxy_management_session_standalone.ts | 4 +- docs/guides/session_management_basic.ts | 4 +- docs/guides/session_management_cheerio.ts | 4 +- docs/guides/session_management_http.ts | 4 +- docs/guides/session_management_playwright.ts | 4 +- docs/guides/session_management_puppeteer.ts | 4 +- oxlint.config.ts | 12 +- package.json | 10 +- pnpm-lock.yaml | 431 +++++++++--------- scripts/oxlint-plugin.test.ts | 5 - scripts/oxlint-plugin.ts | 4 +- .../adaptive_playwright_crawler.test.ts | 8 +- .../adaptive_playwright_types.test.ts | 3 +- test/core/crawlers/basic_crawler.test.ts | 12 +- .../core/crawlers/error_handler_types.test.ts | 24 +- .../crawlers/navigation_hook_types.test.ts | 33 +- test/core/router.test.ts | 12 +- .../core/storages/storage_transaction.test.ts | 4 +- 26 files changed, 321 insertions(+), 293 deletions(-) diff --git a/docs/guides/proxy_management_inspection_cheerio.ts b/docs/guides/proxy_management_inspection_cheerio.ts index 842be0e380a3..ccd407c7be4c 100644 --- a/docs/guides/proxy_management_inspection_cheerio.ts +++ b/docs/guides/proxy_management_inspection_cheerio.ts @@ -1,8 +1,6 @@ import { CheerioCrawler, ProxyConfiguration } from 'crawlee'; -const proxyConfiguration = new ProxyConfiguration({ - /* opts */ -}); +const proxyConfiguration = new ProxyConfiguration({/* opts */}); const crawler = new CheerioCrawler({ proxyConfiguration, diff --git a/docs/guides/proxy_management_inspection_http.ts b/docs/guides/proxy_management_inspection_http.ts index 759da4f0baed..20e50876ec08 100644 --- a/docs/guides/proxy_management_inspection_http.ts +++ b/docs/guides/proxy_management_inspection_http.ts @@ -1,8 +1,6 @@ import { HttpCrawler, ProxyConfiguration } from 'crawlee'; -const proxyConfiguration = new ProxyConfiguration({ - /* opts */ -}); +const proxyConfiguration = new ProxyConfiguration({/* opts */}); const crawler = new HttpCrawler({ proxyConfiguration, diff --git a/docs/guides/proxy_management_inspection_playwright.ts b/docs/guides/proxy_management_inspection_playwright.ts index 9eaade17ce68..1a42fcb38c2c 100644 --- a/docs/guides/proxy_management_inspection_playwright.ts +++ b/docs/guides/proxy_management_inspection_playwright.ts @@ -1,8 +1,6 @@ import { PlaywrightCrawler, ProxyConfiguration } from 'crawlee'; -const proxyConfiguration = new ProxyConfiguration({ - /* opts */ -}); +const proxyConfiguration = new ProxyConfiguration({/* opts */}); const crawler = new PlaywrightCrawler({ proxyConfiguration, diff --git a/docs/guides/proxy_management_inspection_puppeteer.ts b/docs/guides/proxy_management_inspection_puppeteer.ts index e119571d8687..0f55b9db1bda 100644 --- a/docs/guides/proxy_management_inspection_puppeteer.ts +++ b/docs/guides/proxy_management_inspection_puppeteer.ts @@ -1,8 +1,6 @@ import { PuppeteerCrawler, ProxyConfiguration } from 'crawlee'; -const proxyConfiguration = new ProxyConfiguration({ - /* opts */ -}); +const proxyConfiguration = new ProxyConfiguration({/* opts */}); const crawler = new PuppeteerCrawler({ proxyConfiguration, diff --git a/docs/guides/proxy_management_session_cheerio.ts b/docs/guides/proxy_management_session_cheerio.ts index 1e23ec5d5b86..d608e0153762 100644 --- a/docs/guides/proxy_management_session_cheerio.ts +++ b/docs/guides/proxy_management_session_cheerio.ts @@ -1,8 +1,6 @@ import { CheerioCrawler, ProxyConfiguration } from 'crawlee'; -const proxyConfiguration = new ProxyConfiguration({ - /* opts */ -}); +const proxyConfiguration = new ProxyConfiguration({/* opts */}); const crawler = new CheerioCrawler({ saveResponseCookies: true, diff --git a/docs/guides/proxy_management_session_http.ts b/docs/guides/proxy_management_session_http.ts index 4677cb946273..cd8ed8038dfe 100644 --- a/docs/guides/proxy_management_session_http.ts +++ b/docs/guides/proxy_management_session_http.ts @@ -1,8 +1,6 @@ import { HttpCrawler, ProxyConfiguration } from 'crawlee'; -const proxyConfiguration = new ProxyConfiguration({ - /* opts */ -}); +const proxyConfiguration = new ProxyConfiguration({/* opts */}); const crawler = new HttpCrawler({ saveResponseCookies: true, diff --git a/docs/guides/proxy_management_session_playwright.ts b/docs/guides/proxy_management_session_playwright.ts index c137f0191877..b8047029c5b0 100644 --- a/docs/guides/proxy_management_session_playwright.ts +++ b/docs/guides/proxy_management_session_playwright.ts @@ -1,8 +1,6 @@ import { PlaywrightCrawler, ProxyConfiguration } from 'crawlee'; -const proxyConfiguration = new ProxyConfiguration({ - /* opts */ -}); +const proxyConfiguration = new ProxyConfiguration({/* opts */}); const crawler = new PlaywrightCrawler({ saveResponseCookies: true, diff --git a/docs/guides/proxy_management_session_puppeteer.ts b/docs/guides/proxy_management_session_puppeteer.ts index 4e21121051a3..5174cd1d426e 100644 --- a/docs/guides/proxy_management_session_puppeteer.ts +++ b/docs/guides/proxy_management_session_puppeteer.ts @@ -1,8 +1,6 @@ import { PuppeteerCrawler, ProxyConfiguration } from 'crawlee'; -const proxyConfiguration = new ProxyConfiguration({ - /* opts */ -}); +const proxyConfiguration = new ProxyConfiguration({/* opts */}); const crawler = new PuppeteerCrawler({ saveResponseCookies: true, diff --git a/docs/guides/proxy_management_session_standalone.ts b/docs/guides/proxy_management_session_standalone.ts index dec095d03408..5907cdb7809e 100644 --- a/docs/guides/proxy_management_session_standalone.ts +++ b/docs/guides/proxy_management_session_standalone.ts @@ -1,7 +1,5 @@ import { ProxyConfiguration, SessionPool } from 'crawlee'; -const proxyConfiguration = new ProxyConfiguration({ - /* opts */ -}); +const proxyConfiguration = new ProxyConfiguration({/* opts */}); const proxyUrl = await proxyConfiguration.newUrl(); diff --git a/docs/guides/session_management_basic.ts b/docs/guides/session_management_basic.ts index 4a9f46748b4d..1e7be29a5631 100644 --- a/docs/guides/session_management_basic.ts +++ b/docs/guides/session_management_basic.ts @@ -2,9 +2,7 @@ import { BasicCrawler, ProxyConfiguration, SessionPool } from 'crawlee'; import { Impit } from 'impit'; import { Cookie } from 'tough-cookie'; -const proxyConfiguration = new ProxyConfiguration({ - /* opts */ -}); +const proxyConfiguration = new ProxyConfiguration({/* opts */}); const crawler = new BasicCrawler({ // Overrides default Session pool configuration. diff --git a/docs/guides/session_management_cheerio.ts b/docs/guides/session_management_cheerio.ts index bda80505992d..360f56a30d17 100644 --- a/docs/guides/session_management_cheerio.ts +++ b/docs/guides/session_management_cheerio.ts @@ -1,8 +1,6 @@ import { CheerioCrawler, ProxyConfiguration, SessionPool } from 'crawlee'; -const proxyConfiguration = new ProxyConfiguration({ - /* opts */ -}); +const proxyConfiguration = new ProxyConfiguration({/* opts */}); const crawler = new CheerioCrawler({ // To use the proxy IP session rotation logic, you must turn the proxy usage on. diff --git a/docs/guides/session_management_http.ts b/docs/guides/session_management_http.ts index bb55dc3e69da..0658e55c7882 100644 --- a/docs/guides/session_management_http.ts +++ b/docs/guides/session_management_http.ts @@ -1,8 +1,6 @@ import { HttpCrawler, ProxyConfiguration, SessionPool } from 'crawlee'; -const proxyConfiguration = new ProxyConfiguration({ - /* opts */ -}); +const proxyConfiguration = new ProxyConfiguration({/* opts */}); const crawler = new HttpCrawler({ // To use the proxy IP session rotation logic, you must turn the proxy usage on. diff --git a/docs/guides/session_management_playwright.ts b/docs/guides/session_management_playwright.ts index 01749fccddbb..9870aa16d34f 100644 --- a/docs/guides/session_management_playwright.ts +++ b/docs/guides/session_management_playwright.ts @@ -1,8 +1,6 @@ import { PlaywrightCrawler, ProxyConfiguration, SessionPool } from 'crawlee'; -const proxyConfiguration = new ProxyConfiguration({ - /* opts */ -}); +const proxyConfiguration = new ProxyConfiguration({/* opts */}); const crawler = new PlaywrightCrawler({ // To use the proxy IP session rotation logic, you must turn the proxy usage on. diff --git a/docs/guides/session_management_puppeteer.ts b/docs/guides/session_management_puppeteer.ts index 76ad3fcc7ee5..2e826d42ed68 100644 --- a/docs/guides/session_management_puppeteer.ts +++ b/docs/guides/session_management_puppeteer.ts @@ -1,8 +1,6 @@ import { PuppeteerCrawler, ProxyConfiguration, SessionPool } from 'crawlee'; -const proxyConfiguration = new ProxyConfiguration({ - /* opts */ -}); +const proxyConfiguration = new ProxyConfiguration({/* opts */}); const crawler = new PuppeteerCrawler({ // To use the proxy IP session rotation logic, you must turn the proxy usage on. diff --git a/oxlint.config.ts b/oxlint.config.ts index e894a1ee8091..17f342ef9494 100644 --- a/oxlint.config.ts +++ b/oxlint.config.ts @@ -116,8 +116,7 @@ export default defineConfig({ // config refactor; flip them back on in follow-up cleanup PRs. 'prefer-destructuring': 'off', 'no-unassigned-vars': 'off', - 'jest/expect-expect': 'off', - 'jest/valid-title': 'off', + 'vitest/expect-expect': 'off', 'promise/valid-params': 'off', }, overrides: [ @@ -139,6 +138,8 @@ export default defineConfig({ 'import/no-duplicates': 'off', 'jest/no-conditional-expect': 'off', 'jest/no-disabled-tests': 'off', + 'vitest/no-conditional-expect': 'off', + 'vitest/no-disabled-tests': 'off', 'vitest/no-conditional-tests': 'off', 'vitest/hoisted-apis-on-top': 'off', }, @@ -150,5 +151,12 @@ export default defineConfig({ 'no-unused-vars': 'off', }, }, + { + // docs resolve `crawlee` to its unbuilt `dist`, so crawlee types are unknown when linting + files: ['docs/**/*'], + rules: { + 'typescript/await-thenable': 'off', + }, + }, ], }); diff --git a/package.json b/package.json index 1c7e4156421c..6ec33b9ab8fe 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ }, "devDependencies": { "@apify/log": "^3.0.1", - "@apify/oxlint-config": "^0.2.5", + "@apify/oxlint-config": "^0.3.0", "@apify/tsconfig": "^0.2.0", "@commitlint/config-conventional": "^21.0.0", "@crawlee/basic": "workspace:*", @@ -81,7 +81,7 @@ "@opentelemetry/sdk-trace-base": "^2.0.0", "@opentelemetry/sdk-trace-node": "^2.0.0", "@opentelemetry/semantic-conventions": "^1.39.0", - "@oxlint/plugins": "^1.62.0", + "@oxlint/plugins": "^1.86.0", "@playwright/browser-chromium": "1.61.1", "@playwright/browser-firefox": "1.61.1", "@playwright/browser-webkit": "1.61.1", @@ -122,9 +122,9 @@ "lerna": "^9.0.0", "lint-staged": "^17.0.0", "nock": "^14.0.10", - "oxfmt": "^0.46.0", - "oxlint": "^1.62.0", - "oxlint-tsgolint": "^7.0.2001", + "oxfmt": "^0.71.0", + "oxlint": "^1.86.0", + "oxlint-tsgolint": "^7.0.2003", "playwright": "1.61.1", "portastic": "^1.0.1", "proxy": "^2.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f1c4143a79c0..0d3b73652a56 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -191,8 +191,8 @@ importers: specifier: ^3.0.1 version: 3.0.1 '@apify/oxlint-config': - specifier: ^0.2.5 - version: 0.2.5(oxlint@1.62.0(oxlint-tsgolint@7.0.2001)) + specifier: ^0.3.0 + version: 0.3.0(oxlint@1.86.0(oxlint-tsgolint@7.0.2003)) '@apify/tsconfig': specifier: ^0.2.0 version: 0.2.0 @@ -257,8 +257,8 @@ importers: specifier: ^1.39.0 version: 1.43.0 '@oxlint/plugins': - specifier: ^1.62.0 - version: 1.62.0 + specifier: ^1.86.0 + version: 1.86.0 '@playwright/browser-chromium': specifier: 1.61.1 version: 1.61.1 @@ -380,14 +380,14 @@ importers: specifier: ^14.0.10 version: 14.0.12 oxfmt: - specifier: ^0.46.0 - version: 0.46.0 + specifier: ^0.71.0 + version: 0.71.0 oxlint: - specifier: ^1.62.0 - version: 1.62.0(oxlint-tsgolint@7.0.2001) + specifier: ^1.86.0 + version: 1.86.0(oxlint-tsgolint@7.0.2003) oxlint-tsgolint: - specifier: ^7.0.2001 - version: 7.0.2001 + specifier: ^7.0.2003 + version: 7.0.2003 playwright: specifier: 1.61.1 version: 1.61.1 @@ -1458,8 +1458,8 @@ packages: resolution: {integrity: sha512-lZbSxqW78S5TqEtDrE9o71MtqUnpQJ96FYaEMk2RtiAPH+/ZEAf76DUaFKP5my9KxozohyQLmmg1isbySXXu0A==} engines: {node: '>=22'} - '@apify/oxlint-config@0.2.5': - resolution: {integrity: sha512-WTv3t49YBsAw/iIO3LauT7Gy/f9AEqMAqRwUtLBx1+gcBZSB0t2IHa4AqJA9DIo5115dnY6CWyqbqaf1IP0m0A==} + '@apify/oxlint-config@0.3.0': + resolution: {integrity: sha512-njNpYIfowurrM3+TDhhb/LLADAPzozs9+hTTMB/OiRAKrUHOqF6KIsUCYI8IGZAB1hl9vXQnFmKQzTysbAJ7mA==} peerDependencies: oxlint: ^1.61.0 @@ -3960,282 +3960,282 @@ packages: '@oxc-project/types@0.124.0': resolution: {integrity: sha512-VBFWMTBvHxS11Z5Lvlr3IWgrwhMTXV+Md+EQF0Xf60+wAdsGFTBx7X7K/hP4pi8N7dcm1RvcHwDxZ16Qx8keUg==} - '@oxfmt/binding-android-arm-eabi@0.46.0': - resolution: {integrity: sha512-b1doV4WRcJU+BESSlCvCjV+5CEr/T6h0frArAdV26Nir+gGNFNaylvDiiMPfF1pxeV0txZEs38ojzJaxBYg+ng==} + '@oxfmt/binding-android-arm-eabi@0.71.0': + resolution: {integrity: sha512-l31EyBfB4egJeFua11aQFEUE9nnDtfpWCadqQovm0WL30t/yUHtdFl/5HyFXvd5xT8Ewh3U4TI9f30GowrQ1fw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [android] - '@oxfmt/binding-android-arm64@0.46.0': - resolution: {integrity: sha512-v6+HhjsoV3GO0u2u9jLSAZrvWfTraDxKofUIQ7/ktS7tzS+epVsxdHmeM+XxuNcAY/nWxxU1Sg4JcGTNRXraBA==} + '@oxfmt/binding-android-arm64@0.71.0': + resolution: {integrity: sha512-E8q39SUZzSXQ08oZoFoTkxRADkdBNgL6De4qgZYr2O4JCunwqrZwAyCebxIF3yVHBafHM30WUkhTkDi+jNYZOw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@oxfmt/binding-darwin-arm64@0.46.0': - resolution: {integrity: sha512-3eeooJGrqGIlI5MyryDZsAcKXSmKIgAD4yYtfRrRJzXZ0UTFZtiSveIur56YPrGMYZwT4XyVhHsMqrNwr1XeFA==} + '@oxfmt/binding-darwin-arm64@0.71.0': + resolution: {integrity: sha512-pTteTrN88DicrmJ3DocBmpNDa6Umfh0iveEG8rnAlDFQpclmtDS7hnIvZbIEV9mDO0Ot1U0sjtoJQ1itd/ZMhQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@oxfmt/binding-darwin-x64@0.46.0': - resolution: {integrity: sha512-QG8BDM0CXWbu84k2SKmCqfEddPQPFiBicwtYnLqHRWZZl57HbtOLRMac/KTq2NO4AEc4ICCBpFxJIV9zcqYfkQ==} + '@oxfmt/binding-darwin-x64@0.71.0': + resolution: {integrity: sha512-G5melRC3IiNEgXlNKJhSExJYQGAQIppHFp2cl/wFrqQcEwmc4k4TkrHaFTR29SDudjoW5AZq5cXPGJDqtlH/Yg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@oxfmt/binding-freebsd-x64@0.46.0': - resolution: {integrity: sha512-9DdCqS/n2ncu/Chazvt3cpgAjAmIGQDz7hFKSrNItMApyV/Ja9mz3hD4JakIE3nS8PW9smEbPWnb389QLBY4nw==} + '@oxfmt/binding-freebsd-x64@0.71.0': + resolution: {integrity: sha512-Hb1P5yKb9aiH2VSbm3Ml37mKjzqpunYet9krw/YK7V5JsAUJDQlju3Yk/dEqQvJD/usBvpi01Vbk9ZDNo0a8Cw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@oxfmt/binding-linux-arm-gnueabihf@0.46.0': - resolution: {integrity: sha512-Dgs7VeE2jT0LHMhw6tPEt0xQYe54kBqHEovmWsv4FVQlegCOvlIJNx0S8n4vj8WUtpT+Z6BD2HhKJPLglLxvZg==} + '@oxfmt/binding-linux-arm-gnueabihf@0.71.0': + resolution: {integrity: sha512-r7n4JEO+rkp0kaP3ia+0hv6FzK3PQIHqaF0jxGuhjJ4JHVX9ZVRbgpDVDW+OloyuJsRWpWFDKIHe8gfl1p/4mQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxfmt/binding-linux-arm-musleabihf@0.46.0': - resolution: {integrity: sha512-Zxn3adhTH13JKnU4xXJj8FeEfF680XjXh3gSShKl57HCMBRde2tUJTgogV/1MSHA80PJEVrDa7r66TLVq3Ia7Q==} + '@oxfmt/binding-linux-arm-musleabihf@0.71.0': + resolution: {integrity: sha512-EEynTF4nakgqDhVCmd3cHQCmTcw0BM8ea6eHigTdtZ3yxdsBNv+dYkt+OpDDZx1n/jzjI7J+Ht7IgkqFWuJUxQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxfmt/binding-linux-arm64-gnu@0.46.0': - resolution: {integrity: sha512-+TWipjrgVM8D7aIdDD0tlr3teLTTvQTn7QTE5BpT10H1Fj82gfdn9X6nn2sDgx/MepuSCfSnzFNJq2paLL0OiA==} + '@oxfmt/binding-linux-arm64-gnu@0.71.0': + resolution: {integrity: sha512-7VgJIrywCwR/G6YMv+HqsccUt8Z4q4mbM2xR+Ry/6AeMk4pCmZ9aO4Srd3mmrvVu8PsCZGP7oHEHSXWTmyloaQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-arm64-musl@0.46.0': - resolution: {integrity: sha512-aAUPBWJ1lGwwnxZUEDLJ94+Iy6MuwJwPxUgO4sCA5mEEyDk7b+cDQ+JpX1VR150Zoyd+D49gsrUzpUK5h587Eg==} + '@oxfmt/binding-linux-arm64-musl@0.71.0': + resolution: {integrity: sha512-AOCaminv/+fhinUXKvtPZT4POhNYmN9GfvaJdgJa1AbvuzClWGwDIXfJg8eu3sYaVL2B68jNvmS7LZGAYa0z3A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@oxfmt/binding-linux-ppc64-gnu@0.46.0': - resolution: {integrity: sha512-ufBCJukyFX/UDrokP/r6BGDoTInnsDs7bxyzKAgMiZlt2Qu8GPJSJ6Zm6whIiJzKk0naxA8ilwmbO1LMw6Htxw==} + '@oxfmt/binding-linux-ppc64-gnu@0.71.0': + resolution: {integrity: sha512-0SHxuaa4QRLM7jfsd8wc6L7KdLg+FR6/ah9k1eAvcrK/Sni7oxchMvsjwUsyakVAta+wBVDkjJTr7/RFU0uUGA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-riscv64-gnu@0.46.0': - resolution: {integrity: sha512-eqtlC2YmPqjun76R1gVfGLuKWx7NuEnLEAudZ7n6ipSKbCZTqIKSs1b5Y8K/JHZsRpLkeSmAAjig5HOIg8fQzQ==} + '@oxfmt/binding-linux-riscv64-gnu@0.71.0': + resolution: {integrity: sha512-UNKj1+rPorTK6uSlQzpN96vDNbHbL/63zcpznweo0ImQdkDdtQCS7G3puxX++2cESPKT2B56Y6DICUmFTJde5A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-riscv64-musl@0.46.0': - resolution: {integrity: sha512-yccVOO2nMXkQLGgy0He3EQEwKD7NF0zEk+/OWmroznkqXyJdN6bfK0LtNnr6/14Bh3FjpYq7bP33l/VloCnxpA==} + '@oxfmt/binding-linux-riscv64-musl@0.71.0': + resolution: {integrity: sha512-5cVXKj7a0mWu7GU6/bZgNyv+KtLgM5S9cnT26Os2/abj8pK/bklHsbdYEHGLLniGjNYkyzwem8mZciPCaDtilw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [musl] - '@oxfmt/binding-linux-s390x-gnu@0.46.0': - resolution: {integrity: sha512-aAf7fG23OQCey6VRPj9IeCraoYtpgtx0ZyJ1CXkPyT1wjzBE7c3xtuxHe/AdHaJfVVb/SXpSk8Gl1LzyQupSqw==} + '@oxfmt/binding-linux-s390x-gnu@0.71.0': + resolution: {integrity: sha512-lNpcMuZvyU1V/CY5h19hac03m4E4PLSYRckcxZOynSPojI4Mwt6nEu9wT/gVf0bclH3xGEWjwqApnSTgjkd2oA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-x64-gnu@0.46.0': - resolution: {integrity: sha512-q0JPsTMyJNjYrBvYFDz4WbVsafNZaPCZv4RnFypRotLqpKROtBZcEaXQW4eb9YmvLU3NckVemLJnzkSZSdmOxw==} + '@oxfmt/binding-linux-x64-gnu@0.71.0': + resolution: {integrity: sha512-5/Z6pUewQpknXqC4/ykK6Zc6RiteAnPem1Ci7K1RZLVF6w6MMjwHjR4vsjijW4Czidgv7HKeVglGjElADliT9w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-x64-musl@0.46.0': - resolution: {integrity: sha512-7LsLY9Cw57GPkhSR+duI3mt9baRczK/DtHYSldQ4BEU92da9igBQNl4z7Vq5U9NNPsh1FmpKvv1q9WDtiUQR1A==} + '@oxfmt/binding-linux-x64-musl@0.71.0': + resolution: {integrity: sha512-uVdG2N/4GEbOeljpQ+xv+NeEwJWJGj0WaxSiSYnoiqIYy3RWrWd3rGUmxWXP1A8+ferNvvwFoDAtvgsDUvBuSw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@oxfmt/binding-openharmony-arm64@0.46.0': - resolution: {integrity: sha512-lHiBOz8Duaku7JtRNLlps3j++eOaICPZSd8FCVmTDM4DFOPT71Bjn7g6iar1z7StXlKRweUKxWUs4sA+zWGDXg==} + '@oxfmt/binding-openharmony-arm64@0.71.0': + resolution: {integrity: sha512-1LwEZmSDRFKeBaGd/Hgj2xI3SmgGFpF4YtgkSx0sTYdTiZfHWbcFvRIBjL1YiDNdQd9Khda3Ij8CoqBULjskDg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@oxfmt/binding-win32-arm64-msvc@0.46.0': - resolution: {integrity: sha512-/5ktYUliP89RhgC37DBH1x20U5zPSZMy3cMEcO0j3793rbHP9MWsknBwQB6eozRzWmYrh0IFM/p20EbPvDlYlg==} + '@oxfmt/binding-win32-arm64-msvc@0.71.0': + resolution: {integrity: sha512-5tplmkeMXmza3PUptJQy25wCPJbIAg5g5r7zs+DI+7eEYOqbY+7roMdSH2zbDvv1Pb4oTDJ6NWYx9IRxBxXwhQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@oxfmt/binding-win32-ia32-msvc@0.46.0': - resolution: {integrity: sha512-3WTnoiuIr8XvV0DIY7SN+1uJSwKf4sPpcbHfobcRT9JutGcLaef/miyBB87jxd3aqH+mS0+G5lsgHuXLUwjjpQ==} + '@oxfmt/binding-win32-ia32-msvc@0.71.0': + resolution: {integrity: sha512-T2LWgh3Vx4PYDjtcqRRGDyCsVxeF/VE5xTpUQiCm65bNLwMpRnJYj6Hlkf6qRM3+jxCIOqHD1kVHNQCCiAVMNQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ia32] os: [win32] - '@oxfmt/binding-win32-x64-msvc@0.46.0': - resolution: {integrity: sha512-IXxiQpkYnOwNfP23vzwSfhdpxJzyiPTY7eTn6dn3DsriKddESzM8i6kfq9R7CD/PUJwCvQT22NgtygBeug3KoA==} + '@oxfmt/binding-win32-x64-msvc@0.71.0': + resolution: {integrity: sha512-L06SVp7Hu1EQTkh3+PHnKK26dxVbEpOG2InMwCooTE4MA437b5FgfTleCCiGn4ykISHnHU6UHaIg7SiMO7rBHA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] - '@oxlint-tsgolint/darwin-arm64@7.0.2001': - resolution: {integrity: sha512-CUJEdbSZ54+Xy9OXqOhWLTKZKV0BBiV7C2i/ygyVmXtkUNXx5YCzN8DpSSshTAKktoL7S+tnQ/ftFG/i7X896w==} + '@oxlint-tsgolint/darwin-arm64@7.0.2003': + resolution: {integrity: sha512-TgV33rXr6ueXBwvc+0nssUkTBSXHJxv77I8p4RCjDjCnvexHtmoPiudVRDfj3S3puMDdeQdHW6jdUgUPy3nr/w==} cpu: [arm64] os: [darwin] - '@oxlint-tsgolint/darwin-x64@7.0.2001': - resolution: {integrity: sha512-pXfBb5BqONCcgrXQNUZWXgiYmRSWJzd97S8i41VVOh6ut0tyo+cJ5FKFpczDHxiVNfj/3e7c9B4MtztNdpIVCw==} + '@oxlint-tsgolint/darwin-x64@7.0.2003': + resolution: {integrity: sha512-hY3FMAjIaPDdK3FNxyRXRfHPOFeoBn6dmnLyKZgQ2IbTTD1adXhl6PfCIqHhCPvurigv7nf7mYuWZZ19MmJzmg==} cpu: [x64] os: [darwin] - '@oxlint-tsgolint/linux-arm64@7.0.2001': - resolution: {integrity: sha512-roP7zujb/QDPzDwEKsFFpzNHHy91/Y7oX9vQXk78ekyZtcQj1QXDIMH33gjDdHBfRl4K9pZ36xhRgrP4Zr+R8A==} + '@oxlint-tsgolint/linux-arm64@7.0.2003': + resolution: {integrity: sha512-eAET4JpyfBbg8SO0K74o4R55tEjVC292pIyxGOw2XGf8x/HrPNyxwQ478jMYOM54FIVOHc8sJ6VRHxluy6lucw==} cpu: [arm64] os: [linux] - '@oxlint-tsgolint/linux-x64@7.0.2001': - resolution: {integrity: sha512-UDezNqdECVmngu2TPnjaS1YoAmcTaBoI5lV9vk3VahBxoi+I5r9k3iJTT7qZoYWOXTD/7T7bNcwRgrocR6BscQ==} + '@oxlint-tsgolint/linux-x64@7.0.2003': + resolution: {integrity: sha512-GXdyO/XyqDJ3s/llR/oOktLsYNjZtWSQBy0JMc+/0gsNPvTcseKPhn9c6KcFyWmnr6H4vljYALbujonqSzzEGw==} cpu: [x64] os: [linux] - '@oxlint-tsgolint/win32-arm64@7.0.2001': - resolution: {integrity: sha512-uJZhqB6pdXLuN+AD1F5082byyQti/NPmJA77GtcFlmT2HzRelqbNls3SaIqxpjdFgvSBF9g0yOKGBkGFg7kX8Q==} + '@oxlint-tsgolint/win32-arm64@7.0.2003': + resolution: {integrity: sha512-TWauXnPfet0VgpmrstoAK58eJ4gbuwPUuUTQmYQAzE/RG1CpnxXtrKUJULf6lyerPE4KN3gM+DflIA1hOH+38Q==} cpu: [arm64] os: [win32] - '@oxlint-tsgolint/win32-x64@7.0.2001': - resolution: {integrity: sha512-FkDRm8hx9OwzGQqyWG1tO5QrTLRApff9DzSgpz9QZau37BR8d1VYKOxMLGf6shPZntJFoTwIIJYT68VndYDCog==} + '@oxlint-tsgolint/win32-x64@7.0.2003': + resolution: {integrity: sha512-DoRmfe7j8VqNlukp8liRVW45GQDhzRccNenjD/pdzelgtffW47pCMd1xbJLkPaPbKnTwID3onn3VZlL7JbebEA==} cpu: [x64] os: [win32] - '@oxlint/binding-android-arm-eabi@1.62.0': - resolution: {integrity: sha512-pKsthNECyvJh8lPTICz6VcwVy2jOqdhhsp1rlxCkhgZR47aKvXPmaRWQDv+zlXpRae4qm1MaaTnutkaOk5aofg==} + '@oxlint/binding-android-arm-eabi@1.86.0': + resolution: {integrity: sha512-63Ozq6yQn79B2UxjSZ9huJmI+3/ZPI7hxAe6TyFh9oQL447KnIMoffOdtog+h4KILbQr61ZRvFPW5gYbAUgpgQ==} 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.86.0': + resolution: {integrity: sha512-JdLGp44phbf/0Du236Dt06yfK6Qw8xhTFeDvHJdjk167r59OfP5+BL31mgMYVnswS8e+j6tFuccSY0QDC/lgCw==} 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.86.0': + resolution: {integrity: sha512-h+vkOr4ik6KLFCXdtNVEj9xfnXfNUpPoF95QjORdhiSpLqQePzcN81kGHjAgsw1/G7WBWK5KsFKbI2UK8EyzMA==} 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.86.0': + resolution: {integrity: sha512-wbglRuH5eKsp68keTOOeKDHU1astWSRYFsh2bwKQTAPb44rD6kVgzYI1ZrAJRTc6/7PH55ZXFCQx0rQXrj0UdA==} 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.86.0': + resolution: {integrity: sha512-yTQ7QSOlNfQsrfbeVweTiegQJLKPjUKgXp/JpGiFzza6Hp29S9LAoH77TM3L0RjK39iQRZB5lk5iq2t241Mfag==} 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.86.0': + resolution: {integrity: sha512-QYJGy0E2Tv8GAayyBIeHFTwQb8u+zrvrOYrifuDGZDr9ad5XsDhiMScpZymhS9fwWjqrgG2ZUwT4vpY0ISqp4Q==} 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.86.0': + resolution: {integrity: sha512-oQo83CafLT8p3qh0AGkN0tSUIh5Hm63mfDsoqUmBQUBnSZLNBAbyRaAftfGY5a0cKZ34dG6jAtMYgcY5kZqt5g==} 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.86.0': + resolution: {integrity: sha512-EM6wy5c2UM12qPb7iDJDBAZvHyfEJGH6iosFgaFiaRZpirz99//EHcUyD2KAskz07x1TULuiAtsojf4nvWWksw==} 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.86.0': + resolution: {integrity: sha512-vCiUQb9ZNzZalxYRU4mlZwUqT5f+c7Sk9DwUOplWHtik3Dl4r3DVnUB5tBeRuTAUe6MUVCTylNW7TkkN8J1oTw==} 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.86.0': + resolution: {integrity: sha512-T0AzE89yjTYmOhB/hb6i+rWTpe2mYt+xiguBhs9DEPIJTZ1H8OYqsE4VxJHHw2Wlq8Mztwvp2P8NV87ZOuhPRw==} 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.86.0': + resolution: {integrity: sha512-s49r0K2f5Oc7fJoMUO1WkdhYK5Ob79uYRwWQ/XNoGysaOq3RUGmGUbHSuXiyydTTA+P9xEdDEnnlZVXiaSJhlw==} 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.86.0': + resolution: {integrity: sha512-JIa2tYR8ayb3nvcMSZzn4O/xTy13S7MHllu7cBD+B5qDQXXSRy/Vwk1aNpiTjZmBJGwKCHOy/NvnY5Xcwg27uQ==} 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.86.0': + resolution: {integrity: sha512-XwXMyBsAuWZkhZU74UNcfQKr1CJJAKnS80dZzOnjl6A4fKcf91IjFgidegQugMHA5SN8ulwDXEDV1yPntjXgQQ==} 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.86.0': + resolution: {integrity: sha512-C1WjukSyMnr66b+w1/tV8RFVv6d9v0MzDf4p9IxVXknqgmTHBgZh1pccN1eHzFr0b9Tbb3OXoPsAAdAuHAQfeA==} 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.86.0': + resolution: {integrity: sha512-ap6KLmvC38c6MdYzsIh25cXQupqYvjd37tMNftzrX1DCtkX1Gcf2B+S2B17dD4lKa5c5gJog7DQJyDo82PBKyw==} 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.86.0': + resolution: {integrity: sha512-996Q9w/2GLwNyy5Djs39Jt09aFlr4b7TPhoj7dvo5FHmcyiF68nPz73HNc5UAYKIYeK+M9JzPQ4Wg1r1dXvP6A==} 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.86.0': + resolution: {integrity: sha512-9uTCHYTknNkug5+46ViSoUMuOuGWK61D87QnblU6CXaWKJC630Z7dbls61vdHxya/cR2ycQZ6Mm6ckgF6Cag5g==} 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.86.0': + resolution: {integrity: sha512-a47ga7EKVfMU8rO0i1m3mGwfNRj3FhQyt1d/ukO/E9u1HHF3KpR3tyb3VhuJBGEVPF8uR4exSyHUyx7xbE+uxw==} 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.86.0': + resolution: {integrity: sha512-az4dzifCRzES1crwu6pDFXzJTIanrdxXFL9TbiJWrx9LKcuacbR83aPvxDA1LKLNswi/RoqitC7Afcflhu3zBQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] - '@oxlint/plugins@1.62.0': - resolution: {integrity: sha512-BgKRw631mImmxuGuRoWaRT8AvNSJCfJvR7lDzP1jR3sBAa7q8P/Ii+lcEOEFZsfcfpkXLyUKGEQLYXWqb60wvw==} + '@oxlint/plugins@1.86.0': + resolution: {integrity: sha512-JeAiaaRMyUiUEQHQ7zBsJn1aEdbLyt1HJsOs4XKIIlATNxcvWRrRxneZA+RF4G03cQobq3IhTqSfyLhOFv03qA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} '@peculiar/asn1-cms@2.6.1': @@ -10311,24 +10311,35 @@ packages: resolution: {integrity: sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==} engines: {node: '>= 0.4'} - oxfmt@0.46.0: - resolution: {integrity: sha512-CopwJOwPAjZ9p76fCvz+mSOJTw9/NY3cSksZK3VO/bUQ8UoEcketNgUuYS0UB3p+R9XnXe7wGGXUmyFxc7QxJA==} + oxfmt@0.71.0: + resolution: {integrity: sha512-lUPUl0d/+Io5pDrsPXWs6rB4N/bpB78oj9CTDpnbulfDz+0r3XXcHPlQ7kRPJ2GjIT4nX+/mcqunOeP9BvsEtg==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true + peerDependencies: + svelte: ^5.0.0 + vite-plus: '*' + peerDependenciesMeta: + svelte: + optional: true + vite-plus: + optional: true - oxlint-tsgolint@7.0.2001: - resolution: {integrity: sha512-KjK/XLcXr1DSyonKhsuFqJRiuKqcyG9j3LJ8nkOsrLzGvodBPqzHOKauy10asLMDI0sUpvb+1sxlzff3udZvfg==} + oxlint-tsgolint@7.0.2003: + resolution: {integrity: sha512-VnK4zlqgmgq/7ZcjzCk/WpN8kKFsYGcB85Io9qT3wL4K8Un3RKmJkp793crNETieMusPMKOA4a+Mw2wbteI6TQ==} hasBin: true - oxlint@1.62.0: - resolution: {integrity: sha512-1uFkg6HakjsGIpW9wNdeW4/2LOHW9MEkoWjZUTUfQtIHyLIZPYt00w3Sg+H3lH+206FgBPHBbW5dVE5l2ExECQ==} + oxlint@1.86.0: + resolution: {integrity: sha512-og0lhgvZfgGF//gOOmZXvtr+GmBbAGEnbEhv/QUg7UW2Wi4wHMnJbnMD+zuHgPdJxdklfgpPupdlAaAySyxrZg==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: - oxlint-tsgolint: '>=0.18.0' + oxlint-tsgolint: '>=7.0.2003' + vite-plus: '*' peerDependenciesMeta: oxlint-tsgolint: optional: true + vite-plus: + optional: true p-cancelable@3.0.0: resolution: {integrity: sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw==} @@ -12336,8 +12347,8 @@ 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==} + tinypool@2.2.0: + resolution: {integrity: sha512-jBrmx4lYmaC9k/mgPbylxs7kBUxHtD8256up+HjLaDFfXScKJQyil+SWXSvhAtT7XHo+yTVlpB81PGmHP8oLSQ==} engines: {node: ^20.0.0 || >=22.0.0} tinyrainbow@3.1.0: @@ -13547,9 +13558,9 @@ snapshots: '@apify/consts': 3.0.1 ansi-colors: 4.1.3 - '@apify/oxlint-config@0.2.5(oxlint@1.62.0(oxlint-tsgolint@7.0.2001))': + '@apify/oxlint-config@0.3.0(oxlint@1.86.0(oxlint-tsgolint@7.0.2003))': dependencies: - oxlint: 1.62.0(oxlint-tsgolint@7.0.2001) + oxlint: 1.86.0(oxlint-tsgolint@7.0.2003) '@apify/ps-tree@1.2.0': dependencies: @@ -17119,139 +17130,139 @@ snapshots: '@oxc-project/types@0.124.0': {} - '@oxfmt/binding-android-arm-eabi@0.46.0': + '@oxfmt/binding-android-arm-eabi@0.71.0': optional: true - '@oxfmt/binding-android-arm64@0.46.0': + '@oxfmt/binding-android-arm64@0.71.0': optional: true - '@oxfmt/binding-darwin-arm64@0.46.0': + '@oxfmt/binding-darwin-arm64@0.71.0': optional: true - '@oxfmt/binding-darwin-x64@0.46.0': + '@oxfmt/binding-darwin-x64@0.71.0': optional: true - '@oxfmt/binding-freebsd-x64@0.46.0': + '@oxfmt/binding-freebsd-x64@0.71.0': optional: true - '@oxfmt/binding-linux-arm-gnueabihf@0.46.0': + '@oxfmt/binding-linux-arm-gnueabihf@0.71.0': optional: true - '@oxfmt/binding-linux-arm-musleabihf@0.46.0': + '@oxfmt/binding-linux-arm-musleabihf@0.71.0': optional: true - '@oxfmt/binding-linux-arm64-gnu@0.46.0': + '@oxfmt/binding-linux-arm64-gnu@0.71.0': optional: true - '@oxfmt/binding-linux-arm64-musl@0.46.0': + '@oxfmt/binding-linux-arm64-musl@0.71.0': optional: true - '@oxfmt/binding-linux-ppc64-gnu@0.46.0': + '@oxfmt/binding-linux-ppc64-gnu@0.71.0': optional: true - '@oxfmt/binding-linux-riscv64-gnu@0.46.0': + '@oxfmt/binding-linux-riscv64-gnu@0.71.0': optional: true - '@oxfmt/binding-linux-riscv64-musl@0.46.0': + '@oxfmt/binding-linux-riscv64-musl@0.71.0': optional: true - '@oxfmt/binding-linux-s390x-gnu@0.46.0': + '@oxfmt/binding-linux-s390x-gnu@0.71.0': optional: true - '@oxfmt/binding-linux-x64-gnu@0.46.0': + '@oxfmt/binding-linux-x64-gnu@0.71.0': optional: true - '@oxfmt/binding-linux-x64-musl@0.46.0': + '@oxfmt/binding-linux-x64-musl@0.71.0': optional: true - '@oxfmt/binding-openharmony-arm64@0.46.0': + '@oxfmt/binding-openharmony-arm64@0.71.0': optional: true - '@oxfmt/binding-win32-arm64-msvc@0.46.0': + '@oxfmt/binding-win32-arm64-msvc@0.71.0': optional: true - '@oxfmt/binding-win32-ia32-msvc@0.46.0': + '@oxfmt/binding-win32-ia32-msvc@0.71.0': optional: true - '@oxfmt/binding-win32-x64-msvc@0.46.0': + '@oxfmt/binding-win32-x64-msvc@0.71.0': optional: true - '@oxlint-tsgolint/darwin-arm64@7.0.2001': + '@oxlint-tsgolint/darwin-arm64@7.0.2003': optional: true - '@oxlint-tsgolint/darwin-x64@7.0.2001': + '@oxlint-tsgolint/darwin-x64@7.0.2003': optional: true - '@oxlint-tsgolint/linux-arm64@7.0.2001': + '@oxlint-tsgolint/linux-arm64@7.0.2003': optional: true - '@oxlint-tsgolint/linux-x64@7.0.2001': + '@oxlint-tsgolint/linux-x64@7.0.2003': optional: true - '@oxlint-tsgolint/win32-arm64@7.0.2001': + '@oxlint-tsgolint/win32-arm64@7.0.2003': optional: true - '@oxlint-tsgolint/win32-x64@7.0.2001': + '@oxlint-tsgolint/win32-x64@7.0.2003': optional: true - '@oxlint/binding-android-arm-eabi@1.62.0': + '@oxlint/binding-android-arm-eabi@1.86.0': optional: true - '@oxlint/binding-android-arm64@1.62.0': + '@oxlint/binding-android-arm64@1.86.0': optional: true - '@oxlint/binding-darwin-arm64@1.62.0': + '@oxlint/binding-darwin-arm64@1.86.0': optional: true - '@oxlint/binding-darwin-x64@1.62.0': + '@oxlint/binding-darwin-x64@1.86.0': optional: true - '@oxlint/binding-freebsd-x64@1.62.0': + '@oxlint/binding-freebsd-x64@1.86.0': optional: true - '@oxlint/binding-linux-arm-gnueabihf@1.62.0': + '@oxlint/binding-linux-arm-gnueabihf@1.86.0': optional: true - '@oxlint/binding-linux-arm-musleabihf@1.62.0': + '@oxlint/binding-linux-arm-musleabihf@1.86.0': optional: true - '@oxlint/binding-linux-arm64-gnu@1.62.0': + '@oxlint/binding-linux-arm64-gnu@1.86.0': optional: true - '@oxlint/binding-linux-arm64-musl@1.62.0': + '@oxlint/binding-linux-arm64-musl@1.86.0': optional: true - '@oxlint/binding-linux-ppc64-gnu@1.62.0': + '@oxlint/binding-linux-ppc64-gnu@1.86.0': optional: true - '@oxlint/binding-linux-riscv64-gnu@1.62.0': + '@oxlint/binding-linux-riscv64-gnu@1.86.0': optional: true - '@oxlint/binding-linux-riscv64-musl@1.62.0': + '@oxlint/binding-linux-riscv64-musl@1.86.0': optional: true - '@oxlint/binding-linux-s390x-gnu@1.62.0': + '@oxlint/binding-linux-s390x-gnu@1.86.0': optional: true - '@oxlint/binding-linux-x64-gnu@1.62.0': + '@oxlint/binding-linux-x64-gnu@1.86.0': optional: true - '@oxlint/binding-linux-x64-musl@1.62.0': + '@oxlint/binding-linux-x64-musl@1.86.0': optional: true - '@oxlint/binding-openharmony-arm64@1.62.0': + '@oxlint/binding-openharmony-arm64@1.86.0': optional: true - '@oxlint/binding-win32-arm64-msvc@1.62.0': + '@oxlint/binding-win32-arm64-msvc@1.86.0': optional: true - '@oxlint/binding-win32-ia32-msvc@1.62.0': + '@oxlint/binding-win32-ia32-msvc@1.86.0': optional: true - '@oxlint/binding-win32-x64-msvc@1.62.0': + '@oxlint/binding-win32-x64-msvc@1.86.0': optional: true - '@oxlint/plugins@1.62.0': {} + '@oxlint/plugins@1.86.0': {} '@peculiar/asn1-cms@2.6.1': dependencies: @@ -24760,61 +24771,61 @@ snapshots: object-keys: 1.1.1 safe-push-apply: 1.0.0 - oxfmt@0.46.0: + oxfmt@0.71.0: dependencies: - tinypool: 2.1.0 + tinypool: 2.2.0 optionalDependencies: - '@oxfmt/binding-android-arm-eabi': 0.46.0 - '@oxfmt/binding-android-arm64': 0.46.0 - '@oxfmt/binding-darwin-arm64': 0.46.0 - '@oxfmt/binding-darwin-x64': 0.46.0 - '@oxfmt/binding-freebsd-x64': 0.46.0 - '@oxfmt/binding-linux-arm-gnueabihf': 0.46.0 - '@oxfmt/binding-linux-arm-musleabihf': 0.46.0 - '@oxfmt/binding-linux-arm64-gnu': 0.46.0 - '@oxfmt/binding-linux-arm64-musl': 0.46.0 - '@oxfmt/binding-linux-ppc64-gnu': 0.46.0 - '@oxfmt/binding-linux-riscv64-gnu': 0.46.0 - '@oxfmt/binding-linux-riscv64-musl': 0.46.0 - '@oxfmt/binding-linux-s390x-gnu': 0.46.0 - '@oxfmt/binding-linux-x64-gnu': 0.46.0 - '@oxfmt/binding-linux-x64-musl': 0.46.0 - '@oxfmt/binding-openharmony-arm64': 0.46.0 - '@oxfmt/binding-win32-arm64-msvc': 0.46.0 - '@oxfmt/binding-win32-ia32-msvc': 0.46.0 - '@oxfmt/binding-win32-x64-msvc': 0.46.0 - - oxlint-tsgolint@7.0.2001: + '@oxfmt/binding-android-arm-eabi': 0.71.0 + '@oxfmt/binding-android-arm64': 0.71.0 + '@oxfmt/binding-darwin-arm64': 0.71.0 + '@oxfmt/binding-darwin-x64': 0.71.0 + '@oxfmt/binding-freebsd-x64': 0.71.0 + '@oxfmt/binding-linux-arm-gnueabihf': 0.71.0 + '@oxfmt/binding-linux-arm-musleabihf': 0.71.0 + '@oxfmt/binding-linux-arm64-gnu': 0.71.0 + '@oxfmt/binding-linux-arm64-musl': 0.71.0 + '@oxfmt/binding-linux-ppc64-gnu': 0.71.0 + '@oxfmt/binding-linux-riscv64-gnu': 0.71.0 + '@oxfmt/binding-linux-riscv64-musl': 0.71.0 + '@oxfmt/binding-linux-s390x-gnu': 0.71.0 + '@oxfmt/binding-linux-x64-gnu': 0.71.0 + '@oxfmt/binding-linux-x64-musl': 0.71.0 + '@oxfmt/binding-openharmony-arm64': 0.71.0 + '@oxfmt/binding-win32-arm64-msvc': 0.71.0 + '@oxfmt/binding-win32-ia32-msvc': 0.71.0 + '@oxfmt/binding-win32-x64-msvc': 0.71.0 + + oxlint-tsgolint@7.0.2003: optionalDependencies: - '@oxlint-tsgolint/darwin-arm64': 7.0.2001 - '@oxlint-tsgolint/darwin-x64': 7.0.2001 - '@oxlint-tsgolint/linux-arm64': 7.0.2001 - '@oxlint-tsgolint/linux-x64': 7.0.2001 - '@oxlint-tsgolint/win32-arm64': 7.0.2001 - '@oxlint-tsgolint/win32-x64': 7.0.2001 - - oxlint@1.62.0(oxlint-tsgolint@7.0.2001): + '@oxlint-tsgolint/darwin-arm64': 7.0.2003 + '@oxlint-tsgolint/darwin-x64': 7.0.2003 + '@oxlint-tsgolint/linux-arm64': 7.0.2003 + '@oxlint-tsgolint/linux-x64': 7.0.2003 + '@oxlint-tsgolint/win32-arm64': 7.0.2003 + '@oxlint-tsgolint/win32-x64': 7.0.2003 + + oxlint@1.86.0(oxlint-tsgolint@7.0.2003): 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: 7.0.2001 + '@oxlint/binding-android-arm-eabi': 1.86.0 + '@oxlint/binding-android-arm64': 1.86.0 + '@oxlint/binding-darwin-arm64': 1.86.0 + '@oxlint/binding-darwin-x64': 1.86.0 + '@oxlint/binding-freebsd-x64': 1.86.0 + '@oxlint/binding-linux-arm-gnueabihf': 1.86.0 + '@oxlint/binding-linux-arm-musleabihf': 1.86.0 + '@oxlint/binding-linux-arm64-gnu': 1.86.0 + '@oxlint/binding-linux-arm64-musl': 1.86.0 + '@oxlint/binding-linux-ppc64-gnu': 1.86.0 + '@oxlint/binding-linux-riscv64-gnu': 1.86.0 + '@oxlint/binding-linux-riscv64-musl': 1.86.0 + '@oxlint/binding-linux-s390x-gnu': 1.86.0 + '@oxlint/binding-linux-x64-gnu': 1.86.0 + '@oxlint/binding-linux-x64-musl': 1.86.0 + '@oxlint/binding-openharmony-arm64': 1.86.0 + '@oxlint/binding-win32-arm64-msvc': 1.86.0 + '@oxlint/binding-win32-ia32-msvc': 1.86.0 + '@oxlint/binding-win32-x64-msvc': 1.86.0 + oxlint-tsgolint: 7.0.2003 p-cancelable@3.0.0: {} @@ -27282,7 +27293,7 @@ snapshots: tinypool@1.1.1: {} - tinypool@2.1.0: {} + tinypool@2.2.0: {} tinyrainbow@3.1.0: {} diff --git a/scripts/oxlint-plugin.test.ts b/scripts/oxlint-plugin.test.ts index ae60161524d7..37880464bbba 100644 --- a/scripts/oxlint-plugin.test.ts +++ b/scripts/oxlint-plugin.test.ts @@ -33,10 +33,5 @@ ruleTester.run('prefer-private-fields', preferPrivateFields, { code: 'class A { constructor(private a: number) {} }', errors: [{ messageId: 'preferHash' }], }, - { - name: 'abstract member', - code: 'abstract class A { private abstract a(): void; }', - errors: [{ messageId: 'preferHash' }], - }, ], }); diff --git a/scripts/oxlint-plugin.ts b/scripts/oxlint-plugin.ts index be35b8ff8f6b..6bf78a814e08 100644 --- a/scripts/oxlint-plugin.ts +++ b/scripts/oxlint-plugin.ts @@ -4,8 +4,6 @@ import type { ESTree, Plugin, Rule } from '@oxlint/plugins'; -// `PropertyDefinition`/`MethodDefinition` also cover their `TSAbstract*` variants โ€” oxlint models -// those as the same node shape with a different `type`, which is why the selector lists both. type PrivateMember = ESTree.PropertyDefinition | ESTree.MethodDefinition | ESTree.TSParameterProperty; export const preferPrivateFields = { @@ -18,7 +16,7 @@ export const preferPrivateFields = { // keeps no per-file state. createOnce(context) { return { - 'PropertyDefinition[accessibility="private"], MethodDefinition[accessibility="private"], TSAbstractPropertyDefinition[accessibility="private"], TSAbstractMethodDefinition[accessibility="private"], TSParameterProperty[accessibility="private"]'( + 'PropertyDefinition[accessibility="private"], MethodDefinition[accessibility="private"], TSParameterProperty[accessibility="private"]'( node: PrivateMember, ) { // `private constructor` has no native counterpart - it is the only way to keep a diff --git a/test/core/crawlers/adaptive_playwright_crawler.test.ts b/test/core/crawlers/adaptive_playwright_crawler.test.ts index 4d2cf0361af2..5c66ed956539 100644 --- a/test/core/crawlers/adaptive_playwright_crawler.test.ts +++ b/test/core/crawlers/adaptive_playwright_crawler.test.ts @@ -332,7 +332,9 @@ describe('AdaptivePlaywrightCrawler', () => { [url.toString()], ); - renderingTypePredictor.storeResult.mockImplementation(() => void crawler.stop()); + renderingTypePredictor.storeResult.mockImplementation(() => { + void crawler.stop(); + }); return { crawler, renderingTypePredictor }; }; @@ -847,7 +849,9 @@ describe('AdaptivePlaywrightCrawler', () => { }) => { const run = ++handlerRuns; await pushData({ run }); - afterStorageCommit(() => void committed.push(run)); + afterStorageCommit(() => { + committed.push(run); + }); }; const crawler = await makeOneshotCrawler( diff --git a/test/core/crawlers/adaptive_playwright_types.test.ts b/test/core/crawlers/adaptive_playwright_types.test.ts index 957daf72b9ef..8304f958e47d 100644 --- a/test/core/crawlers/adaptive_playwright_types.test.ts +++ b/test/core/crawlers/adaptive_playwright_types.test.ts @@ -12,8 +12,9 @@ interface OrderUserData extends Dictionary { describe('AdaptivePlaywrightCrawler option types (#2063)', () => { test('request handler typed with custom user data stays assignable', () => { - const requestHandler = async ({ request }: AdaptivePlaywrightCrawlerContext) => + const requestHandler = async ({ request }: AdaptivePlaywrightCrawlerContext) => { void request.userData.label; + }; const options: AdaptivePlaywrightCrawlerOptions = { requestHandler }; diff --git a/test/core/crawlers/basic_crawler.test.ts b/test/core/crawlers/basic_crawler.test.ts index 7e1fa906ef0d..e43cbae08602 100644 --- a/test/core/crawlers/basic_crawler.test.ts +++ b/test/core/crawlers/basic_crawler.test.ts @@ -2514,8 +2514,12 @@ describe('BasicCrawler', () => { discardRequestRecord: () => {}, registerStatusCode: () => {}, calculate: () => ({}) as CalculatedStatistics, - startCapturing: async () => void calls.push('startCapturing'), - stopCapturing: async () => void calls.push('stopCapturing'), + startCapturing: async () => { + calls.push('startCapturing'); + }, + stopCapturing: async () => { + calls.push('stopCapturing'); + }, // `persistState` is optional on `IStatistics`; this backend omits it. }; @@ -3736,7 +3740,9 @@ describe('BasicCrawler', () => { maxRequestRetries: 1, requestHandler: async ({ request, pushData, afterStorageCommit }) => { await pushData({ attempt: request.retryCount }); - afterStorageCommit(() => void committedAttempts.push(request.retryCount)); + afterStorageCommit(() => { + committedAttempts.push(request.retryCount); + }); if (request.retryCount === 0) { throw new Error('first attempt fails'); diff --git a/test/core/crawlers/error_handler_types.test.ts b/test/core/crawlers/error_handler_types.test.ts index 09357f7428ba..f57d6ef25137 100644 --- a/test/core/crawlers/error_handler_types.test.ts +++ b/test/core/crawlers/error_handler_types.test.ts @@ -10,8 +10,12 @@ import type { Dictionary } from '@crawlee/types'; */ describe('ErrorHandler option types (#3424)', () => { test('cheerio - explicitly typed handlers via CheerioErrorHandler', () => { - const requestHandler: CheerioRequestHandler = async ({ request }) => void request.url; - const failedRequestHandler: CheerioErrorHandler = async ({ request }, error) => void [request, error]; + const requestHandler: CheerioRequestHandler = async ({ request }) => { + void request.url; + }; + const failedRequestHandler: CheerioErrorHandler = async ({ request }, error) => { + void [request, error]; + }; const options: CheerioCrawlerOptions = { requestHandler, @@ -46,7 +50,9 @@ describe('ErrorHandler option types (#3424)', () => { }); test('http - explicitly typed handlers via HttpErrorHandler', () => { - const failedRequestHandler: HttpErrorHandler = async ({ request }, error) => void [request, error]; + const failedRequestHandler: HttpErrorHandler = async ({ request }, error) => { + void [request, error]; + }; const options: HttpCrawlerOptions = { errorHandler: failedRequestHandler, @@ -57,11 +63,15 @@ describe('ErrorHandler option types (#3424)', () => { }); test('browser - explicitly typed handlers via ErrorHandler', () => { - const requestHandler: RequestHandler = async ({ request }) => void request.url; + const requestHandler: RequestHandler = async ({ request }) => { + void request.url; + }; const failedRequestHandler: ErrorHandler = async ( { request }, error, - ) => void [request, error]; + ) => { + void [request, error]; + }; const options: PlaywrightCrawlerOptions = { requestHandler, @@ -76,7 +86,9 @@ describe('ErrorHandler option types (#3424)', () => { const failedRequestHandler: ErrorHandler = async ( { request }, error, - ) => void [request, error]; + ) => { + void [request, error]; + }; const options: BrowserCrawlerOptions = { errorHandler: failedRequestHandler, diff --git a/test/core/crawlers/navigation_hook_types.test.ts b/test/core/crawlers/navigation_hook_types.test.ts index 7ae0d7bcf367..cbcbaf4c554a 100644 --- a/test/core/crawlers/navigation_hook_types.test.ts +++ b/test/core/crawlers/navigation_hook_types.test.ts @@ -20,8 +20,9 @@ describe('navigation hook option types (#2063)', () => { void request.userData.label; gotoOptions.timeout = 60_000; }; - const postNavigationHook = async ({ request }: PuppeteerCrawlingContext) => + const postNavigationHook = async ({ request }: PuppeteerCrawlingContext) => { void request.userData.label; + }; const options: PuppeteerCrawlerOptions = { preNavigationHooks: [preNavigationHook], @@ -32,7 +33,9 @@ describe('navigation hook option types (#2063)', () => { }); test('puppeteer - hooks typed via the PuppeteerHook generic', () => { - const hook: PuppeteerHook = async ({ request }) => void request.userData.label; + const hook: PuppeteerHook = async ({ request }) => { + void request.userData.label; + }; const options: PuppeteerCrawlerOptions = { preNavigationHooks: [hook], @@ -47,8 +50,9 @@ describe('navigation hook option types (#2063)', () => { void request.userData.label; gotoOptions.timeout = 60_000; }; - const postNavigationHook = async ({ request }: PlaywrightCrawlingContext) => + const postNavigationHook = async ({ request }: PlaywrightCrawlingContext) => { void request.userData.label; + }; const options: PlaywrightCrawlerOptions = { preNavigationHooks: [preNavigationHook], @@ -59,7 +63,9 @@ describe('navigation hook option types (#2063)', () => { }); test('playwright - hooks typed via the PlaywrightHook generic', () => { - const hook: PlaywrightHook = async ({ request }) => void request.userData.label; + const hook: PlaywrightHook = async ({ request }) => { + void request.userData.label; + }; const options: PlaywrightCrawlerOptions = { preNavigationHooks: [hook], @@ -74,8 +80,9 @@ describe('navigation hook option types (#2063)', () => { void request.userData.label; gotoOptions.timeout = 60_000; }; - const postNavigationHook = async ({ request }: StagehandCrawlingContext) => + const postNavigationHook = async ({ request }: StagehandCrawlingContext) => { void request.userData.label; + }; const options: StagehandCrawlerOptions = { preNavigationHooks: [preNavigationHook], @@ -86,7 +93,9 @@ describe('navigation hook option types (#2063)', () => { }); test('stagehand - hooks typed via the StagehandHook generic', () => { - const hook: StagehandHook = async ({ request }) => void request.userData.label; + const hook: StagehandHook = async ({ request }) => { + void request.userData.label; + }; const options: StagehandCrawlerOptions = { preNavigationHooks: [hook], @@ -97,8 +106,9 @@ describe('navigation hook option types (#2063)', () => { }); test('cheerio - pre-navigation hook typed with custom user data stays assignable', () => { - const hook: InternalHttpHook> = async ({ request }) => + const hook: InternalHttpHook> = async ({ request }) => { void request.userData.label; + }; const options: CheerioCrawlerOptions = { preNavigationHooks: [hook], @@ -110,8 +120,9 @@ describe('navigation hook option types (#2063)', () => { describe('request handler option types (#2063)', () => { test('playwright - request handler typed with custom user data stays assignable', () => { - const requestHandler = async ({ request }: PlaywrightCrawlingContext) => + const requestHandler = async ({ request }: PlaywrightCrawlingContext) => { void request.userData.label; + }; const options: PlaywrightCrawlerOptions = { requestHandler }; @@ -119,8 +130,9 @@ describe('request handler option types (#2063)', () => { }); test('puppeteer - request handler typed with custom user data stays assignable', () => { - const requestHandler = async ({ request }: PuppeteerCrawlingContext) => + const requestHandler = async ({ request }: PuppeteerCrawlingContext) => { void request.userData.label; + }; const options: PuppeteerCrawlerOptions = { requestHandler }; @@ -128,8 +140,9 @@ describe('request handler option types (#2063)', () => { }); test('stagehand - request handler typed with custom user data stays assignable', () => { - const requestHandler = async ({ request }: StagehandCrawlingContext) => + const requestHandler = async ({ request }: StagehandCrawlingContext) => { void request.userData.label; + }; const options: StagehandCrawlerOptions = { requestHandler }; diff --git a/test/core/router.test.ts b/test/core/router.test.ts index 6e49bec646e6..bd3e6669a883 100644 --- a/test/core/router.test.ts +++ b/test/core/router.test.ts @@ -31,9 +31,15 @@ describe('Router', () => { router.addDefaultHandler(async (ctx) => { logs.push(`default handled with url ${ctx.request.loadedUrl}`); }); - router.use(({ request }) => void logs.push(`middleware 1: ${request.loadedUrl}`)); - router.use(({ request }) => void logs.push(`middleware 2: ${request.loadedUrl}`)); - router.use(({ request }) => void logs.push(`middleware 3: ${request.loadedUrl}`)); + router.use(({ request }) => { + logs.push(`middleware 1: ${request.loadedUrl}`); + }); + router.use(({ request }) => { + logs.push(`middleware 2: ${request.loadedUrl}`); + }); + router.use(({ request }) => { + logs.push(`middleware 3: ${request.loadedUrl}`); + }); const log = { info: vitest.fn(), warn: vitest.fn(), debug: vitest.fn() }; await router({ request: { loadedUrl: 'https://example.com/A', label: 'A' }, log } as any); diff --git a/test/core/storages/storage_transaction.test.ts b/test/core/storages/storage_transaction.test.ts index 36899c0b624e..a28357010f88 100644 --- a/test/core/storages/storage_transaction.test.ts +++ b/test/core/storages/storage_transaction.test.ts @@ -542,7 +542,9 @@ describe('KeyValueStore in a transaction', () => { expect(Object.fromEntries(entries)).toEqual({ real: { real: true }, buffered: { fresh: true } }); const iterated: string[] = []; - await store.forEachKey(async (key) => void iterated.push(key)); + await store.forEachKey(async (key) => { + iterated.push(key); + }); expect(new Set(iterated)).toEqual(new Set(['real', 'buffered'])); expect(transaction.keyValueStoreChanges[store.id]).toMatchObject({