From 3492c4de72c9d5aa3f0b3b3cfc866783e342102a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 29 May 2026 12:25:43 +0200 Subject: [PATCH 1/3] chore(deps): update dependency lint-staged to v17 (#3693) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [lint-staged](https://redirect.github.com/lint-staged/lint-staged) | [`^16.0.0` β†’ `^17.0.0`](https://renovatebot.com/diffs/npm/lint-staged/16.2.6/17.0.5) | ![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/17.0.5?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/16.2.6/17.0.5?slim=true) | --- ### Release Notes
lint-staged/lint-staged (lint-staged) ### [`v17.0.5`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1705) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v17.0.4...v17.0.5) ##### Patch Changes - [#​1792](https://redirect.github.com/lint-staged/lint-staged/pull/1792) [`1f67271`](https://redirect.github.com/lint-staged/lint-staged/commit/1f672718b6fa67e0f00aafe107cb9f084f4d9102) - Correctly set the `--max-arg-length` default value based on the running platform. This controls how very long lists of staged files are split into multiple chunks. ### [`v17.0.4`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1704) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v17.0.3...v17.0.4) ##### Patch Changes - [#​1788](https://redirect.github.com/lint-staged/lint-staged/pull/1788) [`f95c1f8`](https://redirect.github.com/lint-staged/lint-staged/commit/f95c1f8df3368758c44c2052e568aac1b3d4c767) - Another fix for making sure *lint-staged* adds task modifications correctly to the commit in the following cases: - after editing `` it is staged with `git add `, and then committed with `git commit` - after editing `` it is committed with `git commit --all` without explicit `git add` - after editing `` it is committed with `git commit ` without explicit `git add` There's new test cases which actually setup the Git `pre_commit` hook to run *lint-staged* and verify them. These issues started in **v17.0.0** when trying to improve support for committig without having explicitly staged files. ### [`v17.0.3`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1703) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v17.0.2...v17.0.3) ##### Patch Changes - [#​1782](https://redirect.github.com/lint-staged/lint-staged/pull/1782) [`06813f9`](https://redirect.github.com/lint-staged/lint-staged/commit/06813f9ab661db987e7720086ef9ec3f552ee097) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Fix *lint-staged* behavior when implicitly committing files without using `git add` by either: - `git commit -am "my commit message"` where `-a` (`--all`) means to automatically stage all tracked modified and deleted files - `git commit -m "my commit message" .` where `.` is an example of a [*pathspec*](https://git-scm.com/docs/git-commit#Documentation/git-commit.txt-pathspec) where matching files will be staged ### [`v17.0.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1702) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v17.0.1...v17.0.2) ##### Patch Changes - [#​1779](https://redirect.github.com/lint-staged/lint-staged/pull/1779) [`88670ca`](https://redirect.github.com/lint-staged/lint-staged/commit/88670ca2278200f6348ed663358895ddc4bfff3c) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Enable immutable GitHub releases ### [`v17.0.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1701) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v17.0.0...v17.0.1) ##### Patch Changes - [#​1776](https://redirect.github.com/lint-staged/lint-staged/pull/1776) [`4a5664b`](https://redirect.github.com/lint-staged/lint-staged/commit/4a5664be63af19590ec37940f705dad870ac5cfb) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Adjust GitHub Actions workflow so that automatic publishing works with signed commits. ### [`v17.0.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1700) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v16.4.0...v17.0.0) ##### Major Changes - [#​1745](https://redirect.github.com/lint-staged/lint-staged/pull/1745) [`e244adf`](https://redirect.github.com/lint-staged/lint-staged/commit/e244adfab430be95803e74b20acf518517054c9f) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - **Node.js v20 is no longer supported, and the oldest supported version is now `22.22.1`**, which is an active LTS version at the time of this release. Node.js 20 will be EOL after April 2026. Please upgrade your Node.js version! - [#​1676](https://redirect.github.com/lint-staged/lint-staged/pull/1676) [`0584e0b`](https://redirect.github.com/lint-staged/lint-staged/commit/0584e0b8824a07ea4d0151f2c17fc37c4905a421) Thanks [@​outslept](https://redirect.github.com/outslept)! - *Lint-staged* now tries to verify the installed Git version is at least `2.32.0`, released in 2021. If you're using an even older Git version, you need to [upgrade](https://git-scm.com/install/mac) it before running *lint-staged*! - [#​1745](https://redirect.github.com/lint-staged/lint-staged/pull/1745) [`2dcc40a`](https://redirect.github.com/lint-staged/lint-staged/commit/2dcc40a1a98aea20d38f76031ac30b278f81682a) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - The dependency `yaml` is now marked as optional and probably won't be installed by default. If you're using a YAML configuration file you should install the package separately: ```shell npm install --development yaml ``` If you're using `.lintstagedrc` as the config file name (without a file extension), it will be treated as a YAML file. If the content is JSON, consider renaming it to `.lintstagedrc.json` to avoid needing to install `yaml`. ##### Minor Changes - [#​1748](https://redirect.github.com/lint-staged/lint-staged/pull/1748) [`809d5ef`](https://redirect.github.com/lint-staged/lint-staged/commit/809d5ef0a66edb2b26b233d33ce8e14af6c978e7) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Add new option `--hide-all` for hiding all unstaged changes and untracked files, before running tasks. This makes it easier to run tools like [Knip](https://knip.dev) which check for unused code. Untracked files are included in the backup stash and restored automatically after running. - [#​1759](https://redirect.github.com/lint-staged/lint-staged/pull/1759) [`f13045a`](https://redirect.github.com/lint-staged/lint-staged/commit/f13045a5eae28c3233fc37146b0e1f51739c254b) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Update dependencies, including [`tinyexec@1.1.1`](https://redirect.github.com/tinylibs/tinyexec/releases/tag/1.1.1) to fix the following issues: - When using a Node.js version manager with multiple versions installed ([nvm](https://redirect.github.com/nvm-sh/nvm), [n](https://redirect.github.com/tj/n), for example), scripts with the `#!/usr/bin/env node` shebang ([Prettier](https://redirect.github.com/prettier/prettier), [ESLint](https://redirect.github.com/eslint/eslint), for example) were previously spawned using the default Node.js version configured by the version manager (the one `which node` points to) on POSIX systems. Now, they will be spawned with the same version that *lint-staged* itself was started with. - For example, if your default Node.js version is 24.14.1 but *lint-staged* is run with the latest version 25.9.0, the tasks spawned by *lint-staged* will now also use version 25.9.0. Previously they were spawned using 24.14.1. - When installing Node.js from the Ubuntu App Center ([Snap store](https://snapcraft.io/store)), the `node` executable available in `PATH` is a symlink pointing to Snap itself. The sandboxing features of Snap prevented *lint-staged* from spawning scripts with the `#!/usr/bin/env node` shebang, because it meant *lint-staged* tried to spawn Snap via the symlink. This resulted in an `ENOENT` error when trying to run `prettier`, for example. Now, since the real `node` executable's directory is available in the `PATH`, *lint-staged* will instead spawn the script with the real `node` binary succesfully. - [#​1761](https://redirect.github.com/lint-staged/lint-staged/pull/1761) [`d3251b1`](https://redirect.github.com/lint-staged/lint-staged/commit/d3251b192d7116f059e7cabeffa3bfd7788dedeb) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - *Lint-staged* now runs `git update-index --again` after running tasks, instead of `git add `. This should improve compatibility when using non-default indexes, for example when committing with a pathspec `git commit -m "message" .` instead of adding files to the index. - [#​1745](https://redirect.github.com/lint-staged/lint-staged/pull/1745) [`a9585ac`](https://redirect.github.com/lint-staged/lint-staged/commit/a9585ac7ce0162c5c6c9aa88a28c11c812abedaf) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Remove `commander` as a dependency and use the built-in `parseArgs` from `node:util` to parse CLI flags. ##### Patch Changes - [#​1755](https://redirect.github.com/lint-staged/lint-staged/pull/1755) [`c82d30b`](https://redirect.github.com/lint-staged/lint-staged/commit/c82d30bda8c80f886bdfead2e7aa123f7337aa76) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - All tests now pass on the [Bun](https://bun.com) runtime (latest). - [#​1750](https://redirect.github.com/lint-staged/lint-staged/pull/1750) [`a401818`](https://redirect.github.com/lint-staged/lint-staged/commit/a4018185016617b02e4473d14e036a5f1a9b3f85) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Remove manual handling for `git stash --keep-index` resurrecting deleted files, because the issue was fixed in Git `2.23.0` and *lint-staged* requires at least Git `2.32.0`. - [#​1771](https://redirect.github.com/lint-staged/lint-staged/pull/1771) [`c4b8936`](https://redirect.github.com/lint-staged/lint-staged/commit/c4b893665bf39670650ae71b4ec2073025e9984e) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Fix documentation about multiple config files and the `--cwd` option. When using it, all tasks will be run in the specified directory. For example, to run everything in the actual `process.cwd()`, use `lint-staged --cwd="."`. ### [`v16.4.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1640) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v16.3.4...v16.4.0) ##### Minor Changes - [#​1739](https://redirect.github.com/lint-staged/lint-staged/pull/1739) [`687fc90`](https://redirect.github.com/lint-staged/lint-staged/commit/687fc9069a312ac83ca48f035a1bbf453db91814) Thanks [@​hyperz111](https://redirect.github.com/hyperz111)! - Replace `micromatch` with `picomatch` to reduce dependencies. ### [`v16.3.4`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1634) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v16.3.3...v16.3.4) ##### Patch Changes - [#​1742](https://redirect.github.com/lint-staged/lint-staged/pull/1742) [`9d6e827`](https://redirect.github.com/lint-staged/lint-staged/commit/9d6e827b0c55da5b091c989111f6c55dd76539d9) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Update dependencies, including [`tinyexec@1.0.4`](https://redirect.github.com/tinylibs/tinyexec/releases/tag/1.0.4) to make sure local `node_modules/.bin` are preferred to global locations (released in [`tinyexec@1.0.3`](https://redirect.github.com/tinylibs/tinyexec/releases/tag/1.0.3)). ### [`v16.3.3`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1633) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v16.3.2...v16.3.3) ##### Patch Changes - [#​1740](https://redirect.github.com/lint-staged/lint-staged/pull/1740) [`0109e8d`](https://redirect.github.com/lint-staged/lint-staged/commit/0109e8d1507409d950dab0d65ce27bd40b1137c7) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Make sure Git's warning about CRLF line-endings doesn't interfere with creating initial backup stash. ### [`v16.3.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1632) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v16.3.1...v16.3.2) ##### Patch Changes - [#​1735](https://redirect.github.com/lint-staged/lint-staged/pull/1735) [`2adaf6c`](https://redirect.github.com/lint-staged/lint-staged/commit/2adaf6c3a76152abddbf23b749dfa5d62982f3cf) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Hide the extra `cmd` window on Windows by spawning tasks without the `detached` option. ### [`v16.3.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1631) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v16.3.0...v16.3.1) ##### Patch Changes - [#​1729](https://redirect.github.com/lint-staged/lint-staged/pull/1729) [`cd5d762`](https://redirect.github.com/lint-staged/lint-staged/commit/cd5d762c288bcfe36274c32f018cea97dfe11280) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Remove `nano-spawn` as a dependency from `package.json` as it was replaced with `tinyexec` and is no longer used. ### [`v16.3.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1630) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v16.2.7...v16.3.0) ##### Minor Changes - [#​1698](https://redirect.github.com/lint-staged/lint-staged/pull/1698) [`feda37a`](https://redirect.github.com/lint-staged/lint-staged/commit/feda37aa590789e847f32a4aabc346af1d79c547) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Run external processes with [`tinyexec`](https://redirect.github.com/tinylibs/tinyexec) instead of [`nano-spawn`](https://redirect.github.com/sindresorhus/nano-spawn). `nano-spawn` replaced [`execa`](https://redirect.github.com/sindresorhus/execa) in *lint-staged* version 16 to limit the amount of npm dependencies required, but caused some unknown issues related to spawning tasks. Let's hope `tinyexec` improves the situation. - [#​1699](https://redirect.github.com/lint-staged/lint-staged/pull/1699) [`1346d16`](https://redirect.github.com/lint-staged/lint-staged/commit/1346d16387e188911ef64e8bad6b8a6252cb6d71) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Remove `pidtree` as a dependency. When a task fails, its sub-processes are killed more efficiently via the process group on Unix systems, and the `taskkill` command on Windows. ##### Patch Changes - [#​1726](https://redirect.github.com/lint-staged/lint-staged/pull/1726) [`87467aa`](https://redirect.github.com/lint-staged/lint-staged/commit/87467aaa76e1edc2547f3f3d462a4495afa5337d) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Incorrect brace expansions like `*.{js}` (*nothing to expand*) are detected exhaustively, instead of just a single pass. ### [`v16.2.7`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1627) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v16.2.6...v16.2.7) ##### Patch Changes - [#​1711](https://redirect.github.com/lint-staged/lint-staged/pull/1711) [`ef74c8d`](https://redirect.github.com/lint-staged/lint-staged/commit/ef74c8d165d5acd3ce88567e02b891e0e9af8e0e) Thanks [@​iiroj](https://redirect.github.com/iiroj)! - Do not display a "*failed to spawn*" error message when a task fails normally. This message is reserved for when the task didn't run because spawning it failed.
--- ### Configuration πŸ“… **Schedule**: (UTC) - Branch creation - "every weekday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/apify/crawlee). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 155 +++++++++++++++++++++++++++++---------------------- 2 files changed, 88 insertions(+), 69 deletions(-) diff --git a/package.json b/package.json index e695260e9ca1..5473ea4197f4 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "husky": "^9.0.11", "is-ci": "^4.0.0", "lerna": "^9.0.7", - "lint-staged": "^16.0.0", + "lint-staged": "^17.0.0", "nock": "^13.4.0", "playwright": "1.60.0", "portastic": "^1.0.1", diff --git a/yarn.lock b/yarn.lock index 5d4d994baa0d..9f67cc62d4b3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1156,7 +1156,7 @@ __metadata: husky: "npm:^9.0.11" is-ci: "npm:^4.0.0" lerna: "npm:^9.0.7" - lint-staged: "npm:^16.0.0" + lint-staged: "npm:^17.0.0" nock: "npm:^13.4.0" playwright: "npm:1.60.0" portastic: "npm:^1.0.1" @@ -4199,7 +4199,7 @@ __metadata: languageName: node linkType: hard -"ansi-regex@npm:^6.0.1": +"ansi-regex@npm:^6.0.1, ansi-regex@npm:^6.2.2": version: 6.2.2 resolution: "ansi-regex@npm:6.2.2" checksum: 10c0/05d4acb1d2f59ab2cf4b794339c7b168890d44dda4bf0ce01152a8da0213aca207802f930442ce8cd22d7a92f44907664aac6508904e75e038fa944d2601b30f @@ -4238,7 +4238,7 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^6.1.0, ansi-styles@npm:^6.2.1": +"ansi-styles@npm:^6.1.0, ansi-styles@npm:^6.2.1, ansi-styles@npm:^6.2.3": version: 6.2.3 resolution: "ansi-styles@npm:6.2.3" checksum: 10c0/23b8a4ce14e18fb854693b95351e286b771d23d8844057ed2e7d083cd3e708376c3323707ec6a24365f7d7eda3ca00327fe04092e29e551499ec4c8b7bfac868 @@ -5154,13 +5154,13 @@ __metadata: languageName: node linkType: hard -"cli-truncate@npm:^5.0.0": - version: 5.1.1 - resolution: "cli-truncate@npm:5.1.1" +"cli-truncate@npm:^5.2.0": + version: 5.2.0 + resolution: "cli-truncate@npm:5.2.0" dependencies: - slice-ansi: "npm:^7.1.0" - string-width: "npm:^8.0.0" - checksum: 10c0/3842920829a62f3e041ce39199050c42706c3c9c756a4efc8b86d464e102d1fa031d8b1b9b2e3bb36e1017c763558275472d031bdc884c1eff22a2f20e4f6b0a + slice-ansi: "npm:^8.0.0" + string-width: "npm:^8.2.0" + checksum: 10c0/0d4ec94702ca85b64522ac93633837fb5ea7db17b79b1322a60f6045e6ae2b8cd7bd4c1d19ac7d1f9e10e3bbda1112e172e439b68c02b785ee00da8d6a5c5471 languageName: node linkType: hard @@ -5273,7 +5273,7 @@ __metadata: languageName: node linkType: hard -"colorette@npm:^2.0.20, colorette@npm:^2.0.7": +"colorette@npm:^2.0.7": version: 2.0.20 resolution: "colorette@npm:2.0.20" checksum: 10c0/e94116ff33b0ff56f3b83b9ace895e5bf87c2a7a47b3401b8c3f3226e050d5ef76cf4072fb3325f9dc24d1698f9b730baf4e05eeaf861d74a1883073f4c98a40 @@ -5299,7 +5299,7 @@ __metadata: languageName: node linkType: hard -"commander@npm:^14.0.0, commander@npm:^14.0.1": +"commander@npm:^14.0.0": version: 14.0.2 resolution: "commander@npm:14.0.2" checksum: 10c0/245abd1349dbad5414cb6517b7b5c584895c02c4f7836ff5395f301192b8566f9796c82d7bd6c92d07eba8775fe4df86602fca5d86d8d10bcc2aded1e21c2aeb @@ -6892,10 +6892,10 @@ __metadata: languageName: node linkType: hard -"eventemitter3@npm:^5.0.1": - version: 5.0.1 - resolution: "eventemitter3@npm:5.0.1" - checksum: 10c0/4ba5c00c506e6c786b4d6262cfbce90ddc14c10d4667e5c83ae993c9de88aa856033994dd2b35b83e8dc1170e224e66a319fa80adc4c32adcd2379bbc75da814 +"eventemitter3@npm:^5.0.4": + version: 5.0.4 + resolution: "eventemitter3@npm:5.0.4" + checksum: 10c0/575b8cac8d709e1473da46f8f15ef311b57ff7609445a7c71af5cd42598583eee6f098fa7a593e30f27e94b8865642baa0689e8fa97c016f742abdb3b1bf6d9a languageName: node linkType: hard @@ -7586,13 +7586,20 @@ __metadata: languageName: node linkType: hard -"get-east-asian-width@npm:^1.0.0, get-east-asian-width@npm:^1.3.0, get-east-asian-width@npm:^1.3.1": +"get-east-asian-width@npm:^1.0.0, get-east-asian-width@npm:^1.3.1": version: 1.4.0 resolution: "get-east-asian-width@npm:1.4.0" checksum: 10c0/4e481d418e5a32061c36fbb90d1b225a254cc5b2df5f0b25da215dcd335a3c111f0c2023ffda43140727a9cafb62dac41d022da82c08f31083ee89f714ee3b83 languageName: node linkType: hard +"get-east-asian-width@npm:^1.5.0": + version: 1.6.0 + resolution: "get-east-asian-width@npm:1.6.0" + checksum: 10c0/7e72e9550fd49ca5b246f9af6bb2afc129c96412845ff6556b3274fd44817a381702ca17028efe9866b261a3d44254cbf21e6c90cf05b4b61675630af776d431 + languageName: node + linkType: hard + "get-intrinsic@npm:1.3.0": version: 1.3.0 resolution: "get-intrinsic@npm:1.3.0" @@ -8909,7 +8916,7 @@ __metadata: languageName: node linkType: hard -"is-fullwidth-code-point@npm:^5.0.0": +"is-fullwidth-code-point@npm:^5.0.0, is-fullwidth-code-point@npm:^5.1.0": version: 5.1.0 resolution: "is-fullwidth-code-point@npm:5.1.0" dependencies: @@ -9780,34 +9787,34 @@ __metadata: languageName: node linkType: hard -"lint-staged@npm:^16.0.0": - version: 16.2.6 - resolution: "lint-staged@npm:16.2.6" +"lint-staged@npm:^17.0.0": + version: 17.0.5 + resolution: "lint-staged@npm:17.0.5" dependencies: - commander: "npm:^14.0.1" - listr2: "npm:^9.0.5" - micromatch: "npm:^4.0.8" - nano-spawn: "npm:^2.0.0" - pidtree: "npm:^0.6.0" + listr2: "npm:^10.2.1" + picomatch: "npm:^4.0.4" string-argv: "npm:^0.3.2" - yaml: "npm:^2.8.1" + tinyexec: "npm:^1.1.2" + yaml: "npm:^2.8.4" + dependenciesMeta: + yaml: + optional: true bin: lint-staged: bin/lint-staged.js - checksum: 10c0/6bae38082a0fcb3f699b144d1a4b85394f259f17a1f8a58b22122b9f1c6bb5e8340d6ee4bff12e52dbc4267377d6dde9e5c206157f381f1924a2640717f769c1 + checksum: 10c0/6ecf2024744147ea768dbd550c0c47f04b295f07d30e5ecb5e375c18d8fc24d4bfa897042f4aabd7c3510054ad5bbbb51fa36e60e8dca853e31f9876ef9a3726 languageName: node linkType: hard -"listr2@npm:^9.0.5": - version: 9.0.5 - resolution: "listr2@npm:9.0.5" +"listr2@npm:^10.2.1": + version: 10.2.1 + resolution: "listr2@npm:10.2.1" dependencies: - cli-truncate: "npm:^5.0.0" - colorette: "npm:^2.0.20" - eventemitter3: "npm:^5.0.1" + cli-truncate: "npm:^5.2.0" + eventemitter3: "npm:^5.0.4" log-update: "npm:^6.1.0" rfdc: "npm:^1.4.1" - wrap-ansi: "npm:^9.0.0" - checksum: 10c0/46448d1ba0addc9d71aeafd05bb8e86ded9641ccad930ac302c2bd2ad71580375604743e18586fcb8f11906edf98e8e17fca75ba0759947bf275d381f68e311d + wrap-ansi: "npm:^10.0.0" + checksum: 10c0/a381a7aaef2e8625e6e882835ef446d14306c8fa371b56c4499cf23ece86f84922008af11962bfba5411b51589e02d280bea2b820451a2efad89ebf78bbe68a4 languageName: node linkType: hard @@ -10495,13 +10502,6 @@ __metadata: languageName: node linkType: hard -"nano-spawn@npm:^2.0.0": - version: 2.0.0 - resolution: "nano-spawn@npm:2.0.0" - checksum: 10c0/d00f9b5739f86e28cb732ffd774793e110810cded246b8393c75c4f22674af47f98ee37b19f022ada2d8c9425f800e841caa0662fbff4c0930a10e39339fb366 - languageName: node - linkType: hard - "nanoid@npm:^3.3.11, nanoid@npm:^3.3.4": version: 3.3.11 resolution: "nanoid@npm:3.3.11" @@ -11752,22 +11752,13 @@ __metadata: languageName: node linkType: hard -"picomatch@npm:^4.0.2, picomatch@npm:^4.0.3": +"picomatch@npm:^4.0.2, picomatch@npm:^4.0.3, picomatch@npm:^4.0.4": version: 4.0.4 resolution: "picomatch@npm:4.0.4" checksum: 10c0/e2c6023372cc7b5764719a5ffb9da0f8e781212fa7ca4bd0562db929df8e117460f00dff3cb7509dacfc06b86de924b247f504d0ce1806a37fac4633081466b0 languageName: node linkType: hard -"pidtree@npm:^0.6.0": - version: 0.6.0 - resolution: "pidtree@npm:0.6.0" - bin: - pidtree: bin/pidtree.js - checksum: 10c0/0829ec4e9209e230f74ebf4265f5ccc9ebfb488334b525cb13f86ff801dca44b362c41252cd43ae4d7653a10a5c6ab3be39d2c79064d6895e0d78dc50a5ed6e9 - languageName: node - linkType: hard - "pify@npm:^2.3.0": version: 2.3.0 resolution: "pify@npm:2.3.0" @@ -13150,6 +13141,16 @@ __metadata: languageName: node linkType: hard +"slice-ansi@npm:^8.0.0": + version: 8.0.0 + resolution: "slice-ansi@npm:8.0.0" + dependencies: + ansi-styles: "npm:^6.2.3" + is-fullwidth-code-point: "npm:^5.1.0" + checksum: 10c0/0ce4aa91febb7cea4a00c2c27bb820fa53b6d2862ce0f80f7120134719f7914fc416b0ed966cf35250a3169e152916392f35917a2d7cad0fcc5d8b841010fa9a + languageName: node + linkType: hard + "smart-buffer@npm:^4.2.0": version: 4.2.0 resolution: "smart-buffer@npm:4.2.0" @@ -13404,13 +13405,13 @@ __metadata: languageName: node linkType: hard -"string-width@npm:^8.0.0": - version: 8.1.0 - resolution: "string-width@npm:8.1.0" +"string-width@npm:^8.2.0": + version: 8.2.1 + resolution: "string-width@npm:8.2.1" dependencies: - get-east-asian-width: "npm:^1.3.0" - strip-ansi: "npm:^7.1.0" - checksum: 10c0/749b5d0dab2532b4b6b801064230f4da850f57b3891287023117ab63a464ad79dd208f42f793458f48f3ad121fe2e1f01dd525ff27ead957ed9f205e27406593 + get-east-asian-width: "npm:^1.5.0" + strip-ansi: "npm:^7.1.2" + checksum: 10c0/d467b4eaf4c40a01bb438a2620e77badd2456ffd5131c9973abe4f3acf7c802d5b21f3b6a00a5e33a7fc28ca8f9c103226e01bac61e9f259659c6f46d78e353a languageName: node linkType: hard @@ -13497,6 +13498,15 @@ __metadata: languageName: node linkType: hard +"strip-ansi@npm:^7.1.2": + version: 7.2.0 + resolution: "strip-ansi@npm:7.2.0" + dependencies: + ansi-regex: "npm:^6.2.2" + checksum: 10c0/544d13b7582f8254811ea97db202f519e189e59d35740c46095897e254e4f1aa9fe1524a83ad6bc5ad67d4dd6c0281d2e0219ed62b880a6238a16a17d375f221 + languageName: node + linkType: hard + "strip-bom@npm:3.0.0, strip-bom@npm:^3.0.0": version: 3.0.0 resolution: "strip-bom@npm:3.0.0" @@ -13708,6 +13718,13 @@ __metadata: languageName: node linkType: hard +"tinyexec@npm:^1.1.2": + version: 1.2.2 + resolution: "tinyexec@npm:1.2.2" + checksum: 10c0/8bcb4969c572c21d570c033e29cb896e26d96e49e58f4fe07a532d3d65e10bdfae59733bf8a6a0fd9b611543c4ed3b890c939c3234489599296fb92515eb4625 + languageName: node + linkType: hard + "tinyglobby@npm:0.2.12": version: 0.2.12 resolution: "tinyglobby@npm:0.2.12" @@ -14741,6 +14758,17 @@ __metadata: languageName: node linkType: hard +"wrap-ansi@npm:^10.0.0": + version: 10.0.0 + resolution: "wrap-ansi@npm:10.0.0" + dependencies: + ansi-styles: "npm:^6.2.3" + string-width: "npm:^8.2.0" + strip-ansi: "npm:^7.1.2" + checksum: 10c0/6b163457630fe6d1c72aeed283a7410b2cc7487312df8b0ce96df3fbd64a2a7c948856ea97c25148c848627587c5c7945be474d8e723ab6011bb0756a53a9e89 + languageName: node + linkType: hard + "wrap-ansi@npm:^6.0.1, wrap-ansi@npm:^6.2.0": version: 6.2.0 resolution: "wrap-ansi@npm:6.2.0" @@ -14875,7 +14903,7 @@ __metadata: languageName: node linkType: hard -"yaml@npm:2.9.0": +"yaml@npm:2.9.0, yaml@npm:^2.8.4": version: 2.9.0 resolution: "yaml@npm:2.9.0" bin: @@ -14884,15 +14912,6 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^2.8.1": - version: 2.8.1 - resolution: "yaml@npm:2.8.1" - bin: - yaml: bin.mjs - checksum: 10c0/7c587be00d9303d2ae1566e03bc5bc7fe978ba0d9bf39cc418c3139d37929dfcb93a230d9749f2cb578b6aa5d9ebebc322415e4b653cb83acd8bc0bc321707f3 - languageName: node - linkType: hard - "yargonaut@npm:^1.1.4": version: 1.1.4 resolution: "yargonaut@npm:1.1.4" From 90858439cc822a224e58be4d599f57feda8915fa Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 29 May 2026 12:33:42 +0200 Subject: [PATCH 2/3] chore(deps): update actions/github-script action to v9 (#3681) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/github-script](https://redirect.github.com/actions/github-script) | action | major | `v8` β†’ `v9` | --- ### Release Notes
actions/github-script (actions/github-script) ### [`v9.0.0`](https://redirect.github.com/actions/github-script/releases/tag/v9.0.0) [Compare Source](https://redirect.github.com/actions/github-script/compare/v9.0.0...v9.0.0) **New features:** - **`getOctokit` factory function** β€” Available directly in the script context. Create additional authenticated Octokit clients with different tokens for multi-token workflows, GitHub App tokens, and cross-org access. See [Creating additional clients with `getOctokit`](https://redirect.github.com/actions/github-script#creating-additional-clients-with-getoctokit) for details and examples. - **Orchestration ID in user-agent** β€” The `ACTIONS_ORCHESTRATION_ID` environment variable is automatically appended to the user-agent string for request tracing. **Breaking changes:** - **`require('@​actions/github')` no longer works in scripts.** The upgrade to `@actions/github` v9 (ESM-only) means `require('@​actions/github')` will fail at runtime. If you previously used patterns like `const { getOctokit } = require('@​actions/github')` to create secondary clients, use the new injected `getOctokit` function instead β€” it's available directly in the script context with no imports needed. - `getOctokit` is now an injected function parameter. Scripts that declare `const getOctokit = ...` or `let getOctokit = ...` will get a `SyntaxError` because JavaScript does not allow `const`/`let` redeclaration of function parameters. Use the injected `getOctokit` directly, or use `var getOctokit = ...` if you need to redeclare it. - If your script accesses other `@actions/github` internals beyond the standard `github`/`octokit` client, you may need to update those references for v9 compatibility. ##### What's Changed - Add ACTIONS\_ORCHESTRATION\_ID to user-agent string by [@​Copilot](https://redirect.github.com/Copilot) in [#​695](https://redirect.github.com/actions/github-script/pull/695) - ci: use deployment: false for integration test environments by [@​salmanmkc](https://redirect.github.com/salmanmkc) in [#​712](https://redirect.github.com/actions/github-script/pull/712) - feat!: add getOctokit to script context, upgrade [@​actions/github](https://redirect.github.com/actions/github) v9, [@​octokit/core](https://redirect.github.com/octokit/core) v7, and related packages by [@​salmanmkc](https://redirect.github.com/salmanmkc) in [#​700](https://redirect.github.com/actions/github-script/pull/700) ##### New Contributors - [@​Copilot](https://redirect.github.com/Copilot) made their first contribution in [#​695](https://redirect.github.com/actions/github-script/pull/695) **Full Changelog**: ### [`v9`](https://redirect.github.com/actions/github-script/compare/v8...v9) [Compare Source](https://redirect.github.com/actions/github-script/compare/v8.0.0...v9.0.0)
--- ### Configuration πŸ“… **Schedule**: (UTC) - Branch creation - "every weekday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/apify/crawlee). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Martin AdΓ‘mek --- .github/workflows/update_new_issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_new_issue.yml b/.github/workflows/update_new_issue.yml index aa8ef23697e3..66b533ee7719 100644 --- a/.github/workflows/update_new_issue.yml +++ b/.github/workflows/update_new_issue.yml @@ -14,7 +14,7 @@ jobs: steps: # Add the "t-tooling" label to all new issues - - uses: actions/github-script@v8 + - uses: actions/github-script@v9 with: script: | github.rest.issues.addLabels({ From 184981a6cb934c5141493f730afc4838545a4cf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ad=C3=A1mek?= Date: Fri, 29 May 2026 14:45:57 +0200 Subject: [PATCH 3/3] chore: bump impit to 0.14.1 (drops broken preinstall) (#3695) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit impit 0.14.1 removes the `preinstall: npx only-allow pnpm` that shipped in the published package and intermittently broke `yarn install` in CI (apify/impit#464). impit + its platform binaries (`impit-*`) are added to `npmPreapprovedPackages` so the freshly-published 0.14.1 isn't held back by the 24h `npmMinimalAgeGate` β€” consistent with the other first-party packages (`apify`, `crawlee`, `got-scraping`) already on that list. camoufox-js's impit `0.13.1` is untouched (it has no preinstall). --------- Co-authored-by: Claude Opus 4.8 --- .yarnrc.yml | 3 ++ packages/impit-client/package.json | 2 +- yarn.lock | 74 +++++++++++++++--------------- 3 files changed, 41 insertions(+), 38 deletions(-) diff --git a/.yarnrc.yml b/.yarnrc.yml index ba8842bb92ad..e004d32ff7ea 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -8,4 +8,7 @@ npmPreapprovedPackages: - "apify-client" - "apify" - "crawlee" + - "camoufox-js" - "got-scraping" + - "impit" + - "impit-*" diff --git a/packages/impit-client/package.json b/packages/impit-client/package.json index 44125cd598f0..904f9e7df6b4 100644 --- a/packages/impit-client/package.json +++ b/packages/impit-client/package.json @@ -60,7 +60,7 @@ }, "dependencies": { "@apify/datastructures": "^2.0.3", - "impit": "^0.14.0", + "impit": "^0.14.1", "tough-cookie": "^6.0.0" } } diff --git a/yarn.lock b/yarn.lock index 9f67cc62d4b3..18c06166e3d1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -991,7 +991,7 @@ __metadata: dependencies: "@apify/datastructures": "npm:^2.0.3" "@crawlee/core": "npm:^3.16.0" - impit: "npm:^0.14.0" + impit: "npm:^0.14.1" tough-cookie: "npm:^6.0.0" peerDependencies: "@crawlee/core": ^3.12.1 @@ -8394,9 +8394,9 @@ __metadata: languageName: node linkType: hard -"impit-darwin-arm64@npm:0.14.0": - version: 0.14.0 - resolution: "impit-darwin-arm64@npm:0.14.0" +"impit-darwin-arm64@npm:0.14.1": + version: 0.14.1 + resolution: "impit-darwin-arm64@npm:0.14.1" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -8408,9 +8408,9 @@ __metadata: languageName: node linkType: hard -"impit-darwin-x64@npm:0.14.0": - version: 0.14.0 - resolution: "impit-darwin-x64@npm:0.14.0" +"impit-darwin-x64@npm:0.14.1": + version: 0.14.1 + resolution: "impit-darwin-x64@npm:0.14.1" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -8422,9 +8422,9 @@ __metadata: languageName: node linkType: hard -"impit-linux-arm64-gnu@npm:0.14.0": - version: 0.14.0 - resolution: "impit-linux-arm64-gnu@npm:0.14.0" +"impit-linux-arm64-gnu@npm:0.14.1": + version: 0.14.1 + resolution: "impit-linux-arm64-gnu@npm:0.14.1" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard @@ -8436,9 +8436,9 @@ __metadata: languageName: node linkType: hard -"impit-linux-arm64-musl@npm:0.14.0": - version: 0.14.0 - resolution: "impit-linux-arm64-musl@npm:0.14.0" +"impit-linux-arm64-musl@npm:0.14.1": + version: 0.14.1 + resolution: "impit-linux-arm64-musl@npm:0.14.1" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard @@ -8450,9 +8450,9 @@ __metadata: languageName: node linkType: hard -"impit-linux-x64-gnu@npm:0.14.0": - version: 0.14.0 - resolution: "impit-linux-x64-gnu@npm:0.14.0" +"impit-linux-x64-gnu@npm:0.14.1": + version: 0.14.1 + resolution: "impit-linux-x64-gnu@npm:0.14.1" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard @@ -8464,9 +8464,9 @@ __metadata: languageName: node linkType: hard -"impit-linux-x64-musl@npm:0.14.0": - version: 0.14.0 - resolution: "impit-linux-x64-musl@npm:0.14.0" +"impit-linux-x64-musl@npm:0.14.1": + version: 0.14.1 + resolution: "impit-linux-x64-musl@npm:0.14.1" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard @@ -8478,9 +8478,9 @@ __metadata: languageName: node linkType: hard -"impit-win32-arm64-msvc@npm:0.14.0": - version: 0.14.0 - resolution: "impit-win32-arm64-msvc@npm:0.14.0" +"impit-win32-arm64-msvc@npm:0.14.1": + version: 0.14.1 + resolution: "impit-win32-arm64-msvc@npm:0.14.1" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -8492,9 +8492,9 @@ __metadata: languageName: node linkType: hard -"impit-win32-x64-msvc@npm:0.14.0": - version: 0.14.0 - resolution: "impit-win32-x64-msvc@npm:0.14.0" +"impit-win32-x64-msvc@npm:0.14.1": + version: 0.14.1 + resolution: "impit-win32-x64-msvc@npm:0.14.1" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -8532,18 +8532,18 @@ __metadata: languageName: node linkType: hard -"impit@npm:^0.14.0": - version: 0.14.0 - resolution: "impit@npm:0.14.0" +"impit@npm:^0.14.1": + version: 0.14.1 + resolution: "impit@npm:0.14.1" dependencies: - impit-darwin-arm64: "npm:0.14.0" - impit-darwin-x64: "npm:0.14.0" - impit-linux-arm64-gnu: "npm:0.14.0" - impit-linux-arm64-musl: "npm:0.14.0" - impit-linux-x64-gnu: "npm:0.14.0" - impit-linux-x64-musl: "npm:0.14.0" - impit-win32-arm64-msvc: "npm:0.14.0" - impit-win32-x64-msvc: "npm:0.14.0" + impit-darwin-arm64: "npm:0.14.1" + impit-darwin-x64: "npm:0.14.1" + impit-linux-arm64-gnu: "npm:0.14.1" + impit-linux-arm64-musl: "npm:0.14.1" + impit-linux-x64-gnu: "npm:0.14.1" + impit-linux-x64-musl: "npm:0.14.1" + impit-win32-arm64-msvc: "npm:0.14.1" + impit-win32-x64-msvc: "npm:0.14.1" dependenciesMeta: impit-darwin-arm64: optional: true @@ -8561,7 +8561,7 @@ __metadata: optional: true impit-win32-x64-msvc: optional: true - checksum: 10c0/49ffe30377cc3e3859e0520613ec9163973b577ba540366544512a2d9b6316d9695a7159f28b943fdd05ac76b0c26051fa73235e3571e3ff8cca6baa3db8a0ca + checksum: 10c0/5f99d491239bbad0bd2e92508a6e46721861c69a95acdd25501fd04d23d378a385c65e654ec239564c97765633e35f3dafbb5001e6178dd9a79477dde7b93d90 languageName: node linkType: hard