mirror of
https://github.com/nodejs/node.git
synced 2025-08-19 08:51:03 +02:00
npm: Upgrade to v2.1.6
This commit is contained in:
parent
272aa589af
commit
28ae70ebad
715 changed files with 18510 additions and 6592 deletions
6
deps/npm/node_modules/fstream-npm/fstream-npm.js
generated
vendored
6
deps/npm/node_modules/fstream-npm/fstream-npm.js
generated
vendored
|
@ -93,6 +93,12 @@ Packer.prototype.applyIgnores = function (entry, partial, entryObj) {
|
|||
// readme files should never be ignored.
|
||||
if (entry.match(/^readme(\.[^\.]*)$/i)) return true
|
||||
|
||||
// license files should never be ignored.
|
||||
if (entry.match(/^(license|licence)(\.[^\.]*)?$/i)) return true
|
||||
|
||||
// changelogs should never be ignored.
|
||||
if (entry.match(/^(changes|changelog|history)(\.[^\.]*)?$/i)) return true
|
||||
|
||||
// special rules. see below.
|
||||
if (entry === "node_modules" && this.packageRoot) return true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue