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.33 to 2.0.34

38

index.js

@@ -66,6 +66,6 @@ /**

* Counts occurrences of a value.
* @param {Array} x an array
* @param {Iterable} x an array
* @param {*} v value
* @param {function?} fn compare function (a, b)
* @returns {number} occurrences
* @returns {number}
*/

@@ -88,6 +88,6 @@ function count(x, v, fn=null) {

* Counts occurrences of values.
* @param {Array} x an array
* @param {Iterable} x an array
* @param {function?} fn map function (v, i, x)
* @param {object?} ths this argument
* @returns {Map<any, number>} occurrences
* @returns {Map<any, number>}
*/

@@ -115,7 +115,7 @@ function countAllOn(x, fn=null, ths=null) {

* Counts occurrences of a value.
* @param {Array} x an array
* @param {Iterable} x an array
* @param {*} v value
* @param {function?} fn map function (v, i, x)
* @param {object?} ths this argument
* @returns {number} occurrences
* @returns {number}
*/

@@ -259,3 +259,3 @@ function countOn(x, v, fn=null, ths=null) {

/**
* Checks if value is a list (!string).
* Checks if value is a list (not string).
* @param {*} v a value

@@ -389,4 +389,4 @@ * @returns {boolean}

* Checks if arrays have no value in common.
* @param {Array} x an array
* @param {Array} y another array
* @param {Iterable} x an array
* @param {Iterable} y another array
* @param {function?} fn compare function (a, b)

@@ -430,4 +430,4 @@ * @returns {boolean} true if disjoint

* Checks if arrays have no value in common.
* @param {Array} x an array
* @param {Array} y another array
* @param {Iterable} x an array
* @param {Iterable} y another array
* @param {function?} fn map function (v, i, x)

@@ -502,3 +502,3 @@ * @param {object?} ths this argument

* Finds largest value.
* @param {Array} x an array
* @param {Iterable} x an array
* @param {function?} fn compare function (a, b)

@@ -525,3 +525,3 @@ * @returns {*}

* Finds largest value.
* @param {Array} x an array
* @param {Iterable} x an array
* @param {function?} fn map function (v, i, x)

@@ -553,3 +553,3 @@ * @param {object?} ths this argument

* Finds smallest value.
* @param {Array} x an array
* @param {Iterable} x an array
* @param {function?} fn compare function (a, b)

@@ -576,3 +576,3 @@ * @returns {*}

* Finds smallest value.
* @param {Array} x an array
* @param {Iterable} x an array
* @param {function?} fn map function (v, i, x)

@@ -593,3 +593,3 @@ * @param {object?} ths this argument

* Breaks array into values, by test.
* @param {Array} x an array
* @param {Iterable} x an array
* @param {function} fn test function (v, i, x)

@@ -619,3 +619,3 @@ * @param {object?} ths this argument

* Breaks array into values, by map.
* @param {Array} x an array
* @param {Iterable} x an array
* @param {function} fn map function (v, i, x)

@@ -648,3 +648,3 @@ * @param {object?} ths this argument

* Finds smallest and largest values.
* @param {Array} x an array
* @param {Iterable} x an array
* @param {function?} fn compare function (a, b)

@@ -673,3 +673,3 @@ * @returns {Array} [min, max]

* Finds smallest and largest values.
* @param {Array} x an array
* @param {Iterable} x an array
* @param {function?} fn map function (v, i, x)

@@ -676,0 +676,0 @@ * @param {object?} ths this argument

{
"name": "extra-iterable",
"version": "2.0.33",
"version": "2.0.34",
"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