This repository has been archived by the owner on Jan 6, 2021. It is now read-only.
v4.0.0
4.0.0 (2017-03-31)
Bug Fixes
- Resolve value of env variables before invoking cross-spawn (#95) (e8a16146)
- Remove Windows => UNIX variable conversion (#94) (0a846e60)
- module: Add export for commonjs (#88) (22d1c801)
Features
- Convert list delimiters for PATH-style env variables (#93) (ea0ac4bd)
- args: convert embedded and braced variables in command args (#86) (1b172fef)
- spawn: add support for quoted scripts (ea800213)
Breaking Changes
- This is unlikely to break anyone, but now if you assign a variable to a variable (like
FOO=$BAR
with the value$BAR
being assigned tohello
, the command will be converted toFOO=hello
whereas before it wasFOO=$BAR
).
(e8a16146) - %windows_style% env variables will no longer be converted to $unix_style in UNIX machines. To fix it, use always the UNIX syntax, cross-env will change the format in Windows machines as needed
(0a846e60) - If an env variable has : or ; in its value, it will be converted to : on UNIX
systems or ; on Windows systems. To keep the old functionality, you will need to escape those
characters with a backslash.
-
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)