Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2013-02-06 04:28:37 +0400
committerisaacs <i@izs.me>2013-02-06 04:28:37 +0400
commitec932c70f6641930a943336ca94050a0e06f8d2e (patch)
tree997ce189bd8200bf2b3c44bada9709f1d9f30281 /node_modules/tar
parent5b38187943943a519131e2b12a3d7706a188887f (diff)
tar@0.1.16
Diffstat (limited to 'node_modules/tar')
-rw-r--r--node_modules/tar/.npmignore2
-rw-r--r--node_modules/tar/package.json4
-rw-r--r--node_modules/tar/tar.js1
3 files changed, 4 insertions, 3 deletions
diff --git a/node_modules/tar/.npmignore b/node_modules/tar/.npmignore
index 856407ebe..c167ad5b1 100644
--- a/node_modules/tar/.npmignore
+++ b/node_modules/tar/.npmignore
@@ -2,4 +2,4 @@
node_modules
examples/extract/
test/tmp/
-test/fixtures/symlink
+test/fixtures/
diff --git a/node_modules/tar/package.json b/node_modules/tar/package.json
index 702192c04..9959135dd 100644
--- a/node_modules/tar/package.json
+++ b/node_modules/tar/package.json
@@ -6,7 +6,7 @@
},
"name": "tar",
"description": "tar for node",
- "version": "0.1.14",
+ "version": "0.1.16",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/node-tar.git"
@@ -30,6 +30,6 @@
"license": "BSD",
"readme": "# node-tar\n\nTar for Node.js.\n\n## Goals of this project\n\n1. Be able to parse and reasonably extract the contents of any tar file\n created by any program that creates tar files, period.\n\n At least, this includes every version of:\n\n * bsdtar\n * gnutar\n * solaris posix tar\n * Joerg Schilling's star (\"Schilly tar\")\n\n2. Create tar files that can be extracted by any of the following tar\n programs:\n\n * bsdtar/libarchive version 2.6.2\n * gnutar 1.15 and above\n * SunOS Posix tar\n * Joerg Schilling's star (\"Schilly tar\")\n\n3. 100% test coverage. Speed is important. Correctness is slightly\n more important.\n\n4. Create the kind of tar interface that Node users would want to use.\n\n5. Satisfy npm's needs for a portable tar implementation with a\n JavaScript interface.\n\n6. No excuses. No complaining. No tolerance for failure.\n\n## But isn't there already a tar.js?\n\nYes, there are a few. This one is going to be better, and it will be\nfanatically maintained, because npm will depend on it.\n\nThat's why I need to write it from scratch. Creating and extracting\ntarballs is such a large part of what npm does, I simply can't have it\nbe a black box any longer.\n\n## Didn't you have something already? Where'd it go?\n\nIt's in the \"old\" folder. It's not functional. Don't use it.\n\nIt was a useful exploration to learn the issues involved, but like most\nsoftware of any reasonable complexity, node-tar won't be useful until\nit's been written at least 3 times.\n",
"readmeFilename": "README.md",
- "_id": "tar@0.1.14",
+ "_id": "tar@0.1.16",
"_from": "tar@~0.1.12"
}
diff --git a/node_modules/tar/tar.js b/node_modules/tar/tar.js
index b9dbca489..a81298b9a 100644
--- a/node_modules/tar/tar.js
+++ b/node_modules/tar/tar.js
@@ -75,6 +75,7 @@ Object.keys(fields).forEach(function (f) {
var types =
{ 0: "File"
, "\0": "OldFile" // like 0
+ , "": "OldFile"
, 1: "Link"
, 2: "SymbolicLink"
, 3: "CharacterDevice"