1 | {
|
2 | "name": "got",
|
3 | "version": "14.2.0",
|
4 | "description": "Human-friendly and powerful HTTP request library for Node.js",
|
5 | "license": "MIT",
|
6 | "repository": "sindresorhus/got",
|
7 | "funding": "https://github.com/sindresorhus/got?sponsor=1",
|
8 | "type": "module",
|
9 | "exports": {
|
10 | "types": "./dist/source/index.d.ts",
|
11 | "default": "./dist/source/index.js"
|
12 | },
|
13 | "sideEffects": false,
|
14 | "engines": {
|
15 | "node": ">=20"
|
16 | },
|
17 | "scripts": {
|
18 | "test": "xo && tsc --noEmit && NODE_OPTIONS='--import=tsx/esm' ava",
|
19 | "release": "np",
|
20 | "build": "del-cli dist && tsc",
|
21 | "prepare": "npm run build"
|
22 | },
|
23 | "files": [
|
24 | "dist/source"
|
25 | ],
|
26 | "keywords": [
|
27 | "http",
|
28 | "https",
|
29 | "http2",
|
30 | "get",
|
31 | "got",
|
32 | "url",
|
33 | "uri",
|
34 | "request",
|
35 | "simple",
|
36 | "curl",
|
37 | "wget",
|
38 | "fetch",
|
39 | "net",
|
40 | "network",
|
41 | "gzip",
|
42 | "brotli",
|
43 | "requests",
|
44 | "human-friendly",
|
45 | "axios",
|
46 | "superagent",
|
47 | "node-fetch",
|
48 | "ky"
|
49 | ],
|
50 | "dependencies": {
|
51 | "@sindresorhus/is": "^6.1.0",
|
52 | "@szmarczak/http-timer": "^5.0.1",
|
53 | "cacheable-lookup": "^7.0.0",
|
54 | "cacheable-request": "^10.2.14",
|
55 | "decompress-response": "^6.0.0",
|
56 | "form-data-encoder": "^4.0.2",
|
57 | "get-stream": "^8.0.1",
|
58 | "http2-wrapper": "^2.2.1",
|
59 | "lowercase-keys": "^3.0.0",
|
60 | "p-cancelable": "^4.0.1",
|
61 | "responselike": "^3.0.0"
|
62 | },
|
63 | "devDependencies": {
|
64 | "@hapi/bourne": "^3.0.0",
|
65 | "@sindresorhus/tsconfig": "^5.0.0",
|
66 | "@sinonjs/fake-timers": "^11.2.2",
|
67 | "@types/benchmark": "^2.1.5",
|
68 | "@types/express": "^4.17.21",
|
69 | "@types/node": "^20.10.0",
|
70 | "@types/pem": "^1.14.4",
|
71 | "@types/readable-stream": "^4.0.9",
|
72 | "@types/request": "^2.48.12",
|
73 | "@types/sinon": "^17.0.2",
|
74 | "@types/sinonjs__fake-timers": "^8.1.5",
|
75 | "ava": "^5.3.1",
|
76 | "axios": "^1.6.2",
|
77 | "benchmark": "^2.1.4",
|
78 | "bluebird": "^3.7.2",
|
79 | "body-parser": "^1.20.2",
|
80 | "create-cert": "^1.0.6",
|
81 | "create-test-server": "^3.0.1",
|
82 | "del-cli": "^5.1.0",
|
83 | "delay": "^6.0.0",
|
84 | "express": "^4.18.2",
|
85 | "form-data": "^4.0.0",
|
86 | "formdata-node": "^6.0.3",
|
87 | "nock": "^13.4.0",
|
88 | "node-fetch": "^3.3.2",
|
89 | "np": "^9.0.0",
|
90 | "nyc": "^15.1.0",
|
91 | "p-event": "^6.0.0",
|
92 | "pem": "^1.14.8",
|
93 | "pify": "^6.1.0",
|
94 | "readable-stream": "^4.4.2",
|
95 | "request": "^2.88.2",
|
96 | "sinon": "^17.0.1",
|
97 | "slow-stream": "0.0.4",
|
98 | "tempy": "^3.1.0",
|
99 | "then-busboy": "^5.2.1",
|
100 | "tough-cookie": "^4.1.3",
|
101 | "tsx": "^4.6.0",
|
102 | "type-fest": "^4.8.2",
|
103 | "typescript": "^5.3.2",
|
104 | "xo": "^0.56.0"
|
105 | },
|
106 | "ava": {
|
107 | "files": [
|
108 | "test/*"
|
109 | ],
|
110 | "timeout": "1m",
|
111 | "extensions": {
|
112 | "ts": "module"
|
113 | },
|
114 | "workerThreads": false
|
115 | },
|
116 | "nyc": {
|
117 | "reporter": [
|
118 | "text",
|
119 | "html",
|
120 | "lcov"
|
121 | ],
|
122 | "extension": [
|
123 | ".ts"
|
124 | ],
|
125 | "exclude": [
|
126 | "**/test/**"
|
127 | ]
|
128 | },
|
129 | "xo": {
|
130 | "ignores": [
|
131 | "documentation/examples/*"
|
132 | ],
|
133 | "rules": {
|
134 | "@typescript-eslint/no-empty-function": "off",
|
135 | "n/no-deprecated-api": "off",
|
136 | "@typescript-eslint/no-implicit-any-catch": "off",
|
137 | "ava/assertion-arguments": "off",
|
138 | "@typescript-eslint/no-unsafe-member-access": "off",
|
139 | "@typescript-eslint/no-unsafe-return": "off",
|
140 | "@typescript-eslint/no-unsafe-assignment": "off",
|
141 | "@typescript-eslint/no-unsafe-call": "off",
|
142 | "@typescript-eslint/await-thenable": "off",
|
143 | "@typescript-eslint/no-redundant-type-constituents": "off",
|
144 | "@typescript-eslint/no-unsafe-argument": "off",
|
145 | "@typescript-eslint/promise-function-async": "off",
|
146 | "no-lone-blocks": "off",
|
147 | "unicorn/no-await-expression-member": "off",
|
148 | "unicorn/prefer-event-target": "off"
|
149 | }
|
150 | },
|
151 | "runkitExampleFilename": "./documentation/examples/runkit-example.js"
|
152 | }
|