Socket
Socket
Sign inDemoInstall

bondjs

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bondjs - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

CODE_OF_CONDUCT.md

11

CONTRIBUTING.md

@@ -6,2 +6,12 @@ # Contribution Guide

## Code of Conduct
The [Code of Conduct](CODE_OF_CONDUCT.md)
will be enforced in all project spaces.
Please read it
so that you know what kind of behavior
is expected here.
## Reporting a Bug

@@ -24,2 +34,3 @@

## Code Style

@@ -26,0 +37,0 @@

12

lib/bond.js

@@ -56,8 +56,10 @@ // Generated by CoffeeScript 2.0.0-beta8

spy.calledWith = function (args) {
var lastArgs;
var calledArgs;
args = 1 <= arguments.length ? [].slice.call(arguments, 0) : [];
if (!spy.called)
return false;
lastArgs = spy.calledArgs[spy.called - 1];
return arrayEqual(args, lastArgs);
for (var i$ = 0, length$ = spy.calledArgs.length; i$ < length$; ++i$) {
calledArgs = spy.calledArgs[i$];
if (arrayEqual(args, calledArgs))
return true;
}
return false;
};

@@ -64,0 +66,0 @@ if (bondApi)

{
"name": "bondjs",
"version": "1.2.2",
"version": "1.2.3",
"description": "simple js stub/spy library",

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

@@ -5,6 +5,2 @@ # bond ![build status](https://travis-ci.org/EndangeredMassa/bond.png) [![David](https://david-dm.org/EndangeredMassa/bond.png)](https://david-dm.org/EndangeredMassa/bond)

bond only provides stubbing and spy functionality.

@@ -14,6 +10,8 @@ For test running and assertions,

Keep up to date with changes
by checking the
[releases](https://github.com/endangeredmassa/bond/releases).
This project is a safe and inclusive place
for contributors of all kinds.
See the [Code of Conduct](CODE_OF_CONDUCT.md)
for details.
## bond api

@@ -20,0 +18,0 @@

Sorry, the diff of this file is not supported yet

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