From b22f6770c8bd084d66950655203c61dd701b3d90 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 4 Jun 2022 08:51:19 +0200 Subject: Remove node_modules --- node_modules/got/source/index.js | 60 ---------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 node_modules/got/source/index.js (limited to 'node_modules/got/source/index.js') 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; -- cgit