This repository has been archived by the owner on Jan 6, 2021. It is now read-only.
Releases: kentcdodds/cross-env
Releases Β· kentcdodds/cross-env
v5.0.2
v5.0.1
v5.0.0
5.0.0 (2017-05-11)
Bug Fixes
- bin: add a bin entry for cross-env-shell (9c4f3462)
Features
- don't change colons on non-PATH/NODE_PATH on win32 (#107) (38814238)
- bin: two bins (shell, non-shell) (#104) (d7b48d5c, closes #99)
Breaking Changes
- Scripts using quotes or escape sequences will see a difference in behavior.
Switching to the second bin should resolve any issue.
Closes #99.
(d7b48d5c)
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)