Comparing version
{ | ||
"name": "chai-http", | ||
"version": "4.4.0", | ||
"version": "5.0.0-alpha1", | ||
"description": "Extend Chai Assertion library with tests for http apis", | ||
@@ -42,3 +42,3 @@ "author": "Jake Luer <jake@alogicalparadox.com>", | ||
"server": "http-server -o -c-1", | ||
"test": "istanbul cover --report lcovonly _mocha", | ||
"test": "nyc --reporter=lcovonly --reporter=text-summary mocha", | ||
"coverage": "if [ -z \"$COVERALLS_REPO_TOKEN\" ]; then cat coverage/lcov.info | coveralls; fi", | ||
@@ -55,6 +55,6 @@ "release": "npm run build && semantic-release" | ||
"@types/chai": "4", | ||
"@types/superagent": "4.1.13", | ||
"@types/superagent": "^4.1.18", | ||
"charset": "^1.0.1", | ||
"cookiejar": "^2.1.4", | ||
"is-ip": "^2.0.0", | ||
"is-ip": "^3.1.0", | ||
"methods": "^1.1.2", | ||
@@ -65,22 +65,21 @@ "qs": "^6.11.2", | ||
"devDependencies": { | ||
"@semantic-release/changelog": "^5.0.1", | ||
"@semantic-release/commit-analyzer": "^8.0.1", | ||
"@semantic-release/git": "^9.0.0", | ||
"@semantic-release/npm": "^7.0.0", | ||
"@semantic-release/release-notes-generator": "^7.1.4", | ||
"@jsdevtools/simplifyify": "^8.0.4", | ||
"@semantic-release/changelog": "^6.0.3", | ||
"@semantic-release/commit-analyzer": "^10.0.1", | ||
"@semantic-release/git": "^10.0.1", | ||
"@semantic-release/npm": "^10.0.4", | ||
"@semantic-release/release-notes-generator": "^11.0.3", | ||
"chai": "4", | ||
"coveralls": "^3.0.0", | ||
"dox": "^0.9.0", | ||
"es6-shim": "^0.35.1", | ||
"http-server": "^0.10.0", | ||
"istanbul": "^0.4.3", | ||
"mocha": "^4.0.1", | ||
"npm-run-all": "^4.1.1", | ||
"semantic-release": "^17.3.9", | ||
"simplifyify": "^4.0.0", | ||
"typescript": "^3.0.1" | ||
"coveralls": "^3.1.1", | ||
"es6-shim": "^0.35.8", | ||
"http-server": "^14.1.1", | ||
"mocha": "^10.2.0", | ||
"npm-run-all": "^4.1.5", | ||
"nyc": "^15.1.0", | ||
"semantic-release": "^21.0.5", | ||
"typescript": "^5.1.3" | ||
}, | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=16.20.0" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# Chai HTTP [](https://github.com/semantic-release/semantic-release) [](https://img.shields.io/npm/v/chai-http.svg) [](https://img.shields.io/david/chaijs/chai-http.svg) [](https://david-dm.org/chaijs/chai-http/dev-status.svg) | ||
# Chai HTTP [](https://github.com/semantic-release/semantic-release) [](https://img.shields.io/npm/v/chai-http.svg) | ||
@@ -14,3 +14,3 @@ > HTTP integration testing with Chai assertions. | ||
This is an addon plugin for the [Chai Assertion Library](http://chaijs.com). Install via [npm](http://npmjs.org). | ||
This is an addon plugin for the [Chai Assertion Library](https://www.chaijs.com/). Install via [npm](https://www.npmjs.com/). | ||
@@ -43,3 +43,3 @@ npm install chai-http | ||
Chai HTTP provides an interface for live integration | ||
testing via [superagent](https://github.com/visionmedia/superagent). | ||
testing via [superagent](https://github.com/ladjs/superagent). | ||
To do this, you must first | ||
@@ -195,3 +195,3 @@ construct a request to an application or url. | ||
For example, in the [Mocha test framework](http://mochajs.org/), this is | ||
For example, in the [Mocha test framework](https://mochajs.org//), this is | ||
accomplished using the | ||
@@ -221,3 +221,3 @@ [`done` callback](https://mochajs.org/#asynchronous-code), which signal that the | ||
When `done` is passed in, Mocha will wait until the call to `done()`, or until | ||
the [timeout](http://mochajs.org/#timeouts) expires. `done` also accepts an | ||
the [timeout](https://mochajs.org/#timeouts) expires. `done` also accepts an | ||
error parameter when signaling completion. | ||
@@ -308,5 +308,5 @@ | ||
__Note:__ When running in a web browser, the | ||
[same-origin policy](https://tools.ietf.org/html/rfc6454#section-3) | ||
[same-origin policy](https://datatracker.ietf.org/doc/html/rfc6454#section-3) | ||
only allows Chai HTTP to read | ||
[certain headers](https://www.w3.org/TR/cors/#simple-response-header), | ||
[certain headers](https://fetch.spec.whatwg.org/#http-responses), | ||
which can cause assertions to fail. | ||
@@ -326,5 +326,5 @@ | ||
__Note:__ When running in a web browser, the | ||
[same-origin policy](https://tools.ietf.org/html/rfc6454#section-3) | ||
[same-origin policy](https://datatracker.ietf.org/doc/html/rfc6454#section-3) | ||
only allows Chai HTTP to read | ||
[certain headers](https://www.w3.org/TR/cors/#simple-response-header), | ||
[certain headers](https://fetch.spec.whatwg.org/#http-responses), | ||
which can cause assertions to fail. | ||
@@ -331,0 +331,0 @@ |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
15
-6.25%275775
-0.08%2
100%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated
Updated