Comparing version 0.25.0 to 0.25.1
@@ -80,3 +80,3 @@ /*! MIT License © Sindre Sorhus */ | ||
for (let [key, value] of Object.entries(source)) { | ||
if (isObject(value) && Reflect.has(returnValue, key)) { | ||
if (isObject(value) && (key in returnValue)) { | ||
value = deepMerge(returnValue[key], value); | ||
@@ -83,0 +83,0 @@ } |
{ | ||
"name": "ky", | ||
"version": "0.25.0", | ||
"version": "0.25.1", | ||
"description": "Tiny and elegant HTTP client based on the browser Fetch API", | ||
@@ -54,3 +54,2 @@ "license": "MIT", | ||
"busboy": "^0.3.1", | ||
"codecov": "^3.6.4", | ||
"create-test-server": "2.1.1", | ||
@@ -57,0 +56,0 @@ "delay": "^4.1.0", |
@@ -15,3 +15,3 @@ <div align="center"> | ||
[![Build Status](https://travis-ci.com/sindresorhus/ky.svg?branch=master)](https://travis-ci.com/sindresorhus/ky) [![codecov](https://codecov.io/gh/sindresorhus/ky/branch/master/graph/badge.svg)](https://codecov.io/gh/sindresorhus/ky) [![](https://badgen.net/bundlephobia/minzip/ky)](https://bundlephobia.com/result?p=ky) | ||
[![Coverage Status](https://codecov.io/gh/sindresorhus/ky/branch/master/graph/badge.svg)](https://codecov.io/gh/sindresorhus/ky) [![](https://badgen.net/bundlephobia/minzip/ky)](https://bundlephobia.com/result?p=ky) | ||
@@ -18,0 +18,0 @@ Ky targets [modern browsers](#browser-support) and [Deno](https://github.com/denoland/deno). For older browsers, you will need to transpile and use a [`fetch` polyfill](https://github.com/github/fetch). For Node.js, check out [Got](https://github.com/sindresorhus/got). For isomorphic needs (like SSR), check out [`ky-universal`](https://github.com/sindresorhus/ky-universal). |
@@ -86,3 +86,3 @@ (function (global, factory) { | ||
for (let [key, value] of Object.entries(source)) { | ||
if (isObject(value) && Reflect.has(returnValue, key)) { | ||
if (isObject(value) && (key in returnValue)) { | ||
value = deepMerge(returnValue[key], value); | ||
@@ -89,0 +89,0 @@ } |
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
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
14
66652