summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/yallist/yallist.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/yallist/yallist.js')
-rw-r--r--deps/npm/node_modules/yallist/yallist.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/npm/node_modules/yallist/yallist.js b/deps/npm/node_modules/yallist/yallist.js
index 518d23330b..b0ab36cf31 100644
--- a/deps/npm/node_modules/yallist/yallist.js
+++ b/deps/npm/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) {}