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

http-assert

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-assert - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

README.md

56

HISTORY.md

@@ -0,13 +1,55 @@

1.3.0 / 2017-05-07
==================
2016-02-27 / 1.2.0
* deps: deep-equal@~1.0.1
- Fix `null == undefined` for non-strict compares
* deps: http-errors@~1.6.1
- Accept custom 4xx and 5xx status codes in factory
- Deprecate using non-error status codes
- Make `message` property enumerable for `HttpError`s
- Support new code `421 Misdirected Request`
- Use `setprototypeof` module to replace `__proto__` setting
- deps: inherits@2.0.3
- deps: setprototypeof@1.0.3
- deps: statuses@'>= 1.3.1 < 2'
- perf: enable strict mode
1.2.0 / 2016-02-27
==================
* update `http-errors`
* deps: http-errors@~1.4.0
2014-12-10 / 1.1.0
1.1.1 / 2015-02-13
==================
* add equality methods @stephenmathieson
* `.equal()`, `.notEqual()`
* `.strictEqual()`, `.notStrictEqual()`
* `.deepEqual()`, `.notDeepEqual()`
* deps: deep-equal@~1.0.0
* dpes: http-errors@~1.3.1
1.1.0 / 2014-12-10
==================
* Add equality methods
- `assert.deepEqual()`
- `assert.equal()`
- `assert.notDeepEqual()`
- `assert.notEqual()`
- `assert.notStrictEqual()`
- `assert.strictEqual()`
1.0.2 / 2014-09-10
==================
* Fix setting `err.expose` on invalid status
* Use `http-errors` module
* perf: remove duplicate status check
1.0.1 / 2014-01-20
==================
* Fix typo causing `err.message` to be `undefined`
1.0.0 / 2014-01-20
==================
* Default status to 500
* Set `err.expose` to `false` for 5xx codes

31

package.json
{
"name": "http-assert",
"version": "1.2.0",
"description": "assert with status codes",
"version": "1.3.0",
"license": "MIT",
"keywords": [
"assert",
"http"
],
"repository": "jshttp/http-assert",
"dependencies": {
"deep-equal": "~1.0.1",
"http-errors": "~1.6.1"
},
"devDependencies": {
"istanbul": "~0.4.2",
"mocha": "2"
"istanbul": "0.4.5",
"mocha": "2.5.3"
},
"repository": "jshttp/http-assert",
"files": [

@@ -14,2 +23,5 @@ "LICENSE",

],
"engines": {
"node": ">= 0.8"
},
"scripts": {

@@ -19,12 +31,3 @@ "test": "mocha --reporter spec --bail --check-leaks test/",

"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
},
"keywords": [
"assert",
"http"
],
"dependencies": {
"deep-equal": "~1.0.0",
"http-errors": "~1.4.0"
},
"license": "MIT"
}
}
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