Update cross-env to the latest version 🚀 #1572
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version 4.0.0 of cross-env just got published.
The version 4.0.0 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of cross-env.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Release Notes
v4.0.04.0.0 (2017-03-31)
Bug Fixes
Features
Breaking Changes
FOO=$BARwith the value$BARbeing assigned tohello, the command will be converted toFOO=hellowhereas before it wasFOO=$BAR).(e8a16146)
(0a846e60)
systems or ; on Windows systems. To keep the old functionality, you will need to escape those
characters with a backslash.
#80
chore: Add myself (DanReyLop) to the contributors list
Simplified logic. Now only : (UNIX-style) are converted to ; (Windows-style), not the other way around
BREAKING CHANGE: You now must escape
:to use it in a value of you don't want it to be swapped with;on Windows(ea0ac4bd)
(ea800213)
echo $var2/$var1would not be changed on windows, now it is. This is kind of a bug, but we're doing a major version bump to be safe.(1b172fef)
Commits
The new version differs by 7 commits .
e8a1614fix: Resolve value of env variables before invoking cross-spawn (#95)9e0ea05docs(engine): revert support to node 4 (#96)0a846e6fix: Remove Windows => UNIX variable conversion (#94)ea0ac4bfeat: Convert list delimiters for PATH-style env variables (#93)ea80021feat(spawn): add support for quoted scripts22d1c80fix(module): Add export for commonjs (#88)1b172fefeat(args): convert embedded and braced variables in command args (#86)See the full diff.
Not sure how things should work exactly?
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴