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.28.2 to 0.28.3

3

distribution/core/Ky.js

@@ -81,3 +81,4 @@ import { HTTPError } from '../errors/HTTPError.js';

}
await delay(1);
// Delay the fetch so that body method shortcuts can set the Accept header
await Promise.resolve();
let response = await ky._fetch();

@@ -84,0 +85,0 @@ for (const hook of ky._options.hooks.afterResponse) {

{
"name": "ky",
"version": "0.28.2",
"version": "0.28.3",
"description": "Tiny and elegant HTTP client based on the browser Fetch API",

@@ -53,10 +53,10 @@ "license": "MIT",

"devDependencies": {
"@sindresorhus/tsconfig": "^1.0.1",
"@sindresorhus/tsconfig": "^1.0.2",
"@types/body-parser": "^1.19.0",
"@types/busboy": "^0.2.3",
"@types/express": "^4.17.11",
"@types/express": "^4.17.12",
"@types/node-fetch": "^2.5.10",
"@types/pify": "^5.0.0",
"abort-controller": "^3.0.0",
"ava": "^3.15.0",
"ava": "^4.0.0-alpha.2",
"body-parser": "^1.19.0",

@@ -70,7 +70,7 @@ "busboy": "^0.3.1",

"pify": "^5.0.0",
"playwright-chromium": "^1.10.0",
"playwright-chromium": "^1.11.1",
"raw-body": "^2.4.1",
"ts-node": "^9.1.1",
"typescript": "^4.2.4",
"xo": "^0.38.2"
"ts-node": "^10.0.0",
"typescript": "^4.3.2",
"xo": "^0.39.0"
},

@@ -86,18 +86,11 @@ "sideEffects": false,

"rules": {
"@typescript-eslint/dot-notation": "off",
"ava/no-import-test-files": "off",
"unicorn/filename-case": "off"
"unicorn/filename-case": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unsafe-argument": "off"
}
},
"ava": {
"files": [
"test/*"
],
"require": [
"./test/_require.ts"
],
"nonSemVerExperiments": {
"configurableModuleFormat": true,
"nextGenConfig": true
},
"extensions": {

@@ -104,0 +97,0 @@ "ts": "module"

Sorry, the diff of this file is not supported yet

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