global-agent 4.1.2 → 4.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Logger.d.ts +11 -0
- package/dist/Logger.js +56 -0
- package/dist/classes/Agent.d.ts +46 -0
- package/dist/classes/Agent.js +216 -0
- package/dist/classes/HttpProxyAgent.d.ts +7 -0
- package/dist/classes/HttpProxyAgent.js +20 -0
- package/dist/classes/HttpsProxyAgent.d.ts +7 -0
- package/dist/classes/HttpsProxyAgent.js +48 -0
- package/dist/classes/index.d.ts +3 -0
- package/dist/classes/index.js +12 -0
- package/dist/errors.d.ts +4 -0
- package/dist/errors.js +10 -0
- package/dist/factories/createGlobalProxyAgent.d.ts +7 -0
- package/dist/factories/createGlobalProxyAgent.js +131 -0
- package/dist/factories/createGlobalProxyAgent.test.d.ts +1 -0
- package/dist/factories/createGlobalProxyAgent.test.js +539 -0
- package/dist/factories/createProxyController.d.ts +7 -0
- package/dist/factories/createProxyController.js +38 -0
- package/dist/factories/createProxyController.test.d.ts +1 -0
- package/dist/factories/createProxyController.test.js +29 -0
- package/dist/factories/index.d.ts +2 -0
- package/dist/factories/index.js +10 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +7 -0
- package/dist/routines/bootstrap.d.ts +3 -0
- package/dist/routines/bootstrap.js +20 -0
- package/dist/routines/index.d.ts +1 -0
- package/dist/routines/index.js +8 -0
- package/dist/types.d.ts +57 -0
- package/dist/types.js +2 -0
- package/dist/utilities/bindHttpMethod.d.ts +7 -0
- package/dist/utilities/bindHttpMethod.js +50 -0
- package/dist/utilities/index.d.ts +3 -0
- package/dist/utilities/index.js +12 -0
- package/dist/utilities/isUrlMatchingNoProxy.d.ts +2 -0
- package/dist/utilities/isUrlMatchingNoProxy.js +27 -0
- package/dist/utilities/isUrlMatchingNoProxy.test.d.ts +1 -0
- package/dist/utilities/isUrlMatchingNoProxy.test.js +61 -0
- package/dist/utilities/parseBoolean.d.ts +1 -0
- package/dist/utilities/parseBoolean.js +16 -0
- package/dist/utilities/parseProxyUrl.d.ts +6 -0
- package/dist/utilities/parseProxyUrl.js +31 -0
- package/dist/utilities/parseProxyUrl.test.d.ts +1 -0
- package/dist/utilities/parseProxyUrl.test.js +31 -0
- package/package.json +5 -2
- package/.babelrc +0 -23
- package/.editorconfig +0 -9
- package/.github/FUNDING.yml +0 -2
- package/.github/workflows/feature.yaml +0 -35
- package/.github/workflows/main.yaml +0 -50
- package/.gitignore +0 -12
- package/bootstrap.js +0 -1
- package/src/Logger.ts +0 -70
- package/src/classes/Agent.ts +0 -296
- package/src/classes/HttpProxyAgent.ts +0 -45
- package/src/classes/HttpsProxyAgent.ts +0 -83
- package/src/classes/index.ts +0 -9
- package/src/errors.ts +0 -9
- package/src/factories/createGlobalProxyAgent.test.ts +0 -761
- package/src/factories/createGlobalProxyAgent.ts +0 -187
- package/src/factories/createProxyController.test.ts +0 -38
- package/src/factories/createProxyController.ts +0 -51
- package/src/factories/index.ts +0 -6
- package/src/index.ts +0 -9
- package/src/routines/bootstrap.ts +0 -28
- package/src/routines/index.ts +0 -3
- package/src/types.ts +0 -70
- package/src/utilities/bindHttpMethod.ts +0 -53
- package/src/utilities/index.ts +0 -9
- package/src/utilities/isUrlMatchingNoProxy.test.ts +0 -77
- package/src/utilities/isUrlMatchingNoProxy.ts +0 -32
- package/src/utilities/parseBoolean.ts +0 -17
- package/src/utilities/parseProxyUrl.test.ts +0 -35
- package/src/utilities/parseProxyUrl.ts +0 -39
- package/tsconfig.json +0 -25
- package/vitest.config.ts +0 -11
package/tsconfig.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowSyntheticDefaultImports": true,
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"esModuleInterop": true,
|
|
6
|
-
"module": "commonjs",
|
|
7
|
-
"moduleResolution": "node",
|
|
8
|
-
"noImplicitReturns": true,
|
|
9
|
-
"noUnusedLocals": false,
|
|
10
|
-
"noUnusedParameters": false,
|
|
11
|
-
"outDir": "dist",
|
|
12
|
-
"skipLibCheck": true,
|
|
13
|
-
"strict": true,
|
|
14
|
-
"strictPropertyInitialization": false,
|
|
15
|
-
"target": "es2018"
|
|
16
|
-
},
|
|
17
|
-
"exclude": [
|
|
18
|
-
"dist",
|
|
19
|
-
"node_modules"
|
|
20
|
-
],
|
|
21
|
-
"include": [
|
|
22
|
-
"src",
|
|
23
|
-
"test"
|
|
24
|
-
]
|
|
25
|
-
}
|