nock
Advanced tools
Comparing version 14.0.0-beta.2 to 14.0.0-beta.3
'use strict' | ||
const { headersArrayToObject } = require('./common') | ||
const { STATUS_CODES } = require('http') | ||
@@ -40,3 +41,3 @@ /** | ||
status: message.statusCode, | ||
statusText: message.statusMessage, | ||
statusText: STATUS_CODES[message.statusCode], | ||
headers: headersArrayToObject(message.rawHeaders), | ||
@@ -43,0 +44,0 @@ }) |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "14.0.0-beta.2", | ||
"version": "14.0.0-beta.3", | ||
"author": "Pedro Teixeira <pedro.teixeira@gmail.com>", | ||
@@ -13,0 +13,0 @@ "repository": { |
@@ -12,4 +12,9 @@ # Nock | ||
> **Warning** | ||
> nock is currently not compatible with Node's experimental native `fetch` implementation. See [#2397](https://github.com/nock/nock/issues/2397) | ||
> **Notice** | ||
> | ||
> We have introduced experimental support for fetch. Please share your feedback with us. You can install it by: | ||
> | ||
> ``` | ||
> npm install --save-dev nock@beta | ||
> ``` | ||
@@ -1702,2 +1707,3 @@ HTTP server mocking and expectations library for Node.js | ||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/rsaryev"><img src="https://avatars.githubusercontent.com/u/70219513?v=4?s=100" width="100px;" alt="Saryev Rustam"/><br /><sub><b>Saryev Rustam</b></sub></a><br /><a href="https://github.com/nock/nock/commits?author=rsaryev" title="Code">💻</a> <a href="https://github.com/nock/nock/commits?author=rsaryev" title="Tests">⚠️</a></td> | ||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mikicho"><img src="https://avatars.githubusercontent.com/u/11459632?v=4?s=100" width="100px;" alt="Michael Solomon"/><br /><sub><b>Michael Solomon</b></sub></a><br /><a href="#maintenance-mikicho" title="Maintenance">🚧</a> <a href="https://github.com/nock/nock/commits?author=mikicho" title="Code">💻</a> <a href="https://github.com/nock/nock/commits?author=mikicho" title="Documentation">📖</a></td> | ||
</tr> | ||
@@ -1704,0 +1710,0 @@ </tbody> |
189673
3696
1738
4