http-assert
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -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 |
{ | ||
"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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5161
39
2
+ Addeddepd@1.1.2(transitive)
+ Addedhttp-errors@1.6.3(transitive)
+ Addedinherits@2.0.3(transitive)
+ Addedsetprototypeof@1.1.0(transitive)
- Removedhttp-errors@1.4.0(transitive)
- Removedinherits@2.0.1(transitive)
Updateddeep-equal@~1.0.1
Updatedhttp-errors@~1.6.1