Skip to content

Commit 3c9b64c

Browse files
authored
* Fix: when using node-fetch with test framework such as `jest`, `instanceof` check could fail in `Headers` class. This is causing some header values, such as `set-cookie`, to be dropped incorrectly.
1 parent db2be5a commit 3c9b64c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ Changelog
77

88
(Note: `1.x` will only have backported bugfix releases beyond `1.7.0`)
99

10+
## v1.7.2
11+
12+
- Fix: when using node-fetch with test framework such as `jest`, `instanceof` check could fail in `Headers` class. This is causing some header values, such as `set-cookie`, to be dropped incorrectly.
13+
1014
## v1.7.1
1115

1216
- Fix: close local test server properly under Node 8.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-fetch",
3-
"version": "1.7.1",
3+
"version": "1.7.2",
44
"description": "A light-weight module that brings window.fetch to node.js and io.js",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)