extra-iterable
Advanced tools
Comparing version 2.0.34 to 2.0.35
11
index.js
@@ -764,2 +764,12 @@ /** | ||
/** | ||
* Adds values to the start. | ||
* @param {Iterable} x an array | ||
* @param {...any} vs values to add | ||
* @returns {Iterable} iterable | ||
*/ | ||
function* unshift(x, ...vs) { | ||
yield* vs; | ||
yield* x; | ||
} | ||
/** | ||
* Gives passed values as array. | ||
@@ -833,2 +843,3 @@ * @param {...any} vs values | ||
exports.tail = tail; | ||
exports.unshift = unshift; | ||
exports.zip = zip; |
{ | ||
"name": "extra-iterable", | ||
"version": "2.0.34", | ||
"version": "2.0.35", | ||
"description": "Standard utility methods for Iterable.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
24985
831