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

simple-mock

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-mock - npm Package Compare versions

Comparing version 0.4.1 to 0.5.0

4

index.js

@@ -71,4 +71,4 @@ (function (global, module) { // Browser compatibility

if (action.throwError) throw action.throwError
if (action.returnValue) return action.returnValue
if (action.fn) return action.fn.apply(action.ctx || this, arguments)
if ('returnValue' in action) return action.returnValue
if ('fn' in action) return action.fn.apply(action.ctx || this, arguments)

@@ -75,0 +75,0 @@ var cb = ('cbArgIndex' in action) ? arguments[action.cbArgIndex] : arguments[arguments.length - 1]

{
"name": "simple-mock",
"version": "0.4.1",
"version": "0.5.0",
"description": "Super simple stubs and spies with 1-step sandbox restore",

@@ -5,0 +5,0 @@ "license": "MIT",

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