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

stub-promise-function

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stub-promise-function - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

4

index.js

@@ -8,6 +8,2 @@ 'use strict';

// var func = function() {
// return deferred.promise;
// };
var func = sinon.stub().returns(deferred.promise);

@@ -14,0 +10,0 @@

2

package.json
{
"name": "stub-promise-function",
"version": "2.0.1",
"version": "2.0.2",
"description": "A test utility that lets you stub and control promises for testing purposes",

@@ -5,0 +5,0 @@ "repository": "https://github.com/jonbern/stub-promise-function.git",

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