extra-iterable
Advanced tools
Comparing version 3.0.122 to 3.0.123
@@ -1278,3 +1278,3 @@ /** | ||
/** | ||
* List cartesian product of iterables. TODO | ||
* List cartesian product of iterables. | ||
* [📘](https://github.com/nodef/extra-iterable/wiki/cartesianProduct) | ||
@@ -1281,0 +1281,0 @@ * @param xs iterables |
@@ -726,8 +726,8 @@ 'use strict'; | ||
return; | ||
var is = [], ds = [], vs = []; | ||
var ix = [], ds = [], vs = []; | ||
for (var r = 0; r < X; r++) | ||
is[r] = xs[r][Symbol.iterator](); | ||
ix[r] = xs[r][Symbol.iterator](); | ||
for (var i = 0;; ++i) { | ||
for (var r = 0; r < X; ++r) { | ||
var { done, value } = is[r].next(); | ||
var { done, value } = ix[r].next(); | ||
ds[r] = done; | ||
@@ -734,0 +734,0 @@ vs[r] = done ? vd : value; |
{ | ||
"name": "extra-iterable", | ||
"version": "3.0.122", | ||
"version": "3.0.123", | ||
"description": "An iterable is a sequence of values.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
124836