Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit 61ebf59

Browse files
bibo5088Kent C. Dodds
bibo5088
authored and
Kent C. Dodds
committedSep 17, 2019
fix: bumped cross-spawn to version 7.0.0 (#211)
* bumped cross-spawn to version 7.0.0 and added a warning about node.js 7 and lower * package.json, engines node : ">=8.0" BREAKING CHANGE: Drop support for Node.js < 7.
1 parent a75fd0e commit 61ebf59

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
 

‎README.md

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ npm install --save-dev cross-env
5454
> WARNING! Make sure that when you're installing packages that you spell things
5555
> correctly to avoid [mistakenly installing malware][malware]
5656
57+
> NOTE : Version 6 of cross-env only supports Node.js 8 and higher, to use it on Node.js 7 or lower install version 5
58+
> ```npm install --save-dev cross-env@5 ```
59+
5760
## Usage
5861

5962
I use this in my npm scripts:

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"cross-env-shell": "dist/bin/cross-env-shell.js"
1010
},
1111
"engines": {
12-
"node": ">=4.0"
12+
"node": ">=8.0"
1313
},
1414
"scripts": {
1515
"add-contributor": "kcd-scripts contributors add",
@@ -25,7 +25,7 @@
2525
"author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",
2626
"license": "MIT",
2727
"dependencies": {
28-
"cross-spawn": "^6.0.5"
28+
"cross-spawn": "^7.0.0"
2929
},
3030
"devDependencies": {
3131
"kcd-scripts": "^0.3.4"

0 commit comments

Comments
 (0)
This repository has been archived.