Socket
Socket
Sign inDemoInstall

stubs

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

4

index.js

@@ -25,5 +25,5 @@ 'use strict';

if (cfg.callthrough)
cached.apply(obj, arguments)
cached.apply(obj, args)
stub.apply(obj, arguments)
stub.apply(obj, args)

@@ -30,0 +30,0 @@ if (!norevert && --cfg.calls === 0)

{
"name": "stubs",
"version": "1.1.1",
"version": "1.1.2",
"description": "Easy method stubber.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -73,2 +73,2 @@ # stubs

If `callthrough` is omitted or `false`, this method is called in place of the original method. If `callthrough` is `true`, this method is called *after* the original method is called as well.
This method is called in place of the original method. If `opts.callthrough` is `true`, this method is called *after* the original method is called as well.
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