Socket
Socket
Sign inDemoInstall

spy4js

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spy4js - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

4

dist/spy.js

@@ -101,3 +101,3 @@ "use strict";

return this.returns.apply(this, _toConsumableArray(args.map(function (arg) {
return this.returns.apply(this, _toConsumableArray((args.length ? args : [undefined]).map(function (arg) {
return Promise.resolve(arg);

@@ -113,3 +113,3 @@ })));

return this.calls.apply(this, _toConsumableArray(msgOrErrors.map(function (msgOrError) {
return this.calls.apply(this, _toConsumableArray((msgOrErrors.length ? msgOrErrors : [undefined]).map(function (msgOrError) {
return function () {

@@ -116,0 +116,0 @@ return Promise.reject((0, _utils.toError)(msgOrError, _this[Symbols.name]));

{
"name": "spy4js",
"version": "2.1.0",
"version": "2.1.1",
"description": "Smart, compact and powerful spy test framework",

@@ -5,0 +5,0 @@ "jest": {

Sorry, the diff of this file is not supported yet

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