Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ky

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ky - npm Package Compare versions

Comparing version 0.25.0 to 0.25.1

2

index.js

@@ -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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc