@contrast/agent-bundle 5.40.0 → 5.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@contrast/agent/package.json +12 -11
- package/node_modules/@contrast/agent-swc-plugin/index.js +9 -3
- package/node_modules/@contrast/agent-swc-plugin/methods.js +15 -1
- package/node_modules/@contrast/agent-swc-plugin/package.json +5 -8
- package/node_modules/@contrast/agent-swc-plugin/rewriter.wasm +0 -0
- package/node_modules/@contrast/agentify/lib/index.js +2 -2
- package/node_modules/@contrast/agentify/package.json +15 -14
- package/node_modules/@contrast/architecture-components/package.json +5 -5
- package/node_modules/@contrast/assess/lib/dataflow/propagation/install/util-format.js +44 -21
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/body-parser.js +1 -1
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/koa/koa-bodyparsers.js +3 -1
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/qs6.js +5 -5
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/querystring.js +2 -1
- package/node_modules/@contrast/assess/lib/index.d.ts +0 -1
- package/node_modules/@contrast/assess/lib/make-source-context.js +7 -37
- package/node_modules/@contrast/assess/lib/sampler/common.js +7 -11
- package/node_modules/@contrast/assess/package.json +12 -11
- package/node_modules/@contrast/common/lib/types.d.ts +7 -1
- package/node_modules/@contrast/common/package.json +1 -1
- package/node_modules/@contrast/config/lib/common.js +1 -1
- package/node_modules/@contrast/config/lib/config.js +49 -27
- package/node_modules/@contrast/config/lib/index.d.ts +2 -2
- package/node_modules/@contrast/config/lib/options.js +4 -4
- package/node_modules/@contrast/config/package.json +4 -3
- package/node_modules/@contrast/core/lib/sensitive-data-masking/protect-listener.js +15 -15
- package/node_modules/@contrast/core/package.json +6 -6
- package/node_modules/@contrast/deadzones/package.json +5 -5
- package/node_modules/@contrast/dep-hooks/package.json +3 -3
- package/node_modules/@contrast/esm-hooks/package.json +6 -6
- package/node_modules/@contrast/instrumentation/lib/index.js +0 -1
- package/node_modules/@contrast/instrumentation/package.json +5 -5
- package/node_modules/@contrast/library-analysis/lib/install/library-reporting/dep.json +298 -148
- package/node_modules/@contrast/library-analysis/package.json +4 -4
- package/node_modules/@contrast/logger/lib/serializers.js +2 -2
- package/node_modules/@contrast/logger/package.json +3 -3
- package/node_modules/@contrast/metrics/package.json +6 -6
- package/node_modules/@contrast/patcher/package.json +2 -2
- package/node_modules/@contrast/protect/lib/get-source-context.js +3 -1
- package/node_modules/@contrast/protect/lib/index.js +6 -1
- package/node_modules/@contrast/protect/lib/input-analysis/handlers.js +7 -9
- package/node_modules/@contrast/protect/lib/input-analysis/install/http.js +18 -19
- package/node_modules/@contrast/protect/lib/input-analysis/install/qs6.js +18 -17
- package/node_modules/@contrast/protect/lib/input-analysis/install/universal-cookie4.js +2 -3
- package/node_modules/@contrast/protect/lib/make-source-context.js +22 -66
- package/node_modules/@contrast/protect/lib/semantic-analysis/handlers.js +73 -72
- package/node_modules/@contrast/protect/package.json +11 -11
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/application-activity/index.js +7 -7
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/application-activity/translations.d.ts +3 -3
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/application-activity/translations.js +24 -21
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/traces/index.d.ts +11 -11
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/traces/index.js +76 -86
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/traces/translations.d.ts +1 -2
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/traces/translations.js +8 -2
- package/node_modules/@contrast/reporter/lib/reporters/security-logger/index.d.ts +2 -2
- package/node_modules/@contrast/reporter/lib/reporters/security-logger/index.js +22 -20
- package/node_modules/@contrast/reporter/package.json +7 -7
- package/node_modules/@contrast/rewriter/lib/index.js +2 -2
- package/node_modules/@contrast/rewriter/package.json +6 -6
- package/node_modules/@contrast/route-coverage/lib/index.js +1 -9
- package/node_modules/@contrast/route-coverage/lib/install/express/express5.js +17 -19
- package/node_modules/@contrast/route-coverage/lib/install/hapi.js +9 -2
- package/node_modules/@contrast/route-coverage/package.json +8 -8
- package/node_modules/@contrast/scopes/package.json +5 -5
- package/node_modules/@contrast/sec-obs/lib/traces/http.js +2 -2
- package/node_modules/@contrast/sec-obs/lib/traces/http.test.js +17 -0
- package/node_modules/@contrast/sec-obs/lib/traces/outbound-service-call.js +2 -2
- package/node_modules/@contrast/sec-obs/lib/traces/outbound-service-call.test.js +17 -0
- package/node_modules/@contrast/sec-obs/package.json +9 -9
- package/node_modules/@contrast/sources/lib/index.js +109 -0
- package/node_modules/@contrast/sources/lib/index.test.js +120 -0
- package/node_modules/@contrast/{route-coverage/lib/normalized-url-mapper.js → sources/lib/normalized-uri-mapper.js} +10 -3
- package/node_modules/@contrast/sources/lib/normalized-uri-mapper.test.js +59 -0
- package/node_modules/@contrast/{sec-obs/node_modules/@contrast/core/lib/sensitive-data-masking/constants.js → sources/lib/req-data.js} +0 -6
- package/node_modules/@contrast/sources/lib/source-info.js +183 -0
- package/node_modules/@contrast/sources/lib/source-info.test.js +68 -0
- package/node_modules/@contrast/sources/package.json +16 -0
- package/node_modules/@contrast/telemetry/package.json +6 -6
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.d.ts +2831 -77
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js +2831 -77
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.d.ts +415 -98
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js +415 -98
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.d.ts +106 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js +106 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.d.ts +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.d.ts +2831 -77
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js +2831 -77
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.d.ts +415 -98
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js +415 -98
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.d.ts +106 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js +106 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.d.ts +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.d.ts +2831 -77
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js +2858 -103
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.d.ts +415 -98
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js +420 -102
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.d.ts +106 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js +106 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/version.d.ts +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/version.js +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/version.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/package.json +3 -3
- package/node_modules/@swc/types/index.d.ts +3 -2
- package/node_modules/@swc/types/package.json +1 -1
- package/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/node/crypto.d.ts +17 -1
- package/node_modules/@types/node/fs/promises.d.ts +7 -3
- package/node_modules/@types/node/fs.d.ts +11 -1
- package/node_modules/@types/node/http.d.ts +4 -19
- package/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@types/node/inspector.d.ts +163 -6
- package/node_modules/@types/node/module.d.ts +24 -0
- package/node_modules/@types/node/package.json +4 -89
- package/node_modules/@types/node/perf_hooks.d.ts +14 -0
- package/node_modules/@types/node/repl.d.ts +11 -1
- package/node_modules/@types/node/sqlite.d.ts +0 -1
- package/node_modules/@types/node/stream/web.d.ts +4 -0
- package/node_modules/@types/node/stream.d.ts +17 -6
- package/node_modules/@types/node/test.d.ts +16 -1
- package/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@types/node/url.d.ts +1 -1
- package/node_modules/@types/node/util.d.ts +6 -2
- package/node_modules/@types/node/worker_threads.d.ts +12 -0
- package/node_modules/@types/node/zlib.d.ts +8 -2
- package/node_modules/axios/CHANGELOG.md +17 -0
- package/node_modules/axios/README.md +1 -4
- package/node_modules/axios/dist/axios.js +39 -5
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +46 -9
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +46 -9
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +46 -9
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +13 -2
- package/node_modules/axios/lib/core/Axios.js +2 -2
- package/node_modules/axios/lib/core/mergeConfig.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/throttle.js +1 -1
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +4 -3
- package/node_modules/axios/lib/utils.js +36 -0
- package/node_modules/axios/package.json +5 -5
- package/node_modules/deepmerge/.editorconfig +7 -0
- package/node_modules/deepmerge/.eslintcache +1 -0
- package/node_modules/deepmerge/changelog.md +167 -0
- package/node_modules/deepmerge/dist/cjs.js +133 -0
- package/node_modules/deepmerge/dist/umd.js +139 -0
- package/node_modules/deepmerge/index.d.ts +20 -0
- package/node_modules/deepmerge/index.js +106 -0
- package/node_modules/deepmerge/license.txt +21 -0
- package/node_modules/deepmerge/package.json +42 -0
- package/node_modules/deepmerge/readme.md +264 -0
- package/node_modules/deepmerge/rollup.config.js +22 -0
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/form-data/CHANGELOG.md +601 -0
- package/node_modules/form-data/{Readme.md → README.md} +4 -4
- package/node_modules/form-data/lib/form_data.js +2 -6
- package/node_modules/form-data/package.json +22 -6
- package/node_modules/nan/.github/workflows/ci.yml +8 -10
- package/node_modules/nan/.pre-commit-config.yaml +8 -0
- package/node_modules/nan/CHANGELOG.md +5 -1
- package/node_modules/nan/README.md +4 -4
- package/node_modules/nan/nan.h +16 -12
- package/node_modules/nan/nan_callbacks.h +13 -0
- package/node_modules/nan/nan_callbacks_12_inl.h +16 -2
- package/node_modules/nan/nan_callbacks_pre_12_inl.h +6 -2
- package/node_modules/nan/nan_maybe_43_inl.h +1 -1
- package/node_modules/nan/nan_maybe_pre_43_inl.h +1 -1
- package/node_modules/nan/nan_scriptorigin.h +11 -9
- package/node_modules/nan/nan_typedarray_contents.h +1 -1
- package/node_modules/nan/package.json +2 -2
- package/node_modules/undici-types/agent.d.ts +4 -0
- package/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/undici-types/client.d.ts +6 -3
- package/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/undici-types/pool.d.ts +2 -0
- package/node_modules/undici-types/proxy-agent.d.ts +1 -0
- package/node_modules/yaml/README.md +2 -20
- package/node_modules/yaml/browser/dist/stringify/stringifyString.js +1 -1
- package/node_modules/yaml/dist/stringify/stringifyString.js +1 -1
- package/node_modules/yaml/package.json +2 -1
- package/package.json +3 -2
- package/node_modules/@contrast/agentify/lib/sources.js +0 -95
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/LICENSE +0 -12
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/lib/constants.d.ts +0 -385
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/lib/constants.js +0 -270
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/lib/index.d.ts +0 -40
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/lib/index.js +0 -228
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/lib/primordials.d.ts +0 -65
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/lib/primordials.js +0 -66
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/lib/types.d.ts +0 -383
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/lib/types.js +0 -30
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/common/package.json +0 -23
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/LICENSE +0 -12
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/README.md +0 -44
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/lib/common.js +0 -131
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/lib/config.js +0 -290
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/lib/index.d.ts +0 -328
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/lib/index.js +0 -29
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/lib/options.js +0 -836
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/lib/validators.js +0 -23
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/config/package.json +0 -27
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/LICENSE +0 -12
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/README.md +0 -98
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/agent-info.js +0 -36
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/app-info.js +0 -233
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/build-id.js +0 -51
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/capture-stacktrace.js +0 -256
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/contrast-methods.js +0 -155
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/index.d.ts +0 -52
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/ioc/core.js +0 -95
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/is-agent-path.js +0 -37
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/messages.js +0 -28
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/sensitive-data-masking/index.js +0 -63
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/sensitive-data-masking/protect-listener.js +0 -111
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/sensitive-data-masking/server-settings-listener.js +0 -44
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/system-info/cloud-provider-metadata.js +0 -146
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/system-info/index.js +0 -225
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/system-info/linux-os-info.js +0 -137
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/lib/system-info/utils.js +0 -35
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/core/package.json +0 -33
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/LICENSE +0 -12
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/README.md +0 -94
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/export-handler-registry.d.ts +0 -121
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/export-handler-registry.js +0 -206
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/export-hook-descriptor.d.ts +0 -72
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/export-hook-descriptor.js +0 -88
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/handler-invoker.d.ts +0 -46
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/handler-invoker.js +0 -106
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/helpers.d.ts +0 -28
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/helpers.js +0 -66
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/index.d.ts +0 -115
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/index.js +0 -208
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/package-finder.d.ts +0 -43
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/lib/package-finder.js +0 -79
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/dep-hooks/package.json +0 -29
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/LICENSE +0 -12
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/README.md +0 -270
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/lib/index.d.ts +0 -16
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/lib/index.js +0 -132
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/lib/serializers.d.ts +0 -33
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/lib/serializers.js +0 -75
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/lib/utils.d.ts +0 -15
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/lib/utils.js +0 -34
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/logger/package.json +0 -28
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/patcher/LICENSE +0 -12
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/patcher/README.md +0 -51
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/patcher/lib/index.d.ts +0 -101
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/patcher/lib/index.js +0 -544
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/patcher/package.json +0 -25
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/rewriter/LICENSE +0 -12
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/rewriter/README.md +0 -6
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/rewriter/lib/cache.js +0 -318
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/rewriter/lib/index.js +0 -216
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/rewriter/lib/rewrite-is-deadzoned.js +0 -143
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/rewriter/package.json +0 -30
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/LICENSE +0 -12
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/constants.js +0 -26
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/index.d.ts +0 -46
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/index.js +0 -70
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/install/bluebird.js +0 -128
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/install/index.js +0 -34
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/install/mongodb-core.js +0 -83
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/install/mongodb3.js +0 -89
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/install/mongodb4.js +0 -80
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/install/mongodb6.js +0 -46
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/install/mysql.js +0 -151
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/install/redis.js +0 -79
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/lib/utils.js +0 -35
- package/node_modules/@contrast/sec-obs/node_modules/@contrast/scopes/package.json +0 -28
- package/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/form-data/README.md.bak +0 -355
|
@@ -268,7 +268,7 @@ declare module 'inspector' {
|
|
|
268
268
|
/**
|
|
269
269
|
* Embedder-specific auxiliary data.
|
|
270
270
|
*/
|
|
271
|
-
auxData?:
|
|
271
|
+
auxData?: object | undefined;
|
|
272
272
|
}
|
|
273
273
|
/**
|
|
274
274
|
* Detailed information about exception (or error) that was thrown during script compilation or execution.
|
|
@@ -701,7 +701,7 @@ declare module 'inspector' {
|
|
|
701
701
|
}
|
|
702
702
|
interface InspectRequestedEventDataType {
|
|
703
703
|
object: RemoteObject;
|
|
704
|
-
hints:
|
|
704
|
+
hints: object;
|
|
705
705
|
}
|
|
706
706
|
}
|
|
707
707
|
namespace Debugger {
|
|
@@ -1173,7 +1173,7 @@ declare module 'inspector' {
|
|
|
1173
1173
|
/**
|
|
1174
1174
|
* Embedder-specific auxiliary data.
|
|
1175
1175
|
*/
|
|
1176
|
-
executionContextAuxData?:
|
|
1176
|
+
executionContextAuxData?: object | undefined;
|
|
1177
1177
|
/**
|
|
1178
1178
|
* True, if this script is generated as a result of the live edit operation.
|
|
1179
1179
|
* @experimental
|
|
@@ -1237,7 +1237,7 @@ declare module 'inspector' {
|
|
|
1237
1237
|
/**
|
|
1238
1238
|
* Embedder-specific auxiliary data.
|
|
1239
1239
|
*/
|
|
1240
|
-
executionContextAuxData?:
|
|
1240
|
+
executionContextAuxData?: object | undefined;
|
|
1241
1241
|
/**
|
|
1242
1242
|
* URL of source map associated with script (if any).
|
|
1243
1243
|
*/
|
|
@@ -1282,7 +1282,7 @@ declare module 'inspector' {
|
|
|
1282
1282
|
/**
|
|
1283
1283
|
* Object containing break-specific auxiliary properties.
|
|
1284
1284
|
*/
|
|
1285
|
-
data?:
|
|
1285
|
+
data?: object | undefined;
|
|
1286
1286
|
/**
|
|
1287
1287
|
* Hit breakpoints IDs
|
|
1288
1288
|
*/
|
|
@@ -1649,7 +1649,7 @@ declare module 'inspector' {
|
|
|
1649
1649
|
categories: string[];
|
|
1650
1650
|
}
|
|
1651
1651
|
interface DataCollectedEventDataType {
|
|
1652
|
-
value:
|
|
1652
|
+
value: object[];
|
|
1653
1653
|
}
|
|
1654
1654
|
}
|
|
1655
1655
|
namespace NodeWorker {
|
|
@@ -1768,12 +1768,26 @@ declare module 'inspector' {
|
|
|
1768
1768
|
status: number;
|
|
1769
1769
|
statusText: string;
|
|
1770
1770
|
headers: Headers;
|
|
1771
|
+
mimeType: string;
|
|
1772
|
+
charset: string;
|
|
1771
1773
|
}
|
|
1772
1774
|
/**
|
|
1773
1775
|
* Request / response headers as keys / values of JSON object.
|
|
1774
1776
|
*/
|
|
1775
1777
|
interface Headers {
|
|
1776
1778
|
}
|
|
1779
|
+
interface StreamResourceContentParameterType {
|
|
1780
|
+
/**
|
|
1781
|
+
* Identifier of the request to stream.
|
|
1782
|
+
*/
|
|
1783
|
+
requestId: RequestId;
|
|
1784
|
+
}
|
|
1785
|
+
interface StreamResourceContentReturnType {
|
|
1786
|
+
/**
|
|
1787
|
+
* Data that has been buffered until streaming is enabled.
|
|
1788
|
+
*/
|
|
1789
|
+
bufferedData: string;
|
|
1790
|
+
}
|
|
1777
1791
|
interface RequestWillBeSentEventDataType {
|
|
1778
1792
|
/**
|
|
1779
1793
|
* Request identifier.
|
|
@@ -1842,12 +1856,59 @@ declare module 'inspector' {
|
|
|
1842
1856
|
*/
|
|
1843
1857
|
timestamp: MonotonicTime;
|
|
1844
1858
|
}
|
|
1859
|
+
interface DataReceivedEventDataType {
|
|
1860
|
+
/**
|
|
1861
|
+
* Request identifier.
|
|
1862
|
+
*/
|
|
1863
|
+
requestId: RequestId;
|
|
1864
|
+
/**
|
|
1865
|
+
* Timestamp.
|
|
1866
|
+
*/
|
|
1867
|
+
timestamp: MonotonicTime;
|
|
1868
|
+
/**
|
|
1869
|
+
* Data chunk length.
|
|
1870
|
+
*/
|
|
1871
|
+
dataLength: number;
|
|
1872
|
+
/**
|
|
1873
|
+
* Actual bytes received (might be less than dataLength for compressed encodings).
|
|
1874
|
+
*/
|
|
1875
|
+
encodedDataLength: number;
|
|
1876
|
+
/**
|
|
1877
|
+
* Data that was received.
|
|
1878
|
+
* @experimental
|
|
1879
|
+
*/
|
|
1880
|
+
data?: string | undefined;
|
|
1881
|
+
}
|
|
1845
1882
|
}
|
|
1846
1883
|
namespace NodeRuntime {
|
|
1847
1884
|
interface NotifyWhenWaitingForDisconnectParameterType {
|
|
1848
1885
|
enabled: boolean;
|
|
1849
1886
|
}
|
|
1850
1887
|
}
|
|
1888
|
+
namespace Target {
|
|
1889
|
+
type SessionID = string;
|
|
1890
|
+
type TargetID = string;
|
|
1891
|
+
interface TargetInfo {
|
|
1892
|
+
targetId: TargetID;
|
|
1893
|
+
type: string;
|
|
1894
|
+
title: string;
|
|
1895
|
+
url: string;
|
|
1896
|
+
attached: boolean;
|
|
1897
|
+
canAccessOpener: boolean;
|
|
1898
|
+
}
|
|
1899
|
+
interface SetAutoAttachParameterType {
|
|
1900
|
+
autoAttach: boolean;
|
|
1901
|
+
waitForDebuggerOnStart: boolean;
|
|
1902
|
+
}
|
|
1903
|
+
interface TargetCreatedEventDataType {
|
|
1904
|
+
targetInfo: TargetInfo;
|
|
1905
|
+
}
|
|
1906
|
+
interface AttachedToTargetEventDataType {
|
|
1907
|
+
sessionId: SessionID;
|
|
1908
|
+
targetInfo: TargetInfo;
|
|
1909
|
+
waitingForDebugger: boolean;
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1851
1912
|
|
|
1852
1913
|
/**
|
|
1853
1914
|
* The `inspector.Session` is used for dispatching messages to the V8 inspector
|
|
@@ -2224,6 +2285,17 @@ declare module 'inspector' {
|
|
|
2224
2285
|
* Enables network tracking, network events will now be delivered to the client.
|
|
2225
2286
|
*/
|
|
2226
2287
|
post(method: 'Network.enable', callback?: (err: Error | null) => void): void;
|
|
2288
|
+
/**
|
|
2289
|
+
* Enables streaming of the response for the given requestId.
|
|
2290
|
+
* If enabled, the dataReceived event contains the data that was received during streaming.
|
|
2291
|
+
* @experimental
|
|
2292
|
+
*/
|
|
2293
|
+
post(
|
|
2294
|
+
method: 'Network.streamResourceContent',
|
|
2295
|
+
params?: Network.StreamResourceContentParameterType,
|
|
2296
|
+
callback?: (err: Error | null, params: Network.StreamResourceContentReturnType) => void
|
|
2297
|
+
): void;
|
|
2298
|
+
post(method: 'Network.streamResourceContent', callback?: (err: Error | null, params: Network.StreamResourceContentReturnType) => void): void;
|
|
2227
2299
|
/**
|
|
2228
2300
|
* Enable the NodeRuntime events except by `NodeRuntime.waitingForDisconnect`.
|
|
2229
2301
|
*/
|
|
@@ -2237,6 +2309,8 @@ declare module 'inspector' {
|
|
|
2237
2309
|
*/
|
|
2238
2310
|
post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void;
|
|
2239
2311
|
post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', callback?: (err: Error | null) => void): void;
|
|
2312
|
+
post(method: 'Target.setAutoAttach', params?: Target.SetAutoAttachParameterType, callback?: (err: Error | null) => void): void;
|
|
2313
|
+
post(method: 'Target.setAutoAttach', callback?: (err: Error | null) => void): void;
|
|
2240
2314
|
|
|
2241
2315
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
2242
2316
|
/**
|
|
@@ -2343,6 +2417,10 @@ declare module 'inspector' {
|
|
|
2343
2417
|
addListener(event: 'Network.responseReceived', listener: (message: InspectorNotification<Network.ResponseReceivedEventDataType>) => void): this;
|
|
2344
2418
|
addListener(event: 'Network.loadingFailed', listener: (message: InspectorNotification<Network.LoadingFailedEventDataType>) => void): this;
|
|
2345
2419
|
addListener(event: 'Network.loadingFinished', listener: (message: InspectorNotification<Network.LoadingFinishedEventDataType>) => void): this;
|
|
2420
|
+
/**
|
|
2421
|
+
* Fired when data chunk was received over the network.
|
|
2422
|
+
*/
|
|
2423
|
+
addListener(event: 'Network.dataReceived', listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
|
|
2346
2424
|
/**
|
|
2347
2425
|
* This event is fired instead of `Runtime.executionContextDestroyed` when
|
|
2348
2426
|
* enabled.
|
|
@@ -2355,6 +2433,8 @@ declare module 'inspector' {
|
|
|
2355
2433
|
* example, when inspector.waitingForDebugger is called
|
|
2356
2434
|
*/
|
|
2357
2435
|
addListener(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
2436
|
+
addListener(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
2437
|
+
addListener(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
2358
2438
|
emit(event: string | symbol, ...args: any[]): boolean;
|
|
2359
2439
|
emit(event: 'inspectorNotification', message: InspectorNotification<object>): boolean;
|
|
2360
2440
|
emit(event: 'Runtime.executionContextCreated', message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>): boolean;
|
|
@@ -2386,8 +2466,11 @@ declare module 'inspector' {
|
|
|
2386
2466
|
emit(event: 'Network.responseReceived', message: InspectorNotification<Network.ResponseReceivedEventDataType>): boolean;
|
|
2387
2467
|
emit(event: 'Network.loadingFailed', message: InspectorNotification<Network.LoadingFailedEventDataType>): boolean;
|
|
2388
2468
|
emit(event: 'Network.loadingFinished', message: InspectorNotification<Network.LoadingFinishedEventDataType>): boolean;
|
|
2469
|
+
emit(event: 'Network.dataReceived', message: InspectorNotification<Network.DataReceivedEventDataType>): boolean;
|
|
2389
2470
|
emit(event: 'NodeRuntime.waitingForDisconnect'): boolean;
|
|
2390
2471
|
emit(event: 'NodeRuntime.waitingForDebugger'): boolean;
|
|
2472
|
+
emit(event: 'Target.targetCreated', message: InspectorNotification<Target.TargetCreatedEventDataType>): boolean;
|
|
2473
|
+
emit(event: 'Target.attachedToTarget', message: InspectorNotification<Target.AttachedToTargetEventDataType>): boolean;
|
|
2391
2474
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
2392
2475
|
/**
|
|
2393
2476
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -2493,6 +2576,10 @@ declare module 'inspector' {
|
|
|
2493
2576
|
on(event: 'Network.responseReceived', listener: (message: InspectorNotification<Network.ResponseReceivedEventDataType>) => void): this;
|
|
2494
2577
|
on(event: 'Network.loadingFailed', listener: (message: InspectorNotification<Network.LoadingFailedEventDataType>) => void): this;
|
|
2495
2578
|
on(event: 'Network.loadingFinished', listener: (message: InspectorNotification<Network.LoadingFinishedEventDataType>) => void): this;
|
|
2579
|
+
/**
|
|
2580
|
+
* Fired when data chunk was received over the network.
|
|
2581
|
+
*/
|
|
2582
|
+
on(event: 'Network.dataReceived', listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
|
|
2496
2583
|
/**
|
|
2497
2584
|
* This event is fired instead of `Runtime.executionContextDestroyed` when
|
|
2498
2585
|
* enabled.
|
|
@@ -2505,6 +2592,8 @@ declare module 'inspector' {
|
|
|
2505
2592
|
* example, when inspector.waitingForDebugger is called
|
|
2506
2593
|
*/
|
|
2507
2594
|
on(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
2595
|
+
on(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
2596
|
+
on(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
2508
2597
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
2509
2598
|
/**
|
|
2510
2599
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -2610,6 +2699,10 @@ declare module 'inspector' {
|
|
|
2610
2699
|
once(event: 'Network.responseReceived', listener: (message: InspectorNotification<Network.ResponseReceivedEventDataType>) => void): this;
|
|
2611
2700
|
once(event: 'Network.loadingFailed', listener: (message: InspectorNotification<Network.LoadingFailedEventDataType>) => void): this;
|
|
2612
2701
|
once(event: 'Network.loadingFinished', listener: (message: InspectorNotification<Network.LoadingFinishedEventDataType>) => void): this;
|
|
2702
|
+
/**
|
|
2703
|
+
* Fired when data chunk was received over the network.
|
|
2704
|
+
*/
|
|
2705
|
+
once(event: 'Network.dataReceived', listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
|
|
2613
2706
|
/**
|
|
2614
2707
|
* This event is fired instead of `Runtime.executionContextDestroyed` when
|
|
2615
2708
|
* enabled.
|
|
@@ -2622,6 +2715,8 @@ declare module 'inspector' {
|
|
|
2622
2715
|
* example, when inspector.waitingForDebugger is called
|
|
2623
2716
|
*/
|
|
2624
2717
|
once(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
2718
|
+
once(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
2719
|
+
once(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
2625
2720
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
2626
2721
|
/**
|
|
2627
2722
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -2727,6 +2822,10 @@ declare module 'inspector' {
|
|
|
2727
2822
|
prependListener(event: 'Network.responseReceived', listener: (message: InspectorNotification<Network.ResponseReceivedEventDataType>) => void): this;
|
|
2728
2823
|
prependListener(event: 'Network.loadingFailed', listener: (message: InspectorNotification<Network.LoadingFailedEventDataType>) => void): this;
|
|
2729
2824
|
prependListener(event: 'Network.loadingFinished', listener: (message: InspectorNotification<Network.LoadingFinishedEventDataType>) => void): this;
|
|
2825
|
+
/**
|
|
2826
|
+
* Fired when data chunk was received over the network.
|
|
2827
|
+
*/
|
|
2828
|
+
prependListener(event: 'Network.dataReceived', listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
|
|
2730
2829
|
/**
|
|
2731
2830
|
* This event is fired instead of `Runtime.executionContextDestroyed` when
|
|
2732
2831
|
* enabled.
|
|
@@ -2739,6 +2838,8 @@ declare module 'inspector' {
|
|
|
2739
2838
|
* example, when inspector.waitingForDebugger is called
|
|
2740
2839
|
*/
|
|
2741
2840
|
prependListener(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
2841
|
+
prependListener(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
2842
|
+
prependListener(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
2742
2843
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
2743
2844
|
/**
|
|
2744
2845
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -2844,6 +2945,10 @@ declare module 'inspector' {
|
|
|
2844
2945
|
prependOnceListener(event: 'Network.responseReceived', listener: (message: InspectorNotification<Network.ResponseReceivedEventDataType>) => void): this;
|
|
2845
2946
|
prependOnceListener(event: 'Network.loadingFailed', listener: (message: InspectorNotification<Network.LoadingFailedEventDataType>) => void): this;
|
|
2846
2947
|
prependOnceListener(event: 'Network.loadingFinished', listener: (message: InspectorNotification<Network.LoadingFinishedEventDataType>) => void): this;
|
|
2948
|
+
/**
|
|
2949
|
+
* Fired when data chunk was received over the network.
|
|
2950
|
+
*/
|
|
2951
|
+
prependOnceListener(event: 'Network.dataReceived', listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
|
|
2847
2952
|
/**
|
|
2848
2953
|
* This event is fired instead of `Runtime.executionContextDestroyed` when
|
|
2849
2954
|
* enabled.
|
|
@@ -2856,6 +2961,8 @@ declare module 'inspector' {
|
|
|
2856
2961
|
* example, when inspector.waitingForDebugger is called
|
|
2857
2962
|
*/
|
|
2858
2963
|
prependOnceListener(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
2964
|
+
prependOnceListener(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
2965
|
+
prependOnceListener(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
2859
2966
|
}
|
|
2860
2967
|
|
|
2861
2968
|
/**
|
|
@@ -2950,6 +3057,14 @@ declare module 'inspector' {
|
|
|
2950
3057
|
* @since v22.6.0
|
|
2951
3058
|
*/
|
|
2952
3059
|
function requestWillBeSent(params: RequestWillBeSentEventDataType): void;
|
|
3060
|
+
/**
|
|
3061
|
+
* This feature is only available with the `--experimental-network-inspection` flag enabled.
|
|
3062
|
+
*
|
|
3063
|
+
* Broadcasts the `Network.dataReceived` event to connected frontends, or buffers the data if
|
|
3064
|
+
* `Network.streamResourceContent` command was not invoked for the given request yet.
|
|
3065
|
+
* @since v24.2.0
|
|
3066
|
+
*/
|
|
3067
|
+
function dataReceived(params: DataReceivedEventDataType): void;
|
|
2953
3068
|
/**
|
|
2954
3069
|
* This feature is only available with the `--experimental-network-inspection` flag enabled.
|
|
2955
3070
|
*
|
|
@@ -3010,6 +3125,7 @@ declare module 'inspector/promises' {
|
|
|
3010
3125
|
NodeWorker,
|
|
3011
3126
|
Network,
|
|
3012
3127
|
NodeRuntime,
|
|
3128
|
+
Target,
|
|
3013
3129
|
} from 'inspector';
|
|
3014
3130
|
|
|
3015
3131
|
/**
|
|
@@ -3334,6 +3450,12 @@ declare module 'inspector/promises' {
|
|
|
3334
3450
|
* Enables network tracking, network events will now be delivered to the client.
|
|
3335
3451
|
*/
|
|
3336
3452
|
post(method: 'Network.enable'): Promise<void>;
|
|
3453
|
+
/**
|
|
3454
|
+
* Enables streaming of the response for the given requestId.
|
|
3455
|
+
* If enabled, the dataReceived event contains the data that was received during streaming.
|
|
3456
|
+
* @experimental
|
|
3457
|
+
*/
|
|
3458
|
+
post(method: 'Network.streamResourceContent', params?: Network.StreamResourceContentParameterType): Promise<Network.StreamResourceContentReturnType>;
|
|
3337
3459
|
/**
|
|
3338
3460
|
* Enable the NodeRuntime events except by `NodeRuntime.waitingForDisconnect`.
|
|
3339
3461
|
*/
|
|
@@ -3346,6 +3468,7 @@ declare module 'inspector/promises' {
|
|
|
3346
3468
|
* Enable the `NodeRuntime.waitingForDisconnect`.
|
|
3347
3469
|
*/
|
|
3348
3470
|
post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType): Promise<void>;
|
|
3471
|
+
post(method: 'Target.setAutoAttach', params?: Target.SetAutoAttachParameterType): Promise<void>;
|
|
3349
3472
|
|
|
3350
3473
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
3351
3474
|
/**
|
|
@@ -3452,6 +3575,10 @@ declare module 'inspector/promises' {
|
|
|
3452
3575
|
addListener(event: 'Network.responseReceived', listener: (message: InspectorNotification<Network.ResponseReceivedEventDataType>) => void): this;
|
|
3453
3576
|
addListener(event: 'Network.loadingFailed', listener: (message: InspectorNotification<Network.LoadingFailedEventDataType>) => void): this;
|
|
3454
3577
|
addListener(event: 'Network.loadingFinished', listener: (message: InspectorNotification<Network.LoadingFinishedEventDataType>) => void): this;
|
|
3578
|
+
/**
|
|
3579
|
+
* Fired when data chunk was received over the network.
|
|
3580
|
+
*/
|
|
3581
|
+
addListener(event: 'Network.dataReceived', listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
|
|
3455
3582
|
/**
|
|
3456
3583
|
* This event is fired instead of `Runtime.executionContextDestroyed` when
|
|
3457
3584
|
* enabled.
|
|
@@ -3464,6 +3591,8 @@ declare module 'inspector/promises' {
|
|
|
3464
3591
|
* example, when inspector.waitingForDebugger is called
|
|
3465
3592
|
*/
|
|
3466
3593
|
addListener(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
3594
|
+
addListener(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3595
|
+
addListener(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3467
3596
|
emit(event: string | symbol, ...args: any[]): boolean;
|
|
3468
3597
|
emit(event: 'inspectorNotification', message: InspectorNotification<object>): boolean;
|
|
3469
3598
|
emit(event: 'Runtime.executionContextCreated', message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>): boolean;
|
|
@@ -3495,8 +3624,11 @@ declare module 'inspector/promises' {
|
|
|
3495
3624
|
emit(event: 'Network.responseReceived', message: InspectorNotification<Network.ResponseReceivedEventDataType>): boolean;
|
|
3496
3625
|
emit(event: 'Network.loadingFailed', message: InspectorNotification<Network.LoadingFailedEventDataType>): boolean;
|
|
3497
3626
|
emit(event: 'Network.loadingFinished', message: InspectorNotification<Network.LoadingFinishedEventDataType>): boolean;
|
|
3627
|
+
emit(event: 'Network.dataReceived', message: InspectorNotification<Network.DataReceivedEventDataType>): boolean;
|
|
3498
3628
|
emit(event: 'NodeRuntime.waitingForDisconnect'): boolean;
|
|
3499
3629
|
emit(event: 'NodeRuntime.waitingForDebugger'): boolean;
|
|
3630
|
+
emit(event: 'Target.targetCreated', message: InspectorNotification<Target.TargetCreatedEventDataType>): boolean;
|
|
3631
|
+
emit(event: 'Target.attachedToTarget', message: InspectorNotification<Target.AttachedToTargetEventDataType>): boolean;
|
|
3500
3632
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
3501
3633
|
/**
|
|
3502
3634
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -3602,6 +3734,10 @@ declare module 'inspector/promises' {
|
|
|
3602
3734
|
on(event: 'Network.responseReceived', listener: (message: InspectorNotification<Network.ResponseReceivedEventDataType>) => void): this;
|
|
3603
3735
|
on(event: 'Network.loadingFailed', listener: (message: InspectorNotification<Network.LoadingFailedEventDataType>) => void): this;
|
|
3604
3736
|
on(event: 'Network.loadingFinished', listener: (message: InspectorNotification<Network.LoadingFinishedEventDataType>) => void): this;
|
|
3737
|
+
/**
|
|
3738
|
+
* Fired when data chunk was received over the network.
|
|
3739
|
+
*/
|
|
3740
|
+
on(event: 'Network.dataReceived', listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
|
|
3605
3741
|
/**
|
|
3606
3742
|
* This event is fired instead of `Runtime.executionContextDestroyed` when
|
|
3607
3743
|
* enabled.
|
|
@@ -3614,6 +3750,8 @@ declare module 'inspector/promises' {
|
|
|
3614
3750
|
* example, when inspector.waitingForDebugger is called
|
|
3615
3751
|
*/
|
|
3616
3752
|
on(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
3753
|
+
on(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3754
|
+
on(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3617
3755
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
3618
3756
|
/**
|
|
3619
3757
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -3719,6 +3857,10 @@ declare module 'inspector/promises' {
|
|
|
3719
3857
|
once(event: 'Network.responseReceived', listener: (message: InspectorNotification<Network.ResponseReceivedEventDataType>) => void): this;
|
|
3720
3858
|
once(event: 'Network.loadingFailed', listener: (message: InspectorNotification<Network.LoadingFailedEventDataType>) => void): this;
|
|
3721
3859
|
once(event: 'Network.loadingFinished', listener: (message: InspectorNotification<Network.LoadingFinishedEventDataType>) => void): this;
|
|
3860
|
+
/**
|
|
3861
|
+
* Fired when data chunk was received over the network.
|
|
3862
|
+
*/
|
|
3863
|
+
once(event: 'Network.dataReceived', listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
|
|
3722
3864
|
/**
|
|
3723
3865
|
* This event is fired instead of `Runtime.executionContextDestroyed` when
|
|
3724
3866
|
* enabled.
|
|
@@ -3731,6 +3873,8 @@ declare module 'inspector/promises' {
|
|
|
3731
3873
|
* example, when inspector.waitingForDebugger is called
|
|
3732
3874
|
*/
|
|
3733
3875
|
once(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
3876
|
+
once(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3877
|
+
once(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3734
3878
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
3735
3879
|
/**
|
|
3736
3880
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -3836,6 +3980,10 @@ declare module 'inspector/promises' {
|
|
|
3836
3980
|
prependListener(event: 'Network.responseReceived', listener: (message: InspectorNotification<Network.ResponseReceivedEventDataType>) => void): this;
|
|
3837
3981
|
prependListener(event: 'Network.loadingFailed', listener: (message: InspectorNotification<Network.LoadingFailedEventDataType>) => void): this;
|
|
3838
3982
|
prependListener(event: 'Network.loadingFinished', listener: (message: InspectorNotification<Network.LoadingFinishedEventDataType>) => void): this;
|
|
3983
|
+
/**
|
|
3984
|
+
* Fired when data chunk was received over the network.
|
|
3985
|
+
*/
|
|
3986
|
+
prependListener(event: 'Network.dataReceived', listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
|
|
3839
3987
|
/**
|
|
3840
3988
|
* This event is fired instead of `Runtime.executionContextDestroyed` when
|
|
3841
3989
|
* enabled.
|
|
@@ -3848,6 +3996,8 @@ declare module 'inspector/promises' {
|
|
|
3848
3996
|
* example, when inspector.waitingForDebugger is called
|
|
3849
3997
|
*/
|
|
3850
3998
|
prependListener(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
3999
|
+
prependListener(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
4000
|
+
prependListener(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3851
4001
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
3852
4002
|
/**
|
|
3853
4003
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -3953,6 +4103,10 @@ declare module 'inspector/promises' {
|
|
|
3953
4103
|
prependOnceListener(event: 'Network.responseReceived', listener: (message: InspectorNotification<Network.ResponseReceivedEventDataType>) => void): this;
|
|
3954
4104
|
prependOnceListener(event: 'Network.loadingFailed', listener: (message: InspectorNotification<Network.LoadingFailedEventDataType>) => void): this;
|
|
3955
4105
|
prependOnceListener(event: 'Network.loadingFinished', listener: (message: InspectorNotification<Network.LoadingFinishedEventDataType>) => void): this;
|
|
4106
|
+
/**
|
|
4107
|
+
* Fired when data chunk was received over the network.
|
|
4108
|
+
*/
|
|
4109
|
+
prependOnceListener(event: 'Network.dataReceived', listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
|
|
3956
4110
|
/**
|
|
3957
4111
|
* This event is fired instead of `Runtime.executionContextDestroyed` when
|
|
3958
4112
|
* enabled.
|
|
@@ -3965,6 +4119,8 @@ declare module 'inspector/promises' {
|
|
|
3965
4119
|
* example, when inspector.waitingForDebugger is called
|
|
3966
4120
|
*/
|
|
3967
4121
|
prependOnceListener(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
4122
|
+
prependOnceListener(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
4123
|
+
prependOnceListener(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3968
4124
|
}
|
|
3969
4125
|
|
|
3970
4126
|
export {
|
|
@@ -3985,6 +4141,7 @@ declare module 'inspector/promises' {
|
|
|
3985
4141
|
NodeWorker,
|
|
3986
4142
|
Network,
|
|
3987
4143
|
NodeRuntime,
|
|
4144
|
+
Target,
|
|
3988
4145
|
};
|
|
3989
4146
|
}
|
|
3990
4147
|
|
|
@@ -685,6 +685,30 @@ declare module "module" {
|
|
|
685
685
|
* @returns The absolute URL string that the specifier would resolve to.
|
|
686
686
|
*/
|
|
687
687
|
resolve(specifier: string, parent?: string | URL): string;
|
|
688
|
+
/**
|
|
689
|
+
* `true` when the current module is the entry point of the current process; `false` otherwise.
|
|
690
|
+
*
|
|
691
|
+
* Equivalent to `require.main === module` in CommonJS.
|
|
692
|
+
*
|
|
693
|
+
* Analogous to Python's `__name__ == "__main__"`.
|
|
694
|
+
*
|
|
695
|
+
* ```js
|
|
696
|
+
* export function foo() {
|
|
697
|
+
* return 'Hello, world';
|
|
698
|
+
* }
|
|
699
|
+
*
|
|
700
|
+
* function main() {
|
|
701
|
+
* const message = foo();
|
|
702
|
+
* console.log(message);
|
|
703
|
+
* }
|
|
704
|
+
*
|
|
705
|
+
* if (import.meta.main) main();
|
|
706
|
+
* // `foo` can be imported from another module without possible side-effects from `main`
|
|
707
|
+
* ```
|
|
708
|
+
* @since v24.2.0
|
|
709
|
+
* @experimental
|
|
710
|
+
*/
|
|
711
|
+
main: boolean;
|
|
688
712
|
}
|
|
689
713
|
namespace NodeJS {
|
|
690
714
|
interface Module {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.2.1",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,11 +15,6 @@
|
|
|
15
15
|
"githubUsername": "jkomyno",
|
|
16
16
|
"url": "https://github.com/jkomyno"
|
|
17
17
|
},
|
|
18
|
-
{
|
|
19
|
-
"name": "Alvis HT Tang",
|
|
20
|
-
"githubUsername": "alvis",
|
|
21
|
-
"url": "https://github.com/alvis"
|
|
22
|
-
},
|
|
23
18
|
{
|
|
24
19
|
"name": "Andrew Makarov",
|
|
25
20
|
"githubUsername": "r3nya",
|
|
@@ -30,56 +25,11 @@
|
|
|
30
25
|
"githubUsername": "btoueg",
|
|
31
26
|
"url": "https://github.com/btoueg"
|
|
32
27
|
},
|
|
33
|
-
{
|
|
34
|
-
"name": "Chigozirim C.",
|
|
35
|
-
"githubUsername": "smac89",
|
|
36
|
-
"url": "https://github.com/smac89"
|
|
37
|
-
},
|
|
38
28
|
{
|
|
39
29
|
"name": "David Junger",
|
|
40
30
|
"githubUsername": "touffy",
|
|
41
31
|
"url": "https://github.com/touffy"
|
|
42
32
|
},
|
|
43
|
-
{
|
|
44
|
-
"name": "Deividas Bakanas",
|
|
45
|
-
"githubUsername": "DeividasBakanas",
|
|
46
|
-
"url": "https://github.com/DeividasBakanas"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"name": "Eugene Y. Q. Shen",
|
|
50
|
-
"githubUsername": "eyqs",
|
|
51
|
-
"url": "https://github.com/eyqs"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"name": "Hannes Magnusson",
|
|
55
|
-
"githubUsername": "Hannes-Magnusson-CK",
|
|
56
|
-
"url": "https://github.com/Hannes-Magnusson-CK"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"name": "Huw",
|
|
60
|
-
"githubUsername": "hoo29",
|
|
61
|
-
"url": "https://github.com/hoo29"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "Kelvin Jin",
|
|
65
|
-
"githubUsername": "kjin",
|
|
66
|
-
"url": "https://github.com/kjin"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"name": "Klaus Meinhardt",
|
|
70
|
-
"githubUsername": "ajafff",
|
|
71
|
-
"url": "https://github.com/ajafff"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"name": "Lishude",
|
|
75
|
-
"githubUsername": "islishude",
|
|
76
|
-
"url": "https://github.com/islishude"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"name": "Mariusz Wiktorczyk",
|
|
80
|
-
"githubUsername": "mwiktorczyk",
|
|
81
|
-
"url": "https://github.com/mwiktorczyk"
|
|
82
|
-
},
|
|
83
33
|
{
|
|
84
34
|
"name": "Mohsen Azimi",
|
|
85
35
|
"githubUsername": "mohsen1",
|
|
@@ -90,46 +40,16 @@
|
|
|
90
40
|
"githubUsername": "galkin",
|
|
91
41
|
"url": "https://github.com/galkin"
|
|
92
42
|
},
|
|
93
|
-
{
|
|
94
|
-
"name": "Parambir Singh",
|
|
95
|
-
"githubUsername": "parambirs",
|
|
96
|
-
"url": "https://github.com/parambirs"
|
|
97
|
-
},
|
|
98
43
|
{
|
|
99
44
|
"name": "Sebastian Silbermann",
|
|
100
45
|
"githubUsername": "eps1lon",
|
|
101
46
|
"url": "https://github.com/eps1lon"
|
|
102
47
|
},
|
|
103
|
-
{
|
|
104
|
-
"name": "Thomas den Hollander",
|
|
105
|
-
"githubUsername": "ThomasdenH",
|
|
106
|
-
"url": "https://github.com/ThomasdenH"
|
|
107
|
-
},
|
|
108
48
|
{
|
|
109
49
|
"name": "Wilco Bakker",
|
|
110
50
|
"githubUsername": "WilcoBakker",
|
|
111
51
|
"url": "https://github.com/WilcoBakker"
|
|
112
52
|
},
|
|
113
|
-
{
|
|
114
|
-
"name": "wwwy3y3",
|
|
115
|
-
"githubUsername": "wwwy3y3",
|
|
116
|
-
"url": "https://github.com/wwwy3y3"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"name": "Samuel Ainsworth",
|
|
120
|
-
"githubUsername": "samuela",
|
|
121
|
-
"url": "https://github.com/samuela"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"name": "Kyle Uehlein",
|
|
125
|
-
"githubUsername": "kuehlein",
|
|
126
|
-
"url": "https://github.com/kuehlein"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"name": "Thanik Bhongbhibhat",
|
|
130
|
-
"githubUsername": "bhongy",
|
|
131
|
-
"url": "https://github.com/bhongy"
|
|
132
|
-
},
|
|
133
53
|
{
|
|
134
54
|
"name": "Marcin Kopacz",
|
|
135
55
|
"githubUsername": "chyzwar",
|
|
@@ -209,11 +129,6 @@
|
|
|
209
129
|
"main": "",
|
|
210
130
|
"types": "index.d.ts",
|
|
211
131
|
"typesVersions": {
|
|
212
|
-
"<=5.1": {
|
|
213
|
-
"*": [
|
|
214
|
-
"ts5.1/*"
|
|
215
|
-
]
|
|
216
|
-
},
|
|
217
132
|
"<=5.6": {
|
|
218
133
|
"*": [
|
|
219
134
|
"ts5.6/*"
|
|
@@ -232,9 +147,9 @@
|
|
|
232
147
|
},
|
|
233
148
|
"scripts": {},
|
|
234
149
|
"dependencies": {
|
|
235
|
-
"undici-types": "~7.
|
|
150
|
+
"undici-types": "~7.10.0"
|
|
236
151
|
},
|
|
237
152
|
"peerDependencies": {},
|
|
238
|
-
"typesPublisherContentHash": "
|
|
239
|
-
"typeScriptVersion": "5.
|
|
153
|
+
"typesPublisherContentHash": "c642826dc621e8df9fa43f5471ad2dd77883f4fff1a3c22d8d18322f596ed09d",
|
|
154
|
+
"typeScriptVersion": "5.2"
|
|
240
155
|
}
|
|
@@ -813,6 +813,20 @@ declare module "perf_hooks" {
|
|
|
813
813
|
* @since v11.10.0
|
|
814
814
|
*/
|
|
815
815
|
disable(): boolean;
|
|
816
|
+
/**
|
|
817
|
+
* Disables the update interval timer when the histogram is disposed.
|
|
818
|
+
*
|
|
819
|
+
* ```js
|
|
820
|
+
* const { monitorEventLoopDelay } = require('node:perf_hooks');
|
|
821
|
+
* {
|
|
822
|
+
* using hist = monitorEventLoopDelay({ resolution: 20 });
|
|
823
|
+
* hist.enable();
|
|
824
|
+
* // The histogram will be disabled when the block is exited.
|
|
825
|
+
* }
|
|
826
|
+
* ```
|
|
827
|
+
* @since v24.2.0
|
|
828
|
+
*/
|
|
829
|
+
[Symbol.dispose](): void;
|
|
816
830
|
}
|
|
817
831
|
interface RecordableHistogram extends Histogram {
|
|
818
832
|
/**
|
|
@@ -123,6 +123,12 @@ declare module "repl" {
|
|
|
123
123
|
*/
|
|
124
124
|
action: REPLCommandAction;
|
|
125
125
|
}
|
|
126
|
+
interface REPLServerSetupHistoryOptions {
|
|
127
|
+
filePath?: string | undefined;
|
|
128
|
+
size?: number | undefined;
|
|
129
|
+
removeHistoryDuplicates?: boolean | undefined;
|
|
130
|
+
onHistoryFileLoaded?: ((err: Error | null, repl: REPLServer) => void) | undefined;
|
|
131
|
+
}
|
|
126
132
|
/**
|
|
127
133
|
* Instances of `repl.REPLServer` are created using the {@link start} method
|
|
128
134
|
* or directly using the JavaScript `new` keyword.
|
|
@@ -316,7 +322,11 @@ declare module "repl" {
|
|
|
316
322
|
* @param historyPath the path to the history file
|
|
317
323
|
* @param callback called when history writes are ready or upon error
|
|
318
324
|
*/
|
|
319
|
-
setupHistory(
|
|
325
|
+
setupHistory(historyPath: string, callback: (err: Error | null, repl: this) => void): void;
|
|
326
|
+
setupHistory(
|
|
327
|
+
historyConfig?: REPLServerSetupHistoryOptions,
|
|
328
|
+
callback?: (err: Error | null, repl: this) => void,
|
|
329
|
+
): void;
|
|
320
330
|
/**
|
|
321
331
|
* events.EventEmitter
|
|
322
332
|
* 1. close - inherited from `readline.Interface`
|