diff options
author | isaacs <i@izs.me> | 2013-03-11 06:56:26 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-03-11 06:56:26 +0400 |
commit | 6bba3aa351a6de093b24ebd3fb960e8016e97b48 (patch) | |
tree | eefed322050b31461a6dcd218917a0ba016baf32 /node_modules/fstream-npm | |
parent | e3fedfd0161bbef6e38fad8f6fdb3d94f057dd58 (diff) |
fstream-npm@0.1.4
Diffstat (limited to 'node_modules/fstream-npm')
-rw-r--r-- | node_modules/fstream-npm/fstream-npm.js | 5 | ||||
-rw-r--r-- | node_modules/fstream-npm/package.json | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/node_modules/fstream-npm/fstream-npm.js b/node_modules/fstream-npm/fstream-npm.js index 26e80c106..23e3fce3c 100644 --- a/node_modules/fstream-npm/fstream-npm.js +++ b/node_modules/fstream-npm/fstream-npm.js @@ -188,9 +188,8 @@ Packer.prototype.readRules = function (buf, e) { try { var p = this.package = JSON.parse(buf) } catch (er) { - er.file = path.resolve(this.path, e) - this.error(er) - return + // just pretend it's a normal old file, not magic at all. + return [] } if (this === this.root) { diff --git a/node_modules/fstream-npm/package.json b/node_modules/fstream-npm/package.json index 8805cb3c9..88824e0eb 100644 --- a/node_modules/fstream-npm/package.json +++ b/node_modules/fstream-npm/package.json @@ -6,7 +6,7 @@ }, "name": "fstream-npm", "description": "fstream class for creating npm packages", - "version": "0.1.3", + "version": "0.1.4", "repository": { "type": "git", "url": "git://github.com/isaacs/fstream-npm.git" @@ -19,6 +19,6 @@ "license": "BSD", "readme": "# fstream-npm\n\nThis is an fstream DirReader class that will read a directory and filter\nthings according to the semantics of what goes in an npm package.\n\nFor example:\n\n```javascript\n// This will print out all the files that would be included\n// by 'npm publish' or 'npm install' of this directory.\n\nvar FN = require(\"fstream-npm\")\nFN({ path: \"./\" })\n .on(\"child\", function (e) {\n console.error(e.path.substr(e.root.path.length + 1))\n })\n```\n\n", "readmeFilename": "README.md", - "_id": "fstream-npm@0.1.3", - "_from": "fstream-npm@~0.1.3" + "_id": "fstream-npm@0.1.4", + "_from": "fstream-npm@latest" } |