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

extra-lists

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extra-lists - npm Package Compare versions

Comparing version 3.0.17 to 3.0.18

2

package.json
{
"name": "extra-lists",
"version": "3.0.17",
"version": "3.0.18",
"description": "Lists is a pair of key list and value list, with unique keys.",

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

@@ -74,7 +74,11 @@ A collection of functions for operating upon Lists.<br>

| [entries] | List all key-value pairs. |
| | |
| [fromEntries] | Convert lists to entries. |
| | |
| [size] | Find the size of lists. |
| [isEmpty] | Check if lists is empty. |
| | |
| [compare] | Compare two lists. |
| [isEqual] | Check if two lists are equal. |
| | |
| [get] | Get value at key. |

@@ -87,2 +91,3 @@ | [getAll] | Gets values at keys. |

| [remove] | Remove value at key. |
| | |
| [head] | Get first entry from lists (default order). |

@@ -92,2 +97,3 @@ | [tail] | Get lists without its first entry (default order). |

| [drop] | Remove first n entries (default order). |
| | |
| [count] | Count values which satisfy a test. |

@@ -101,2 +107,3 @@ | [countAs] | Count occurrences of values. |

| [rangeEntries] | Find smallest and largest entries. |
| | |
| [subsets] | List all possible subsets. |

@@ -107,2 +114,3 @@ | [randomKey] | Pick an arbitrary key. |

| [randomSubset] | Pick an arbitrary subset. |
| | |
| [has] | Check if lists has a key. |

@@ -118,2 +126,3 @@ | [hasValue] | Check if lists has a value. |

| [searchValueAll] | Find keys with given value. |
| | |
| [forEach] | Call a function for each value. |

@@ -131,7 +140,10 @@ | [some] | Check if any value satisfies a test. |

| [zip] | Combine matching entries from all lists. |
| | |
| [partition] | Segregate values by test result. |
| [partitionAs] | Segregate entries by similarity. |
| [chunk] | Break lists into chunks of given size. |
| | |
| [concat] | Append entries from all lists, preferring last. |
| [join] | Join lists together into a string. |
| | |
| [isDisjoint] | Check if lists have no common keys. |

@@ -138,0 +150,0 @@ | [unionKeys] | Obtain keys present in any lists. |

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