New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 2.1.1 to 2.1.2

example.js

8

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

@@ -51,3 +51,3 @@ "main": "index.js",

"isKey",
"isSubmap",
"isSubset",
"isValue",

@@ -78,4 +78,4 @@ "join",

"some",
"submap",
"submaps",
"subset",
"subsets",
"swap",

@@ -82,0 +82,0 @@ "symmetricDifference",

@@ -34,3 +34,3 @@ [Lists] is a pair of key list and value list, with unique keys. [:running:] [:vhs:] [:package:] [:moon:] [:ledger:]

var x = [['a', 'b', 'c'], [1, 2, 3]];
[...lists.submaps(x)].map(a => [[...a[0]], [...a[1]]]);
[...lists.subsets(x)].map(a => [[...a[0]], [...a[1]]]);
// [

@@ -88,3 +88,3 @@ // [ [], [] ],

| [entry] | Picks an arbitrary entry.
| [submap] | Picks an arbitrary submap.
| [subset] | Picks an arbitrary submap.
| |

@@ -138,3 +138,3 @@ | [isEmpty] | Checks if lists is empty.

[entry]: https://github.com/nodef/extra-lists/wiki/entry
[submap]: https://github.com/nodef/extra-lists/wiki/submap
[subset]: https://github.com/nodef/extra-lists/wiki/subset
[isEmpty]: https://github.com/nodef/extra-lists/wiki/isEmpty

@@ -151,2 +151,2 @@ [isEqual]: https://github.com/nodef/extra-lists/wiki/isEqual

[fromEntries]: https://github.com/nodef/extra-lists/wiki/fromEntries
[:vhs:]: https://asciinema.org/a/340743
[:vhs:]: https://asciinema.org/a/341134
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