faked-promise
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -0,1 +1,6 @@ | ||
/** | ||
* Creates a Promise that can be resolved manually | ||
* | ||
* @returns {[Promise<any>, (value?: any) => void, (error?: any) => void]} | ||
*/ | ||
module.exports = function fakePromise () { | ||
@@ -2,0 +7,0 @@ let res, rej |
{ | ||
"name": "faked-promise", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Create a promise that can be resolved and rejected outside of it", | ||
@@ -38,6 +38,6 @@ "main": "index.js", | ||
"devDependencies": { | ||
"codecov": "^3.0.0", | ||
"eslint": "^4.16.0", | ||
"eslint-config-posva": "^1.3.2", | ||
"jest": "^22.1.4" | ||
"codecov": "^3.3.0", | ||
"eslint": "^5.16.0", | ||
"eslint-config-posva": "^2.0.3", | ||
"jest": "^24.7.1" | ||
}, | ||
@@ -44,0 +44,0 @@ "repository": { |
@@ -1,2 +0,2 @@ | ||
# faked-promise [![Build Status](https://img.shields.io/circleci/project/posva/faked-promise/master.svg)](https://circleci.com/gh/posva/faked-promise) [![npm package](https://img.shields.io/npm/v/faked-promise.svg)](https://www.npmjs.com/package/faked-promise) [![coverage](https://img.shields.io/codecov/c/github/posva/faked-promise.svg)](https://codecov.io/github/posva/faked-promise) [![donate](https://img.shields.io/badge/donate-%E2%99%A5-ff69b4.svg)](https://github.com/posva/donate) | ||
# faked-promise [![Build Status](https://img.shields.io/circleci/project/posva/faked-promise/master.svg)](https://circleci.com/gh/posva/faked-promise) [![npm package](https://img.shields.io/npm/v/faked-promise.svg)](https://www.npmjs.com/package/faked-promise) [![coverage](https://img.shields.io/codecov/c/github/posva/faked-promise.svg)](https://codecov.io/github/posva/faked-promise) [![thanks](https://img.shields.io/badge/thanks-%E2%99%A5-ff69b4.svg)](https://github.com/posva/thanks) | ||
@@ -3,0 +3,0 @@ > Create a promise that can be resolved and rejected programatically outside of it |
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
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
4018
14
0