aboutsummaryrefslogtreecommitdiff
path: root/node_modules/got/source/index.js
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-06-04 08:51:19 +0200
committerMinteck <contact@minteck.org>2022-06-04 08:51:19 +0200
commitb22f6770c8bd084d66950655203c61dd701b3d90 (patch)
tree873d7fb19584ec2709b95cc1ca05a1fc7cfd0fc4 /node_modules/got/source/index.js
parent383285ecd5292bf9a825e05904955b937de84cc9 (diff)
downloadequestriadb-b22f6770c8bd084d66950655203c61dd701b3d90.tar.gz
equestriadb-b22f6770c8bd084d66950655203c61dd701b3d90.tar.bz2
equestriadb-b22f6770c8bd084d66950655203c61dd701b3d90.zip
Remove node_modules
Diffstat (limited to 'node_modules/got/source/index.js')
-rw-r--r--node_modules/got/source/index.js60
1 files changed, 0 insertions, 60 deletions
diff --git a/node_modules/got/source/index.js b/node_modules/got/source/index.js
deleted file mode 100644
index cbf7c37..0000000
--- a/node_modules/got/source/index.js
+++ /dev/null
@@ -1,60 +0,0 @@
-'use strict';
-const pkg = require('../package.json');
-const create = require('./create');
-
-const defaults = {
- options: {
- retry: {
- retries: 2,
- methods: [
- 'GET',
- 'PUT',
- 'HEAD',
- 'DELETE',
- 'OPTIONS',
- 'TRACE'
- ],
- statusCodes: [
- 408,
- 413,
- 429,
- 500,
- 502,
- 503,
- 504
- ],
- errorCodes: [
- 'ETIMEDOUT',
- 'ECONNRESET',
- 'EADDRINUSE',
- 'ECONNREFUSED',
- 'EPIPE',
- 'ENOTFOUND',
- 'ENETUNREACH',
- 'EAI_AGAIN'
- ]
- },
- headers: {
- 'user-agent': `${pkg.name}/${pkg.version} (https://github.com/sindresorhus/got)`
- },
- hooks: {
- beforeRequest: [],
- beforeRedirect: [],
- beforeRetry: [],
- afterResponse: []
- },
- decompress: true,
- throwHttpErrors: true,
- followRedirect: true,
- stream: false,
- form: false,
- json: false,
- cache: false,
- useElectronNet: false
- },
- mutableDefaults: false
-};
-
-const got = create(defaults);
-
-module.exports = got;