@supercharge/promise-pool
Advanced tools
Comparing version 1.2.0 to 1.3.0
# Changelog | ||
## [1.3.0](https://github.com/superchargejs/promise-pool/compare/v1.2.0...v1.3.0) - 2020-07-16 | ||
### Added | ||
- TypeScript typings | ||
### Updated | ||
- bump dependencies | ||
- moved code base to TypeScript to automatically generate type definitions | ||
## [1.2.0](https://github.com/superchargejs/promise-pool/compare/v1.1.1...v1.2.0) - 2019-10-15 | ||
@@ -5,0 +15,0 @@ |
'use strict' | ||
module.exports = require('./src/promise-pool') | ||
module.exports.default = module.exports | ||
module.exports = require('./dist') |
{ | ||
"name": "@supercharge/promise-pool", | ||
"description": "Map-like, concurrent promise processing for Node.js", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"author": "Marcus Pöhls <marcus@futurestud.io>", | ||
@@ -9,11 +9,18 @@ "bugs": { | ||
}, | ||
"dependencies": { | ||
"@supercharge/goodies": "~1.4.0" | ||
}, | ||
"devDependencies": { | ||
"@hapi/code": "~7.0.0", | ||
"@hapi/lab": "~21.0.0", | ||
"eslint": "~6.5.1", | ||
"eslint-config-standard": "~14.1.0", | ||
"eslint-plugin-import": "~2.18.2", | ||
"eslint-plugin-node": "~10.0.0", | ||
"@supercharge/tsconfig": "~1.0.0", | ||
"@typescript-eslint/eslint-plugin": "~3.6.1", | ||
"eslint": "~6.8.0", | ||
"eslint-config-standard": "~14.1.1", | ||
"eslint-config-standard-with-typescript": "~18.0.2", | ||
"eslint-plugin-import": "~2.22.0", | ||
"eslint-plugin-node": "~11.1.0", | ||
"eslint-plugin-promise": "~4.2.1", | ||
"eslint-plugin-standard": "~4.0.1" | ||
"eslint-plugin-standard": "~4.0.1", | ||
"typescript": "~3.9.6" | ||
}, | ||
@@ -35,2 +42,6 @@ "engines": { | ||
"license": "MIT", | ||
"files": [ | ||
"dist", | ||
"index.js" | ||
], | ||
"main": "index.js", | ||
@@ -45,6 +56,12 @@ "publishConfig": { | ||
"scripts": { | ||
"lint": "eslint .", | ||
"lint:fix": "eslint . --fix", | ||
"test": "lab --assert @hapi/code --leaks --coverage --lint --reporter console --output stdout --reporter html --output ./coverage/coverage.html" | ||
} | ||
"build": "tsc", | ||
"dev": "tsc --watch", | ||
"lint": "eslint src --ext .js,.ts", | ||
"lint:fix": "eslint src --ext .js,.ts --fix", | ||
"test": "npm run build && npm run lint && npm run test:run", | ||
"test:list": "lab --assert @hapi/code --dry --verbose", | ||
"test:run": "lab --assert @hapi/code --leaks --coverage --reporter console --output stdout --reporter html --output ./coverage/coverage.html", | ||
"test:single": "npm run build && lab --assert @hapi/code --leaks --id" | ||
}, | ||
"types": "dist" | ||
} |
@@ -17,4 +17,3 @@ <div align="center"> | ||
<a href="#docs"><strong>Docs</strong></a> · | ||
<a href="#usage"><strong>Usage</strong></a> · | ||
<a href="#api"><strong>API</strong></a> | ||
<a href="#usage"><strong>Usage</strong></a> | ||
</p> | ||
@@ -24,4 +23,5 @@ <br/> | ||
<p> | ||
<a href="https://travis-ci.com/superchargejs/promise-pool"><img src="https://travis-ci.com/superchargejs/promise-pool.svg?branch=master" alt="Build Status" data-canonical-src="https://travis-ci.com/superchargejs/promise-pool.svg?branch=master" style="max-width:100%;"></a> | ||
<a href="https://www.npmjs.com/package/@supercharge/promise-pool"><img src="https://img.shields.io/npm/v/@supercharge/promise-pool.svg" alt="Latest Version"></a> | ||
<a href="https://www.npmjs.com/package/@supercharge/promise-pool"><img src="https://img.shields.io/npm/dm/@supercharge/promise-pool.svg" alt="Monthly downloads"></a> | ||
</p> | ||
@@ -47,3 +47,3 @@ <p> | ||
## Usage | ||
Using the promise pool is pretty straightforward. The pacakge exposes a class and you can create a promise pool instance using the fluent interface. | ||
Using the promise pool is pretty straightforward. The package exposes a class and you can create a promise pool instance using the fluent interface. | ||
@@ -50,0 +50,0 @@ Here’s an example using the default concurrency of 10: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19836
13
479
1
12
1
+ Added@supercharge/goodies@~1.4.0
+ Added@supercharge/goodies@1.4.0(transitive)