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:
Diffstat (limited to 'node_modules/yallist/yallist.js')
-rw-r--r--node_modules/yallist/yallist.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/node_modules/yallist/yallist.js b/node_modules/yallist/yallist.js
index 518d23330..b0ab36cf3 100644
--- a/node_modules/yallist/yallist.js
+++ b/node_modules/yallist/yallist.js
@@ -1,3 +1,4 @@
+'use strict'
module.exports = Yallist
Yallist.Node = Node
@@ -368,3 +369,8 @@ function Node (value, prev, next, list) {
this.next = null
}
}
+
+try {
+ // add if support for Symbol.iterator is present
+ require('./iterator.js')(Yallist)
+} catch (er) {}