Skip to content
Myr

package.json

This file

Path

package.json

102 lines · 2.3 KiB · JSON

Last changed by

landed by oscabriel3541888

History of this file

Take it

The walk stopped after 200 commits: lines older than 37fc250 point at it.

Add retry count to `afterResponse` and `beforeError` hooks (#763)Sindre Sorhusbefore adoption37fc250

lines 1–2why, one step back
1{
2 "name": "ky",3 "version": "2.2.0",

Add retry count to `afterResponse` and `beforeError` hooks (#763)Sindre Sorhusbefore adoption37fc250

lines 4–21why, one step back
4 "description": "Tiny and elegant HTTP client based on the Fetch API",
5 "license": "MIT",6 "repository": "sindresorhus/ky",7 "funding": "https://github.com/sindresorhus/ky?sponsor=1",8 "author": {9 "name": "Sindre Sorhus",10 "email": "sindresorhus@gmail.com",11 "url": "https://sindresorhus.com"12 },13 "type": "module",14 "exports": {15 "types": "./distribution/index.d.ts",16 "default": "./distribution/index.js"17 },18 "main": "./distribution/index.js",19 "types": "./distribution/index.d.ts",20 "sideEffects": false,21 "engines": {

Require Node.js 22Sindre Sorhusbefore adoptionf1da0fc

line 22why, one step back
22 "node": ">=22"

Add retry count to `afterResponse` and `beforeError` hooks (#763)Sindre Sorhusbefore adoption37fc250

lines 23–24why, one step back
23 },
24 "scripts": {

Harden retrySindre Sorhusbefore adoptionc426f19

line 25why, one step back
25 "test": "xo && npm run build && tsc --project tsconfig.test.json && ava",

Add retry count to `afterResponse` and `beforeError` hooks (#763)Sindre Sorhusbefore adoption37fc250

lines 26–56why, one step back
26 "debug": "PWDEBUG=1 ava --timeout=2m",
27 "release": "np",28 "build": "del-cli distribution && tsc --project tsconfig.dist.json",29 "prepare": "npm run build"30 },31 "files": [32 "distribution"33 ],34 "keywords": [35 "fetch",36 "request",37 "requests",38 "http",39 "https",40 "fetching",41 "get",42 "url",43 "curl",44 "wget",45 "net",46 "network",47 "ajax",48 "api",49 "rest",50 "xhr",51 "browser",52 "got",53 "axios",54 "node-fetch"55 ],56 "devDependencies": {

Require Node.js 22Sindre Sorhusbefore adoptionf1da0fc

line 57why, one step back
57 "@sindresorhus/tsconfig": "^8.1.0",

Add retry count to `afterResponse` and `beforeError` hooks (#763)Sindre Sorhusbefore adoption37fc250

line 58why, one step back
58 "@type-challenges/utils": "^0.1.1",

Require Node.js 22Sindre Sorhusbefore adoptionf1da0fc

lines 59–62why, one step back
59 "@types/busboy": "^1.5.4",
60 "@types/express": "^5.0.6",61 "@types/node": "^25.3.0",62 "ava": "^6.4.1",

Add retry count to `afterResponse` and `beforeError` hooks (#763)Sindre Sorhusbefore adoption37fc250

lines 63–64why, one step back
63 "busboy": "^1.6.0",
64 "del-cli": "^7.0.0",

Require Node.js 22Sindre Sorhusbefore adoptionf1da0fc

lines 65–66why, one step back
65 "expect-type": "^1.3.0",
66 "express": "^5.2.1",

Add retry count to `afterResponse` and `beforeError` hooks (#763)Sindre Sorhusbefore adoption37fc250

line 67why, one step back
67 "jest-leak-detector": "^30.2.0",

Require Node.js 22Sindre Sorhusbefore adoptionf1da0fc

lines 68–69why, one step back
68 "playwright": "^1.58.2",
69 "tsx": "^4.21.0",

Add retry count to `afterResponse` and `beforeError` hooks (#763)Sindre Sorhusbefore adoption37fc250

line 70why, one step back
70 "typescript": "^5.9.3",

Require Node.js 22Sindre Sorhusbefore adoptionf1da0fc

line 71why, one step back
71 "xo": "^1.2.3"

Add retry count to `afterResponse` and `beforeError` hooks (#763)Sindre Sorhusbefore adoption37fc250

lines 72–73why, one step back
72 },
73 "xo": {

Validate the retry options and forward every fetch-only extensionSindre Sorhusbefore adoptiond9774cf

lines 74–76why, one step back
74 "ignores": [
75 "Stuff/**"76 ],

Add retry count to `afterResponse` and `beforeError` hooks (#763)Sindre Sorhusbefore adoption37fc250

lines 77–85why, one step back
77 "rules": {
78 "unicorn/filename-case": "off",79 "@typescript-eslint/ban-ts-comment": "off",80 "@typescript-eslint/no-unsafe-argument": "off",81 "@typescript-eslint/no-unsafe-assignment": "off",82 "@typescript-eslint/no-unsafe-return": "off",83 "@typescript-eslint/no-unsafe-call": "off",84 "@typescript-eslint/naming-convention": "off",85 "@typescript-eslint/no-unnecessary-type-assertion": "off",

Require Node.js 22Sindre Sorhusbefore adoptionf1da0fc

lines 86–90why, one step back
86 "@typescript-eslint/parameter-properties": "off",
87 "promise/prefer-await-to-then": "off",88 "unicorn/no-invalid-fetch-options": "off",89 "n/prefer-global/buffer": "off",90 "@stylistic/function-paren-newline": "off"

Add retry count to `afterResponse` and `beforeError` hooks (#763)Sindre Sorhusbefore adoption37fc250

lines 91–102why, one step back
91 }
92 },93 "ava": {94 "extensions": {95 "ts": "module"96 },97 "nodeArguments": [98 "--import=tsx/esm"99 ],100 "workerThreads": false101 }102}