aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/node-gyp/node_modules
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/node-gyp/node_modules')
-rw-r--r--deps/npm/node_modules/node-gyp/node_modules/tar/.npmignore5
-rw-r--r--deps/npm/node_modules/node-gyp/node_modules/tar/lib/parse.js6
-rw-r--r--deps/npm/node_modules/node-gyp/node_modules/tar/package.json14
3 files changed, 13 insertions, 12 deletions
diff --git a/deps/npm/node_modules/node-gyp/node_modules/tar/.npmignore b/deps/npm/node_modules/node-gyp/node_modules/tar/.npmignore
deleted file mode 100644
index c167ad5b1c..0000000000
--- a/deps/npm/node_modules/node-gyp/node_modules/tar/.npmignore
+++ /dev/null
@@ -1,5 +0,0 @@
-.*.swp
-node_modules
-examples/extract/
-test/tmp/
-test/fixtures/
diff --git a/deps/npm/node_modules/node-gyp/node_modules/tar/lib/parse.js b/deps/npm/node_modules/node-gyp/node_modules/tar/lib/parse.js
index 600ad782f0..1c66ebdaf0 100644
--- a/deps/npm/node_modules/node-gyp/node_modules/tar/lib/parse.js
+++ b/deps/npm/node_modules/node-gyp/node_modules/tar/lib/parse.js
@@ -38,6 +38,7 @@ function Parse () {
me._stream = new BlockStream(512)
me.position = 0
me._ended = false
+ me._hardLinks = {}
me._stream.on("error", function (e) {
me.emit("error", e)
@@ -251,6 +252,11 @@ Parse.prototype._startEntry = function (c) {
if (onend) entry.on("end", onend)
this._entry = entry
+
+ if (entry.type === "Link") {
+ this._hardLinks[entry.path] = entry
+ }
+
var me = this
entry.on("pause", function () {
diff --git a/deps/npm/node_modules/node-gyp/node_modules/tar/package.json b/deps/npm/node_modules/node-gyp/node_modules/tar/package.json
index 2ab77e47f3..6e7fb2ed71 100644
--- a/deps/npm/node_modules/node-gyp/node_modules/tar/package.json
+++ b/deps/npm/node_modules/node-gyp/node_modules/tar/package.json
@@ -1,8 +1,8 @@
{
"_from": "tar@^2.0.0",
- "_id": "tar@2.2.1",
+ "_id": "tar@2.2.2",
"_inBundle": false,
- "_integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=",
+ "_integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==",
"_location": "/node-gyp/tar",
"_phantomChildren": {},
"_requested": {
@@ -18,10 +18,10 @@
"_requiredBy": [
"/node-gyp"
],
- "_resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz",
- "_shasum": "8e4d2a256c0e2185c6b18ad694aec968b83cb1d1",
+ "_resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz",
+ "_shasum": "0ca8848562c7299b8b446ff6a4d60cdbb23edc40",
"_spec": "tar@^2.0.0",
- "_where": "/Users/rebecca/code/npm/node_modules/node-gyp",
+ "_where": "/Users/isaacs/dev/npm/cli/node_modules/node-gyp",
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
@@ -33,7 +33,7 @@
"bundleDependencies": false,
"dependencies": {
"block-stream": "*",
- "fstream": "^1.0.2",
+ "fstream": "^1.0.12",
"inherits": "2"
},
"deprecated": false,
@@ -55,5 +55,5 @@
"scripts": {
"test": "tap test/*.js"
},
- "version": "2.2.1"
+ "version": "2.2.2"
}