diff options
Diffstat (limited to 'deps/npm/node_modules/tar/node_modules/yallist/iterator.js')
-rw-r--r-- | deps/npm/node_modules/tar/node_modules/yallist/iterator.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/npm/node_modules/tar/node_modules/yallist/iterator.js b/deps/npm/node_modules/tar/node_modules/yallist/iterator.js new file mode 100644 index 0000000000..9149b36488 --- /dev/null +++ b/deps/npm/node_modules/tar/node_modules/yallist/iterator.js @@ -0,0 +1,8 @@ +'use strict' +var Yallist = require('./yallist.js') + +Yallist.prototype[Symbol.iterator] = function* () { + for (let walker = this.head; walker; walker = walker.next) { + yield walker.value + } +} |