Skip to content

Commit 3138a08

Browse files
chore(deps): update dependency cross-env to v10 (#3100)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more [here](https://redirect.github.com/renovatebot/renovate/discussions/37842). This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [cross-env](https://redirect.github.com/kentcdodds/cross-env) | [`^7.0.3` -> `^10.0.0`](https://renovatebot.com/diffs/npm/cross-env/7.0.3/10.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/cross-env/10.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cross-env/7.0.3/10.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>kentcdodds/cross-env (cross-env)</summary> ### [`v10.0.0`](https://redirect.github.com/kentcdodds/cross-env/releases/tag/v10.0.0) [Compare Source](https://redirect.github.com/kentcdodds/cross-env/compare/v7.0.3...v10.0.0) TL;DR: You should probably not have to change anything if: - You're using a modern maintained version of Node.js (v20+ is tested) - You're only using the CLI (most of you are as that's the intended purpose) In this release (which should have been v8 except I had some issues with automated releases 🙈), I've updated all the things and modernized the package. This happened in [#&#8203;261](https://redirect.github.com/kentcdodds/cross-env/issues/261) Was this needed? Not really, but I just thought it'd be fun to modernize this package. Here's the highlights of what was done. - Replace Jest with Vitest for testing - Convert all source files from .js to .ts with proper TypeScript types - Use zshy for ESM-only builds (removes CJS support) - Adopt [@&#8203;epic-web/config](https://redirect.github.com/epic-web/config) for TypeScript, ESLint, and Prettier - Update to Node.js >=20 requirement - Remove kcd-scripts dependency - Add comprehensive e2e tests with GitHub Actions matrix testing - Update GitHub workflow with caching and cross-platform testing - Modernize documentation and remove outdated sections - Update all dependencies to latest versions - Add proper TypeScript declarations and exports The tool maintains its original functionality while being completely modernized with the latest tooling and best practices ##### BREAKING CHANGES - This is a major rewrite that changes the module format from CommonJS to ESM-only. The package now requires Node.js >=20 and only exports ESM modules (not relevant in most cases). </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekday" (UTC), 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. --- - [ ] <!-- rebase-check -->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). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS40MC4wIiwidXBkYXRlZEluVmVyIjoiNDEuOTcuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 25debe8 commit 3138a08

2 files changed

Lines changed: 18 additions & 10 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"body-parser": "^2.0.0",
9090
"camoufox-js": "^0.7.0",
9191
"commitlint": "^20.0.0",
92-
"cross-env": "^7.0.3",
92+
"cross-env": "^10.0.0",
9393
"deep-equal": "^2.0.5",
9494
"eslint": "^9.23.0",
9595
"eslint-config-prettier": "^10.1.1",

yarn.lock

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ __metadata:
774774
body-parser: "npm:^2.0.0"
775775
camoufox-js: "npm:^0.7.0"
776776
commitlint: "npm:^20.0.0"
777-
cross-env: "npm:^7.0.3"
777+
cross-env: "npm:^10.0.0"
778778
deep-equal: "npm:^2.0.5"
779779
eslint: "npm:^9.23.0"
780780
eslint-config-prettier: "npm:^10.1.1"
@@ -917,6 +917,13 @@ __metadata:
917917
languageName: node
918918
linkType: hard
919919

920+
"@epic-web/invariant@npm:^1.0.0":
921+
version: 1.0.0
922+
resolution: "@epic-web/invariant@npm:1.0.0"
923+
checksum: 10c0/72dbeb026e4e4eb3bc9c65739b91408ca77ab7d603a2494fa2eff3790ec22892c4caba751cffdf30f5ccf0e7ba79c1e9c96cf0a357404b9432bf1365baac23ca
924+
languageName: node
925+
linkType: hard
926+
920927
"@esbuild/aix-ppc64@npm:0.21.5":
921928
version: 0.21.5
922929
resolution: "@esbuild/aix-ppc64@npm:0.21.5"
@@ -5098,19 +5105,20 @@ __metadata:
50985105
languageName: unknown
50995106
linkType: soft
51005107

5101-
"cross-env@npm:^7.0.3":
5102-
version: 7.0.3
5103-
resolution: "cross-env@npm:7.0.3"
5108+
"cross-env@npm:^10.0.0":
5109+
version: 10.0.0
5110+
resolution: "cross-env@npm:10.0.0"
51045111
dependencies:
5105-
cross-spawn: "npm:^7.0.1"
5112+
"@epic-web/invariant": "npm:^1.0.0"
5113+
cross-spawn: "npm:^7.0.6"
51065114
bin:
5107-
cross-env: src/bin/cross-env.js
5108-
cross-env-shell: src/bin/cross-env-shell.js
5109-
checksum: 10c0/f3765c25746c69fcca369655c442c6c886e54ccf3ab8c16847d5ad0e91e2f337d36eedc6599c1227904bf2a228d721e690324446876115bc8e7b32a866735ecf
5115+
cross-env: dist/bin/cross-env.js
5116+
cross-env-shell: dist/bin/cross-env-shell.js
5117+
checksum: 10c0/d16ffc3734106577d57b6253d81ab50294623bd59f96e161033eaf99c1c308ffbaba8463c23a6c0f72e841eff467cb7007a0a551f27554fcf2bbf6598cd828f9
51105118
languageName: node
51115119
linkType: hard
51125120

5113-
"cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.6":
5121+
"cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.6":
51145122
version: 7.0.6
51155123
resolution: "cross-spawn@npm:7.0.6"
51165124
dependencies:

0 commit comments

Comments
 (0)