flow like the river

This commit is contained in:
root 2025-11-07 00:06:12 +01:00
commit 013fe673f3
42435 changed files with 5764238 additions and 0 deletions

View file

@ -0,0 +1,293 @@
{
"date": "2024-07-01T18:20:54.580Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/acceptance/resurrect.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 2017,
"ppid": 1900,
"parent": null,
"uuid": "05548891-05d5-4e8c-a8ad-01765d2d1635",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/acceptance/resurrect.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/index.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildServer.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/MockConnection.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/TestClient.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildCluster.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildProxy.ts"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
]
},
"root": "05548891-05d5-4e8c-a8ad-01765d2d1635",
"externalID": "test/acceptance/resurrect.test.ts",
"code": 0,
"signal": null,
"runtime": 1571.517679,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

View file

@ -0,0 +1,239 @@
{
"date": "2024-07-01T18:21:01.540Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/security.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 2116,
"ppid": 1900,
"parent": null,
"uuid": "0c9bc048-5f79-435a-84cd-e013816d3a61",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/security.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/src/security.ts"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
]
},
"root": "0c9bc048-5f79-435a-84cd-e013816d3a61",
"externalID": "test/unit/security.test.ts",
"code": 0,
"signal": null,
"runtime": 1067.642893
}

View file

@ -0,0 +1,293 @@
{
"date": "2024-07-01T18:21:00.133Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/http-connection.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 2103,
"ppid": 1900,
"parent": null,
"uuid": "332d90dd-1eca-4863-8ced-891c89f15785",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/http-connection.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/index.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildServer.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/MockConnection.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/TestClient.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildCluster.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildProxy.ts"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
]
},
"root": "332d90dd-1eca-4863-8ced-891c89f15785",
"externalID": "test/unit/http-connection.test.ts",
"code": 0,
"signal": null,
"runtime": 8820.886139,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

View file

@ -0,0 +1,287 @@
{
"date": "2024-07-01T18:20:57.481Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/cloud-connection-pool.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 2054,
"ppid": 1900,
"parent": null,
"uuid": "35b49ad1-4e00-4ed6-b0f4-f50bbb6cb22f",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/cloud-connection-pool.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
]
},
"root": "35b49ad1-4e00-4ed6-b0f4-f50bbb6cb22f",
"externalID": "test/unit/cloud-connection-pool.test.ts",
"code": 0,
"signal": null,
"runtime": 1085.306883,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

View file

@ -0,0 +1,287 @@
{
"date": "2024-07-01T18:20:58.802Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/diagnostic.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 2078,
"ppid": 1900,
"parent": null,
"uuid": "39d9ca76-431f-41b5-941d-1aaed004b5c6",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/diagnostic.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
]
},
"root": "39d9ca76-431f-41b5-941d-1aaed004b5c6",
"externalID": "test/unit/diagnostic.test.ts",
"code": 0,
"signal": null,
"runtime": 1129.432089,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

View file

@ -0,0 +1,293 @@
{
"date": "2024-07-01T18:20:50.359Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/acceptance/events-order.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 1956,
"ppid": 1900,
"parent": null,
"uuid": "6e3b1cf4-618e-41e4-aac4-59f30ce6bb27",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/acceptance/events-order.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/index.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildServer.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/MockConnection.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/TestClient.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildCluster.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildProxy.ts"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
]
},
"root": "6e3b1cf4-618e-41e4-aac4-59f30ce6bb27",
"externalID": "test/acceptance/events-order.test.ts",
"code": 0,
"signal": null,
"runtime": 15138.845723,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

View file

@ -0,0 +1,293 @@
{
"date": "2024-07-01T18:21:03.928Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/transport.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 2141,
"ppid": 1900,
"parent": null,
"uuid": "6fd382ab-7f8e-4ae2-9297-896cff092dbe",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/transport.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/index.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildServer.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/MockConnection.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/TestClient.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildCluster.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildProxy.ts"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
]
},
"root": "6fd382ab-7f8e-4ae2-9297-896cff092dbe",
"externalID": "test/unit/transport.test.ts",
"code": 0,
"signal": null,
"runtime": 2198.135379,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

View file

@ -0,0 +1,287 @@
{
"date": "2024-07-01T18:20:55.881Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/base-connection.pool.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 2030,
"ppid": 1900,
"parent": null,
"uuid": "70bd4b17-be6e-47c4-b6de-f6be4d03c644",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/base-connection.pool.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
]
},
"root": "70bd4b17-be6e-47c4-b6de-f6be4d03c644",
"externalID": "test/unit/base-connection.pool.test.ts",
"code": 0,
"signal": null,
"runtime": 1390.956025,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

View file

@ -0,0 +1,293 @@
{
"date": "2024-07-01T18:20:50.350Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/acceptance/observability.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 1962,
"ppid": 1900,
"parent": null,
"uuid": "85ccaf12-2763-4f6f-b791-b4c4151e3d6d",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/acceptance/observability.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/index.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildServer.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/MockConnection.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/TestClient.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildCluster.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildProxy.ts"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
]
},
"root": "85ccaf12-2763-4f6f-b791-b4c4151e3d6d",
"externalID": "test/acceptance/observability.test.ts",
"code": 0,
"signal": null,
"runtime": 2169.512513,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

View file

@ -0,0 +1,287 @@
{
"date": "2024-07-01T18:21:02.756Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/serializer.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 2128,
"ppid": 1900,
"parent": null,
"uuid": "9757d97f-a837-427b-8eec-f300841c8295",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/serializer.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
]
},
"root": "9757d97f-a837-427b-8eec-f300841c8295",
"externalID": "test/unit/serializer.test.ts",
"code": 0,
"signal": null,
"runtime": 994.09206,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

View file

@ -0,0 +1,287 @@
{
"date": "2024-07-01T18:20:59.962Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/errors.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 2091,
"ppid": 1900,
"parent": null,
"uuid": "984045df-1626-4e01-bd8f-cc2f6fbb331b",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/errors.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
]
},
"root": "984045df-1626-4e01-bd8f-cc2f6fbb331b",
"externalID": "test/unit/errors.test.ts",
"code": 0,
"signal": null,
"runtime": 1375.554076,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

View file

@ -0,0 +1,292 @@
{
"date": "2024-07-01T18:20:56.412Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/base-connection.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 2042,
"ppid": 1900,
"parent": null,
"uuid": "99949b15-59ab-4b22-83e5-7e2b9ec849d1",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/base-connection.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/src/connection/BaseConnection.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/src/Diagnostic.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/src/errors.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/src/security.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/src/symbols.ts"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
]
},
"root": "99949b15-59ab-4b22-83e5-7e2b9ec849d1",
"externalID": "test/unit/base-connection.test.ts",
"code": 0,
"signal": null,
"runtime": 1510.064883,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

View file

@ -0,0 +1,293 @@
{
"date": "2024-07-01T18:20:58.153Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/cluster-connection-pool.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 2066,
"ppid": 1900,
"parent": null,
"uuid": "a1ed6472-940d-4a1e-85f9-02aab6f0250a",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/cluster-connection-pool.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/index.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildServer.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/MockConnection.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/TestClient.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildCluster.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildProxy.ts"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
]
},
"root": "a1ed6472-940d-4a1e-85f9-02aab6f0250a",
"externalID": "test/unit/cluster-connection-pool.test.ts",
"code": 0,
"signal": null,
"runtime": 1600.947025,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

View file

@ -0,0 +1,287 @@
{
"date": "2024-07-01T18:21:06.394Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/weighted-connection-pool.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 2170,
"ppid": 1900,
"parent": null,
"uuid": "a4ae76dd-83b4-472a-8384-8e8661f62817",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/weighted-connection-pool.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
]
},
"root": "a4ae76dd-83b4-472a-8384-8e8661f62817",
"externalID": "test/unit/weighted-connection-pool.test.ts",
"code": 0,
"signal": null,
"runtime": 1371.976331,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

View file

@ -0,0 +1,293 @@
{
"date": "2024-07-01T18:21:05.772Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/undici-connection.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 2158,
"ppid": 1900,
"parent": null,
"uuid": "bc3fff4c-2af4-4bf2-b13c-51ba8df2fafd",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/unit/undici-connection.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/index.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildServer.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/MockConnection.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/TestClient.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildCluster.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildProxy.ts"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
]
},
"root": "bc3fff4c-2af4-4bf2-b13c-51ba8df2fafd",
"externalID": "test/unit/undici-connection.test.ts",
"code": 0,
"signal": null,
"runtime": 8740.235996,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

View file

@ -0,0 +1,293 @@
{
"date": "2024-07-01T18:20:50.356Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/acceptance/close-client.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 1955,
"ppid": 1900,
"parent": null,
"uuid": "ca2b5554-2057-43da-8167-d2651dba5413",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/acceptance/close-client.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/index.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildServer.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/MockConnection.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/TestClient.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildCluster.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildProxy.ts"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
]
},
"root": "ca2b5554-2057-43da-8167-d2651dba5413",
"externalID": "test/acceptance/close-client.test.ts",
"code": 0,
"signal": null,
"runtime": 3986.731363,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

View file

@ -0,0 +1,293 @@
{
"date": "2024-07-01T18:20:54.051Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/acceptance/proxy.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 2005,
"ppid": 1900,
"parent": null,
"uuid": "ca8eb093-8af2-4064-ad83-0557e50b34f0",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/acceptance/proxy.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/index.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildServer.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/MockConnection.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/TestClient.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildCluster.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildProxy.ts"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
]
},
"root": "ca8eb093-8af2-4064-ad83-0557e50b34f0",
"externalID": "test/acceptance/proxy.test.ts",
"code": 0,
"signal": null,
"runtime": 1598.352457,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

View file

@ -0,0 +1,293 @@
{
"date": "2024-07-01T18:20:52.706Z",
"argv": [
"/opt/hostedtoolcache/node/20.15.0/x64/bin/node",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/acceptance/product-check.test.ts"
],
"execArgv": [
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"--enable-source-maps",
"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs"
],
"NODE_OPTIONS": "\"--import=file:///home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/processinfo/dist/esm/import.mjs\"",
"cwd": "/home/runner/work/elastic-transport-js/elastic-transport-js",
"pid": 1992,
"ppid": 1900,
"parent": null,
"uuid": "f35d2124-0e22-4784-8f37-d8d140f6dd53",
"files": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/acceptance/product-check.test.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/import-loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/loader.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/hooks.mjs",
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service-client.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Diagnostic.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/errors.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/security.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Transport.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/Serializer.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/symbols.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/BaseConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/HttpConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/connection/UndiciConnection.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/index.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/BaseConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/WeightedConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/ClusterConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/lib/pool/CloudConnectionPool.js",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/index.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildServer.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/MockConnection.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/TestClient.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildCluster.ts",
"/home/runner/work/elastic-transport-js/elastic-transport-js/test/utils/buildProxy.ts"
],
"sources": {
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/import.mjs": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/import.mts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/mock-service.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/mock-service.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-relative-require.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-relative-require.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/export-line.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/export-line.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/munge-mocks.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/munge-mocks.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/resolve-mock-entry-point.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/resolve-mock-entry-point.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/dist/esm/service-key.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/mock/src/service-key.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditional-values.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditional-values.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-all-conditions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-all-conditions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-unique-condition-sets.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-unique-condition-sets.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-exports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-exports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-all-local-imports.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-all-local-imports.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-conditional-value.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-conditional-value.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-conditional-values-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-conditional-values-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/is-windows.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/is-windows.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/call-site-like.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/call-site-like.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/require-resolve.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/require-resolve.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/errors.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/errors.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/file-exists.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/file-exists.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-dependency-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-dependency-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-package-import.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-package-import.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-file-url.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-file-url.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/to-path.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/to-path.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/get-named-exports-list.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/get-named-exports-list.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-pkg.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-pkg.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/resolve-export.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/resolve-export.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/star-glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/star-glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-dep-package.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-dep-package.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/dist/esm/parse.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/@tapjs/stack/src/parse.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/dist/mjs/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/walk-up-path/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/find-star-match.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/find-star-match.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/dist/esm/read-json.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/resolve-import/src/read-json.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/glob.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/glob.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/has-magic.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/has-magic.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/ignore.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/ignore.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/assert-valid-pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/assert-valid-pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/ast.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/ast.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/escape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/escape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/unescape.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/unescape.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/path-scurry/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/pattern.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/pattern.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/walker.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/walker.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/dist/esm/brace-expressions.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minimatch/src/brace-expressions.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/minipass/src/index.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/dist/esm/processor.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/glob/src/processor.ts"
],
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/dist/esm/index.js": [
"/home/runner/work/elastic-transport-js/elastic-transport-js/node_modules/lru-cache/src/index.ts"
]
},
"root": "f35d2124-0e22-4784-8f37-d8d140f6dd53",
"externalID": "test/acceptance/product-check.test.ts",
"code": 0,
"signal": null,
"runtime": 1162.186183,
"globalsAdded": [
"__extends",
"__assign",
"__rest",
"__decorate",
"__param",
"__esDecorate",
"__runInitializers",
"__propKey",
"__setFunctionName",
"__metadata",
"__awaiter",
"__generator",
"__exportStar",
"__createBinding",
"__values",
"__read",
"__spread",
"__spreadArrays",
"__spreadArray",
"__await",
"__asyncGenerator",
"__asyncDelegator",
"__asyncValues",
"__makeTemplateObject",
"__importStar",
"__importDefault",
"__classPrivateFieldGet",
"__classPrivateFieldSet",
"__classPrivateFieldIn",
"__addDisposableResource",
"__disposeResources"
]
}

201
BACK_BACK/node_modules/@elastic/transport/LICENSE generated vendored Executable file
View file

@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2021 Elastic and contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

48
BACK_BACK/node_modules/@elastic/transport/README.md generated vendored Executable file
View file

@ -0,0 +1,48 @@
<img align="right" width="auto" height="auto" src="https://www.elastic.co/static-res/images/elastic-logo-200.png">
# Elastic Node.js Transport
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/) [![Node CI](https://github.com/elastic/elastic-transport-js/actions/workflows/nodejs.yml/badge.svg)](https://github.com/elastic/elastic-transport-js/actions/workflows/nodejs.yml) [![codecov](https://codecov.io/gh/elastic/elastic-transport-js/branch/master/graph/badge.svg?token=4CU5AeB3FW)](https://codecov.io/gh/elastic/elastic-transport-js) [![NPM downloads](https://img.shields.io/npm/dm/@elastic/transport.svg?style=flat)](https://www.npmjs.com/package/@elastic/transport)
This is a HTTP transport Node.js library for communicate with [Elastic](http://elastic.co/) products,
like [Elasticsearch](https://github.com/elastic/elasticsearch).
## Install
```
npm install @elastic/transport
```
### Node.js support
NOTE: The minimum supported version of Node.js is `v18`.
The client versioning follows the Elastic Stack versioning, this means that
major, minor, and patch releases are done following a precise schedule that
often does not coincide with the [Node.js release](https://nodejs.org/en/about/releases/) times.
To avoid support insecure and unsupported versions of Node.js, the
client **will drop the support of EOL versions of Node.js between minor releases**.
Typically, as soon as a Node.js version goes into EOL, the client will continue
to support that version for at least another minor release.
Unless you are **always** using a supported version of Node.js,
we recommend defining the client dependency in your
`package.json` with the `~` instead of `^`. In this way, you will lock the
dependency on the minor release and not the major. (for example, `~7.10.0` instead
of `^7.10.0`).
| Node.js Version | Node.js EOL date | End of support |
| --------------- |------------------| -------------- |
| `8.x` | December 2019 | `7.11` (early 2021) |
| `10.x` | April 2021 | `7.12` (mid 2021) |
| `12.x` | April 2022 | `8.2` (early 2022) |
| `14.x` | April 2023 | `8.8` (early 2023) |
| `16.x` | October 2023 | `8.14` (early 2024) |
## API
## Usage
## License
This software is licensed under the [Apache 2 license](./LICENSE).

11
BACK_BACK/node_modules/@elastic/transport/codecov.yml generated vendored Executable file
View file

@ -0,0 +1,11 @@
comment: off
coverage:
precision: 2
round: down
range: "95...100"
status:
project: yes
patch: yes
changes: no

85
BACK_BACK/node_modules/@elastic/transport/index.d.ts generated vendored Executable file
View file

@ -0,0 +1,85 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
import Diagnostic, { events } from './lib/Diagnostic'
import Transport from './lib/Transport'
import {
BaseConnection,
HttpConnection,
UndiciConnection
} from './lib/connection'
import {
WeightedConnectionPool,
ClusterConnectionPool,
CloudConnectionPool,
BaseConnectionPool
} from './lib/pool'
import Serializer from './lib/Serializer'
import * as errors from './lib/errors'
export type {
Connection,
ConnectionOptions,
ConnectionRequestParams,
ConnectionRequestOptions,
ConnectionRequestOptionsAsStream,
ConnectionRequestResponse,
ConnectionRequestResponseAsStream
} from './lib/connection'
export type {
ConnectionPoolOptions,
GetConnectionOptions
} from './lib/pool'
export type {
TransportOptions,
TransportRequestMetadata,
TransportRequestParams,
TransportRequestOptions,
TransportRequestOptionsWithMeta,
TransportRequestOptionsWithOutMeta,
SniffOptions
} from './lib/Transport'
export type {
RequestBody,
RequestNDBody,
DiagnosticResult,
TransportResult,
HttpAgentOptions,
UndiciAgentOptions,
ApiKeyAuth,
BearerAuth
} from './lib/types'
export {
Diagnostic,
Transport,
WeightedConnectionPool,
ClusterConnectionPool,
BaseConnectionPool,
CloudConnectionPool,
BaseConnection,
HttpConnection,
UndiciConnection,
Serializer,
errors,
events
}

51
BACK_BACK/node_modules/@elastic/transport/index.js generated vendored Executable file
View file

@ -0,0 +1,51 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict'
const { default: Diagnostic, events } = require('./lib/Diagnostic')
const Transport = require('./lib/Transport').default
const {
BaseConnection,
HttpConnection,
UndiciConnection
} = require('./lib/connection')
const {
BaseConnectionPool,
ClusterConnectionPool,
CloudConnectionPool,
WeightedConnectionPool
} = require('./lib/pool')
const Serializer = require('./lib/Serializer').default
const errors = require('./lib/errors')
module.exports = {
Diagnostic,
Transport,
BaseConnection,
HttpConnection,
UndiciConnection,
BaseConnectionPool,
ClusterConnectionPool,
CloudConnectionPool,
WeightedConnectionPool,
Serializer,
errors,
events
}

View file

@ -0,0 +1,34 @@
/// <reference types="node" />
import { EventEmitter } from 'events';
import { ElasticsearchClientError } from './errors';
import { ConnectionRequestOptions } from './connection';
import { ResurrectEvent } from './pool';
import { DiagnosticResult, DiagnosticResultResponse } from './types';
export type DiagnosticListener = (err: ElasticsearchClientError | null, meta: any | null) => void;
export type DiagnosticListenerFull = (err: ElasticsearchClientError | null, meta: DiagnosticResult | null) => void;
export type DiagnosticListenerFullResponse = (err: ElasticsearchClientError | null, meta: DiagnosticResultResponse | null) => void;
export type DiagnosticListenerLight = (err: ElasticsearchClientError | null, meta: ConnectionRequestOptions | null) => void;
export type DiagnosticListenerResurrect = (err: ElasticsearchClientError | null, meta: ResurrectEvent | null) => void;
export declare enum events {
RESPONSE = "response",
REQUEST = "request",
SNIFF = "sniff",
RESURRECT = "resurrect",
SERIALIZATION = "serialization",
DESERIALIZATION = "deserialization"
}
export default class Diagnostic extends EventEmitter {
on(event: 'request', listener: DiagnosticListenerFull): this;
on(event: 'response', listener: DiagnosticListenerFullResponse): this;
on(event: 'serialization', listener: DiagnosticListenerFull): this;
on(event: 'sniff', listener: DiagnosticListenerFull): this;
on(event: 'deserialization', listener: DiagnosticListenerLight): this;
on(event: 'resurrect', listener: DiagnosticListenerResurrect): this;
once(event: 'request', listener: DiagnosticListenerFull): this;
once(event: 'response', listener: DiagnosticListenerFullResponse): this;
once(event: 'serialization', listener: DiagnosticListenerFull): this;
once(event: 'sniff', listener: DiagnosticListenerFull): this;
once(event: 'deserialization', listener: DiagnosticListenerLight): this;
once(event: 'resurrect', listener: DiagnosticListenerResurrect): this;
off(event: string, listener: DiagnosticListener): this;
}

58
BACK_BACK/node_modules/@elastic/transport/lib/Diagnostic.js generated vendored Executable file
View file

@ -0,0 +1,58 @@
"use strict";
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.events = void 0;
const events_1 = require("events");
const errors_1 = require("./errors");
var events;
(function (events) {
events["RESPONSE"] = "response";
events["REQUEST"] = "request";
events["SNIFF"] = "sniff";
events["RESURRECT"] = "resurrect";
events["SERIALIZATION"] = "serialization";
events["DESERIALIZATION"] = "deserialization";
})(events = exports.events || (exports.events = {}));
class Diagnostic extends events_1.EventEmitter {
on(event, listener) {
assertSupportedEvent(event);
super.on(event, listener);
return this;
}
once(event, listener) {
assertSupportedEvent(event);
super.once(event, listener);
return this;
}
off(event, listener) {
assertSupportedEvent(event);
super.off(event, listener);
return this;
}
}
exports.default = Diagnostic;
function assertSupportedEvent(event) {
if (!supportedEvents.includes(event)) {
throw new errors_1.ConfigurationError(`The event '${event}' is not supported.`);
}
}
// @ts-expect-error
const supportedEvents = Object.keys(events).map(key => events[key]);
//# sourceMappingURL=Diagnostic.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"Diagnostic.js","sourceRoot":"","sources":["../src/Diagnostic.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEH,mCAAqC;AACrC,qCAAuE;AAWvE,IAAY,MAOX;AAPD,WAAY,MAAM;IAChB,+BAAqB,CAAA;IACrB,6BAAmB,CAAA;IACnB,yBAAe,CAAA;IACf,iCAAuB,CAAA;IACvB,yCAA+B,CAAA;IAC/B,6CAAmC,CAAA;AACrC,CAAC,EAPW,MAAM,GAAN,cAAM,KAAN,cAAM,QAOjB;AAED,MAAqB,UAAW,SAAQ,qBAAY;IAOlD,EAAE,CAAE,KAAa,EAAE,QAA4B;QAC7C,oBAAoB,CAAC,KAAK,CAAC,CAAA;QAC3B,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAA;QACzB,OAAO,IAAI,CAAA;IACb,CAAC;IAQD,IAAI,CAAE,KAAa,EAAE,QAA4B;QAC/C,oBAAoB,CAAC,KAAK,CAAC,CAAA;QAC3B,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAA;QAC3B,OAAO,IAAI,CAAA;IACb,CAAC;IAED,GAAG,CAAE,KAAa,EAAE,QAA4B;QAC9C,oBAAoB,CAAC,KAAK,CAAC,CAAA;QAC3B,KAAK,CAAC,GAAG,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAA;QAC1B,OAAO,IAAI,CAAA;IACb,CAAC;CACF;AA9BD,6BA8BC;AAED,SAAS,oBAAoB,CAAE,KAAa;IAC1C,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;QACpC,MAAM,IAAI,2BAAkB,CAAC,cAAc,KAAK,qBAAqB,CAAC,CAAA;KACvE;AACH,CAAC;AAED,mBAAmB;AACnB,MAAM,eAAe,GAAa,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAA"}

View file

@ -0,0 +1,24 @@
import { kJsonOptions } from './symbols';
export interface SerializerOptions {
enablePrototypePoisoningProtection?: boolean | 'proto' | 'constructor';
}
export default class Serializer {
[kJsonOptions]: {
protoAction: string;
constructorAction: string;
};
constructor(opts?: SerializerOptions);
/**
* Serializes a record into a JSON string
*/
serialize(object: Record<string, any>): string;
/**
* Given a string, attempts to parse it from raw JSON into an object
*/
deserialize<T = unknown>(json: string): T;
/**
* Serializes an array of records into an ndjson string
*/
ndserialize(array: Array<Record<string, any> | string>): string;
qserialize(object?: Record<string, any> | string): string;
}

116
BACK_BACK/node_modules/@elastic/transport/lib/Serializer.js generated vendored Executable file
View file

@ -0,0 +1,116 @@
"use strict";
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const querystring_1 = require("querystring");
const debug_1 = tslib_1.__importDefault(require("debug"));
const secure_json_parse_1 = tslib_1.__importDefault(require("secure-json-parse"));
const errors_1 = require("./errors");
const symbols_1 = require("./symbols");
const debug = (0, debug_1.default)('elasticsearch');
class Serializer {
constructor(opts = {}) {
var _b;
Object.defineProperty(this, _a, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
const enabled = (_b = opts.enablePrototypePoisoningProtection) !== null && _b !== void 0 ? _b : false;
this[symbols_1.kJsonOptions] = {
protoAction: enabled === true || enabled === 'proto' ? 'error' : 'ignore',
constructorAction: enabled === true || enabled === 'constructor' ? 'error' : 'ignore'
};
}
/**
* Serializes a record into a JSON string
*/
serialize(object) {
debug('Serializing', object);
let json;
try {
json = JSON.stringify(object);
}
catch (err) {
throw new errors_1.SerializationError(err.message, object);
}
return json;
}
/**
* Given a string, attempts to parse it from raw JSON into an object
*/
deserialize(json) {
debug('Deserializing', json);
let object;
try {
// @ts-expect-error
object = secure_json_parse_1.default.parse(json, this[symbols_1.kJsonOptions]);
}
catch (err) {
throw new errors_1.DeserializationError(err.message, json);
}
return object;
}
/**
* Serializes an array of records into an ndjson string
*/
ndserialize(array) {
debug('ndserialize', array);
if (!Array.isArray(array)) {
throw new errors_1.SerializationError('The argument provided is not an array', array);
}
let ndjson = '';
for (let i = 0, len = array.length; i < len; i++) {
if (typeof array[i] === 'string') {
ndjson += array[i] + '\n'; // eslint-disable-line
}
else {
// @ts-expect-error
ndjson += this.serialize(array[i]) + '\n'; // eslint-disable-line
}
}
return ndjson;
}
qserialize(object) {
debug('qserialize', object);
if (object == null)
return '';
if (typeof object === 'string')
return object;
// arrays should be serialized as comma separated list
const keys = Object.keys(object);
for (let i = 0, len = keys.length; i < len; i++) {
const key = keys[i];
// elasticsearch will complain for keys without a value
if (object[key] === undefined) {
delete object[key]; // eslint-disable-line
}
else if (Array.isArray(object[key])) {
object[key] = object[key].join(',');
}
}
return (0, querystring_1.stringify)(object);
}
}
exports.default = Serializer;
_a = symbols_1.kJsonOptions;
//# sourceMappingURL=Serializer.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"Serializer.js","sourceRoot":"","sources":["../src/Serializer.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;AAEH,6CAAuC;AACvC,0DAAyB;AACzB,kFAAqC;AACrC,qCAAmE;AACnE,uCAAwC;AAExC,MAAM,KAAK,GAAG,IAAA,eAAK,EAAC,eAAe,CAAC,CAAA;AAMpC,MAAqB,UAAU;IAM7B,YAAa,OAA0B,EAAE;;QALzC;;;;;WAGC;QAGC,MAAM,OAAO,GAAG,MAAA,IAAI,CAAC,kCAAkC,mCAAI,KAAK,CAAA;QAChE,IAAI,CAAC,sBAAY,CAAC,GAAG;YACnB,WAAW,EAAE,OAAO,KAAK,IAAI,IAAI,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ;YACzE,iBAAiB,EAAE,OAAO,KAAK,IAAI,IAAI,OAAO,KAAK,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ;SACtF,CAAA;IACH,CAAC;IAED;;OAEG;IACH,SAAS,CAAE,MAA2B;QACpC,KAAK,CAAC,aAAa,EAAE,MAAM,CAAC,CAAA;QAC5B,IAAI,IAAI,CAAA;QACR,IAAI;YACF,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAA;SAC9B;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,IAAI,2BAAkB,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAA;SAClD;QACD,OAAO,IAAI,CAAA;IACb,CAAC;IAED;;OAEG;IACH,WAAW,CAAe,IAAY;QACpC,KAAK,CAAC,eAAe,EAAE,IAAI,CAAC,CAAA;QAC5B,IAAI,MAAM,CAAA;QACV,IAAI;YACF,mBAAmB;YACnB,MAAM,GAAG,2BAAK,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,sBAAY,CAAC,CAAC,CAAA;SAC/C;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,IAAI,6BAAoB,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;SAClD;QACD,OAAO,MAAM,CAAA;IACf,CAAC;IAED;;OAEG;IACH,WAAW,CAAE,KAA0C;QACrD,KAAK,CAAC,aAAa,EAAE,KAAK,CAAC,CAAA;QAC3B,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YACzB,MAAM,IAAI,2BAAkB,CAAC,uCAAuC,EAAE,KAAK,CAAC,CAAA;SAC7E;QACD,IAAI,MAAM,GAAG,EAAE,CAAA;QACf,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YAChD,IAAI,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;gBAChC,MAAM,IAAI,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAA,CAAC,sBAAsB;aACjD;iBAAM;gBACL,mBAAmB;gBACnB,MAAM,IAAI,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAA,CAAC,sBAAsB;aACjE;SACF;QACD,OAAO,MAAM,CAAA;IACf,CAAC;IAED,UAAU,CAAE,MAAqC;QAC/C,KAAK,CAAC,YAAY,EAAE,MAAM,CAAC,CAAA;QAC3B,IAAI,MAAM,IAAI,IAAI;YAAE,OAAO,EAAE,CAAA;QAC7B,IAAI,OAAO,MAAM,KAAK,QAAQ;YAAE,OAAO,MAAM,CAAA;QAC7C,sDAAsD;QACtD,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAChC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YAC/C,MAAM,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;YACnB,uDAAuD;YACvD,IAAI,MAAM,CAAC,GAAG,CAAC,KAAK,SAAS,EAAE;gBAC7B,OAAO,MAAM,CAAC,GAAG,CAAC,CAAA,CAAC,sBAAsB;aAC1C;iBAAM,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE;gBACrC,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;aACpC;SACF;QACD,OAAO,IAAA,uBAAS,EAAC,MAAM,CAAC,CAAA;IAC1B,CAAC;CACF;AAhFD,6BAgFC;KA/EE,sBAAY"}

163
BACK_BACK/node_modules/@elastic/transport/lib/Transport.d.ts generated vendored Executable file
View file

@ -0,0 +1,163 @@
/// <reference types="node" />
import * as http from 'http';
import { Connection } from './connection';
import Diagnostic from './Diagnostic';
import Serializer from './Serializer';
import { BaseConnectionPool } from './pool';
import { nodeFilterFn, nodeSelectorFn, generateRequestIdFn, RequestBody, RequestNDBody, TransportResult, Context } from './types';
import { kSniffEnabled, kNextSniff, kIsSniffing, kSniffInterval, kSniffOnConnectionFault, kSniffEndpoint, kRequestTimeout, kRetryOnTimeout, kCompression, kMaxRetries, kName, kOpaqueIdPrefix, kGenerateRequestId, kContext, kConnectionPool, kSerializer, kDiagnostic, kHeaders, kNodeFilter, kNodeSelector, kProductCheck, kMaxResponseSize, kMaxCompressedResponseSize, kJsonContentType, kNdjsonContentType, kAcceptHeader, kRedaction, kRetryBackoff, kOtelTracer } from './symbols';
import { Tracer } from '@opentelemetry/api';
export interface TransportOptions {
diagnostic?: Diagnostic;
connectionPool: BaseConnectionPool;
serializer?: Serializer;
maxRetries?: number;
requestTimeout?: number | string;
retryOnTimeout?: boolean;
compression?: boolean;
sniffInterval?: number | boolean;
sniffOnConnectionFault?: boolean;
sniffEndpoint?: string;
sniffOnStart?: boolean;
nodeFilter?: nodeFilterFn;
nodeSelector?: nodeSelectorFn;
headers?: http.IncomingHttpHeaders;
generateRequestId?: generateRequestIdFn;
name?: string | symbol;
opaqueIdPrefix?: string;
context?: Context;
productCheck?: string;
maxResponseSize?: number;
maxCompressedResponseSize?: number;
vendoredHeaders?: {
jsonContentType?: string;
ndjsonContentType?: string;
accept?: string;
};
redaction?: RedactionOptions;
retryBackoff?: (min: number, max: number, attempt: number) => number;
}
export interface TransportRequestMetadata {
name: string;
pathParts?: Record<string, any>;
}
export interface TransportRequestParams {
method: string;
path: string;
body?: RequestBody;
bulkBody?: RequestNDBody;
querystring?: Record<string, any> | string;
meta?: TransportRequestMetadata;
}
export interface TransportRequestOptions {
ignore?: number[];
requestTimeout?: number | string;
retryOnTimeout?: boolean;
maxRetries?: number;
asStream?: boolean;
headers?: http.IncomingHttpHeaders;
querystring?: Record<string, any>;
compression?: boolean;
id?: any;
context?: Context;
warnings?: string[];
opaqueId?: string;
signal?: AbortSignal;
maxResponseSize?: number;
maxCompressedResponseSize?: number;
/**
* Warning: If you set meta to true the result will no longer be
* the response body, but an object containing the body, statusCode,
* headers and meta keys.
* You can use the destructuring assignment to update your code without
* refactoring the entire code base:
* From:
* ```
* const result = await client.method(params)
* ```
* To:
* ```
* const {
* body: result,
* statusCode,
* headers,
* meta
* } = await client.method(params, { meta: true })
* ```
*/
meta?: boolean;
redaction?: RedactionOptions;
retryBackoff?: (min: number, max: number, attempt: number) => number;
}
export interface TransportRequestOptionsWithMeta extends TransportRequestOptions {
meta: true;
}
export interface TransportRequestOptionsWithOutMeta extends TransportRequestOptions {
meta: false;
}
export interface GetConnectionOptions {
requestId: string | number;
context: any;
}
export interface SniffOptions {
requestId?: string | number;
reason: string;
context: any;
}
export interface RedactionOptions {
type: 'off' | 'replace' | 'remove';
additionalKeys?: string[];
}
export default class Transport {
[kNodeFilter]: nodeFilterFn;
[kNodeSelector]: nodeSelectorFn;
[kHeaders]: http.IncomingHttpHeaders;
[kDiagnostic]: Diagnostic;
[kConnectionPool]: BaseConnectionPool;
[kSerializer]: Serializer;
[kContext]: Context;
[kGenerateRequestId]: generateRequestIdFn;
[kOpaqueIdPrefix]: string | null;
[kName]: string | symbol;
[kMaxRetries]: number;
[kCompression]: boolean;
[kRequestTimeout]: number;
[kRetryOnTimeout]: boolean;
[kSniffEnabled]: boolean;
[kNextSniff]: number;
[kIsSniffing]: boolean;
[kSniffInterval]: number | boolean;
[kSniffOnConnectionFault]: boolean;
[kSniffEndpoint]: string | null;
[kProductCheck]: string | null;
[kMaxResponseSize]: number;
[kMaxCompressedResponseSize]: number;
[kJsonContentType]: string;
[kNdjsonContentType]: string;
[kAcceptHeader]: string;
[kRedaction]: RedactionOptions;
[kRetryBackoff]: (min: number, max: number, attempt: number) => number;
[kOtelTracer]: Tracer;
static sniffReasons: {
SNIFF_ON_START: string;
SNIFF_INTERVAL: string;
SNIFF_ON_CONNECTION_FAULT: string;
DEFAULT: string;
};
constructor(opts: TransportOptions);
get connectionPool(): BaseConnectionPool;
get sniffEnabled(): boolean;
get nextSniff(): number | null;
get sniffEndpoint(): string | null;
get isSniffing(): boolean;
set isSniffing(val: boolean);
get diagnostic(): Diagnostic;
private _request;
request<TResponse = unknown>(params: TransportRequestParams, options?: TransportRequestOptionsWithOutMeta): Promise<TResponse>;
request<TResponse = unknown, TContext = any>(params: TransportRequestParams, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<TResponse, TContext>>;
request<TResponse = unknown>(params: TransportRequestParams, options?: TransportRequestOptions): Promise<TResponse>;
getConnection(opts: GetConnectionOptions): Connection | null;
sniff(opts: SniffOptions): void;
}
export declare function generateRequestId(): generateRequestIdFn;
export declare function lowerCaseHeaders(oldHeaders?: http.IncomingHttpHeaders): http.IncomingHttpHeaders | null;

747
BACK_BACK/node_modules/@elastic/transport/lib/Transport.js generated vendored Executable file
View file

@ -0,0 +1,747 @@
"use strict";
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;
Object.defineProperty(exports, "__esModule", { value: true });
exports.lowerCaseHeaders = exports.generateRequestId = void 0;
const tslib_1 = require("tslib");
const debug_1 = tslib_1.__importDefault(require("debug"));
const os_1 = tslib_1.__importDefault(require("os"));
const zlib_1 = tslib_1.__importDefault(require("zlib"));
const buffer_1 = tslib_1.__importDefault(require("buffer"));
const util_1 = require("util");
const ms_1 = tslib_1.__importDefault(require("ms"));
const errors_1 = require("./errors");
const Diagnostic_1 = tslib_1.__importDefault(require("./Diagnostic"));
const Serializer_1 = tslib_1.__importDefault(require("./Serializer"));
const symbols_1 = require("./symbols");
const promises_1 = require("node:timers/promises");
const api_1 = tslib_1.__importStar(require("@opentelemetry/api"));
const { version: clientVersion } = require('../package.json'); // eslint-disable-line
const debug = (0, debug_1.default)('elasticsearch');
const gzip = (0, util_1.promisify)(zlib_1.default.gzip);
const unzip = (0, util_1.promisify)(zlib_1.default.unzip);
const { createGzip } = zlib_1.default;
const userAgent = `elastic-transport-js/${clientVersion} (${os_1.default.platform()} ${os_1.default.release()}-${os_1.default.arch()}; Node.js ${process.version})`; // eslint-disable-line
class Transport {
constructor(opts) {
var _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26;
Object.defineProperty(this, _a, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _b, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _c, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _d, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _e, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _f, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _g, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _h, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _j, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _k, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _l, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _m, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _o, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _p, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _q, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _r, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _s, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _t, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _u, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _v, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _w, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _x, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _y, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _z, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _0, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _1, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _2, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _3, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _4, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
if (opts.connectionPool == null) {
throw new errors_1.ConfigurationError('The Connection Pool option is not defined');
}
if (typeof opts.maxRetries === 'number' && opts.maxRetries < 0 && Number.isInteger(opts.maxRetries)) {
throw new errors_1.ConfigurationError('The maxRetries option must be a positive integer or zero');
}
if (opts.sniffInterval === true ||
(typeof opts.sniffInterval === 'number' && opts.sniffInterval < 0 && Number.isInteger(opts.sniffInterval))) {
throw new errors_1.ConfigurationError('The sniffInterval option must be false or a positive integer');
}
if (opts.maxResponseSize != null && opts.maxResponseSize > buffer_1.default.constants.MAX_STRING_LENGTH) {
throw new errors_1.ConfigurationError(`The maxResponseSize cannot be bigger than ${buffer_1.default.constants.MAX_STRING_LENGTH}`);
}
if (opts.maxCompressedResponseSize != null && opts.maxCompressedResponseSize > buffer_1.default.constants.MAX_LENGTH) {
throw new errors_1.ConfigurationError(`The maxCompressedResponseSize cannot be bigger than ${buffer_1.default.constants.MAX_LENGTH}`);
}
this[symbols_1.kNodeFilter] = (_5 = opts.nodeFilter) !== null && _5 !== void 0 ? _5 : defaultNodeFilter;
this[symbols_1.kNodeSelector] = (_6 = opts.nodeSelector) !== null && _6 !== void 0 ? _6 : roundRobinSelector();
this[symbols_1.kHeaders] = Object.assign({}, { 'user-agent': userAgent }, opts.compression === true ? { 'accept-encoding': 'gzip,deflate' } : null, lowerCaseHeaders(opts.headers));
this[symbols_1.kDiagnostic] = (_7 = opts.diagnostic) !== null && _7 !== void 0 ? _7 : new Diagnostic_1.default();
this[symbols_1.kConnectionPool] = opts.connectionPool;
this[symbols_1.kSerializer] = (_8 = opts.serializer) !== null && _8 !== void 0 ? _8 : new Serializer_1.default();
this[symbols_1.kContext] = (_9 = opts.context) !== null && _9 !== void 0 ? _9 : null;
this[symbols_1.kGenerateRequestId] = (_10 = opts.generateRequestId) !== null && _10 !== void 0 ? _10 : generateRequestId();
this[symbols_1.kOpaqueIdPrefix] = (_11 = opts.opaqueIdPrefix) !== null && _11 !== void 0 ? _11 : null;
this[symbols_1.kName] = (_12 = opts.name) !== null && _12 !== void 0 ? _12 : 'elastic-transport-js';
this[symbols_1.kMaxRetries] = typeof opts.maxRetries === 'number' ? opts.maxRetries : 3;
this[symbols_1.kCompression] = opts.compression === true;
this[symbols_1.kRequestTimeout] = opts.requestTimeout != null ? toMs(opts.requestTimeout) : 30000;
this[symbols_1.kRetryOnTimeout] = opts.retryOnTimeout != null ? opts.retryOnTimeout : false;
this[symbols_1.kSniffInterval] = (_13 = opts.sniffInterval) !== null && _13 !== void 0 ? _13 : false;
this[symbols_1.kSniffEnabled] = typeof this[symbols_1.kSniffInterval] === 'number';
this[symbols_1.kNextSniff] = this[symbols_1.kSniffEnabled] ? (Date.now() + this[symbols_1.kSniffInterval]) : 0;
this[symbols_1.kIsSniffing] = false;
this[symbols_1.kSniffOnConnectionFault] = (_14 = opts.sniffOnConnectionFault) !== null && _14 !== void 0 ? _14 : false;
this[symbols_1.kSniffEndpoint] = (_15 = opts.sniffEndpoint) !== null && _15 !== void 0 ? _15 : null;
this[symbols_1.kProductCheck] = (_16 = opts.productCheck) !== null && _16 !== void 0 ? _16 : null;
this[symbols_1.kMaxResponseSize] = (_17 = opts.maxResponseSize) !== null && _17 !== void 0 ? _17 : buffer_1.default.constants.MAX_STRING_LENGTH;
this[symbols_1.kMaxCompressedResponseSize] = (_18 = opts.maxCompressedResponseSize) !== null && _18 !== void 0 ? _18 : buffer_1.default.constants.MAX_LENGTH;
this[symbols_1.kJsonContentType] = (_20 = (_19 = opts.vendoredHeaders) === null || _19 === void 0 ? void 0 : _19.jsonContentType) !== null && _20 !== void 0 ? _20 : 'application/json';
this[symbols_1.kNdjsonContentType] = (_22 = (_21 = opts.vendoredHeaders) === null || _21 === void 0 ? void 0 : _21.ndjsonContentType) !== null && _22 !== void 0 ? _22 : 'application/x-ndjson';
this[symbols_1.kAcceptHeader] = (_24 = (_23 = opts.vendoredHeaders) === null || _23 === void 0 ? void 0 : _23.accept) !== null && _24 !== void 0 ? _24 : 'application/json, text/plain';
this[symbols_1.kRedaction] = (_25 = opts.redaction) !== null && _25 !== void 0 ? _25 : { type: 'replace', additionalKeys: [] };
this[symbols_1.kRetryBackoff] = (_26 = opts.retryBackoff) !== null && _26 !== void 0 ? _26 : retryBackoff;
this[symbols_1.kOtelTracer] = api_1.default.trace.getTracer('@elastic/transport', clientVersion);
if (opts.sniffOnStart === true) {
this.sniff({
reason: Transport.sniffReasons.SNIFF_ON_START,
requestId: this[symbols_1.kGenerateRequestId]({ method: 'GET', path: this[symbols_1.kSniffEndpoint] }, { context: this[symbols_1.kContext] }),
context: this[symbols_1.kContext]
});
}
}
get connectionPool() {
return this[symbols_1.kConnectionPool];
}
get sniffEnabled() {
return this[symbols_1.kSniffEnabled];
}
get nextSniff() {
return this[symbols_1.kNextSniff];
}
get sniffEndpoint() {
return this[symbols_1.kSniffEndpoint];
}
get isSniffing() {
return this[symbols_1.kIsSniffing];
}
set isSniffing(val) {
if (typeof val !== 'boolean') {
throw new errors_1.ConfigurationError(`isSniffing must be a boolean, instead got ${typeof val}`);
}
this[symbols_1.kIsSniffing] = val;
}
get diagnostic() {
return this[symbols_1.kDiagnostic];
}
async _request(params, options = {}, otelSpan) {
var _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21;
const connectionParams = {
method: params.method,
path: params.path
};
const meta = {
context: null,
request: {
params: connectionParams,
options: options,
id: (_5 = options.id) !== null && _5 !== void 0 ? _5 : this[symbols_1.kGenerateRequestId](params, options)
},
name: this[symbols_1.kName],
connection: null,
attempts: 0,
aborted: false
};
const returnMeta = (_6 = options.meta) !== null && _6 !== void 0 ? _6 : false;
if (this[symbols_1.kContext] != null && options.context != null) {
meta.context = Object.assign({}, this[symbols_1.kContext], options.context);
}
else if (this[symbols_1.kContext] !== null) {
meta.context = this[symbols_1.kContext];
}
else if (options.context != null) {
meta.context = options.context;
}
const result = {
// the default body value can't be `null`
// as it's a valid JSON value
body: undefined,
statusCode: 0,
headers: {},
meta,
get warnings() {
var _5;
if (((_5 = this.headers) === null || _5 === void 0 ? void 0 : _5.warning) == null) {
return null;
}
const { warning } = this.headers;
// if multiple HTTP headers have the same name, Undici represents them as an array
const warnings = Array.isArray(warning) ? warning : [warning];
return warnings
.flatMap(w => w.split(/(?!\B"[^"]*),(?![^"]*"\B)/))
.filter((warning) => warning.match(/^\d\d\d Elasticsearch-/));
}
};
// We should not retry if we are sending a stream body, because we should store in memory
// a copy of the stream to be able to send it again, but since we don't know in advance
// the size of the stream, we risk to take too much memory.
// Furthermore, copying every time the stream is very a expensive operation.
const maxRetries = isStream((_7 = params.body) !== null && _7 !== void 0 ? _7 : params.bulkBody) ? 0 : (typeof options.maxRetries === 'number' ? options.maxRetries : this[symbols_1.kMaxRetries]);
const compression = typeof options.compression === 'boolean' ? options.compression : this[symbols_1.kCompression];
const signal = options.signal;
const maxResponseSize = (_8 = options.maxResponseSize) !== null && _8 !== void 0 ? _8 : this[symbols_1.kMaxResponseSize];
const maxCompressedResponseSize = (_9 = options.maxCompressedResponseSize) !== null && _9 !== void 0 ? _9 : this[symbols_1.kMaxCompressedResponseSize];
const errorOptions = {
redaction: typeof options.redaction === 'object' ? options.redaction : this[symbols_1.kRedaction]
};
this[symbols_1.kDiagnostic].emit('serialization', null, result);
const headers = Object.assign({}, this[symbols_1.kHeaders], lowerCaseHeaders(options.headers));
if (options.opaqueId !== undefined) {
headers['x-opaque-id'] = typeof this[symbols_1.kOpaqueIdPrefix] === 'string'
? this[symbols_1.kOpaqueIdPrefix] + options.opaqueId // eslint-disable-line
: options.opaqueId;
}
// handle json body
if (params.body != null) {
if (shouldSerialize(params.body)) {
try {
connectionParams.body = this[symbols_1.kSerializer].serialize(params.body);
}
catch (err) {
this[symbols_1.kDiagnostic].emit('request', err, result);
throw err;
}
headers['content-type'] = (_10 = headers['content-type']) !== null && _10 !== void 0 ? _10 : this[symbols_1.kJsonContentType];
headers.accept = (_11 = headers.accept) !== null && _11 !== void 0 ? _11 : this[symbols_1.kJsonContentType];
}
else {
if (params.body !== '') {
headers['content-type'] = (_12 = headers['content-type']) !== null && _12 !== void 0 ? _12 : 'text/plain';
headers.accept = (_13 = headers.accept) !== null && _13 !== void 0 ? _13 : this[symbols_1.kAcceptHeader];
}
connectionParams.body = params.body;
}
// handle ndjson body
}
else if (params.bulkBody != null) {
if (shouldSerialize(params.bulkBody)) {
try {
connectionParams.body = this[symbols_1.kSerializer].ndserialize(params.bulkBody);
}
catch (err) {
this[symbols_1.kDiagnostic].emit('request', err, result);
throw err;
}
}
else {
connectionParams.body = params.bulkBody;
}
if (connectionParams.body !== '') {
headers['content-type'] = (_14 = headers['content-type']) !== null && _14 !== void 0 ? _14 : this[symbols_1.kNdjsonContentType];
headers.accept = (_15 = headers.accept) !== null && _15 !== void 0 ? _15 : this[symbols_1.kJsonContentType];
}
}
// serializes the querystring
if (options.querystring == null) {
connectionParams.querystring = this[symbols_1.kSerializer].qserialize(params.querystring);
}
else {
connectionParams.querystring = this[symbols_1.kSerializer].qserialize(Object.assign({}, params.querystring, options.querystring));
}
// handle compression
if (connectionParams.body !== '' && connectionParams.body != null) {
if (isStream(connectionParams.body)) {
if (compression) {
headers['content-encoding'] = 'gzip';
connectionParams.body = connectionParams.body.pipe(createGzip());
}
}
else if (compression) {
try {
connectionParams.body = await gzip(connectionParams.body);
}
catch (err) {
/* istanbul ignore next */
this[symbols_1.kDiagnostic].emit('request', err, result);
/* istanbul ignore next */
throw err;
}
headers['content-encoding'] = 'gzip';
headers['content-length'] = '' + Buffer.byteLength(connectionParams.body); // eslint-disable-line
}
else {
headers['content-length'] = '' + Buffer.byteLength(connectionParams.body); // eslint-disable-line
}
}
headers.accept = (_16 = headers.accept) !== null && _16 !== void 0 ? _16 : this[symbols_1.kAcceptHeader];
connectionParams.headers = headers;
while (meta.attempts <= maxRetries) {
try {
if (signal === null || signal === void 0 ? void 0 : signal.aborted) { // eslint-disable-line
throw new errors_1.RequestAbortedError('Request has been aborted by the user', result, errorOptions);
}
meta.connection = this.getConnection({
requestId: meta.request.id,
context: meta.context
});
if (meta.connection === null) {
throw new errors_1.NoLivingConnectionsError('There are no living connections', result, errorOptions);
}
// generate required OpenTelemetry attributes from the request URL
const requestUrl = meta.connection.url;
otelSpan === null || otelSpan === void 0 ? void 0 : otelSpan.setAttributes({
'url.full': requestUrl.toString(),
'server.address': requestUrl.hostname
});
if (requestUrl.port === '') {
if (requestUrl.protocol === 'https:') {
otelSpan === null || otelSpan === void 0 ? void 0 : otelSpan.setAttribute('server.port', 443);
}
else if (requestUrl.protocol === 'http:') {
otelSpan === null || otelSpan === void 0 ? void 0 : otelSpan.setAttribute('server.port', 80);
}
}
else if (requestUrl.port !== '9200') {
otelSpan === null || otelSpan === void 0 ? void 0 : otelSpan.setAttribute('server.port', parseInt(requestUrl.port, 10));
}
this[symbols_1.kDiagnostic].emit('request', null, result);
// perform the actual http request
let { statusCode, headers, body } = await meta.connection.request(connectionParams, {
requestId: meta.request.id,
name: this[symbols_1.kName],
context: meta.context,
maxResponseSize,
maxCompressedResponseSize,
signal,
timeout: toMs(options.requestTimeout != null ? options.requestTimeout : this[symbols_1.kRequestTimeout]),
...(options.asStream === true ? { asStream: true } : null)
});
result.statusCode = statusCode;
result.headers = headers;
if (headers['x-found-handling-cluster'] != null) {
otelSpan === null || otelSpan === void 0 ? void 0 : otelSpan.setAttribute('db.elasticsearch.cluster.name', headers['x-found-handling-cluster']);
}
if (headers['x-found-handling-instance'] != null) {
otelSpan === null || otelSpan === void 0 ? void 0 : otelSpan.setAttribute('db.elasticsearch.node.name', headers['x-found-handling-instance']);
}
if (this[symbols_1.kProductCheck] != null && headers['x-elastic-product'] !== this[symbols_1.kProductCheck] && statusCode >= 200 && statusCode < 300) {
/* eslint-disable @typescript-eslint/prefer-ts-expect-error */
// @ts-ignore
throw new errors_1.ProductNotSupportedError(this[symbols_1.kProductCheck], result, errorOptions);
/* eslint-enable @typescript-eslint/prefer-ts-expect-error */
}
if (options.asStream === true) {
result.body = body;
this[symbols_1.kDiagnostic].emit('response', null, result);
return returnMeta ? result : body;
}
const contentEncoding = ((_17 = headers['content-encoding']) !== null && _17 !== void 0 ? _17 : '').toLowerCase();
if (contentEncoding.includes('gzip') || contentEncoding.includes('deflate')) {
body = await unzip(body);
}
const isVectorTile = ((_18 = headers['content-type']) !== null && _18 !== void 0 ? _18 : '').includes('application/vnd.mapbox-vector-tile');
if (Buffer.isBuffer(body) && !isVectorTile) {
body = body.toString();
}
const isHead = params.method === 'HEAD';
// we should attempt the payload deserialization only if:
// - a `content-type` is defined and is equal to `application/json`
// - the request is not a HEAD request
// - the payload is not an empty string
if (headers['content-type'] !== undefined &&
(((_19 = headers['content-type']) === null || _19 === void 0 ? void 0 : _19.includes('application/json')) ||
((_20 = headers['content-type']) === null || _20 === void 0 ? void 0 : _20.includes('application/vnd.elasticsearch+json'))) &&
!isHead && body !== '') { // eslint-disable-line
result.body = this[symbols_1.kSerializer].deserialize(body);
}
else {
// cast to boolean if the request method was HEAD and there was no error
result.body = isHead && statusCode < 400 ? true : body;
}
// we should ignore the statusCode if the user has configured the `ignore` field with
// the statusCode we just got or if the request method is HEAD and the statusCode is 404
const ignoreStatusCode = (Array.isArray(options.ignore) && options.ignore.includes(statusCode)) ||
(isHead && statusCode === 404);
if (!ignoreStatusCode && (statusCode === 502 || statusCode === 503 || statusCode === 504)) {
// if the statusCode is 502/3/4 we should run our retry strategy
// and mark the connection as dead
this[symbols_1.kConnectionPool].markDead(meta.connection);
// retry logic
if (meta.attempts < maxRetries) {
meta.attempts++;
debug(`Retrying request, there are still ${maxRetries - meta.attempts} attempts`, params);
continue;
}
}
else {
// everything has worked as expected, let's mark
// the connection as alive (or confirm it)
this[symbols_1.kConnectionPool].markAlive(meta.connection);
}
if (!ignoreStatusCode && statusCode >= 400) {
throw new errors_1.ResponseError(result, errorOptions);
}
else {
// cast to boolean if the request method was HEAD
if (isHead && statusCode === 404) {
result.body = false;
}
this[symbols_1.kDiagnostic].emit('response', null, result);
return returnMeta ? result : result.body;
}
}
catch (error) {
switch (error.name) {
// should not retry
case 'ProductNotSupportedError':
case 'NoLivingConnectionsError':
case 'DeserializationError':
case 'ResponseError':
this[symbols_1.kDiagnostic].emit('response', error, result);
throw error;
case 'RequestAbortedError': {
meta.aborted = true;
// Wrap the error to get a clean stack trace
const wrappedError = new errors_1.RequestAbortedError(error.message, result, errorOptions);
this[symbols_1.kDiagnostic].emit('response', wrappedError, result);
throw wrappedError;
}
// should maybe retry
// @ts-expect-error `case` fallthrough is intentional: should retry if retryOnTimeout is true
case 'TimeoutError':
if (!this[symbols_1.kRetryOnTimeout]) {
const wrappedError = new errors_1.TimeoutError(error.message, result, errorOptions);
this[symbols_1.kDiagnostic].emit('response', wrappedError, result);
throw wrappedError;
}
// should retry
// eslint-disable-next-line no-fallthrough
case 'ConnectionError': {
// if there is an error in the connection
// let's mark the connection as dead
this[symbols_1.kConnectionPool].markDead(meta.connection);
if (this[symbols_1.kSniffOnConnectionFault]) {
this.sniff({
reason: Transport.sniffReasons.SNIFF_ON_CONNECTION_FAULT,
requestId: meta.request.id,
context: meta.context
});
}
// retry logic
if (meta.attempts < maxRetries) {
meta.attempts++;
debug(`Retrying request, there are still ${maxRetries - meta.attempts} attempts`, params);
// exponential backoff on retries, with jitter
const backoff = (_21 = options.retryBackoff) !== null && _21 !== void 0 ? _21 : this[symbols_1.kRetryBackoff];
const backoffWait = backoff(0, 4, meta.attempts);
if (backoffWait > 0) {
await (0, promises_1.setTimeout)(backoffWait * 1000);
}
continue;
}
// Wrap the error to get a clean stack trace
const wrappedError = error.name === 'TimeoutError'
? new errors_1.TimeoutError(error.message, result, errorOptions)
: new errors_1.ConnectionError(error.message, result, errorOptions);
this[symbols_1.kDiagnostic].emit('response', wrappedError, result);
throw wrappedError;
}
// edge cases, such as bad compression
default:
this[symbols_1.kDiagnostic].emit('response', error, result);
throw error;
}
}
}
return returnMeta ? result : result.body;
}
async request(params, options = {}) {
var _5, _6, _7;
// wrap in OpenTelemetry span
if (((_5 = params.meta) === null || _5 === void 0 ? void 0 : _5.name) != null) {
// gather OpenTelemetry attributes
const attributes = {
'db.system': 'elasticsearch',
'http.request.method': params.method,
'db.operation.name': (_6 = params.meta) === null || _6 === void 0 ? void 0 : _6.name
};
if (((_7 = params.meta) === null || _7 === void 0 ? void 0 : _7.pathParts) != null) {
for (const key of Object.keys(params.meta.pathParts)) {
attributes[`db.elasticsearch.path_parts.${key}`] = params.meta.pathParts[key];
}
}
return await this[symbols_1.kOtelTracer].startActiveSpan(params.meta.name, { attributes, kind: api_1.SpanKind.CLIENT }, async (otelSpan) => {
var _5;
let response;
try {
response = await this._request(params, options, otelSpan);
}
catch (err) {
otelSpan.recordException(err);
otelSpan.setStatus({ code: api_1.SpanStatusCode.ERROR });
otelSpan.setAttribute('error.type', (_5 = err.name) !== null && _5 !== void 0 ? _5 : 'Error');
throw err;
}
finally {
otelSpan.end();
}
return response;
});
}
else {
return await this._request(params, options);
}
}
getConnection(opts) {
const now = Date.now();
if (this[symbols_1.kSniffEnabled] && now > this[symbols_1.kNextSniff]) {
this[symbols_1.kNextSniff] = now + this[symbols_1.kSniffInterval];
this.sniff({
reason: Transport.sniffReasons.SNIFF_INTERVAL,
requestId: opts.requestId,
context: opts.context
});
}
return this[symbols_1.kConnectionPool].getConnection({
filter: this[symbols_1.kNodeFilter],
selector: this[symbols_1.kNodeSelector],
requestId: opts.requestId,
name: this[symbols_1.kName],
context: opts.context,
now
});
}
/* istanbul ignore next */
sniff(opts) { }
}
exports.default = Transport;
_a = symbols_1.kNodeFilter, _b = symbols_1.kNodeSelector, _c = symbols_1.kHeaders, _d = symbols_1.kDiagnostic, _e = symbols_1.kConnectionPool, _f = symbols_1.kSerializer, _g = symbols_1.kContext, _h = symbols_1.kGenerateRequestId, _j = symbols_1.kOpaqueIdPrefix, _k = symbols_1.kName, _l = symbols_1.kMaxRetries, _m = symbols_1.kCompression, _o = symbols_1.kRequestTimeout, _p = symbols_1.kRetryOnTimeout, _q = symbols_1.kSniffEnabled, _r = symbols_1.kNextSniff, _s = symbols_1.kIsSniffing, _t = symbols_1.kSniffInterval, _u = symbols_1.kSniffOnConnectionFault, _v = symbols_1.kSniffEndpoint, _w = symbols_1.kProductCheck, _x = symbols_1.kMaxResponseSize, _y = symbols_1.kMaxCompressedResponseSize, _z = symbols_1.kJsonContentType, _0 = symbols_1.kNdjsonContentType, _1 = symbols_1.kAcceptHeader, _2 = symbols_1.kRedaction, _3 = symbols_1.kRetryBackoff, _4 = symbols_1.kOtelTracer;
Object.defineProperty(Transport, "sniffReasons", {
enumerable: true,
configurable: true,
writable: true,
value: {
SNIFF_ON_START: 'sniff-on-start',
SNIFF_INTERVAL: 'sniff-interval',
SNIFF_ON_CONNECTION_FAULT: 'sniff-on-connection-fault',
DEFAULT: 'default'
}
});
function toMs(time) {
if (typeof time === 'string') {
return (0, ms_1.default)(time);
}
return time;
}
function shouldSerialize(obj) {
return typeof obj !== 'string' &&
typeof obj.pipe !== 'function' &&
!Buffer.isBuffer(obj);
}
function isStream(obj) {
return obj != null && typeof obj.pipe === 'function';
}
function defaultNodeFilter(node) {
return true;
}
function roundRobinSelector() {
let current = -1;
return function _roundRobinSelector(connections) {
if (++current >= connections.length) {
current = 0;
}
return connections[current];
};
}
function generateRequestId() {
const maxInt = 2147483647;
let nextReqId = 0;
return function genReqId(params, options) {
return (nextReqId = (nextReqId + 1) & maxInt);
};
}
exports.generateRequestId = generateRequestId;
function lowerCaseHeaders(oldHeaders) {
if (oldHeaders == null)
return null;
const newHeaders = {};
for (const header in oldHeaders) {
// @ts-expect-error
newHeaders[header.toLowerCase()] = oldHeaders[header];
}
return newHeaders;
}
exports.lowerCaseHeaders = lowerCaseHeaders;
/**
* Function for calculating how long to sleep, in seconds, before the next request retry
* Uses the AWS "equal jitter" algorithm noted in this post:
* https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/
* @param min The minimum number of seconds to wait
* @param max The maximum number of seconds to wait
* @param attempt How many retry attempts have been made
* @returns The number of seconds to wait before the next retry
*/
function retryBackoff(min, max, attempt) {
const ceiling = Math.min(max, 2 ** attempt) / 2;
return ceiling + ((Math.random() * (ceiling - min)) + min);
}
//# sourceMappingURL=Transport.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,87 @@
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
import { inspect } from 'util';
import * as http from 'http';
import { URL } from 'url';
import { ConnectionOptions as TlsConnectionOptions, TLSSocket, DetailedPeerCertificate } from 'tls';
import { Readable as ReadableStream } from 'stream';
import Diagnostic from '../Diagnostic';
import { ApiKeyAuth, BasicAuth, BearerAuth, HttpAgentOptions, UndiciAgentOptions, agentFn } from '../types';
import { kStatus, kDiagnostic, kCaFingerprint } from '../symbols';
export interface ConnectionOptions {
url: URL;
tls?: TlsConnectionOptions;
id?: string;
headers?: http.IncomingHttpHeaders;
status?: string;
auth?: BasicAuth | ApiKeyAuth | BearerAuth;
diagnostic?: Diagnostic;
timeout?: number;
agent?: HttpAgentOptions | UndiciAgentOptions | agentFn | boolean;
proxy?: string | URL;
caFingerprint?: string;
maxEventListeners?: number;
}
export interface ConnectionRequestParams {
method: string;
path: string;
headers?: http.IncomingHttpHeaders;
body?: string | Buffer | ReadableStream | null;
querystring?: string;
}
export interface ConnectionRequestOptions {
requestId: string | number;
name: string | symbol;
context: any;
maxResponseSize?: number;
maxCompressedResponseSize?: number;
signal?: AbortSignal;
timeout?: number;
}
export interface ConnectionRequestOptionsAsStream extends ConnectionRequestOptions {
asStream: true;
}
export interface ConnectionRequestResponse {
body: string | Buffer;
headers: http.IncomingHttpHeaders;
statusCode: number;
}
export interface ConnectionRequestResponseAsStream {
body: ReadableStream;
headers: http.IncomingHttpHeaders;
statusCode: number;
}
export default class BaseConnection {
url: URL;
tls: TlsConnectionOptions | null;
id: string;
timeout: number;
headers: http.IncomingHttpHeaders;
deadCount: number;
resurrectTimeout: number;
_openRequests: number;
weight: number;
maxEventListeners: number;
[kStatus]: string;
[kCaFingerprint]: string | null;
[kDiagnostic]: Diagnostic;
static statuses: {
ALIVE: string;
DEAD: string;
};
constructor(opts: ConnectionOptions);
get status(): string;
set status(status: string);
get diagnostic(): Diagnostic;
request(params: ConnectionRequestParams, options: ConnectionRequestOptions): Promise<ConnectionRequestResponse>;
request(params: ConnectionRequestParams, options: ConnectionRequestOptionsAsStream): Promise<ConnectionRequestResponseAsStream>;
close(): Promise<void>;
[inspect.custom](depth: number, options: Record<string, any>): Record<string, any>;
toJSON(): Record<string, any>;
}
export declare function prepareHeaders(headers?: http.IncomingHttpHeaders, auth?: BasicAuth | ApiKeyAuth | BearerAuth): http.IncomingHttpHeaders;
export declare function getIssuerCertificate(socket: TLSSocket): DetailedPeerCertificate | null;

View file

@ -0,0 +1,231 @@
"use strict";
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
var _a, _b, _c;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getIssuerCertificate = exports.prepareHeaders = void 0;
const tslib_1 = require("tslib");
const util_1 = require("util");
const Diagnostic_1 = tslib_1.__importDefault(require("../Diagnostic"));
const errors_1 = require("../errors");
const symbols_1 = require("../symbols");
class BaseConnection {
constructor(opts) {
var _d, _e, _f, _g, _h, _j, _k;
Object.defineProperty(this, "url", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "tls", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "id", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "timeout", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "headers", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "deadCount", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "resurrectTimeout", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "_openRequests", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "weight", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "maxEventListeners", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _a, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _b, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _c, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
this.url = opts.url;
this.tls = (_d = opts.tls) !== null && _d !== void 0 ? _d : null;
this.id = (_e = opts.id) !== null && _e !== void 0 ? _e : stripAuth(opts.url.href);
this.headers = prepareHeaders(opts.headers, opts.auth);
this.timeout = (_f = opts.timeout) !== null && _f !== void 0 ? _f : 30000;
this.deadCount = 0;
this.resurrectTimeout = 0;
this.weight = 0;
this._openRequests = 0;
this.maxEventListeners = (_g = opts.maxEventListeners) !== null && _g !== void 0 ? _g : 100;
this[symbols_1.kStatus] = (_h = opts.status) !== null && _h !== void 0 ? _h : BaseConnection.statuses.ALIVE;
this[symbols_1.kDiagnostic] = (_j = opts.diagnostic) !== null && _j !== void 0 ? _j : new Diagnostic_1.default();
this[symbols_1.kCaFingerprint] = (_k = opts.caFingerprint) !== null && _k !== void 0 ? _k : null;
if (!['http:', 'https:'].includes(this.url.protocol)) {
throw new errors_1.ConfigurationError(`Invalid protocol: '${this.url.protocol}'`);
}
}
get status() {
return this[symbols_1.kStatus];
}
set status(status) {
if (!validStatuses.includes(status)) {
throw new errors_1.ConfigurationError(`Unsupported status: '${status}'`);
}
this[symbols_1.kStatus] = status;
}
get diagnostic() {
return this[symbols_1.kDiagnostic];
}
async request(params, options) {
throw new errors_1.ConfigurationError('The request method should be implemented by extended classes');
}
/* istanbul ignore next */
async close() {
throw new errors_1.ConfigurationError('The close method should be implemented by extended classes');
}
// Handles console.log and utils.inspect invocations.
// We want to hide `auth`, `agent` and `tls` since they made
// the logs very hard to read. The user can still
// access them with `instance.agent` and `instance.tls`.
[(_a = symbols_1.kStatus, _b = symbols_1.kCaFingerprint, _c = symbols_1.kDiagnostic, util_1.inspect.custom)](depth, options) {
const { authorization, ...headers } = this.headers;
return {
url: stripAuth(this.url.toString()),
id: this.id,
headers,
status: this.status
};
}
toJSON() {
const { authorization, ...headers } = this.headers;
return {
url: stripAuth(this.url.toString()),
id: this.id,
headers,
status: this.status
};
}
}
exports.default = BaseConnection;
Object.defineProperty(BaseConnection, "statuses", {
enumerable: true,
configurable: true,
writable: true,
value: {
ALIVE: 'alive',
DEAD: 'dead'
}
});
const validStatuses = Object.keys(BaseConnection.statuses)
// @ts-expect-error
.map(k => BaseConnection.statuses[k]);
function stripAuth(url) {
if (!url.includes('@'))
return url;
return url.slice(0, url.indexOf('//') + 2) + url.slice(url.indexOf('@') + 1);
}
function prepareHeaders(headers = {}, auth) {
if (auth != null && headers.authorization == null) {
/* istanbul ignore else */
if (isApiKeyAuth(auth)) {
if (typeof auth.apiKey === 'object') {
headers.authorization = 'ApiKey ' + Buffer.from(`${auth.apiKey.id}:${auth.apiKey.api_key}`).toString('base64');
}
else {
headers.authorization = `ApiKey ${auth.apiKey}`;
}
}
else if (isBearerAuth(auth)) {
headers.authorization = `Bearer ${auth.bearer}`;
}
else if (auth.username != null && auth.password != null) {
headers.authorization = 'Basic ' + Buffer.from(`${auth.username}:${auth.password}`).toString('base64');
}
}
return headers;
}
exports.prepareHeaders = prepareHeaders;
function isApiKeyAuth(auth) {
return auth.apiKey != null;
}
function isBearerAuth(auth) {
return auth.bearer != null;
}
function getIssuerCertificate(socket) {
let certificate = socket.getPeerCertificate(true);
while (certificate !== null && Object.keys(certificate).length > 0) {
// invalid certificate
if (certificate.issuerCertificate == null) {
return null;
}
// We have reached the root certificate.
// In case of self-signed certificates, `issuerCertificate` may be a circular reference.
if (certificate.fingerprint256 === certificate.issuerCertificate.fingerprint256) {
break;
}
// continue the loop
certificate = certificate.issuerCertificate;
}
return certificate;
}
exports.getIssuerCertificate = getIssuerCertificate;
//# sourceMappingURL=BaseConnection.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"BaseConnection.js","sourceRoot":"","sources":["../../src/connection/BaseConnection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;AAEH,+BAA8B;AAK9B,uEAAsC;AAStC,sCAA8C;AAC9C,wCAAiE;AAmDjE,MAAqB,cAAc;IAoBjC,YAAa,IAAuB;;QAnBpC;;;;;WAAQ;QACR;;;;;WAAgC;QAChC;;;;;WAAU;QACV;;;;;WAAe;QACf;;;;;WAAiC;QACjC;;;;;WAAiB;QACjB;;;;;WAAwB;QACxB;;;;;WAAqB;QACrB;;;;;WAAc;QACd;;;;;WAAyB;QACzB;;;;;WAAiB;QACjB;;;;;WAA+B;QAC/B;;;;;WAAyB;QAQvB,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAA;QACnB,IAAI,CAAC,GAAG,GAAG,MAAA,IAAI,CAAC,GAAG,mCAAI,IAAI,CAAA;QAC3B,IAAI,CAAC,EAAE,GAAG,MAAA,IAAI,CAAC,EAAE,mCAAI,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAC7C,IAAI,CAAC,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;QACtD,IAAI,CAAC,OAAO,GAAG,MAAA,IAAI,CAAC,OAAO,mCAAI,KAAK,CAAA;QACpC,IAAI,CAAC,SAAS,GAAG,CAAC,CAAA;QAClB,IAAI,CAAC,gBAAgB,GAAG,CAAC,CAAA;QACzB,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;QACf,IAAI,CAAC,aAAa,GAAG,CAAC,CAAA;QACtB,IAAI,CAAC,iBAAiB,GAAG,MAAA,IAAI,CAAC,iBAAiB,mCAAI,GAAG,CAAA;QACtD,IAAI,CAAC,iBAAO,CAAC,GAAG,MAAA,IAAI,CAAC,MAAM,mCAAI,cAAc,CAAC,QAAQ,CAAC,KAAK,CAAA;QAC5D,IAAI,CAAC,qBAAW,CAAC,GAAG,MAAA,IAAI,CAAC,UAAU,mCAAI,IAAI,oBAAU,EAAE,CAAA;QACvD,IAAI,CAAC,wBAAc,CAAC,GAAG,MAAA,IAAI,CAAC,aAAa,mCAAI,IAAI,CAAA;QACjD,IAAI,CAAC,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE;YACpD,MAAM,IAAI,2BAAkB,CAAC,sBAAsB,IAAI,CAAC,GAAG,CAAC,QAAQ,GAAG,CAAC,CAAA;SACzE;IACH,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,iBAAO,CAAC,CAAA;IACtB,CAAC;IAED,IAAI,MAAM,CAAE,MAAc;QACxB,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;YACnC,MAAM,IAAI,2BAAkB,CAAC,wBAAwB,MAAM,GAAG,CAAC,CAAA;SAChE;QACD,IAAI,CAAC,iBAAO,CAAC,GAAG,MAAM,CAAA;IACxB,CAAC;IAED,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,qBAAW,CAAC,CAAA;IAC1B,CAAC;IAKD,KAAK,CAAC,OAAO,CAAE,MAA+B,EAAE,OAAY;QAC1D,MAAM,IAAI,2BAAkB,CAAC,8DAA8D,CAAC,CAAA;IAC9F,CAAC;IAED,0BAA0B;IAC1B,KAAK,CAAC,KAAK;QACT,MAAM,IAAI,2BAAkB,CAAC,4DAA4D,CAAC,CAAA;IAC5F,CAAC;IAED,qDAAqD;IACrD,4DAA4D;IAC5D,iDAAiD;IACjD,wDAAwD;IACxD,OA3DC,iBAAO,OACP,wBAAc,OACd,qBAAW,EAyDX,cAAO,CAAC,MAAM,EAAC,CAAE,KAAa,EAAE,OAA4B;QAC3D,MAAM,EACJ,aAAa,EACb,GAAG,OAAO,EACX,GAAG,IAAI,CAAC,OAAO,CAAA;QAEhB,OAAO;YACL,GAAG,EAAE,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;YACnC,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,OAAO;YACP,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAA;IACH,CAAC;IAED,MAAM;QACJ,MAAM,EACJ,aAAa,EACb,GAAG,OAAO,EACX,GAAG,IAAI,CAAC,OAAO,CAAA;QAEhB,OAAO;YACL,GAAG,EAAE,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;YACnC,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,OAAO;YACP,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAA;IACH,CAAC;;AAhGH,iCAiGC;AAlFQ;;;;WAAW;QAChB,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,MAAM;KACb;GAAA;AAiFH,MAAM,aAAa,GAAG,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC;IACxD,mBAAmB;KAClB,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAA;AAEvC,SAAS,SAAS,CAAE,GAAW;IAC7B,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC;QAAE,OAAO,GAAG,CAAA;IAClC,OAAO,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAA;AAC9E,CAAC;AAED,SAAgB,cAAc,CAAE,UAAoC,EAAE,EAAE,IAA0C;IAChH,IAAI,IAAI,IAAI,IAAI,IAAI,OAAO,CAAC,aAAa,IAAI,IAAI,EAAE;QACjD,0BAA0B;QAC1B,IAAI,YAAY,CAAC,IAAI,CAAC,EAAE;YACtB,IAAI,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ,EAAE;gBACnC,OAAO,CAAC,aAAa,GAAG,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,EAAE,IAAI,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;aAC/G;iBAAM;gBACL,OAAO,CAAC,aAAa,GAAG,UAAU,IAAI,CAAC,MAAM,EAAE,CAAA;aAChD;SACF;aAAM,IAAI,YAAY,CAAC,IAAI,CAAC,EAAE;YAC7B,OAAO,CAAC,aAAa,GAAG,UAAU,IAAI,CAAC,MAAM,EAAE,CAAA;SAChD;aAAM,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACzD,OAAO,CAAC,aAAa,GAAG,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;SACvG;KACF;IACD,OAAO,OAAO,CAAA;AAChB,CAAC;AAhBD,wCAgBC;AAED,SAAS,YAAY,CAAE,IAAyB;IAC9C,OAAO,IAAI,CAAC,MAAM,IAAI,IAAI,CAAA;AAC5B,CAAC;AAED,SAAS,YAAY,CAAE,IAAyB;IAC9C,OAAO,IAAI,CAAC,MAAM,IAAI,IAAI,CAAA;AAC5B,CAAC;AAED,SAAgB,oBAAoB,CAAE,MAAiB;IACrD,IAAI,WAAW,GAAG,MAAM,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAA;IACjD,OAAO,WAAW,KAAK,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;QAClE,sBAAsB;QACtB,IAAI,WAAW,CAAC,iBAAiB,IAAI,IAAI,EAAE;YACzC,OAAO,IAAI,CAAA;SACZ;QAED,wCAAwC;QACxC,wFAAwF;QACxF,IAAI,WAAW,CAAC,cAAc,KAAK,WAAW,CAAC,iBAAiB,CAAC,cAAc,EAAE;YAC/E,MAAK;SACN;QAED,oBAAoB;QACpB,WAAW,GAAG,WAAW,CAAC,iBAAiB,CAAA;KAC5C;IACD,OAAO,WAAW,CAAA;AACpB,CAAC;AAlBD,oDAkBC"}

View file

@ -0,0 +1,15 @@
/// <reference types="node" />
/// <reference types="node" />
import hpagent from 'hpagent';
import http from 'http';
import https from 'https';
import BaseConnection, { ConnectionOptions, ConnectionRequestParams, ConnectionRequestOptions, ConnectionRequestOptionsAsStream, ConnectionRequestResponse, ConnectionRequestResponseAsStream } from './BaseConnection';
export default class HttpConnection extends BaseConnection {
agent?: http.Agent | https.Agent | hpagent.HttpProxyAgent | hpagent.HttpsProxyAgent;
makeRequest: typeof http.request | typeof https.request;
constructor(opts: ConnectionOptions);
request(params: ConnectionRequestParams, options: ConnectionRequestOptions): Promise<ConnectionRequestResponse>;
request(params: ConnectionRequestParams, options: ConnectionRequestOptionsAsStream): Promise<ConnectionRequestResponseAsStream>;
close(): Promise<void>;
buildRequestObject(params: ConnectionRequestParams, options: ConnectionRequestOptions): http.ClientRequestArgs;
}

View file

@ -0,0 +1,363 @@
"use strict";
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
/* eslint-disable @typescript-eslint/restrict-template-expressions */
const hpagent_1 = tslib_1.__importDefault(require("hpagent"));
const http_1 = tslib_1.__importDefault(require("http"));
const https_1 = tslib_1.__importDefault(require("https"));
const debug_1 = tslib_1.__importDefault(require("debug"));
const buffer_1 = tslib_1.__importDefault(require("buffer"));
const BaseConnection_1 = tslib_1.__importStar(require("./BaseConnection"));
const symbols_1 = require("../symbols");
const stream_1 = require("stream");
const errors_1 = require("../errors");
const promises_1 = require("timers/promises");
const debug = (0, debug_1.default)('elasticsearch');
const INVALID_PATH_REGEX = /[^\u0021-\u00ff]/;
const MAX_BUFFER_LENGTH = buffer_1.default.constants.MAX_LENGTH;
const MAX_STRING_LENGTH = buffer_1.default.constants.MAX_STRING_LENGTH;
const noop = () => { };
class HttpConnection extends BaseConnection_1.default {
constructor(opts) {
super(opts);
Object.defineProperty(this, "agent", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "makeRequest", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
if (typeof opts.agent === 'function') {
this.agent = opts.agent(opts);
}
else if (typeof opts.agent === 'boolean') {
this.agent = undefined;
}
else {
if (opts.agent != null && !isHttpAgentOptions(opts.agent)) {
throw new errors_1.ConfigurationError('Bad agent configuration for Http agent');
}
const agentOptions = Object.assign({}, {
keepAlive: true,
keepAliveMsecs: 1000,
maxSockets: 256,
maxFreeSockets: 256,
scheduling: 'lifo'
}, opts.agent);
if (opts.proxy != null) {
const proxyAgentOptions = {
...agentOptions,
proxy: opts.proxy
};
this.agent = this.url.protocol === 'http:'
? new hpagent_1.default.HttpProxyAgent(proxyAgentOptions)
: new hpagent_1.default.HttpsProxyAgent(Object.assign({}, proxyAgentOptions, this.tls));
}
else {
this.agent = this.url.protocol === 'http:'
? new http_1.default.Agent(agentOptions)
: new https_1.default.Agent(Object.assign({}, agentOptions, this.tls));
}
}
this.makeRequest = this.url.protocol === 'http:'
? http_1.default.request
: https_1.default.request;
}
async request(params, options) {
return await new Promise((resolve, reject) => {
var _a, _b;
let cleanedListeners = false;
const maxResponseSize = (_a = options.maxResponseSize) !== null && _a !== void 0 ? _a : MAX_STRING_LENGTH;
const maxCompressedResponseSize = (_b = options.maxCompressedResponseSize) !== null && _b !== void 0 ? _b : MAX_BUFFER_LENGTH;
const requestParams = this.buildRequestObject(params, options);
// https://github.com/nodejs/node/commit/b961d9fd83
if (INVALID_PATH_REGEX.test(requestParams.path)) {
return reject(new TypeError(`ERR_UNESCAPED_CHARACTERS: ${requestParams.path}`));
}
debug('Starting a new request', params);
let request;
try {
request = this.makeRequest(requestParams);
}
catch (err) {
return reject(err);
}
const abortListener = () => {
request.destroy(new errors_1.RequestAbortedError('Request aborted'));
};
this._openRequests++;
if (options.signal != null) {
options.signal.addEventListener('abort', abortListener, { once: true });
}
const onResponse = (response) => {
var _a, _b;
cleanListeners();
request.on('error', noop); // There are some edge cases where the request emits an error while processing the response.
this._openRequests--;
if (options.asStream === true) {
return resolve({
body: response,
statusCode: response.statusCode,
headers: response.headers
});
}
const contentEncoding = ((_a = response.headers['content-encoding']) !== null && _a !== void 0 ? _a : '').toLowerCase();
const isCompressed = contentEncoding.includes('gzip') || contentEncoding.includes('deflate');
const isVectorTile = ((_b = response.headers['content-type']) !== null && _b !== void 0 ? _b : '').includes('application/vnd.mapbox-vector-tile');
/* istanbul ignore else */
if (response.headers['content-length'] !== undefined) {
const contentLength = Number(response.headers['content-length']);
if (isCompressed && contentLength > maxCompressedResponseSize) {
response.destroy();
return reject(new errors_1.RequestAbortedError(`The content length (${contentLength}) is bigger than the maximum allowed buffer (${maxCompressedResponseSize})`));
}
else if (contentLength > maxResponseSize) {
response.destroy();
return reject(new errors_1.RequestAbortedError(`The content length (${contentLength}) is bigger than the maximum allowed string (${maxResponseSize})`));
}
}
// if the response is compressed, we must handle it
// as buffer for allowing decompression later
let payload = isCompressed || isVectorTile ? new Array() : '';
const onData = isCompressed || isVectorTile ? onDataAsBuffer : onDataAsString;
let currentLength = 0;
function onDataAsBuffer(chunk) {
currentLength += Buffer.byteLength(chunk);
if (currentLength > maxCompressedResponseSize) {
response.destroy(new errors_1.RequestAbortedError(`The content length (${currentLength}) is bigger than the maximum allowed buffer (${maxCompressedResponseSize})`));
}
else {
payload.push(chunk);
}
}
function onDataAsString(chunk) {
currentLength += Buffer.byteLength(chunk);
if (currentLength > maxResponseSize) {
response.destroy(new errors_1.RequestAbortedError(`The content length (${currentLength}) is bigger than the maximum allowed string (${maxResponseSize})`));
}
else {
payload = `${payload}${chunk}`;
}
}
const onEnd = (err) => {
response.removeListener('data', onData);
response.removeListener('end', onEnd);
response.removeListener('error', onEnd);
request.removeListener('error', noop);
if (err != null) {
// @ts-expect-error
if (err.message === 'aborted' && err.code === 'ECONNRESET') {
response.destroy();
return reject(new errors_1.ConnectionError('Response aborted while reading the body'));
}
if (err.name === 'RequestAbortedError') {
return reject(err);
}
return reject(new errors_1.ConnectionError(err.message));
}
resolve({
body: isCompressed || isVectorTile ? Buffer.concat(payload) : payload,
statusCode: response.statusCode,
headers: response.headers
});
};
if (!isCompressed && !isVectorTile) {
response.setEncoding('utf8');
}
this.diagnostic.emit('deserialization', null, options);
response.on('data', onData);
response.on('error', onEnd);
response.on('end', onEnd);
};
const onTimeout = () => {
cleanListeners();
this._openRequests--;
request.once('error', () => { }); // we need to catch the request aborted error
request.destroy();
reject(new errors_1.TimeoutError('Request timed out'));
};
const onError = (err) => {
var _a, _b, _c, _d, _e, _f, _g, _h;
cleanListeners();
this._openRequests--;
let message = err.message;
if (err.name === 'RequestAbortedError') {
return reject(err);
}
// @ts-expect-error
if (err.code === 'ECONNRESET') {
message += ` - Local: ${(_b = (_a = request.socket) === null || _a === void 0 ? void 0 : _a.localAddress) !== null && _b !== void 0 ? _b : 'unknown'}:${(_d = (_c = request.socket) === null || _c === void 0 ? void 0 : _c.localPort) !== null && _d !== void 0 ? _d : 'unknown'}, Remote: ${(_f = (_e = request.socket) === null || _e === void 0 ? void 0 : _e.remoteAddress) !== null && _f !== void 0 ? _f : 'unknown'}:${(_h = (_g = request.socket) === null || _g === void 0 ? void 0 : _g.remotePort) !== null && _h !== void 0 ? _h : 'unknown'}`;
}
reject(new errors_1.ConnectionError(message));
};
const onSocket = (socket) => {
/* istanbul ignore else */
if (!socket.isSessionReused()) {
socket.once('secureConnect', () => {
const issuerCertificate = (0, BaseConnection_1.getIssuerCertificate)(socket);
/* istanbul ignore next */
if (issuerCertificate == null) {
onError(new Error('Invalid or malformed certificate'));
request.once('error', () => { }); // we need to catch the request aborted error
return request.destroy();
}
// Check if fingerprint matches
/* istanbul ignore else */
if (this[symbols_1.kCaFingerprint] !== issuerCertificate.fingerprint256) {
onError(new Error('Server certificate CA fingerprint does not match the value configured in caFingerprint'));
request.once('error', () => { }); // we need to catch the request aborted error
return request.destroy();
}
});
}
};
request.on('response', onResponse);
request.on('timeout', onTimeout);
request.on('error', onError);
if (this[symbols_1.kCaFingerprint] != null && requestParams.protocol === 'https:') {
request.on('socket', onSocket);
}
// Disables the Nagle algorithm
request.setNoDelay(true);
// starts the request
if (isStream(params.body)) {
(0, stream_1.pipeline)(params.body, request, err => {
/* istanbul ignore if */
if (err != null && !cleanedListeners) {
cleanListeners();
this._openRequests--;
reject(err);
}
});
}
else {
request.end(params.body);
}
return request;
function cleanListeners() {
request.removeListener('response', onResponse);
request.removeListener('timeout', onTimeout);
request.removeListener('error', onError);
request.removeListener('socket', onSocket);
if (options.signal != null) {
if ('removeEventListener' in options.signal) {
options.signal.removeEventListener('abort', abortListener);
}
else {
options.signal.removeListener('abort', abortListener);
}
}
cleanedListeners = true;
}
});
}
async close() {
debug('Closing connection', this.id);
while (this._openRequests > 0) {
await (0, promises_1.setTimeout)(1000);
}
/* istanbul ignore else */
if (this.agent !== undefined) {
this.agent.destroy();
}
}
buildRequestObject(params, options) {
var _a;
const url = this.url;
let search = url.search;
let pathname = url.pathname;
const request = {
protocol: url.protocol,
hostname: url.hostname[0] === '['
? url.hostname.slice(1, -1)
: url.hostname,
path: '',
// https://github.com/elastic/elasticsearch-js/issues/843
port: url.port !== '' ? url.port : undefined,
headers: this.headers,
agent: this.agent,
timeout: (_a = options.timeout) !== null && _a !== void 0 ? _a : this.timeout
};
const paramsKeys = Object.keys(params);
for (let i = 0, len = paramsKeys.length; i < len; i++) {
const key = paramsKeys[i];
if (key === 'path') {
pathname = resolve(pathname, params[key]);
}
else if (key === 'querystring' && Boolean(params[key])) {
if (search === '') {
search = `?${params[key]}`;
}
else {
search += `&${params[key]}`;
}
}
else if (key === 'headers') {
request.headers = Object.assign({}, request.headers, params.headers);
}
else {
// @ts-expect-error
request[key] = params[key];
}
}
request.path = pathname + search;
return request;
}
}
exports.default = HttpConnection;
function isStream(obj) {
return obj != null && typeof obj.pipe === 'function';
}
function resolve(host, path) {
const hostEndWithSlash = host[host.length - 1] === '/';
const pathStartsWithSlash = path[0] === '/';
if (hostEndWithSlash && pathStartsWithSlash) {
return host + path.slice(1);
}
else if (hostEndWithSlash !== pathStartsWithSlash) {
return host + path;
}
else {
return host + '/' + path;
}
}
/* istanbul ignore next */
function isHttpAgentOptions(opts) {
if (opts.keepAliveTimeout != null)
return false;
if (opts.keepAliveMaxTimeout != null)
return false;
if (opts.keepAliveTimeoutThreshold != null)
return false;
if (opts.pipelining != null)
return false;
if (opts.maxHeaderSize != null)
return false;
if (opts.connections != null)
return false;
return true;
}
//# sourceMappingURL=HttpConnection.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,9 @@
import BaseConnection, { ConnectionOptions, ConnectionRequestParams, ConnectionRequestOptions, ConnectionRequestOptionsAsStream, ConnectionRequestResponse, ConnectionRequestResponseAsStream } from './BaseConnection';
import { Pool } from 'undici';
export default class Connection extends BaseConnection {
pool: Pool;
constructor(opts: ConnectionOptions);
request(params: ConnectionRequestParams, options: ConnectionRequestOptions): Promise<ConnectionRequestResponse>;
request(params: ConnectionRequestParams, options: ConnectionRequestOptionsAsStream): Promise<ConnectionRequestResponseAsStream>;
close(): Promise<void>;
}

View file

@ -0,0 +1,241 @@
"use strict";
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
/* eslint-disable @typescript-eslint/restrict-template-expressions */
const debug_1 = tslib_1.__importDefault(require("debug"));
const buffer_1 = tslib_1.__importDefault(require("buffer"));
const BaseConnection_1 = tslib_1.__importStar(require("./BaseConnection"));
const undici_1 = require("undici");
const errors_1 = require("../errors");
const symbols_1 = require("../symbols");
const debug = (0, debug_1.default)('elasticsearch');
const INVALID_PATH_REGEX = /[^\u0021-\u00ff]/;
const MAX_BUFFER_LENGTH = buffer_1.default.constants.MAX_LENGTH;
const MAX_STRING_LENGTH = buffer_1.default.constants.MAX_STRING_LENGTH;
class Connection extends BaseConnection_1.default {
constructor(opts) {
var _a;
super(opts);
Object.defineProperty(this, "pool", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
if (opts.proxy != null) {
throw new errors_1.ConfigurationError('Undici connection can\'t work with proxies');
}
if (typeof opts.agent === 'function' || typeof opts.agent === 'boolean') {
throw new errors_1.ConfigurationError('Undici connection agent options can\'t be a function or a boolean');
}
if (opts.agent != null && !isUndiciAgentOptions(opts.agent)) {
throw new errors_1.ConfigurationError('Bad agent configuration for Undici agent');
}
const undiciOptions = {
keepAliveTimeout: 600e3,
keepAliveMaxTimeout: 600e3,
keepAliveTimeoutThreshold: 1000,
pipelining: 1,
maxHeaderSize: 16384,
connections: 256,
headersTimeout: this.timeout,
bodyTimeout: this.timeout,
...opts.agent
};
if (this[symbols_1.kCaFingerprint] !== null) {
const caFingerprint = this[symbols_1.kCaFingerprint];
const connector = (0, undici_1.buildConnector)(((_a = this.tls) !== null && _a !== void 0 ? _a : {}));
undiciOptions.connect = function (opts, cb) {
connector(opts, (err, socket) => {
if (err != null) {
return cb(err, null);
}
if (caFingerprint !== null && isTlsSocket(opts, socket)) {
const issuerCertificate = (0, BaseConnection_1.getIssuerCertificate)(socket);
/* istanbul ignore next */
if (issuerCertificate == null) {
socket.destroy();
return cb(new Error('Invalid or malformed certificate'), null);
}
// Check if fingerprint matches
/* istanbul ignore else */
if (caFingerprint !== issuerCertificate.fingerprint256) {
socket.destroy();
return cb(new Error('Server certificate CA fingerprint does not match the value configured in caFingerprint'), null);
}
}
return cb(null, socket);
});
};
}
else if (this.tls !== null) {
undiciOptions.connect = this.tls;
}
this.pool = new undici_1.Pool(this.url.toString(), undiciOptions);
}
async request(params, options) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
const maxResponseSize = (_a = options.maxResponseSize) !== null && _a !== void 0 ? _a : MAX_STRING_LENGTH;
const maxCompressedResponseSize = (_b = options.maxCompressedResponseSize) !== null && _b !== void 0 ? _b : MAX_BUFFER_LENGTH;
const requestParams = {
method: params.method,
path: params.path + (params.querystring == null || params.querystring === '' ? '' : `?${params.querystring}`),
headers: Object.assign({}, this.headers, params.headers),
body: params.body,
signal: (_c = options.signal) !== null && _c !== void 0 ? _c : new AbortController().signal
};
if (requestParams.path[0] !== '/') {
requestParams.path = `/${requestParams.path}`;
}
// undici does not support per-request timeouts,
// to address this issue, we default to the constructor
// timeout (which is handled by undici) and create a local
// setTimeout callback if the request-specific timeout
// is different from the constructor timeout.
let timedout = false;
let timeoutId;
if (options.timeout != null && options.timeout !== this.timeout) {
timeoutId = setTimeout(() => {
timedout = true;
requestParams.signal.dispatchEvent(new Event('abort'));
}, options.timeout);
}
// https://github.com/nodejs/node/commit/b961d9fd83
if (INVALID_PATH_REGEX.test(requestParams.path)) {
throw new TypeError(`ERR_UNESCAPED_CHARACTERS: ${requestParams.path}`);
}
debug('Starting a new request', params);
let response;
try {
// @ts-expect-error method it's fine as string
response = (await this.pool.request(requestParams));
if (timeoutId != null)
clearTimeout(timeoutId);
}
catch (err) {
if (timeoutId != null)
clearTimeout(timeoutId);
switch (err.code) {
case 'UND_ERR_ABORTED':
case DOMException.ABORT_ERR:
throw (timedout ? new errors_1.TimeoutError('Request timed out') : new errors_1.RequestAbortedError('Request aborted'));
case 'UND_ERR_HEADERS_TIMEOUT':
throw new errors_1.TimeoutError('Request timed out');
case 'UND_ERR_SOCKET':
throw new errors_1.ConnectionError(`${err.message} - Local: ${(_e = (_d = err.socket) === null || _d === void 0 ? void 0 : _d.localAddress) !== null && _e !== void 0 ? _e : 'unknown'}:${(_g = (_f = err.socket) === null || _f === void 0 ? void 0 : _f.localPort) !== null && _g !== void 0 ? _g : 'unknown'}, Remote: ${(_j = (_h = err.socket) === null || _h === void 0 ? void 0 : _h.remoteAddress) !== null && _j !== void 0 ? _j : 'unknown'}:${(_l = (_k = err.socket) === null || _k === void 0 ? void 0 : _k.remotePort) !== null && _l !== void 0 ? _l : 'unknown'}`); // eslint-disable-line
default:
throw new errors_1.ConnectionError(err.message);
}
}
if (options.asStream === true) {
return {
statusCode: response.statusCode,
headers: response.headers,
body: response.body
};
}
// @ts-expect-error Assume header is not string[] for now.
const contentEncoding = ((_m = response.headers['content-encoding']) !== null && _m !== void 0 ? _m : '').toLowerCase();
const isCompressed = contentEncoding.includes('gzip') || contentEncoding.includes('deflate'); // eslint-disable-line
const isVectorTile = ((_o = response.headers['content-type']) !== null && _o !== void 0 ? _o : '').includes('application/vnd.mapbox-vector-tile');
/* istanbul ignore else */
if (response.headers['content-length'] !== undefined) {
const contentLength = Number(response.headers['content-length']);
if (isCompressed && contentLength > maxCompressedResponseSize) { // eslint-disable-line
response.body.destroy();
throw new errors_1.RequestAbortedError(`The content length (${contentLength}) is bigger than the maximum allowed buffer (${maxCompressedResponseSize})`);
}
else if (contentLength > maxResponseSize) {
response.body.destroy();
throw new errors_1.RequestAbortedError(`The content length (${contentLength}) is bigger than the maximum allowed string (${maxResponseSize})`);
}
}
this.diagnostic.emit('deserialization', null, options);
try {
if (isCompressed || isVectorTile) { // eslint-disable-line
let currentLength = 0;
const payload = [];
for await (const chunk of response.body) {
currentLength += Buffer.byteLength(chunk);
if (currentLength > maxCompressedResponseSize) {
response.body.destroy();
throw new errors_1.RequestAbortedError(`The content length (${currentLength}) is bigger than the maximum allowed buffer (${maxCompressedResponseSize})`);
}
payload.push(chunk);
}
return {
statusCode: response.statusCode,
headers: response.headers,
body: Buffer.concat(payload)
};
}
else {
let payload = '';
let currentLength = 0;
response.body.setEncoding('utf8');
for await (const chunk of response.body) {
currentLength += Buffer.byteLength(chunk);
if (currentLength > maxResponseSize) {
response.body.destroy();
throw new errors_1.RequestAbortedError(`The content length (${currentLength}) is bigger than the maximum allowed string (${maxResponseSize})`);
}
payload += chunk;
}
return {
statusCode: response.statusCode,
headers: response.headers,
body: payload
};
}
}
catch (err) {
if (err.name === 'RequestAbortedError') {
throw err;
}
throw new errors_1.ConnectionError(err.message);
}
}
async close() {
debug('Closing connection', this.id);
await this.pool.close();
}
}
exports.default = Connection;
/* istanbul ignore next */
function isUndiciAgentOptions(opts) {
if (opts.keepAlive != null)
return false;
if (opts.keepAliveMsecs != null)
return false;
if (opts.maxSockets != null)
return false;
if (opts.maxFreeSockets != null)
return false;
if (opts.scheduling != null)
return false;
if (opts.proxy != null)
return false;
return true;
}
function isTlsSocket(opts, socket) {
return socket !== null && opts.protocol === 'https:';
}
//# sourceMappingURL=UndiciConnection.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,6 @@
import BaseConnection from './BaseConnection';
import HttpConnection from './HttpConnection';
import UndiciConnection from './UndiciConnection';
export type Connection = BaseConnection | HttpConnection | UndiciConnection;
export type { ConnectionOptions, ConnectionRequestParams, ConnectionRequestOptions, ConnectionRequestOptionsAsStream, ConnectionRequestResponse, ConnectionRequestResponseAsStream } from './BaseConnection';
export { BaseConnection, HttpConnection, UndiciConnection };

View file

@ -0,0 +1,29 @@
"use strict";
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the 'License'); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.UndiciConnection = exports.HttpConnection = exports.BaseConnection = void 0;
const tslib_1 = require("tslib");
const BaseConnection_1 = tslib_1.__importDefault(require("./BaseConnection"));
exports.BaseConnection = BaseConnection_1.default;
const HttpConnection_1 = tslib_1.__importDefault(require("./HttpConnection"));
exports.HttpConnection = HttpConnection_1.default;
const UndiciConnection_1 = tslib_1.__importDefault(require("./UndiciConnection"));
exports.UndiciConnection = UndiciConnection_1.default;
//# sourceMappingURL=index.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/connection/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;AAEH,8EAA6C;AAe3C,yBAfK,wBAAc,CAeL;AAdhB,8EAA6C;AAe3C,yBAfK,wBAAc,CAeL;AAdhB,kFAAiD;AAe/C,2BAfK,0BAAgB,CAeL"}

49
BACK_BACK/node_modules/@elastic/transport/lib/errors.d.ts generated vendored Executable file
View file

@ -0,0 +1,49 @@
/// <reference types="node" />
import * as http from 'http';
import { DiagnosticResult } from './types';
import { RedactionOptions } from './Transport';
export interface ErrorOptions {
redaction: RedactionOptions;
}
export declare class ElasticsearchClientError extends Error {
options: ErrorOptions;
constructor(message: string, options?: ErrorOptions);
}
export declare class TimeoutError extends ElasticsearchClientError {
meta?: DiagnosticResult;
constructor(message: string, meta?: DiagnosticResult, options?: ErrorOptions);
}
export declare class ConnectionError extends ElasticsearchClientError {
meta?: DiagnosticResult;
constructor(message: string, meta?: DiagnosticResult, options?: ErrorOptions);
}
export declare class NoLivingConnectionsError extends ElasticsearchClientError {
meta: DiagnosticResult;
constructor(message: string, meta: DiagnosticResult, options?: ErrorOptions);
}
export declare class SerializationError extends ElasticsearchClientError {
data: Record<string, any>;
constructor(message: string, data: Record<string, any>);
}
export declare class DeserializationError extends ElasticsearchClientError {
data: string;
constructor(message: string, data: string);
}
export declare class ConfigurationError extends ElasticsearchClientError {
constructor(message: string);
}
export declare class ResponseError extends ElasticsearchClientError {
meta: DiagnosticResult;
constructor(meta: DiagnosticResult, options?: ErrorOptions);
get body(): any | undefined;
get statusCode(): number | undefined;
get headers(): http.IncomingHttpHeaders | undefined;
}
export declare class RequestAbortedError extends ElasticsearchClientError {
meta?: DiagnosticResult;
constructor(message: string, meta?: DiagnosticResult, options?: ErrorOptions);
}
export declare class ProductNotSupportedError extends ElasticsearchClientError {
meta?: DiagnosticResult;
constructor(product: string, meta?: DiagnosticResult, options?: ErrorOptions);
}

231
BACK_BACK/node_modules/@elastic/transport/lib/errors.js generated vendored Executable file
View file

@ -0,0 +1,231 @@
"use strict";
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProductNotSupportedError = exports.RequestAbortedError = exports.ResponseError = exports.ConfigurationError = exports.DeserializationError = exports.SerializationError = exports.NoLivingConnectionsError = exports.ConnectionError = exports.TimeoutError = exports.ElasticsearchClientError = void 0;
const security_1 = require("./security");
class ElasticsearchClientError extends Error {
constructor(message, options) {
super(message);
Object.defineProperty(this, "options", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
this.name = 'ElasticsearchClientError';
this.options = {
redaction: {
type: 'replace',
additionalKeys: []
}
};
if (isObject(options)) {
this.options.redaction = { ...this.options.redaction, ...options.redaction };
}
}
}
exports.ElasticsearchClientError = ElasticsearchClientError;
class TimeoutError extends ElasticsearchClientError {
constructor(message, meta, options) {
super(message, options);
Object.defineProperty(this, "meta", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Error.captureStackTrace(this, TimeoutError);
this.name = 'TimeoutError';
this.message = message !== null && message !== void 0 ? message : 'Timeout Error';
if (isObject(meta))
meta = (0, security_1.redactDiagnostic)(meta, this.options.redaction);
this.meta = meta;
}
}
exports.TimeoutError = TimeoutError;
class ConnectionError extends ElasticsearchClientError {
constructor(message, meta, options) {
super(message, options);
Object.defineProperty(this, "meta", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Error.captureStackTrace(this, ConnectionError);
this.name = 'ConnectionError';
this.message = message !== null && message !== void 0 ? message : 'Connection Error';
if (isObject(meta))
meta = (0, security_1.redactDiagnostic)(meta, this.options.redaction);
this.meta = meta;
}
}
exports.ConnectionError = ConnectionError;
class NoLivingConnectionsError extends ElasticsearchClientError {
constructor(message, meta, options) {
super(message, options);
Object.defineProperty(this, "meta", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Error.captureStackTrace(this, NoLivingConnectionsError);
this.name = 'NoLivingConnectionsError';
this.message = message !== null && message !== void 0 ? message : 'Given the configuration, the ConnectionPool was not able to find a usable Connection for this request.';
this.meta = (0, security_1.redactDiagnostic)(meta, this.options.redaction);
}
}
exports.NoLivingConnectionsError = NoLivingConnectionsError;
class SerializationError extends ElasticsearchClientError {
constructor(message, data) {
super(message);
Object.defineProperty(this, "data", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Error.captureStackTrace(this, SerializationError);
this.name = 'SerializationError';
this.message = message !== null && message !== void 0 ? message : 'Serialization Error';
this.data = data;
}
}
exports.SerializationError = SerializationError;
class DeserializationError extends ElasticsearchClientError {
constructor(message, data) {
super(message);
Object.defineProperty(this, "data", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Error.captureStackTrace(this, DeserializationError);
this.name = 'DeserializationError';
this.message = message !== null && message !== void 0 ? message : 'Deserialization Error';
this.data = data;
}
}
exports.DeserializationError = DeserializationError;
class ConfigurationError extends ElasticsearchClientError {
constructor(message) {
super(message);
Error.captureStackTrace(this, ConfigurationError);
this.name = 'ConfigurationError';
this.message = message !== null && message !== void 0 ? message : 'Configuration Error';
}
}
exports.ConfigurationError = ConfigurationError;
class ResponseError extends ElasticsearchClientError {
constructor(meta, options) {
var _a;
super('Response Error', options);
Object.defineProperty(this, "meta", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Error.captureStackTrace(this, ResponseError);
this.name = 'ResponseError';
// TODO: this is for Elasticsearch
if (isObject(meta.body) && meta.body.error != null && meta.body.error.type != null) {
this.message = meta.body.error.type;
if (isObject(meta.body.error.caused_by)) {
const { type, reason } = meta.body.error.caused_by;
const causedBy = [
'\tCaused by:',
`\t\t${type}: ${reason}`
].join('\n');
this.message += `\n${causedBy}`;
}
if (Array.isArray(meta.body.error.root_cause) && meta.body.error.root_cause.length !== 0) {
const formatRootCause = (entry) => `\t\t${entry.type}: ${entry.reason}`;
const rootCauses = [
'\tRoot causes:',
...meta.body.error.root_cause.map(formatRootCause)
].join('\n');
this.message += `\n${rootCauses}`;
}
}
else if (typeof meta.body === 'object' && meta.body != null) {
this.message = JSON.stringify(meta.body);
}
else {
this.message = (_a = meta.body) !== null && _a !== void 0 ? _a : 'Response Error';
}
this.meta = (0, security_1.redactDiagnostic)(meta, this.options.redaction);
}
get body() {
return this.meta.body;
}
get statusCode() {
if (isObject(this.meta.body) && typeof this.meta.body.status === 'number') {
return this.meta.body.status;
}
return this.meta.statusCode;
}
get headers() {
return this.meta.headers;
}
}
exports.ResponseError = ResponseError;
class RequestAbortedError extends ElasticsearchClientError {
constructor(message, meta, options) {
super(message, options);
Object.defineProperty(this, "meta", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Error.captureStackTrace(this, RequestAbortedError);
this.name = 'RequestAbortedError';
this.message = message !== null && message !== void 0 ? message : 'Request aborted';
if (isObject(meta))
meta = (0, security_1.redactDiagnostic)(meta, this.options.redaction);
this.meta = meta;
}
}
exports.RequestAbortedError = RequestAbortedError;
class ProductNotSupportedError extends ElasticsearchClientError {
constructor(product, meta, options) {
super('Product Not Supported Error', options);
Object.defineProperty(this, "meta", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Error.captureStackTrace(this, ProductNotSupportedError);
this.name = 'ProductNotSupportedError';
this.message = `The client noticed that the server is not ${product} and we do not support this unknown product.`;
if (isObject(meta))
meta = (0, security_1.redactDiagnostic)(meta, this.options.redaction);
this.meta = meta;
}
}
exports.ProductNotSupportedError = ProductNotSupportedError;
function isObject(obj) {
return typeof obj === 'object' && obj !== null;
}
//# sourceMappingURL=errors.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,89 @@
/// <reference types="node" />
/// <reference types="node" />
import { URL } from 'url';
import { ConnectionOptions as TlsConnectionOptions } from 'tls';
import Diagnostic from '../Diagnostic';
import { kCaFingerprint } from '../symbols';
import { Connection, ConnectionOptions, BaseConnection } from '../connection';
import { HttpAgentOptions, UndiciAgentOptions, agentFn, ApiKeyAuth, BasicAuth, BearerAuth, nodeFilterFn, nodeSelectorFn } from '../types';
type AddConnectionOptions = string | ConnectionOptions;
export interface ConnectionPoolOptions {
tls?: TlsConnectionOptions;
agent?: HttpAgentOptions | UndiciAgentOptions | agentFn | false;
proxy?: string | URL;
auth?: BasicAuth | ApiKeyAuth | BearerAuth;
diagnostic?: Diagnostic;
Connection: typeof BaseConnection;
pingTimeout?: number;
resurrectStrategy?: 'none' | 'ping' | 'optimistic';
caFingerprint?: string;
}
export interface GetConnectionOptions {
filter?: nodeFilterFn;
selector?: nodeSelectorFn;
now: number;
requestId: string | number;
name: string | symbol;
context: any;
}
export default class BaseConnectionPool {
connections: Connection[];
size: number;
Connection: typeof BaseConnection;
diagnostic: Diagnostic;
auth?: BasicAuth | ApiKeyAuth | BearerAuth;
_agent?: HttpAgentOptions | UndiciAgentOptions | agentFn | false;
_proxy?: string | URL;
_tls?: TlsConnectionOptions;
[kCaFingerprint]?: string;
constructor(opts: ConnectionPoolOptions);
markAlive(connection: Connection): this;
markDead(connection: Connection): this;
getConnection(opts: GetConnectionOptions): Connection | null;
/**
* Creates a new connection instance.
*/
createConnection(opts: string | ConnectionOptions): Connection;
/**
* Adds a new connection to the pool.
*
* @param connection Connection options, or the URL of a node
* @returns This ConnectionPool instance
*/
addConnection(connection: AddConnectionOptions | AddConnectionOptions[]): this;
/**
* Removes a connection from the pool.
*
* @param connection The connection to remove
* @returns This ConnectionPool instance
*/
removeConnection(connection: Connection): this;
/**
* Empties the connection pool.
*
* @returns {ConnectionPool}
*/
empty(): Promise<void>;
/**
* Update the ConnectionPool with new connections.
*
* @param {array} array of connections
* @returns {ConnectionPool}
*/
update(nodes: Array<Connection | ConnectionOptions>): this;
/**
* Transforms the nodes objects to a host object.
*
* @param {object} nodes
* @returns {array} hosts
*/
nodesToHost(nodes: Record<string, any>, protocol: string): ConnectionOptions[];
/**
* Transforms an url string to a host object
*
* @param {string} url
* @returns {object} host
*/
urlToHost(url: string): ConnectionOptions;
}
export {};

View file

@ -0,0 +1,299 @@
"use strict";
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const url_1 = require("url");
const debug_1 = tslib_1.__importDefault(require("debug"));
const Diagnostic_1 = tslib_1.__importDefault(require("../Diagnostic"));
const symbols_1 = require("../symbols");
const connection_1 = require("../connection");
const errors_1 = require("../errors");
const debug = (0, debug_1.default)('elasticsearch');
class BaseConnectionPool {
constructor(opts) {
var _b;
Object.defineProperty(this, "connections", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "size", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "Connection", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "diagnostic", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "auth", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "_agent", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "_proxy", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "_tls", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, _a, {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
// list of nodes and weights
this.connections = [];
// how many nodes we have in our scheduler
this.size = this.connections.length;
this.Connection = opts.Connection;
this.diagnostic = (_b = opts.diagnostic) !== null && _b !== void 0 ? _b : new Diagnostic_1.default();
this.auth = opts.auth;
this._tls = opts.tls;
this._agent = opts.agent;
this._proxy = opts.proxy;
this[symbols_1.kCaFingerprint] = opts.caFingerprint;
}
markAlive(connection) {
connection.status = connection_1.BaseConnection.statuses.ALIVE;
return this;
}
markDead(connection) {
connection.status = connection_1.BaseConnection.statuses.DEAD;
return this;
}
getConnection(opts) {
throw new errors_1.ConfigurationError('The getConnection method should be implemented by extended classes');
}
/**
* Creates a new connection instance.
*/
createConnection(opts) {
if (typeof opts === 'string') {
opts = this.urlToHost(opts);
}
if (this.auth != null) {
opts.auth = this.auth;
}
else if (opts.url.username !== '' && opts.url.password !== '') {
opts.auth = {
username: decodeURIComponent(opts.url.username),
password: decodeURIComponent(opts.url.password)
};
}
/* istanbul ignore else */
if (opts.tls == null)
opts.tls = this._tls;
/* istanbul ignore else */
if (opts.agent == null)
opts.agent = this._agent;
/* istanbul ignore else */
if (opts.proxy == null)
opts.proxy = this._proxy;
/* istanbul ignore else */
if (opts.diagnostic == null)
opts.diagnostic = this.diagnostic;
/* istanbul ignore else */
if (opts.caFingerprint == null)
opts.caFingerprint = this[symbols_1.kCaFingerprint];
const connection = new this.Connection(opts);
for (const conn of this.connections) {
if (conn.id === connection.id) {
throw new Error(`Connection with id '${connection.id}' is already present`);
}
}
return connection;
}
/**
* Adds a new connection to the pool.
*
* @param connection Connection options, or the URL of a node
* @returns This ConnectionPool instance
*/
addConnection(connection) {
if (Array.isArray(connection)) {
const connections = [];
for (const conn of connection) {
connections.push(this.createConnection(conn));
}
return this.update([...this.connections, ...connections]);
}
else {
return this.update([...this.connections, this.createConnection(connection)]);
}
}
/**
* Removes a connection from the pool.
*
* @param connection The connection to remove
* @returns This ConnectionPool instance
*/
removeConnection(connection) {
debug('Removing connection', connection);
return this.update(this.connections.filter(c => c.id !== connection.id));
}
/**
* Empties the connection pool.
*
* @returns {ConnectionPool}
*/
async empty() {
debug('Emptying the connection pool');
const connections = this.connections;
this.connections = [];
this.size = 0;
for (const connection of connections) {
await connection.close();
}
}
/**
* Update the ConnectionPool with new connections.
*
* @param {array} array of connections
* @returns {ConnectionPool}
*/
update(nodes) {
debug('Updating the connection pool');
const newConnections = [];
const oldConnections = [];
for (const node of nodes) {
// if we already have a given connection in the pool
// we mark it as alive and we do not close the connection
// to avoid socket issues
const connectionById = this.connections.find(c => c.id === node.id);
const connectionByUrl = this.connections.find(c => c.id === node.url.href);
if (connectionById != null) {
debug(`The connection with id '${node.id}' is already present`);
this.markAlive(connectionById);
newConnections.push(connectionById);
// in case the user has passed a single url (or an array of urls),
// the connection id will be the full href; to avoid closing valid connections
// because are not present in the pool, we check also the node url,
// and if is already present we update its id with the ES provided one.
}
else if (connectionByUrl != null) {
connectionByUrl.id = node.id;
this.markAlive(connectionByUrl);
newConnections.push(connectionByUrl);
}
else {
if (node instanceof connection_1.BaseConnection) {
newConnections.push(node);
}
else {
newConnections.push(this.createConnection(node));
}
}
}
const ids = nodes.map(c => c.id);
// remove all the dead connections and old connections
for (const connection of this.connections) {
if (!ids.includes(connection.id)) {
oldConnections.push(connection);
}
}
// close old connections
for (const connection of oldConnections) {
connection.close().catch(/* istanbul ignore next */ () => { });
}
this.connections = newConnections;
this.size = this.connections.length;
return this;
}
/**
* Transforms the nodes objects to a host object.
*
* @param {object} nodes
* @returns {array} hosts
*/
nodesToHost(nodes, protocol) {
const ids = Object.keys(nodes);
const hosts = [];
for (let i = 0, len = ids.length; i < len; i++) {
const node = nodes[ids[i]];
// newly-added nodes do not have http assigned yet, so skip
if (node.http === undefined)
continue;
// If there is no protocol in
// the `publish_address` new URL will throw
// the publish_address can have two forms:
// - ip:port
// - hostname/ip:port
// if we encounter the second case, we should
// use the hostname instead of the ip
let address = node.http.publish_address;
const parts = address.split('/');
// the url is in the form of hostname/ip:port
if (parts.length > 1) {
const hostname = parts[0];
const port = parts[1].match(/((?::))(?:[0-9]+)$/g)[0].slice(1);
address = `${hostname}:${port}`;
}
address = address.slice(0, 4) === 'http'
/* istanbul ignore next */
? address
: `${protocol}//${address}`;
hosts.push({
url: new url_1.URL(address),
id: ids[i]
});
}
return hosts;
}
/**
* Transforms an url string to a host object
*
* @param {string} url
* @returns {object} host
*/
urlToHost(url) {
return {
url: new url_1.URL(url)
};
}
}
exports.default = BaseConnectionPool;
_a = symbols_1.kCaFingerprint;
//# sourceMappingURL=BaseConnectionPool.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,25 @@
import BaseConnectionPool, { ConnectionPoolOptions, GetConnectionOptions } from './BaseConnectionPool';
import { Connection, ConnectionOptions } from '../connection';
export default class CloudConnectionPool extends BaseConnectionPool {
cloudConnection: Connection | null;
constructor(opts: ConnectionPoolOptions);
/**
* Returns the only cloud connection.
*
* @returns {object} connection
*/
getConnection(opts: GetConnectionOptions): Connection | null;
/**
* Empties the connection pool.
*
* @returns {ConnectionPool}
*/
empty(): Promise<void>;
/**
* Update the ConnectionPool with new connections.
*
* @param {array} array of connections
* @returns {ConnectionPool}
*/
update(connections: Array<Connection | ConnectionOptions>): this;
}

View file

@ -0,0 +1,64 @@
"use strict";
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const BaseConnectionPool_1 = tslib_1.__importDefault(require("./BaseConnectionPool"));
class CloudConnectionPool extends BaseConnectionPool_1.default {
constructor(opts) {
super(opts);
Object.defineProperty(this, "cloudConnection", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
this.cloudConnection = null;
}
/**
* Returns the only cloud connection.
*
* @returns {object} connection
*/
getConnection(opts) {
return this.cloudConnection;
}
/**
* Empties the connection pool.
*
* @returns {ConnectionPool}
*/
async empty() {
await super.empty();
this.cloudConnection = null;
}
/**
* Update the ConnectionPool with new connections.
*
* @param {array} array of connections
* @returns {ConnectionPool}
*/
update(connections) {
super.update(connections);
this.cloudConnection = this.connections[0];
return this;
}
}
exports.default = CloudConnectionPool;
//# sourceMappingURL=CloudConnectionPool.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"CloudConnectionPool.js","sourceRoot":"","sources":["../../src/pool/CloudConnectionPool.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEH,sFAG6B;AAG7B,MAAqB,mBAAoB,SAAQ,4BAAkB;IAEjE,YAAa,IAA2B;QACtC,KAAK,CAAC,IAAI,CAAC,CAAA;QAFb;;;;;WAAkC;QAGhC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAA;IAC7B,CAAC;IAED;;;;OAIG;IACH,aAAa,CAAE,IAA0B;QACvC,OAAO,IAAI,CAAC,eAAe,CAAA;IAC7B,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,KAAK;QACT,MAAM,KAAK,CAAC,KAAK,EAAE,CAAA;QACnB,IAAI,CAAC,eAAe,GAAG,IAAI,CAAA;IAC7B,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAE,WAAkD;QACxD,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,CAAA;QACzB,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAA;QAC1C,OAAO,IAAI,CAAA;IACb,CAAC;CACF;AArCD,sCAqCC"}

View file

@ -0,0 +1,77 @@
import BaseConnectionPool, { ConnectionPoolOptions, GetConnectionOptions } from './BaseConnectionPool';
import { Connection, ConnectionOptions } from '../connection';
export interface ResurrectOptions {
now: number;
requestId: string | number;
name: string | symbol;
context: any;
}
export interface ResurrectEvent {
strategy: string;
name: string | symbol;
request: {
id: string;
};
isAlive: boolean;
connection: Connection;
}
export default class ClusterConnectionPool extends BaseConnectionPool {
dead: string[];
resurrectTimeout: number;
resurrectTimeoutCutoff: number;
pingTimeout: number;
resurrectStrategy: number;
static resurrectStrategies: {
none: number;
ping: number;
optimistic: number;
};
constructor(opts: ConnectionPoolOptions);
/**
* Marks a connection as 'alive'.
* If needed removes the connection from the dead list
* and then resets the `deadCount`.
*
* @param {object} connection
*/
markAlive(connection: Connection): this;
/**
* Marks a connection as 'dead'.
* If needed adds the connection to the dead list
* and then increments the `deadCount`.
*
* @param {object} connection
*/
markDead(connection: Connection): this;
/**
* If enabled, tries to resurrect a connection with the given
* resurrect strategy ('ping', 'optimistic', 'none').
*
* @param {object} { now, requestId }
*/
resurrect(opts: ResurrectOptions): void;
/**
* Returns an alive connection if present,
* otherwise returns a dead connection.
* By default it filters the `master` only nodes.
* It uses the selector to choose which
* connection return.
*
* @param {object} options (filter and selector)
* @returns {object|null} connection
*/
getConnection(opts: GetConnectionOptions): Connection | null;
/**
* Empties the connection pool.
*
* @returns {ConnectionPool}
*/
empty(): Promise<void>;
/**
* Update the ConnectionPool with new connections.
*
* @param {array} array of connections
* @returns {ConnectionPool}
*/
update(connections: Array<Connection | ConnectionOptions>): this;
}

View file

@ -0,0 +1,259 @@
"use strict";
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const BaseConnectionPool_1 = tslib_1.__importDefault(require("./BaseConnectionPool"));
const assert_1 = tslib_1.__importDefault(require("assert"));
const debug_1 = tslib_1.__importDefault(require("debug"));
const connection_1 = require("../connection");
const debug = (0, debug_1.default)('elasticsearch');
class ClusterConnectionPool extends BaseConnectionPool_1.default {
constructor(opts) {
var _a, _b;
super(opts);
Object.defineProperty(this, "dead", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "resurrectTimeout", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "resurrectTimeoutCutoff", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "pingTimeout", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "resurrectStrategy", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
this.dead = [];
// the resurrect timeout is 60s
this.resurrectTimeout = 1000 * 60;
// number of consecutive failures after which
// the timeout doesn't increase
this.resurrectTimeoutCutoff = 5;
this.pingTimeout = (_a = opts.pingTimeout) !== null && _a !== void 0 ? _a : 3000;
const resurrectStrategy = (_b = opts.resurrectStrategy) !== null && _b !== void 0 ? _b : 'ping';
this.resurrectStrategy = ClusterConnectionPool.resurrectStrategies[resurrectStrategy];
(0, assert_1.default)(this.resurrectStrategy != null, `Invalid resurrection strategy: '${resurrectStrategy}'`);
}
/**
* Marks a connection as 'alive'.
* If needed removes the connection from the dead list
* and then resets the `deadCount`.
*
* @param {object} connection
*/
markAlive(connection) {
const { id } = connection;
debug(`Marking as 'alive' connection '${id}'`);
const index = this.dead.indexOf(id);
if (index > -1)
this.dead.splice(index, 1);
connection.status = connection_1.BaseConnection.statuses.ALIVE;
connection.deadCount = 0;
connection.resurrectTimeout = 0;
return this;
}
/**
* Marks a connection as 'dead'.
* If needed adds the connection to the dead list
* and then increments the `deadCount`.
*
* @param {object} connection
*/
markDead(connection) {
const { id } = connection;
debug(`Marking as 'dead' connection '${id}'`);
if (!this.dead.includes(id)) {
// It might happen that `markDead` is called jsut after
// a pool update, and in such case we will add to the dead
// list a node that no longer exist. The following check verify
// that the connection is still part of the pool before
// marking it as dead.
for (let i = 0; i < this.size; i++) {
if (this.connections[i].id === id) {
this.dead.push(id);
break;
}
}
}
connection.status = connection_1.BaseConnection.statuses.DEAD;
connection.deadCount++;
// resurrectTimeout formula:
// `resurrectTimeout * 2 ** min(deadCount - 1, resurrectTimeoutCutoff)`
connection.resurrectTimeout = Date.now() + this.resurrectTimeout * Math.pow(2, Math.min(connection.deadCount - 1, this.resurrectTimeoutCutoff));
// sort the dead list in ascending order
// based on the resurrectTimeout
this.dead.sort((a, b) => {
const conn1 = this.connections.find(c => c.id === a);
const conn2 = this.connections.find(c => c.id === b);
return conn1.resurrectTimeout - conn2.resurrectTimeout;
});
return this;
}
/**
* If enabled, tries to resurrect a connection with the given
* resurrect strategy ('ping', 'optimistic', 'none').
*
* @param {object} { now, requestId }
*/
resurrect(opts) {
if (this.resurrectStrategy === 0 || this.dead.length === 0) {
debug('Nothing to resurrect');
return;
}
// the dead list is sorted in ascending order based on the timeout
// so the first element will always be the one with the smaller timeout
const connection = this.connections.find(c => c.id === this.dead[0]);
if (opts.now < connection.resurrectTimeout) {
debug('Nothing to resurrect');
return;
}
const { id } = connection;
// ping strategy
if (this.resurrectStrategy === 1) {
connection.request({ method: 'HEAD', path: '/' }, { timeout: this.pingTimeout, requestId: opts.requestId, name: opts.name, context: opts.context })
.then(({ statusCode }) => {
let isAlive = true;
if (statusCode === 502 || statusCode === 503 || statusCode === 504) {
debug(`Resurrect: connection '${id}' is still dead`);
this.markDead(connection);
isAlive = false;
}
else {
debug(`Resurrect: connection '${id}' is now alive`);
this.markAlive(connection);
}
this.diagnostic.emit('resurrect', null, {
strategy: 'ping',
name: opts.name,
request: { id: opts.requestId },
isAlive,
connection
});
})
.catch((err) => {
this.markDead(connection);
this.diagnostic.emit('resurrect', err, {
strategy: 'ping',
name: opts.name,
request: { id: opts.requestId },
isAlive: false,
connection
});
});
// optimistic strategy
}
else {
debug(`Resurrect: optimistic resurrection for connection '${id}'`);
this.dead.splice(this.dead.indexOf(id), 1);
connection.status = connection_1.BaseConnection.statuses.ALIVE;
this.diagnostic.emit('resurrect', null, {
strategy: 'optimistic',
name: opts.name,
request: { id: opts.requestId },
isAlive: true,
connection
});
}
}
/**
* Returns an alive connection if present,
* otherwise returns a dead connection.
* By default it filters the `master` only nodes.
* It uses the selector to choose which
* connection return.
*
* @param {object} options (filter and selector)
* @returns {object|null} connection
*/
getConnection(opts) {
const filter = opts.filter != null ? opts.filter : () => true;
const selector = opts.selector != null ? opts.selector : (c) => c[0];
this.resurrect({
now: opts.now,
requestId: opts.requestId,
name: opts.name,
context: opts.context
});
const noAliveConnections = this.size === this.dead.length;
// TODO: can we cache this?
const connections = [];
for (let i = 0; i < this.size; i++) {
const connection = this.connections[i];
if (noAliveConnections || connection.status === connection_1.BaseConnection.statuses.ALIVE) {
if (filter(connection)) {
connections.push(connection);
}
}
}
if (connections.length === 0)
return null;
return selector(connections);
}
/**
* Empties the connection pool.
*
* @returns {ConnectionPool}
*/
async empty() {
await super.empty();
this.dead = [];
}
/**
* Update the ConnectionPool with new connections.
*
* @param {array} array of connections
* @returns {ConnectionPool}
*/
update(connections) {
super.update(connections);
this.dead = [];
return this;
}
}
exports.default = ClusterConnectionPool;
Object.defineProperty(ClusterConnectionPool, "resurrectStrategies", {
enumerable: true,
configurable: true,
writable: true,
value: {
none: 0,
ping: 1,
optimistic: 2
}
});
//# sourceMappingURL=ClusterConnectionPool.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,45 @@
import { Connection, ConnectionOptions } from '../connection';
import BaseConnectionPool, { ConnectionPoolOptions, GetConnectionOptions } from './BaseConnectionPool';
export default class WeightedConnectionPool extends BaseConnectionPool {
index: number;
maxWeight: number;
greatestCommonDivisor: number;
currentWeight: number;
constructor(opts: ConnectionPoolOptions);
/**
* Returns a connection, even if the connection might be dead.
*
* @param {object} options (filter)
* @returns {object|null} connection
*/
getConnection(opts: GetConnectionOptions): Connection | null;
/**
* Set the weight of a connection to the maximum value.
* If sniffing is not enabled and there is only
* one node, this method is a noop.
*
* @param {object} connection
*/
markAlive(connection: Connection): this;
/**
* Decreases the connection weight.
* If sniffing is not enabled and there is only
* one node, this method is a noop.
*
* @param {object} connection
*/
markDead(connection: Connection): this;
/**
* Empties the connection pool.
*
* @returns {ConnectionPool}
*/
empty(): Promise<void>;
/**
* Update the ConnectionPool with new connections.
*
* @param {array} array of connections
* @returns {ConnectionPool}
*/
update(connections: Array<Connection | ConnectionOptions>): this;
}

View file

@ -0,0 +1,165 @@
"use strict";
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const connection_1 = require("../connection");
const BaseConnectionPool_1 = tslib_1.__importDefault(require("./BaseConnectionPool"));
const noFilter = () => true;
class WeightedConnectionPool extends BaseConnectionPool_1.default {
constructor(opts) {
super(opts);
Object.defineProperty(this, "index", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "maxWeight", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "greatestCommonDivisor", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "currentWeight", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
// index choosen last time
this.index = -1;
// max weight of all nodes
this.maxWeight = 0;
// greatest common divisor of all nodes weights
this.greatestCommonDivisor = 0;
// current weight in scheduling
this.currentWeight = 0;
}
/**
* Returns a connection, even if the connection might be dead.
*
* @param {object} options (filter)
* @returns {object|null} connection
*/
getConnection(opts) {
const filter = opts.filter != null ? opts.filter : noFilter;
// we should be able to find the next node in 1 array scan,
// if we don't, it means that we are in an infinite loop
let counter = 0;
while (counter++ < this.size) {
// 0 <= index < size
this.index = (this.index + 1) % this.size;
if (this.index === 0) {
this.currentWeight = this.currentWeight - this.greatestCommonDivisor;
if (this.currentWeight <= 0) {
this.currentWeight = this.maxWeight;
/* istanbul ignore if */
if (this.currentWeight === 0) {
return null;
}
}
}
const connection = this.connections[this.index];
if (connection.weight >= this.currentWeight && filter(connection)) {
return connection;
}
}
return null;
}
/**
* Set the weight of a connection to the maximum value.
* If sniffing is not enabled and there is only
* one node, this method is a noop.
*
* @param {object} connection
*/
markAlive(connection) {
if (this.size === 1 || connection.status === connection_1.BaseConnection.statuses.ALIVE)
return this;
connection.status = connection_1.BaseConnection.statuses.ALIVE;
connection.deadCount = 0;
connection.weight = Math.round(1000 / this.size);
this.maxWeight = Math.max(...(this.connections.map(c => c.weight)));
this.greatestCommonDivisor = this.connections.map(c => c.weight).reduce(getGreatestCommonDivisor, 0);
return this;
}
/**
* Decreases the connection weight.
* If sniffing is not enabled and there is only
* one node, this method is a noop.
*
* @param {object} connection
*/
markDead(connection) {
if (this.size === 1)
return this;
connection.status = connection_1.BaseConnection.statuses.DEAD;
connection.deadCount++;
connection.weight -= Math.round(Math.pow(Math.log2(connection.weight), connection.deadCount));
/* istanbul ignore if */
if (connection.weight <= 0)
connection.weight = 1;
this.maxWeight = Math.max(...(this.connections.map(c => c.weight)));
this.greatestCommonDivisor = this.connections.map(c => c.weight).reduce(getGreatestCommonDivisor, 0);
return this;
}
/**
* Empties the connection pool.
*
* @returns {ConnectionPool}
*/
async empty() {
await super.empty();
this.maxWeight = 0;
this.greatestCommonDivisor = 0;
this.index = -1;
this.currentWeight = 0;
}
/**
* Update the ConnectionPool with new connections.
*
* @param {array} array of connections
* @returns {ConnectionPool}
*/
update(connections) {
super.update(connections);
this.connections.forEach(connection => {
connection.weight = Math.round(1000 / this.size);
});
this.maxWeight = Math.max(...(this.connections.map(c => c.weight)));
this.greatestCommonDivisor = this.connections.map(c => c.weight).reduce(getGreatestCommonDivisor, 0);
this.index = -1;
this.currentWeight = 0;
return this;
}
}
exports.default = WeightedConnectionPool;
function getGreatestCommonDivisor(a, b) {
if (b === 0)
return a;
return getGreatestCommonDivisor(b, a % b);
}
//# sourceMappingURL=WeightedConnectionPool.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"WeightedConnectionPool.js","sourceRoot":"","sources":["../../src/pool/WeightedConnectionPool.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEH,8CAA6E;AAC7E,sFAG6B;AAE7B,MAAM,QAAQ,GAAG,GAAY,EAAE,CAAC,IAAI,CAAA;AAEpC,MAAqB,sBAAuB,SAAQ,4BAAkB;IAMpE,YAAa,IAA2B;QACtC,KAAK,CAAC,IAAI,CAAC,CAAA;QANb;;;;;WAAa;QACb;;;;;WAAiB;QACjB;;;;;WAA6B;QAC7B;;;;;WAAqB;QAInB,0BAA0B;QAC1B,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAA;QACf,0BAA0B;QAC1B,IAAI,CAAC,SAAS,GAAG,CAAC,CAAA;QAClB,+CAA+C;QAC/C,IAAI,CAAC,qBAAqB,GAAG,CAAC,CAAA;QAC9B,+BAA+B;QAC/B,IAAI,CAAC,aAAa,GAAG,CAAC,CAAA;IACxB,CAAC;IAED;;;;;OAKG;IACH,aAAa,CAAE,IAA0B;QACvC,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAA;QAC3D,2DAA2D;QAC3D,wDAAwD;QACxD,IAAI,OAAO,GAAG,CAAC,CAAA;QACf,OAAO,OAAO,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE;YAC5B,oBAAoB;YACpB,IAAI,CAAC,KAAK,GAAG,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAA;YACzC,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,EAAE;gBACpB,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,qBAAqB,CAAA;gBACpE,IAAI,IAAI,CAAC,aAAa,IAAI,CAAC,EAAE;oBAC3B,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,SAAS,CAAA;oBACnC,wBAAwB;oBACxB,IAAI,IAAI,CAAC,aAAa,KAAK,CAAC,EAAE;wBAC5B,OAAO,IAAI,CAAA;qBACZ;iBACF;aACF;YACD,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;YAC/C,IAAI,UAAU,CAAC,MAAM,IAAI,IAAI,CAAC,aAAa,IAAI,MAAM,CAAC,UAAU,CAAC,EAAE;gBACjE,OAAO,UAAU,CAAA;aAClB;SACF;QACD,OAAO,IAAI,CAAA;IACb,CAAC;IAED;;;;;;OAMG;IACH,SAAS,CAAE,UAAsB;QAC/B,IAAI,IAAI,CAAC,IAAI,KAAK,CAAC,IAAI,UAAU,CAAC,MAAM,KAAK,2BAAc,CAAC,QAAQ,CAAC,KAAK;YAAE,OAAO,IAAI,CAAA;QAEvF,UAAU,CAAC,MAAM,GAAG,2BAAc,CAAC,QAAQ,CAAC,KAAK,CAAA;QACjD,UAAU,CAAC,SAAS,GAAG,CAAC,CAAA;QACxB,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,CAAA;QAEhD,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;QACnE,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,wBAAwB,EAAE,CAAC,CAAC,CAAA;QAEpG,OAAO,IAAI,CAAA;IACb,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CAAE,UAAsB;QAC9B,IAAI,IAAI,CAAC,IAAI,KAAK,CAAC;YAAE,OAAO,IAAI,CAAA;QAEhC,UAAU,CAAC,MAAM,GAAG,2BAAc,CAAC,QAAQ,CAAC,IAAI,CAAA;QAChD,UAAU,CAAC,SAAS,EAAE,CAAA;QACtB,UAAU,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,CAAA;QAE7F,wBAAwB;QACxB,IAAI,UAAU,CAAC,MAAM,IAAI,CAAC;YAAE,UAAU,CAAC,MAAM,GAAG,CAAC,CAAA;QAEjD,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;QACnE,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,wBAAwB,EAAE,CAAC,CAAC,CAAA;QAEpG,OAAO,IAAI,CAAA;IACb,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,KAAK;QACT,MAAM,KAAK,CAAC,KAAK,EAAE,CAAA;QACnB,IAAI,CAAC,SAAS,GAAG,CAAC,CAAA;QAClB,IAAI,CAAC,qBAAqB,GAAG,CAAC,CAAA;QAC9B,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAA;QACf,IAAI,CAAC,aAAa,GAAG,CAAC,CAAA;IACxB,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAE,WAAkD;QACxD,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,CAAA;QAEzB,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;YACpC,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,CAAA;QAClD,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;QACnE,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,wBAAwB,EAAE,CAAC,CAAC,CAAA;QACpG,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAA;QACf,IAAI,CAAC,aAAa,GAAG,CAAC,CAAA;QAEtB,OAAO,IAAI,CAAA;IACb,CAAC;CACF;AA7HD,yCA6HC;AAED,SAAS,wBAAwB,CAAE,CAAS,EAAE,CAAS;IACrD,IAAI,CAAC,KAAK,CAAC;QAAE,OAAO,CAAC,CAAA;IACrB,OAAO,wBAAwB,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAA;AAC3C,CAAC"}

View file

@ -0,0 +1,7 @@
import BaseConnectionPool from './BaseConnectionPool';
import WeightedConnectionPool from './WeightedConnectionPool';
import ClusterConnectionPool from './ClusterConnectionPool';
import CloudConnectionPool from './CloudConnectionPool';
export type { ConnectionPoolOptions, GetConnectionOptions } from './BaseConnectionPool';
export type { ResurrectEvent, ResurrectOptions } from './ClusterConnectionPool';
export { BaseConnectionPool, WeightedConnectionPool, ClusterConnectionPool, CloudConnectionPool };

31
BACK_BACK/node_modules/@elastic/transport/lib/pool/index.js generated vendored Executable file
View file

@ -0,0 +1,31 @@
"use strict";
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the 'License'); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.CloudConnectionPool = exports.ClusterConnectionPool = exports.WeightedConnectionPool = exports.BaseConnectionPool = void 0;
const tslib_1 = require("tslib");
const BaseConnectionPool_1 = tslib_1.__importDefault(require("./BaseConnectionPool"));
exports.BaseConnectionPool = BaseConnectionPool_1.default;
const WeightedConnectionPool_1 = tslib_1.__importDefault(require("./WeightedConnectionPool"));
exports.WeightedConnectionPool = WeightedConnectionPool_1.default;
const ClusterConnectionPool_1 = tslib_1.__importDefault(require("./ClusterConnectionPool"));
exports.ClusterConnectionPool = ClusterConnectionPool_1.default;
const CloudConnectionPool_1 = tslib_1.__importDefault(require("./CloudConnectionPool"));
exports.CloudConnectionPool = CloudConnectionPool_1.default;
//# sourceMappingURL=index.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/pool/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;AAEH,sFAAqD;AAgBnD,6BAhBK,4BAAkB,CAgBL;AAfpB,8FAA6D;AAgB3D,iCAhBK,gCAAsB,CAgBL;AAfxB,4FAA2D;AAgBzD,gCAhBK,+BAAqB,CAgBL;AAfvB,wFAAuD;AAgBrD,8BAhBK,6BAAmB,CAgBL"}

15
BACK_BACK/node_modules/@elastic/transport/lib/security.d.ts generated vendored Executable file
View file

@ -0,0 +1,15 @@
import { DiagnosticResult } from './types';
import { RedactionOptions } from './Transport';
/**
* Clones an object and recursively loops through all keys, redacting their values if the key matches any of a list of strings.
* @param obj: Object to clone and redact
* @param additionalKeys: Extra keys that can be matched for redaction. Does not overwrite the default set.
*/
export declare function redactObject(obj: Record<string, any>, additionalKeys?: string[]): Record<string, any>;
/**
* Redacts a DiagnosticResult object using the provided options.
* - 'off' does nothing
* - 'remove' removes most optional properties, replaces non-optional properties with the simplest possible alternative
* - 'replace' runs `redactObject`, which replaces secret keys with `[redacted]`
*/
export declare function redactDiagnostic(diag: DiagnosticResult, options: RedactionOptions): DiagnosticResult;

84
BACK_BACK/node_modules/@elastic/transport/lib/security.js generated vendored Executable file
View file

@ -0,0 +1,84 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.redactDiagnostic = exports.redactObject = void 0;
const secretKeys = [
'authorization',
'password',
'apikey',
'x-elastic-app-auth'
];
/**
* Clones an object and recursively loops through all keys, redacting their values if the key matches any of a list of strings.
* @param obj: Object to clone and redact
* @param additionalKeys: Extra keys that can be matched for redaction. Does not overwrite the default set.
*/
function redactObject(obj, additionalKeys = []) {
const toRedact = [...secretKeys, ...additionalKeys].map(key => key.toLowerCase());
// `seen` stores each Object it sees, so we can prevent infinite recursion due to circular references
const seen = new Map();
return doRedact(obj);
function doRedact(obj) {
if (typeof obj !== 'object' || obj == null)
return obj;
const newObj = {};
Object.entries(obj).forEach(([key, value]) => {
// pull auth info out of URL objects
if (value instanceof URL) {
value = `${value.origin}${value.pathname}${value.search}`;
}
else if (typeof value === 'object' && value !== null) {
if (Array.isArray(value)) {
// if it's an array, redact each item
value = value.map(v => doRedact(v));
}
else {
if (seen.get(value) !== true) {
// if this Object hasn't been seen, recursively redact it
seen.set(value, true);
value = doRedact(value);
}
else {
// if it has been seen, set the value that goes in newObj to null
// this is what prevents the circular references
value = null;
}
}
}
// check if redaction is needed for this key
if (toRedact.includes(key.toLowerCase())) {
newObj[key] = '[redacted]';
}
else {
newObj[key] = value;
}
});
return newObj;
}
}
exports.redactObject = redactObject;
/**
* Redacts a DiagnosticResult object using the provided options.
* - 'off' does nothing
* - 'remove' removes most optional properties, replaces non-optional properties with the simplest possible alternative
* - 'replace' runs `redactObject`, which replaces secret keys with `[redacted]`
*/
function redactDiagnostic(diag, options) {
var _a;
switch (options.type) {
case 'off':
break;
case 'remove':
delete diag.headers;
delete diag.meta.sniff;
delete diag.meta.request.params.headers;
diag.meta.request.options = {};
diag.meta.connection = null;
break;
case 'replace':
diag = redactObject(diag, (_a = options.additionalKeys) !== null && _a !== void 0 ? _a : []);
break;
}
return diag;
}
exports.redactDiagnostic = redactDiagnostic;
//# sourceMappingURL=security.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"security.js","sourceRoot":"","sources":["../src/security.ts"],"names":[],"mappings":";;;AAqBA,MAAM,UAAU,GAAG;IACjB,eAAe;IACf,UAAU;IACV,QAAQ;IACR,oBAAoB;CACrB,CAAA;AAED;;;;GAIG;AACH,SAAgB,YAAY,CAAE,GAAwB,EAAE,iBAA2B,EAAE;IACnF,MAAM,QAAQ,GAAG,CAAC,GAAG,UAAU,EAAE,GAAG,cAAc,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,CAAA;IACjF,qGAAqG;IACrG,MAAM,IAAI,GAAG,IAAI,GAAG,EAAE,CAAA;IACtB,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAA;IAEpB,SAAS,QAAQ,CAAE,GAAwB;QACzC,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,IAAI,IAAI;YAAE,OAAO,GAAG,CAAA;QAEtD,MAAM,MAAM,GAAwB,EAAE,CAAA;QACtC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;YAC3C,oCAAoC;YACpC,IAAI,KAAK,YAAY,GAAG,EAAE;gBACxB,KAAK,GAAG,GAAG,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC,MAAM,EAAE,CAAA;aAC1D;iBAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EAAE;gBACtD,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;oBACxB,qCAAqC;oBACrC,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAA;iBACpC;qBAAM;oBACL,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,IAAI,EAAE;wBAC5B,yDAAyD;wBACzD,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;wBACrB,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAA;qBACxB;yBAAM;wBACL,iEAAiE;wBACjE,gDAAgD;wBAChD,KAAK,GAAG,IAAI,CAAA;qBACb;iBACF;aACF;YAED,4CAA4C;YAC5C,IAAI,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,EAAE;gBACxC,MAAM,CAAC,GAAG,CAAC,GAAG,YAAY,CAAA;aAC3B;iBAAM;gBACL,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAA;aACpB;QACH,CAAC,CAAC,CAAA;QACF,OAAO,MAAM,CAAA;IACf,CAAC;AACH,CAAC;AAxCD,oCAwCC;AAED;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAE,IAAsB,EAAE,OAAyB;;IACjF,QAAQ,OAAO,CAAC,IAAI,EAAE;QACpB,KAAK,KAAK;YACR,MAAK;QACP,KAAK,QAAQ;YACX,OAAO,IAAI,CAAC,OAAO,CAAA;YACnB,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAA;YACtB,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAA;YACvC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,GAAG,EAAE,CAAA;YAC9B,IAAI,CAAC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAA;YAC3B,MAAK;QACP,KAAK,SAAS;YACZ,IAAI,GAAG,YAAY,CAAC,IAAI,EAAE,MAAA,OAAO,CAAC,cAAc,mCAAI,EAAE,CAAqB,CAAA;YAC3E,MAAK;KACR;IAED,OAAO,IAAI,CAAA;AACb,CAAC;AAjBD,4CAiBC"}

32
BACK_BACK/node_modules/@elastic/transport/lib/symbols.d.ts generated vendored Executable file
View file

@ -0,0 +1,32 @@
export declare const kSniffEnabled: unique symbol;
export declare const kNextSniff: unique symbol;
export declare const kIsSniffing: unique symbol;
export declare const kSniffInterval: unique symbol;
export declare const kSniffOnConnectionFault: unique symbol;
export declare const kSniffEndpoint: unique symbol;
export declare const kRequestTimeout: unique symbol;
export declare const kRetryOnTimeout: unique symbol;
export declare const kCompression: unique symbol;
export declare const kMaxRetries: unique symbol;
export declare const kName: unique symbol;
export declare const kOpaqueIdPrefix: unique symbol;
export declare const kGenerateRequestId: unique symbol;
export declare const kContext: unique symbol;
export declare const kConnectionPool: unique symbol;
export declare const kSerializer: unique symbol;
export declare const kDiagnostic: unique symbol;
export declare const kHeaders: unique symbol;
export declare const kNodeFilter: unique symbol;
export declare const kNodeSelector: unique symbol;
export declare const kJsonOptions: unique symbol;
export declare const kStatus: unique symbol;
export declare const kProductCheck: unique symbol;
export declare const kCaFingerprint: unique symbol;
export declare const kMaxResponseSize: unique symbol;
export declare const kMaxCompressedResponseSize: unique symbol;
export declare const kJsonContentType: unique symbol;
export declare const kNdjsonContentType: unique symbol;
export declare const kAcceptHeader: unique symbol;
export declare const kRedaction: unique symbol;
export declare const kRetryBackoff: unique symbol;
export declare const kOtelTracer: unique symbol;

54
BACK_BACK/node_modules/@elastic/transport/lib/symbols.js generated vendored Executable file
View file

@ -0,0 +1,54 @@
"use strict";
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.kOtelTracer = exports.kRetryBackoff = exports.kRedaction = exports.kAcceptHeader = exports.kNdjsonContentType = exports.kJsonContentType = exports.kMaxCompressedResponseSize = exports.kMaxResponseSize = exports.kCaFingerprint = exports.kProductCheck = exports.kStatus = exports.kJsonOptions = exports.kNodeSelector = exports.kNodeFilter = exports.kHeaders = exports.kDiagnostic = exports.kSerializer = exports.kConnectionPool = exports.kContext = exports.kGenerateRequestId = exports.kOpaqueIdPrefix = exports.kName = exports.kMaxRetries = exports.kCompression = exports.kRetryOnTimeout = exports.kRequestTimeout = exports.kSniffEndpoint = exports.kSniffOnConnectionFault = exports.kSniffInterval = exports.kIsSniffing = exports.kNextSniff = exports.kSniffEnabled = void 0;
exports.kSniffEnabled = Symbol('sniff enabled');
exports.kNextSniff = Symbol('next sniff');
exports.kIsSniffing = Symbol('is sniffing');
exports.kSniffInterval = Symbol('sniff interval');
exports.kSniffOnConnectionFault = Symbol('sniff on connection fault');
exports.kSniffEndpoint = Symbol('sniff endpoint');
exports.kRequestTimeout = Symbol('request timeout');
exports.kRetryOnTimeout = Symbol('retry on timeout');
exports.kCompression = Symbol('compression');
exports.kMaxRetries = Symbol('max retries');
exports.kName = Symbol('name');
exports.kOpaqueIdPrefix = Symbol('opaque id prefix');
exports.kGenerateRequestId = Symbol('generate request id');
exports.kContext = Symbol('context');
exports.kConnectionPool = Symbol('connection pool');
exports.kSerializer = Symbol('serializer');
exports.kDiagnostic = Symbol('diagnostics');
exports.kHeaders = Symbol('headers');
exports.kNodeFilter = Symbol('node filter');
exports.kNodeSelector = Symbol('node selector');
exports.kJsonOptions = Symbol('secure json parse options');
exports.kStatus = Symbol('status');
exports.kProductCheck = Symbol('product check');
exports.kCaFingerprint = Symbol('ca fingerprint');
exports.kMaxResponseSize = Symbol('max response size');
exports.kMaxCompressedResponseSize = Symbol('max compressed response size');
exports.kJsonContentType = Symbol('json content type');
exports.kNdjsonContentType = Symbol('ndjson content type');
exports.kAcceptHeader = Symbol('accept header');
exports.kRedaction = Symbol('redaction');
exports.kRetryBackoff = Symbol('retry backoff');
exports.kOtelTracer = Symbol('opentelemetry tracer');
//# sourceMappingURL=symbols.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"symbols.js","sourceRoot":"","sources":["../src/symbols.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEU,QAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC,CAAA;AACvC,QAAA,UAAU,GAAG,MAAM,CAAC,YAAY,CAAC,CAAA;AACjC,QAAA,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC,CAAA;AACnC,QAAA,cAAc,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAA;AACzC,QAAA,uBAAuB,GAAG,MAAM,CAAC,2BAA2B,CAAC,CAAA;AAC7D,QAAA,cAAc,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAA;AACzC,QAAA,eAAe,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAA;AAC3C,QAAA,eAAe,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAA;AAC5C,QAAA,YAAY,GAAG,MAAM,CAAC,aAAa,CAAC,CAAA;AACpC,QAAA,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC,CAAA;AACnC,QAAA,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,CAAA;AACtB,QAAA,eAAe,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAA;AAC5C,QAAA,kBAAkB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAA;AAClD,QAAA,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,CAAA;AAC5B,QAAA,eAAe,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAA;AAC3C,QAAA,WAAW,GAAG,MAAM,CAAC,YAAY,CAAC,CAAA;AAClC,QAAA,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC,CAAA;AACnC,QAAA,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,CAAA;AAC5B,QAAA,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC,CAAA;AACnC,QAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC,CAAA;AACvC,QAAA,YAAY,GAAG,MAAM,CAAC,2BAA2B,CAAC,CAAA;AAClD,QAAA,OAAO,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAA;AAC1B,QAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC,CAAA;AACvC,QAAA,cAAc,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAA;AACzC,QAAA,gBAAgB,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAA;AAC9C,QAAA,0BAA0B,GAAG,MAAM,CAAC,8BAA8B,CAAC,CAAA;AACnE,QAAA,gBAAgB,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAA;AAC9C,QAAA,kBAAkB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAA;AAClD,QAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC,CAAA;AACvC,QAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC,CAAA;AAChC,QAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC,CAAA;AACvC,QAAA,WAAW,GAAG,MAAM,CAAC,sBAAsB,CAAC,CAAA"}

73
BACK_BACK/node_modules/@elastic/transport/lib/types.d.ts generated vendored Executable file
View file

@ -0,0 +1,73 @@
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
import { Readable as ReadableStream } from 'stream';
import { URL } from 'url';
import * as http from 'http';
import { Connection, ConnectionOptions, ConnectionRequestParams } from './connection';
import { TransportRequestParams, TransportRequestOptions } from './Transport';
export type Context = Record<string, unknown> | null;
export type RequestBody<T = Record<string, any>> = T | string | Buffer | ReadableStream;
export type RequestNDBody<T = Array<Record<string, any>>> = T | string | string[] | Buffer | ReadableStream;
export interface DiagnosticResult<TResponse = unknown, TContext = unknown> {
body?: TResponse;
statusCode?: number;
headers?: http.IncomingHttpHeaders;
warnings: string[] | null;
meta: {
context: TContext;
name: string | symbol;
request: {
params: ConnectionRequestParams;
options: TransportRequestOptions;
id: any;
};
connection: Connection | null;
attempts: number;
aborted: boolean;
sniff?: {
hosts: any[];
reason: string;
};
};
}
export type DiagnosticResultResponse<TResponse = unknown, TContext = unknown> = Required<DiagnosticResult<TResponse, TContext>>;
export interface TransportResult<TResponse = unknown, TContext = unknown> extends DiagnosticResult<TResponse, TContext> {
body: TResponse;
statusCode: number;
headers: http.IncomingHttpHeaders;
}
export declare type agentFn = (opts: ConnectionOptions) => any;
export interface HttpAgentOptions {
keepAlive?: boolean;
keepAliveMsecs?: number;
maxSockets?: number;
maxFreeSockets?: number;
scheduling?: 'lifo' | 'fifo';
proxy?: string | URL;
}
export interface UndiciAgentOptions {
keepAliveTimeout?: number;
keepAliveMaxTimeout?: number;
keepAliveTimeoutThreshold?: number;
pipelining?: number;
maxHeaderSize?: number;
connections?: number;
}
export interface ApiKeyAuth {
apiKey: string | {
id: string;
api_key: string;
};
}
export interface BasicAuth {
username: string;
password: string;
}
export interface BearerAuth {
bearer: string;
}
export type nodeSelectorFn = (connections: Connection[]) => Connection;
export type nodeFilterFn = (connection: Connection) => boolean;
export type generateRequestIdFn = (params: TransportRequestParams, options: TransportRequestOptions) => any;

21
BACK_BACK/node_modules/@elastic/transport/lib/types.js generated vendored Executable file
View file

@ -0,0 +1,21 @@
"use strict";
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=types.js.map

1
BACK_BACK/node_modules/@elastic/transport/lib/types.js.map generated vendored Executable file
View file

@ -0,0 +1 @@
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG"}

77
BACK_BACK/node_modules/@elastic/transport/package.json generated vendored Executable file
View file

@ -0,0 +1,77 @@
{
"name": "@elastic/transport",
"version": "8.7.0",
"description": "Transport classes and utilities shared among Node.js Elastic client libraries",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"test": "npm run build && npm run lint && tap test/{unit,acceptance}/{*,**/*}.test.ts",
"test:unit": "npm run build && tap test/unit/{*,**/*}.test.ts --disable-coverage",
"test:acceptance": "npm run build && tap test/acceptance/*.test.ts --disable-coverage",
"test:coverage-100": "npm run build && tap test/{unit,acceptance}/{*,**/*}.test.ts --show-full-coverage",
"test:coverage-report": "npm test && tap report --coverage-report=lcov",
"test:coverage-ui": "npm run build && tap test/{unit,acceptance}/{*,**/*}.test.ts --coverage-report=html",
"lint": "ts-standard src",
"lint:fix": "ts-standard --fix src",
"license-checker": "license-checker --production --onlyAllow='MIT;Apache-2.0;Apache1.1;ISC;BSD-3-Clause;BSD-2-Clause;0BSD'",
"prebuild": "npm run clean-build && npm run lint",
"build": "tsc",
"clean-build": "rimraf ./lib && mkdir lib",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/elastic/elastic-transport-js.git"
},
"keywords": [],
"author": {
"name": "Elastic Client Library Maintainers",
"company": "Elastic BV"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/elastic/elastic-transport-js/issues"
},
"homepage": "https://github.com/elastic/elastic-transport-js#readme",
"engines": {
"node": ">=18"
},
"devDependencies": {
"@opentelemetry/sdk-trace-base": "^1.25.0",
"@sinonjs/fake-timers": "github:sinonjs/fake-timers#0bfffc1",
"@tapjs/clock": "^1.1.24",
"@types/debug": "^4.1.7",
"@types/ms": "^0.7.31",
"@types/node": "^18.19.21",
"@types/sinonjs__fake-timers": "^8.1.2",
"@types/stoppable": "^1.1.1",
"@types/tap": "^15.0.7",
"into-stream": "^6.0.0",
"license-checker": "^25.0.1",
"node-abort-controller": "^3.0.1",
"proxy": "^1.0.2",
"rimraf": "^3.0.2",
"stoppable": "^1.1.0",
"tap": "^19.0.0",
"ts-node": "^10.7.0",
"ts-standard": "^11.0.0",
"typescript": "^4.6.4",
"workq": "^3.0.0"
},
"dependencies": {
"@opentelemetry/api": "1.x",
"debug": "^4.3.4",
"hpagent": "^1.0.0",
"ms": "^2.1.3",
"secure-json-parse": "^2.4.0",
"tslib": "^2.4.0",
"undici": "^6.12.0"
},
"tap": {
"allow-incomplete-coverage": true,
"plugin": [
"@tapjs/clock",
"@tapjs/before"
]
}
}

38
BACK_BACK/node_modules/@elastic/transport/tsconfig.json generated vendored Executable file
View file

@ -0,0 +1,38 @@
{
"compilerOptions": {
"target": "es2019",
"module": "commonjs",
"moduleResolution": "node",
"declaration": true,
"pretty": true,
"noEmitOnError": true,
"strict": true,
"resolveJsonModule": true,
"removeComments": false,
"sourceMap": true,
"newLine": "lf",
"noUnusedLocals": true,
"noFallthroughCasesInSwitch": true,
"useDefineForClassFields": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": false,
"esModuleInterop": true,
"isolatedModules": true,
"importHelpers": true,
"outDir": "lib",
"lib": [
"esnext",
"dom"
]
},
"formatCodeOptions": {
"identSize": 2,
"tabSize": 2
},
"exclude": [
"node_modules"
],
"include": [
"./src/**/*.ts"
]
}