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

should-http

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

should-http - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

.travis.yml

5

History.md
0.0.1 / 2014-05-29
==================
* Fix for current should.js version
0.0.1 / 2014-05-29
==================
* Move this thing to separate repo

6

http.js

@@ -28,11 +28,9 @@ /*!

Assertion.add('json', function() {
this.have.property('headers')
.and.have.property('content-type').include('application/json');
this.have.header('content-type').match(/application\/json/i);
}, true);
Assertion.add('html', function() {
this.have.property('headers')
.and.have.property('content-type').include('text/html');
this.have.header('content-type').match(/text\/html/i);
}, true);
};
{
"name": "should-http",
"version": "0.0.1",
"version": "0.0.2",
"description": "Http requests, response assertions for should.js",
"main": "index.js",
"scripts": {
"test": "mocha test/**.test.js"
"test": "mocha --reporter mocha-better-spec-reporter test/**.test.js"
},

@@ -9,0 +9,0 @@ "repository": {

@@ -1,2 +0,3 @@

var should = require('../');
var should = require('should');
require('../');

@@ -3,0 +4,0 @@ var assert = require('assert');

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