Socket
Socket
Sign inDemoInstall

@supercharge/collections

Package Overview
Dependencies
1
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.3.1 to 5.0.0

2

dist/index.js

@@ -14,5 +14,5 @@ 'use strict';

const collect = (collection) => {
return new pending_async_collection_1.PendingAsyncCollection([].concat(collection !== null && collection !== void 0 ? collection : []));
return new pending_async_collection_1.PendingAsyncCollection([].concat(collection ?? []));
};
exports.default = collect;
exports.Collect = collect;

@@ -18,3 +18,3 @@ 'use strict';

this.items = items;
this.callChain = new queue_datastructure_1.default(...callChain !== null && callChain !== void 0 ? callChain : []);
this.callChain = new queue_datastructure_1.default(...callChain ?? []);
}

@@ -21,0 +21,0 @@ /**

{
"name": "@supercharge/collections",
"description": "async/await-ready array methods for JavaScript and Node.js",
"version": "4.3.1",
"version": "5.0.0",
"author": "Marcus Pöhls <marcus@superchargejs.com>",

@@ -14,3 +14,3 @@ "bugs": {

"@supercharge/eslint-config-typescript": "~2.3.1",
"@supercharge/tsconfig": "~1.0.0",
"@supercharge/tsconfig": "~4.0.0",
"c8": "~7.12.0",

@@ -17,0 +17,0 @@ "eslint": "~8.26.0",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc