@contrast/agent-bundle 5.40.0 → 5.41.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 +11 -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.js +1 -1
- 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/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/@types/node/README.md +2 -2
- package/node_modules/@types/node/fs.d.ts +13 -1
- package/node_modules/@types/node/http.d.ts +4 -19
- package/node_modules/@types/node/inspector.d.ts +53 -0
- package/node_modules/@types/node/package.json +2 -82
- 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/package.json +2 -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/form-data/README.md.bak +0 -355
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentelemetry/semantic-conventions",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.36.0",
|
|
4
4
|
"description": "OpenTelemetry semantic conventions",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"module": "build/esm/index.js",
|
|
@@ -74,12 +74,12 @@
|
|
|
74
74
|
"mocha": "11.1.0",
|
|
75
75
|
"nock": "13.5.6",
|
|
76
76
|
"nyc": "17.1.0",
|
|
77
|
-
"sinon": "
|
|
77
|
+
"sinon": "18.0.1",
|
|
78
78
|
"size-limit": "^11.0.1",
|
|
79
79
|
"ts-node": "10.9.2",
|
|
80
80
|
"typescript": "5.0.4"
|
|
81
81
|
},
|
|
82
82
|
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/semantic-conventions",
|
|
83
83
|
"sideEffects": false,
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "99dde7786f52d8d7e3d080a0a69b9685104c29e2"
|
|
85
85
|
}
|
|
@@ -8,8 +8,8 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 22 Jul 2025 11:34:36 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
15
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [
|
|
15
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [David Junger](https://github.com/touffy), [Mohsen Azimi](https://github.com/mohsen1), [Nikita Galkin](https://github.com/galkin), [Sebastian Silbermann](https://github.com/eps1lon), [Wilco Bakker](https://github.com/WilcoBakker), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), [Dmitry Semigradsky](https://github.com/Semigradsky), [René](https://github.com/Renegade334), and [Yagiz Nizipli](https://github.com/anonrig).
|
|
@@ -322,6 +322,18 @@ declare module "fs" {
|
|
|
322
322
|
* @since v12.12.0
|
|
323
323
|
*/
|
|
324
324
|
readSync(): Dirent | null;
|
|
325
|
+
/**
|
|
326
|
+
* An alias for `dir.close()`.
|
|
327
|
+
* @since v24.1.0
|
|
328
|
+
* @experimental
|
|
329
|
+
*/
|
|
330
|
+
[Symbol.dispose](): void;
|
|
331
|
+
/**
|
|
332
|
+
* An alias for `dir.closeSync()`.
|
|
333
|
+
* @since v24.1.0
|
|
334
|
+
* @experimental
|
|
335
|
+
*/
|
|
336
|
+
[Symbol.asyncDispose](): void;
|
|
325
337
|
}
|
|
326
338
|
/**
|
|
327
339
|
* Class: fs.StatWatcher
|
|
@@ -4354,7 +4366,7 @@ declare module "fs" {
|
|
|
4354
4366
|
* Current working directory.
|
|
4355
4367
|
* @default process.cwd()
|
|
4356
4368
|
*/
|
|
4357
|
-
cwd?: string | undefined;
|
|
4369
|
+
cwd?: string | URL | undefined;
|
|
4358
4370
|
/**
|
|
4359
4371
|
* `true` if the glob should return paths as `Dirent`s, `false` otherwise.
|
|
4360
4372
|
* @default false
|
|
@@ -44,7 +44,7 @@ declare module "http" {
|
|
|
44
44
|
import { URL } from "node:url";
|
|
45
45
|
import { LookupOptions } from "node:dns";
|
|
46
46
|
import { EventEmitter } from "node:events";
|
|
47
|
-
import { LookupFunction,
|
|
47
|
+
import { LookupFunction, Server as NetServer, Socket, TcpSocketConnectOpts } from "node:net";
|
|
48
48
|
// incoming headers will never contain number
|
|
49
49
|
interface IncomingHttpHeaders extends NodeJS.Dict<string | string[]> {
|
|
50
50
|
accept?: string | undefined;
|
|
@@ -911,7 +911,7 @@ declare module "http" {
|
|
|
911
911
|
* the request body should be sent.
|
|
912
912
|
* @since v10.0.0
|
|
913
913
|
*/
|
|
914
|
-
writeProcessing(): void;
|
|
914
|
+
writeProcessing(callback?: () => void): void;
|
|
915
915
|
}
|
|
916
916
|
interface InformationEvent {
|
|
917
917
|
statusCode: number;
|
|
@@ -1451,21 +1451,6 @@ declare module "http" {
|
|
|
1451
1451
|
*/
|
|
1452
1452
|
scheduling?: "fifo" | "lifo" | undefined;
|
|
1453
1453
|
}
|
|
1454
|
-
interface AgentGetNameOptions {
|
|
1455
|
-
/**
|
|
1456
|
-
* A domain name or IP address of the server to issue the request to
|
|
1457
|
-
*/
|
|
1458
|
-
host?: string | undefined;
|
|
1459
|
-
/**
|
|
1460
|
-
* Port of remote server
|
|
1461
|
-
*/
|
|
1462
|
-
port?: number | undefined;
|
|
1463
|
-
/**
|
|
1464
|
-
* Local interface to bind for network connections when issuing the request
|
|
1465
|
-
*/
|
|
1466
|
-
localAddress?: string | undefined;
|
|
1467
|
-
family?: 4 | 6 | undefined;
|
|
1468
|
-
}
|
|
1469
1454
|
/**
|
|
1470
1455
|
* An `Agent` is responsible for managing connection persistence
|
|
1471
1456
|
* and reuse for HTTP clients. It maintains a queue of pending requests
|
|
@@ -1604,7 +1589,7 @@ declare module "http" {
|
|
|
1604
1589
|
* @param callback Callback function that receives the created socket
|
|
1605
1590
|
*/
|
|
1606
1591
|
createConnection(
|
|
1607
|
-
options:
|
|
1592
|
+
options: ClientRequestArgs,
|
|
1608
1593
|
callback?: (err: Error | null, stream: stream.Duplex) => void,
|
|
1609
1594
|
): stream.Duplex;
|
|
1610
1595
|
/**
|
|
@@ -1646,7 +1631,7 @@ declare module "http" {
|
|
|
1646
1631
|
* @since v0.11.4
|
|
1647
1632
|
* @param options A set of options providing information for name generation
|
|
1648
1633
|
*/
|
|
1649
|
-
getName(options?:
|
|
1634
|
+
getName(options?: ClientRequestArgs): string;
|
|
1650
1635
|
}
|
|
1651
1636
|
const METHODS: string[];
|
|
1652
1637
|
const STATUS_CODES: {
|
|
@@ -1848,6 +1848,30 @@ declare module 'inspector' {
|
|
|
1848
1848
|
enabled: boolean;
|
|
1849
1849
|
}
|
|
1850
1850
|
}
|
|
1851
|
+
namespace Target {
|
|
1852
|
+
type SessionID = string;
|
|
1853
|
+
type TargetID = string;
|
|
1854
|
+
interface TargetInfo {
|
|
1855
|
+
targetId: TargetID;
|
|
1856
|
+
type: string;
|
|
1857
|
+
title: string;
|
|
1858
|
+
url: string;
|
|
1859
|
+
attached: boolean;
|
|
1860
|
+
canAccessOpener: boolean;
|
|
1861
|
+
}
|
|
1862
|
+
interface SetAutoAttachParameterType {
|
|
1863
|
+
autoAttach: boolean;
|
|
1864
|
+
waitForDebuggerOnStart: boolean;
|
|
1865
|
+
}
|
|
1866
|
+
interface TargetCreatedEventDataType {
|
|
1867
|
+
targetInfo: TargetInfo;
|
|
1868
|
+
}
|
|
1869
|
+
interface AttachedToTargetEventDataType {
|
|
1870
|
+
sessionId: SessionID;
|
|
1871
|
+
targetInfo: TargetInfo;
|
|
1872
|
+
waitingForDebugger: boolean;
|
|
1873
|
+
}
|
|
1874
|
+
}
|
|
1851
1875
|
|
|
1852
1876
|
/**
|
|
1853
1877
|
* The `inspector.Session` is used for dispatching messages to the V8 inspector
|
|
@@ -2237,6 +2261,8 @@ declare module 'inspector' {
|
|
|
2237
2261
|
*/
|
|
2238
2262
|
post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void;
|
|
2239
2263
|
post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', callback?: (err: Error | null) => void): void;
|
|
2264
|
+
post(method: 'Target.setAutoAttach', params?: Target.SetAutoAttachParameterType, callback?: (err: Error | null) => void): void;
|
|
2265
|
+
post(method: 'Target.setAutoAttach', callback?: (err: Error | null) => void): void;
|
|
2240
2266
|
|
|
2241
2267
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
2242
2268
|
/**
|
|
@@ -2355,6 +2381,8 @@ declare module 'inspector' {
|
|
|
2355
2381
|
* example, when inspector.waitingForDebugger is called
|
|
2356
2382
|
*/
|
|
2357
2383
|
addListener(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
2384
|
+
addListener(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
2385
|
+
addListener(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
2358
2386
|
emit(event: string | symbol, ...args: any[]): boolean;
|
|
2359
2387
|
emit(event: 'inspectorNotification', message: InspectorNotification<object>): boolean;
|
|
2360
2388
|
emit(event: 'Runtime.executionContextCreated', message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>): boolean;
|
|
@@ -2388,6 +2416,8 @@ declare module 'inspector' {
|
|
|
2388
2416
|
emit(event: 'Network.loadingFinished', message: InspectorNotification<Network.LoadingFinishedEventDataType>): boolean;
|
|
2389
2417
|
emit(event: 'NodeRuntime.waitingForDisconnect'): boolean;
|
|
2390
2418
|
emit(event: 'NodeRuntime.waitingForDebugger'): boolean;
|
|
2419
|
+
emit(event: 'Target.targetCreated', message: InspectorNotification<Target.TargetCreatedEventDataType>): boolean;
|
|
2420
|
+
emit(event: 'Target.attachedToTarget', message: InspectorNotification<Target.AttachedToTargetEventDataType>): boolean;
|
|
2391
2421
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
2392
2422
|
/**
|
|
2393
2423
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -2505,6 +2535,8 @@ declare module 'inspector' {
|
|
|
2505
2535
|
* example, when inspector.waitingForDebugger is called
|
|
2506
2536
|
*/
|
|
2507
2537
|
on(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
2538
|
+
on(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
2539
|
+
on(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
2508
2540
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
2509
2541
|
/**
|
|
2510
2542
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -2622,6 +2654,8 @@ declare module 'inspector' {
|
|
|
2622
2654
|
* example, when inspector.waitingForDebugger is called
|
|
2623
2655
|
*/
|
|
2624
2656
|
once(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
2657
|
+
once(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
2658
|
+
once(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
2625
2659
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
2626
2660
|
/**
|
|
2627
2661
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -2739,6 +2773,8 @@ declare module 'inspector' {
|
|
|
2739
2773
|
* example, when inspector.waitingForDebugger is called
|
|
2740
2774
|
*/
|
|
2741
2775
|
prependListener(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
2776
|
+
prependListener(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
2777
|
+
prependListener(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
2742
2778
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
2743
2779
|
/**
|
|
2744
2780
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -2856,6 +2892,8 @@ declare module 'inspector' {
|
|
|
2856
2892
|
* example, when inspector.waitingForDebugger is called
|
|
2857
2893
|
*/
|
|
2858
2894
|
prependOnceListener(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
2895
|
+
prependOnceListener(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
2896
|
+
prependOnceListener(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
2859
2897
|
}
|
|
2860
2898
|
|
|
2861
2899
|
/**
|
|
@@ -3010,6 +3048,7 @@ declare module 'inspector/promises' {
|
|
|
3010
3048
|
NodeWorker,
|
|
3011
3049
|
Network,
|
|
3012
3050
|
NodeRuntime,
|
|
3051
|
+
Target,
|
|
3013
3052
|
} from 'inspector';
|
|
3014
3053
|
|
|
3015
3054
|
/**
|
|
@@ -3346,6 +3385,7 @@ declare module 'inspector/promises' {
|
|
|
3346
3385
|
* Enable the `NodeRuntime.waitingForDisconnect`.
|
|
3347
3386
|
*/
|
|
3348
3387
|
post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType): Promise<void>;
|
|
3388
|
+
post(method: 'Target.setAutoAttach', params?: Target.SetAutoAttachParameterType): Promise<void>;
|
|
3349
3389
|
|
|
3350
3390
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
3351
3391
|
/**
|
|
@@ -3464,6 +3504,8 @@ declare module 'inspector/promises' {
|
|
|
3464
3504
|
* example, when inspector.waitingForDebugger is called
|
|
3465
3505
|
*/
|
|
3466
3506
|
addListener(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
3507
|
+
addListener(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3508
|
+
addListener(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3467
3509
|
emit(event: string | symbol, ...args: any[]): boolean;
|
|
3468
3510
|
emit(event: 'inspectorNotification', message: InspectorNotification<object>): boolean;
|
|
3469
3511
|
emit(event: 'Runtime.executionContextCreated', message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>): boolean;
|
|
@@ -3497,6 +3539,8 @@ declare module 'inspector/promises' {
|
|
|
3497
3539
|
emit(event: 'Network.loadingFinished', message: InspectorNotification<Network.LoadingFinishedEventDataType>): boolean;
|
|
3498
3540
|
emit(event: 'NodeRuntime.waitingForDisconnect'): boolean;
|
|
3499
3541
|
emit(event: 'NodeRuntime.waitingForDebugger'): boolean;
|
|
3542
|
+
emit(event: 'Target.targetCreated', message: InspectorNotification<Target.TargetCreatedEventDataType>): boolean;
|
|
3543
|
+
emit(event: 'Target.attachedToTarget', message: InspectorNotification<Target.AttachedToTargetEventDataType>): boolean;
|
|
3500
3544
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
3501
3545
|
/**
|
|
3502
3546
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -3614,6 +3658,8 @@ declare module 'inspector/promises' {
|
|
|
3614
3658
|
* example, when inspector.waitingForDebugger is called
|
|
3615
3659
|
*/
|
|
3616
3660
|
on(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
3661
|
+
on(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3662
|
+
on(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3617
3663
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
3618
3664
|
/**
|
|
3619
3665
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -3731,6 +3777,8 @@ declare module 'inspector/promises' {
|
|
|
3731
3777
|
* example, when inspector.waitingForDebugger is called
|
|
3732
3778
|
*/
|
|
3733
3779
|
once(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
3780
|
+
once(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3781
|
+
once(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3734
3782
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
3735
3783
|
/**
|
|
3736
3784
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -3848,6 +3896,8 @@ declare module 'inspector/promises' {
|
|
|
3848
3896
|
* example, when inspector.waitingForDebugger is called
|
|
3849
3897
|
*/
|
|
3850
3898
|
prependListener(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
3899
|
+
prependListener(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3900
|
+
prependListener(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3851
3901
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
3852
3902
|
/**
|
|
3853
3903
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -3965,6 +4015,8 @@ declare module 'inspector/promises' {
|
|
|
3965
4015
|
* example, when inspector.waitingForDebugger is called
|
|
3966
4016
|
*/
|
|
3967
4017
|
prependOnceListener(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
|
|
4018
|
+
prependOnceListener(event: 'Target.targetCreated', listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
4019
|
+
prependOnceListener(event: 'Target.attachedToTarget', listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3968
4020
|
}
|
|
3969
4021
|
|
|
3970
4022
|
export {
|
|
@@ -3985,6 +4037,7 @@ declare module 'inspector/promises' {
|
|
|
3985
4037
|
NodeWorker,
|
|
3986
4038
|
Network,
|
|
3987
4039
|
NodeRuntime,
|
|
4040
|
+
Target,
|
|
3988
4041
|
};
|
|
3989
4042
|
}
|
|
3990
4043
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "24.0
|
|
3
|
+
"version": "24.1.0",
|
|
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",
|
|
@@ -235,6 +155,6 @@
|
|
|
235
155
|
"undici-types": "~7.8.0"
|
|
236
156
|
},
|
|
237
157
|
"peerDependencies": {},
|
|
238
|
-
"typesPublisherContentHash": "
|
|
158
|
+
"typesPublisherContentHash": "83cb68186fcf703a4b7951de645e523dc4495aa83f0ef95d9b64cb5032c5b1d6",
|
|
239
159
|
"typeScriptVersion": "5.1"
|
|
240
160
|
}
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
# [1.11.0](https://github.com/axios/axios/compare/v1.10.0...v1.11.0) (2025-07-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* form-data npm pakcage ([#6970](https://github.com/axios/axios/issues/6970)) ([e72c193](https://github.com/axios/axios/commit/e72c193722530db538b19e5ddaaa4544d226b253))
|
|
9
|
+
* prevent RangeError when using large Buffers ([#6961](https://github.com/axios/axios/issues/6961)) ([a2214ca](https://github.com/axios/axios/commit/a2214ca1bc60540baf2c80573cea3a0ff91ba9d1))
|
|
10
|
+
* **types:** resolve type discrepancies between ESM and CJS TypeScript declaration files ([#6956](https://github.com/axios/axios/issues/6956)) ([8517aa1](https://github.com/axios/axios/commit/8517aa16f8d082fc1d5309c642220fa736159110))
|
|
11
|
+
|
|
12
|
+
### Contributors to this release
|
|
13
|
+
|
|
14
|
+
- <img src="https://avatars.githubusercontent.com/u/12534341?v=4&s=18" alt="avatar" width="18"/> [izzy goldman](https://github.com/izzygld "+186/-93 (#6970 )")
|
|
15
|
+
- <img src="https://avatars.githubusercontent.com/u/142807367?v=4&s=18" alt="avatar" width="18"/> [Manish Sahani](https://github.com/manishsahanidev "+70/-0 (#6961 )")
|
|
16
|
+
- <img src="https://avatars.githubusercontent.com/u/189505037?v=4&s=18" alt="avatar" width="18"/> [Noritaka Kobayashi](https://github.com/noritaka1166 "+12/-10 (#6938 #6939 )")
|
|
17
|
+
- <img src="https://avatars.githubusercontent.com/u/392612?v=4&s=18" alt="avatar" width="18"/> [James Nail](https://github.com/jrnail23 "+13/-2 (#6956 )")
|
|
18
|
+
- <img src="https://avatars.githubusercontent.com/u/163745239?v=4&s=18" alt="avatar" width="18"/> [Tejaswi1305](https://github.com/Tejaswi1305 "+1/-1 (#6894 )")
|
|
19
|
+
|
|
3
20
|
# [1.10.0](https://github.com/axios/axios/compare/v1.9.0...v1.10.0) (2025-06-14)
|
|
4
21
|
|
|
5
22
|
|
|
@@ -4,12 +4,9 @@
|
|
|
4
4
|
</td><td align="center" width="33.333333333333336%"> <a href="https://twicsy.com/buy-instagram-followers?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="85px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/buy-instagram-followers-twicsy.png" alt="Buy Instagram Followers Twicsy"/> </a> <p align="center" title="Buy real Instagram followers from Twicsy starting at only $2.97. Twicsy has been voted the best site to buy followers from the likes of US Magazine.">Buy real Instagram followers from Twicsy starting at only $2.97. Twicsy has been voted the best site...</p> <p align="center"> <a href="https://twicsy.com/buy-instagram-followers?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>twicsy.com</b></a> </p>
|
|
5
5
|
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://www.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship" style="padding: 10px; display: inline-block"> <picture> <source width="200px" height="52px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/descope_white.png"> <img width="200px" height="52px" src="https://axios-http.com/assets/sponsors/descope.png" alt="Descope"/> </picture> </a> <p align="center" title="Hi, we're Descope! We are building something in the authentication space for app developers and can’t wait to place it in your hands.">Hi, we're Descope! We are building something in the authentication space for app developers and...</p> <p align="center"> <a href="https://www.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship"><b>Website</b></a> | <a href="https://docs.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship"><b>Docs</b></a> | <a href="https://www.descope.com/community?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship"><b>Community</b></a> </p>
|
|
6
6
|
</td><td align="center" width="33.333333333333336%"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="62px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/buzzoid-buy-instagram-followers.png" alt="Buzzoid - Buy Instagram Followers"/> </a> <p align="center" title="At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rated world's #1 IG service since 2012.">At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rate...</p> <p align="center"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>buzzoid.com</b></a> </p>
|
|
7
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://www.famety.
|
|
7
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://www.famety.net/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/famety-buy-instagram-followers.png" alt="Famety - Buy Instagram Followers"/> </a> <p align="center" title="At Famety, you can grow your social media following quickly, safely, and easily with just a few clicks. Rated the world’s #1 social media service since 2013.">At Famety, you can grow your social media following quickly, safely, and easily with just a few clic...</p> <p align="center"> <a href="https://www.famety.net/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>www.famety.net</b></a> </p>
|
|
8
8
|
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://poprey.com/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/instagram-likes.png" alt="Poprey - Buy Instagram Likes"/> </a> <p align="center" title="Buy Instagram Likes">Buy Instagram Likes</p> <p align="center"> <a href="https://poprey.com/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>poprey.com</b></a> </p>
|
|
9
9
|
</td><td align="center" width="33.333333333333336%"> <a href="https://ssmarket.net/buy-youtube-subscribers?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/youtube-subscribers-ssmarket.png" alt="Buy Youtube Subscribers"/> </a> <p align="center" title="SS Market offers professional social media services that rapidly increase your YouTube subscriber count, elevating your channel to a powerful position.">SS Market offers professional social media services that rapidly increase your YouTube subscriber co...</p> <p align="center"> <a href="https://ssmarket.net/buy-youtube-subscribers?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>ssmarket.net</b></a> </p>
|
|
10
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://www.reddit.com/r/TikTokExpert/comments/1kamfi7/where_can_i_buy_youtube_views_likes_subscribers/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/buy-youtube-views-likes-reddit.png" alt="Buy YouTube Views & Subscribers"/> </a> <p align="center" title="Recommend trusted and best sites to buy YouTube subscribers, likes and views">Recommend trusted and best sites to buy YouTube subscribers, likes and views</p> <p align="center"> <a href="https://www.reddit.com/r/TikTokExpert/comments/1kamfi7/where_can_i_buy_youtube_views_likes_subscribers/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>www.reddit.com</b></a> </p>
|
|
11
|
-
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://smmpanelserver.com/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="200px" height="56px" src="https://axios-http.com/assets/sponsors/opencollective/smmpanelserver123.png" alt="smmpanelserver"/> </a> <p align="center" title="smmpanelserver - Best and Cheapest Smm Panel">smmpanelserver - Best and Cheapest Smm Panel</p> <p align="center"> <a href="https://smmpanelserver.com/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>smmpanelserver.com</b></a> </p>
|
|
12
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute">💜 Become a sponsor</a>
|
|
13
10
|
</td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute">💜 Become a sponsor</a>
|
|
14
11
|
</td></tr></table>
|
|
15
12
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Axios v1.
|
|
1
|
+
/*! Axios v1.11.0 Copyright (c) 2025 Matt Zabriskie and contributors */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(factory) :
|
|
@@ -818,6 +818,26 @@
|
|
|
818
818
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(toStringTag in val) && !(iterator in val);
|
|
819
819
|
};
|
|
820
820
|
|
|
821
|
+
/**
|
|
822
|
+
* Determine if a value is an empty object (safely handles Buffers)
|
|
823
|
+
*
|
|
824
|
+
* @param {*} val The value to test
|
|
825
|
+
*
|
|
826
|
+
* @returns {boolean} True if value is an empty object, otherwise false
|
|
827
|
+
*/
|
|
828
|
+
var isEmptyObject = function isEmptyObject(val) {
|
|
829
|
+
// Early return for non-objects or Buffers to prevent RangeError
|
|
830
|
+
if (!isObject(val) || isBuffer(val)) {
|
|
831
|
+
return false;
|
|
832
|
+
}
|
|
833
|
+
try {
|
|
834
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
835
|
+
} catch (e) {
|
|
836
|
+
// Fallback for any other objects that might cause RangeError with Object.keys()
|
|
837
|
+
return false;
|
|
838
|
+
}
|
|
839
|
+
};
|
|
840
|
+
|
|
821
841
|
/**
|
|
822
842
|
* Determine if a value is a Date
|
|
823
843
|
*
|
|
@@ -942,6 +962,11 @@
|
|
|
942
962
|
fn.call(null, obj[i], i, obj);
|
|
943
963
|
}
|
|
944
964
|
} else {
|
|
965
|
+
// Buffer check
|
|
966
|
+
if (isBuffer(obj)) {
|
|
967
|
+
return;
|
|
968
|
+
}
|
|
969
|
+
|
|
945
970
|
// Iterate over object keys
|
|
946
971
|
var keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
947
972
|
var len = keys.length;
|
|
@@ -953,6 +978,9 @@
|
|
|
953
978
|
}
|
|
954
979
|
}
|
|
955
980
|
function findKey(obj, key) {
|
|
981
|
+
if (isBuffer(obj)) {
|
|
982
|
+
return null;
|
|
983
|
+
}
|
|
956
984
|
key = key.toLowerCase();
|
|
957
985
|
var keys = Object.keys(obj);
|
|
958
986
|
var i = keys.length;
|
|
@@ -1286,6 +1314,11 @@
|
|
|
1286
1314
|
if (stack.indexOf(source) >= 0) {
|
|
1287
1315
|
return;
|
|
1288
1316
|
}
|
|
1317
|
+
|
|
1318
|
+
//Buffer check
|
|
1319
|
+
if (isBuffer(source)) {
|
|
1320
|
+
return source;
|
|
1321
|
+
}
|
|
1289
1322
|
if (!('toJSON' in source)) {
|
|
1290
1323
|
stack[i] = source;
|
|
1291
1324
|
var target = isArray(source) ? [] : {};
|
|
@@ -1347,6 +1380,7 @@
|
|
|
1347
1380
|
isBoolean: isBoolean,
|
|
1348
1381
|
isObject: isObject,
|
|
1349
1382
|
isPlainObject: isPlainObject,
|
|
1383
|
+
isEmptyObject: isEmptyObject,
|
|
1350
1384
|
isReadableStream: isReadableStream,
|
|
1351
1385
|
isRequest: isRequest,
|
|
1352
1386
|
isResponse: isResponse,
|
|
@@ -1907,7 +1941,7 @@
|
|
|
1907
1941
|
var platform = _objectSpread2(_objectSpread2({}, utils), platform$1);
|
|
1908
1942
|
|
|
1909
1943
|
function toURLEncodedForm(data, options) {
|
|
1910
|
-
return toFormData(data, new platform.classes.URLSearchParams(),
|
|
1944
|
+
return toFormData(data, new platform.classes.URLSearchParams(), _objectSpread2({
|
|
1911
1945
|
visitor: function visitor(value, key, path, helpers) {
|
|
1912
1946
|
if (platform.isNode && utils$1.isBuffer(value)) {
|
|
1913
1947
|
this.append(key, value.toString('base64'));
|
|
@@ -2576,7 +2610,7 @@
|
|
|
2576
2610
|
clearTimeout(timer);
|
|
2577
2611
|
timer = null;
|
|
2578
2612
|
}
|
|
2579
|
-
fn.apply(
|
|
2613
|
+
fn.apply(void 0, _toConsumableArray(args));
|
|
2580
2614
|
};
|
|
2581
2615
|
var throttled = function throttled() {
|
|
2582
2616
|
var now = Date.now();
|
|
@@ -2824,7 +2858,7 @@
|
|
|
2824
2858
|
return mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true);
|
|
2825
2859
|
}
|
|
2826
2860
|
};
|
|
2827
|
-
utils$1.forEach(Object.keys(
|
|
2861
|
+
utils$1.forEach(Object.keys(_objectSpread2(_objectSpread2({}, config1), config2)), function computeConfigValue(prop) {
|
|
2828
2862
|
var merge = mergeMap[prop] || mergeDeepProperties;
|
|
2829
2863
|
var configValue = merge(config1[prop], config2[prop], prop);
|
|
2830
2864
|
utils$1.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue);
|
|
@@ -3677,7 +3711,7 @@
|
|
|
3677
3711
|
});
|
|
3678
3712
|
}
|
|
3679
3713
|
|
|
3680
|
-
var VERSION = "1.
|
|
3714
|
+
var VERSION = "1.11.0";
|
|
3681
3715
|
|
|
3682
3716
|
var validators$1 = {};
|
|
3683
3717
|
|