summaryrefslogtreecommitdiff
path: root/deps/node/deps/npm/lib/install/inflate-bundled.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/node/deps/npm/lib/install/inflate-bundled.js')
-rw-r--r--deps/node/deps/npm/lib/install/inflate-bundled.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/deps/node/deps/npm/lib/install/inflate-bundled.js b/deps/node/deps/npm/lib/install/inflate-bundled.js
deleted file mode 100644
index 66bbb44a..00000000
--- a/deps/node/deps/npm/lib/install/inflate-bundled.js
+++ /dev/null
@@ -1,18 +0,0 @@
-'use strict'
-
-var childPath = require('../utils/child-path.js')
-var reset = require('./node.js').reset
-
-module.exports = function inflateBundled (bundler, parent, children) {
- children.forEach(function (child) {
- if (child.fromBundle === bundler) return
- reset(child)
- child.fromBundle = bundler
- child.isInLink = bundler.isLink
- child.parent = parent
- child.path = childPath(parent.path, child)
- child.realpath = bundler.isLink ? child.realpath : childPath(parent.realpath, child)
- child.isLink = child.isLink || parent.isLink || parent.target
- inflateBundled(bundler, child, child.children)
- })
-}