Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

faked-promise

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

faked-promise - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

5

index.js

@@ -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

10

package.json
{
"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

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