Skip to content

Conversation

@snyk-io
Copy link

@snyk-io snyk-io bot commented Aug 17, 2025

snyk-top-banner

Snyk has created this PR to upgrade cross-env from 7.0.3 to 10.0.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 1 version ahead of your current version.

  • The recommended version was released 23 days ago.

Release notes
Package name: cross-env
  • 10.0.0 - 2025-07-25

    10.0.0 (2025-07-25)

    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 #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 @ 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).
  • 7.0.3 - 2020-12-01

    7.0.3 (2020-12-01)

    Bug Fixes

    • add maintenance mode notice (fe80c84)
from cross-env GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade cross-env from 7.0.3 to 10.0.0.

See this package in npm:
cross-env

See this project in Snyk:
https://app.snyk.io/org/dargon789/project/ad4c7706-9351-484f-a545-90686691e99c?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
@snyk-io
Copy link
Author

snyk-io bot commented Aug 17, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

@Dargon789 Dargon789 merged commit 6379844 into master Aug 29, 2025
22 of 27 checks passed
@Dargon789 Dargon789 deleted the snyk-upgrade-71c727982472f585116be5db7ca5ae6c branch August 29, 2025 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants