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

should

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

should - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

5

History.md
0.4.1 / 2011-12-16
==================
* Fixed: chain .header() to retain negation
0.4.0 / 2011-12-16

@@ -3,0 +8,0 @@ ==================

6

lib/should.js

@@ -35,3 +35,3 @@ /*!

exports.version = '0.4.0';
exports.version = '0.4.1';

@@ -568,4 +568,4 @@ /**

header: function(field, val){
this.obj.should.have.property('headers');
this.obj.headers.should.have.property(field.toLowerCase(), val);
this.obj.should.have.property('headers')
.and.obj.headers.should.have.property(field.toLowerCase(), val);
return this;

@@ -572,0 +572,0 @@ },

{ "name": "should"
, "description": "test framework agnostic BDD-style assertions"
, "version": "0.4.0"
, "version": "0.4.1"
, "author": "TJ Holowaychuk <tj@vision-media.ca>"

@@ -5,0 +5,0 @@ , "contributors": [ "Aseem Kishore <aseem.kishore@gmail.com>" ]

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