Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

extra-iterable

Package Overview
Dependencies
Maintainers
1
Versions
468
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extra-iterable - npm Package Compare versions

Comparing version 2.0.36 to 2.0.37

10

index.js

@@ -712,2 +712,11 @@ /**

/**
* Removes first value.
* @param {Iterable} x an iterable
* @returns {Array} [value, iterable]
*/
function shift(x) {
var ix = x[Symbol.iterator]();
return [ix.next().value, ix];
}
/**
* Counts the number of values.

@@ -849,2 +858,3 @@ * @param {Iterable} x an iterable

exports.repeat = repeat;
exports.shift = shift;
exports.size = size;

@@ -851,0 +861,0 @@ exports.slice = slice;

2

package.json
{
"name": "extra-iterable",
"version": "2.0.36",
"version": "2.0.37",
"description": "Standard utility methods for Iterable.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc