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.2 to 2.0.3

14

index.js

@@ -14,2 +14,16 @@ /**

}
/**
* Checks if any value satisfies a test.
* @param {Iterable} x an iterable
* @param {function} fn test function (v, i ,x)
* @param {object?} ths this argument
* @returns {boolean}
*/
function some(x, fn=null, ths=null) {
var i = -1;
for(var v of x)
if(fn.call(ths, v, ++i, x)) return true;
return false;
}
exports.every = every;
exports.some = some;

2

package.json
{
"name": "extra-iterable",
"version": "2.0.2",
"version": "2.0.3",
"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