Comparing version
{ | ||
"name": "chai-http", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"description": "Extend Chai Assertion library with tests for http apis", | ||
@@ -30,3 +30,3 @@ "author": "Jake Luer <jake@alogicalparadox.com>", | ||
".": { | ||
"import": "./index.js", | ||
"default": "./index.js", | ||
"types": "./types/index.d.ts" | ||
@@ -45,3 +45,3 @@ } | ||
"server": "http-server -o -c-1", | ||
"test": "nyc --reporter=lcovonly --reporter=text-summary mocha", | ||
"test": "c8 --reporter=lcovonly --reporter=text-summary mocha", | ||
"coverage": "if [ -z \"$COVERALLS_REPO_TOKEN\" ]; then cat coverage/lcov.info | coveralls; fi", | ||
@@ -57,2 +57,3 @@ "eslint": "eslint" | ||
"dependencies": { | ||
"@types/superagent": "^8.1.7", | ||
"charset": "^1.0.1", | ||
@@ -63,16 +64,16 @@ "cookiejar": "^2.1.4", | ||
"qs": "^6.12.1", | ||
"superagent": "^9" | ||
"superagent": "^10.0.0" | ||
}, | ||
"devDependencies": { | ||
"@eslint/js": "^9.3.0", | ||
"@types/chai": "^4.3.16", | ||
"@types/superagent": "^8.1.7", | ||
"@types/chai": "^5.0.0", | ||
"c8": "^10.1.3", | ||
"chai": "^5.1.0", | ||
"coveralls": "^3.1.1", | ||
"eslint": "^9.3.0", | ||
"eslint-plugin-mocha": "^10.4.3", | ||
"eslint-plugin-mocha": "^11.0.0", | ||
"http-server": "^14.1.1", | ||
"mocha": "^10.4.0", | ||
"npm-run-all2": "^6.2.0", | ||
"nyc": "^15.1.0", | ||
"mocha": "^11.0.0", | ||
"npm-run-all2": "^7.0.0", | ||
"polka": "^1.0.0-next.28", | ||
"prettier": "^3.2.5", | ||
@@ -79,0 +80,0 @@ "typescript": "^5.4.5" |
@@ -67,3 +67,3 @@ # Chai HTTP [](https://github.com/semantic-release/semantic-release) [](https://img.shields.io/npm/v/chai-http.svg) | ||
When passing an `app` to `request`; it will automatically open the server for | ||
When passing an `app` to `request.execute()`, it will automatically open the server for | ||
incoming requests (by calling `listen()`) and, once a request has been made | ||
@@ -247,3 +247,3 @@ the server will automatically shut down (by calling `.close()`). If you want to | ||
If `Promise` is available, `request()` becomes a Promise capable library - | ||
If `Promise` is available, `request` becomes a Promise capable library - | ||
and chaining of `then`s becomes possible: | ||
@@ -250,0 +250,0 @@ |
37395
0.11%7
16.67%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
Updated