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

Commit

Permalink
fix: bumped cross-spawn to version 7.0.0 (#211)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
bibo5088 authored and Kent C. Dodds committed Sep 17, 2019
1 parent a75fd0e commit 61ebf59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ npm install --save-dev cross-env
> WARNING! Make sure that when you're installing packages that you spell things
> correctly to avoid [mistakenly installing malware][malware]
> 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
> ```npm install --save-dev cross-env@5 ```
## Usage

I use this in my npm scripts:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"cross-env-shell": "dist/bin/cross-env-shell.js"
},
"engines": {
"node": ">=4.0"
"node": ">=8.0"
},
"scripts": {
"add-contributor": "kcd-scripts contributors add",
Expand All @@ -25,7 +25,7 @@
"author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",
"license": "MIT",
"dependencies": {
"cross-spawn": "^6.0.5"
"cross-spawn": "^7.0.0"
},
"devDependencies": {
"kcd-scripts": "^0.3.4"
Expand Down

0 comments on commit 61ebf59

Please sign in to comment.