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

unexpected

Package Overview
Dependencies
Maintainers
1
Versions
330
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unexpected - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

8

lib/unexpected.js

@@ -357,2 +357,6 @@ // Copyright (c) 2013 Sune Simonsen <sune@we-knowhow.dk>

expect.addAssertion('[not] to be true', function () {
this.assert(this.obj === true);
});
expect.addAssertion('[not] to be (ok|truthy)', function () {

@@ -362,2 +366,6 @@ this.assert(this.obj);

expect.addAssertion('[not] to be false', function () {
this.assert(this.obj === false);
});
expect.addAssertion('[not] to be falsy', function () {

@@ -364,0 +372,0 @@ this.assert(!this.obj);

2

package.json
{
"name": "unexpected",
"version": "1.0.3",
"version": "1.0.4",
"author": "Sune Sloth Simonsen <sune@we-knowhow.dk>",

@@ -5,0 +5,0 @@ "keywords": [

@@ -59,2 +59,4 @@ /*global describe, it, expect*/

expect(undefined, 'not to be null');
expect(true, 'to be true');
expect(false, 'to be false');
expect(undefined, 'to be undefined');

@@ -61,0 +63,0 @@ if (typeof Buffer !== 'undefined') {

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