Socket
Socket
Sign inDemoInstall

@supercharge/collections

Package Overview
Dependencies
2
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.2 to 3.1.3

6

CHANGELOG.md
# Changelog
## [3.1.3](https://github.com/supercharge/collections/compare/v3.1.2...v3.1.3) - 2021-01-28
### Fixed
- fixed another typing issue for `flatMap`
## [3.1.2](https://github.com/supercharge/collections/compare/v3.1.1...v3.1.2) - 2021-01-07

@@ -4,0 +10,0 @@

4

dist/sync-collection.d.ts

@@ -161,4 +161,4 @@ import { PendingAsyncCollection } from './pending-async-collection';

*/
flatMap<R>(action: (value: T, index: number, items: T[]) => R): SyncCollection<R>;
flatMap<R>(action: (value: T, index: number, items: T[]) => Promise<R>): PendingAsyncCollection<R>;
flatMap<R>(action: (value: T, index: number, items: T[]) => R[]): SyncCollection<R>;
flatMap<R>(action: (value: T, index: number, items: T[]) => Promise<R[]>): PendingAsyncCollection<R>;
/**

@@ -165,0 +165,0 @@ * Asynchrounous version of Array#forEach(), running the given

{
"name": "@supercharge/collections",
"description": "Supercharge collections",
"version": "3.1.2",
"version": "3.1.3",
"author": "Marcus Pรถhls <marcus@superchargejs.com>",

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

"dependencies": {
"@supercharge/goodies": "~1.5.1",
"@supercharge/goodies": "~1.8.0",
"@supercharge/queue-datastructure": "~2.1.0"

@@ -18,6 +18,6 @@ },

"@supercharge/tsconfig": "~1.0.0",
"@typescript-eslint/eslint-plugin": "~4.9.0",
"eslint": "~7.14.0",
"@typescript-eslint/eslint-plugin": "~4.14.1",
"eslint": "~7.18.0",
"eslint-config-standard": "~16.0.2",
"eslint-config-standard-with-typescript": "~19.0.1",
"eslint-config-standard-with-typescript": "~20.0.0",
"eslint-plugin-import": "~2.22.1",

@@ -27,4 +27,4 @@ "eslint-plugin-node": "~11.1.0",

"eslint-plugin-standard": "~4.1.0",
"sinon": "~9.2.1",
"typescript": "~4.1.2"
"sinon": "~9.2.4",
"typescript": "~4.1.3"
},

@@ -31,0 +31,0 @@ "engines": {

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