Skip to content

Commit

Permalink
deps: explicit limit on supported engines
Browse files Browse the repository at this point in the history
  • Loading branch information
refack committed Apr 12, 2019
1 parent 127cb7c commit fcb0117
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
gyp/test
node_modules
test/.node-gyp
package-lock.json
2 changes: 1 addition & 1 deletion lib/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function install (fs, gyp, argv, callback) {
var badDownload = false
, extractCount = 0
, gunzip = zlib.createGunzip()
, extracter = tar.Extract({ path: devDir, strip: 1, filter: isValid })
, extracter = tar.x({ path: devDir, strip: 1, filter: isValid })

var contentShasums = {}
var expectShasums = {}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
"request": "^2.87.0",
"rimraf": "2",
"semver": "~5.3.0",
"tar": "^4.4.8",
"tar": "4",
"which": "1"
},
"engines": {
"node": ">= 0.8.0"
"node": ">= 1"
},
"devDependencies": {
"tape": "~4.2.0",
Expand Down

0 comments on commit fcb0117

Please sign in to comment.