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.1 to 0.4.2

5

History.md
0.4.2 / 2011-12-17
==================
* Fixed .header() for realzzz
0.4.1 / 2011-12-16

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

7

lib/should.js

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

exports.version = '0.4.1';
exports.version = '0.4.2';

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

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

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

{ "name": "should"
, "description": "test framework agnostic BDD-style assertions"
, "version": "0.4.1"
, "version": "0.4.2"
, "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