@contrast/agent-bundle 5.41.0 → 5.45.1
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/README.md +1 -10
- package/node_modules/@contrast/agent/README.md +1 -10
- package/node_modules/@contrast/agent/package.json +13 -12
- package/node_modules/@contrast/agent-swc-plugin/package.json +3 -3
- package/node_modules/@contrast/agentify/lib/rewrite-hooks.js +3 -3
- package/node_modules/@contrast/agentify/lib/utils.js +13 -7
- package/node_modules/@contrast/agentify/package.json +17 -17
- package/node_modules/@contrast/architecture-components/package.json +6 -6
- package/node_modules/@contrast/assess/lib/dataflow/propagation/install/ejs/template.js +1 -1
- package/node_modules/@contrast/assess/lib/dataflow/propagation/install/pug/index.js +1 -1
- package/node_modules/@contrast/assess/lib/dataflow/sinks/install/http/server-response.js +1 -12
- package/node_modules/@contrast/assess/lib/dataflow/sinks/install/restify.js +1 -1
- package/node_modules/@contrast/assess/lib/dataflow/sources/install/http.js +1 -1
- package/node_modules/@contrast/assess/lib/dataflow/tracker.js +1 -1
- package/node_modules/@contrast/assess/lib/get-source-context.js +1 -1
- package/node_modules/@contrast/assess/lib/response-scanning/install/http.js +0 -12
- package/node_modules/@contrast/assess/package.json +14 -14
- package/node_modules/@contrast/code-events/binding.gyp +1 -1
- package/node_modules/@contrast/code-events/package.json +11 -9
- package/node_modules/@contrast/code-events/prebuilds/darwin-x64+arm64/@contrast+code-events.abi108.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/darwin-x64+arm64/@contrast+code-events.abi115.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/darwin-x64+arm64/@contrast+code-events.abi127.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/darwin-x64+arm64/{@contrast+code-events.abi93.node → @contrast+code-events.abi137.node} +0 -0
- package/node_modules/@contrast/code-events/prebuilds/linux-arm64/@contrast+code-events.abi108.armv8.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/linux-arm64/@contrast+code-events.abi115.armv8.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/linux-arm64/@contrast+code-events.abi127.armv8.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/linux-arm64/@contrast+code-events.abi137.armv8.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/linux-x64/@contrast+code-events.abi108.glibc.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/linux-x64/@contrast+code-events.abi108.musl.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/linux-x64/@contrast+code-events.abi115.glibc.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/linux-x64/@contrast+code-events.abi115.musl.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/linux-x64/@contrast+code-events.abi127.glibc.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/linux-x64/@contrast+code-events.abi127.musl.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/linux-x64/@contrast+code-events.abi137.glibc.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/linux-x64/@contrast+code-events.abi137.musl.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/win32-x64/@contrast+code-events.abi108.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/win32-x64/@contrast+code-events.abi115.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/win32-x64/@contrast+code-events.abi127.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/win32-x64/@contrast+code-events.abi137.node +0 -0
- package/node_modules/@contrast/common/lib/constants.d.ts +1 -1
- package/node_modules/@contrast/common/lib/constants.js +1 -1
- package/node_modules/@contrast/common/lib/index.js +15 -15
- package/node_modules/@contrast/common/lib/primordials.d.ts +22 -20
- package/node_modules/@contrast/common/lib/types.d.ts +18 -6
- package/node_modules/@contrast/common/package.json +2 -2
- package/node_modules/@contrast/config/lib/options.js +29 -4
- package/node_modules/@contrast/config/package.json +4 -4
- package/node_modules/@contrast/core/lib/app-info.js +53 -74
- package/node_modules/@contrast/core/lib/index.d.ts +17 -1
- package/node_modules/@contrast/core/lib/sensitive-data-masking/index.js +33 -5
- package/node_modules/@contrast/core/package.json +10 -9
- package/node_modules/@contrast/deadzones/package.json +6 -6
- package/node_modules/@contrast/dep-hooks/lib/export-handler-registry.d.ts +17 -13
- package/node_modules/@contrast/dep-hooks/lib/export-handler-registry.js +16 -4
- package/node_modules/@contrast/dep-hooks/lib/export-hook-descriptor.d.ts +2 -2
- package/node_modules/@contrast/dep-hooks/lib/export-hook-descriptor.js +2 -3
- package/node_modules/@contrast/dep-hooks/lib/handler-invoker.d.ts +6 -6
- package/node_modules/@contrast/dep-hooks/lib/handler-invoker.js +0 -1
- package/node_modules/@contrast/dep-hooks/lib/helpers.d.ts +0 -7
- package/node_modules/@contrast/dep-hooks/lib/helpers.js +2 -18
- package/node_modules/@contrast/dep-hooks/lib/index.d.ts +17 -12
- package/node_modules/@contrast/dep-hooks/lib/index.js +5 -3
- package/node_modules/@contrast/dep-hooks/lib/package-finder.d.ts +2 -1
- package/node_modules/@contrast/dep-hooks/lib/package-finder.js +6 -6
- package/node_modules/@contrast/dep-hooks/package.json +4 -3
- package/node_modules/@contrast/distringuish/package.json +7 -6
- package/node_modules/@contrast/distringuish/prebuilds/darwin-x64+arm64/@contrast+distringuish.abi108.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/darwin-x64+arm64/@contrast+distringuish.abi115.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/darwin-x64+arm64/@contrast+distringuish.abi127.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/darwin-x64+arm64/{@contrast+distringuish.abi93.node → @contrast+distringuish.abi137.node} +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/linux-arm64/@contrast+distringuish.abi108.armv8.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/linux-arm64/@contrast+distringuish.abi115.armv8.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/linux-arm64/@contrast+distringuish.abi127.armv8.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/linux-arm64/@contrast+distringuish.abi137.armv8.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/linux-x64/@contrast+distringuish.abi108.glibc.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/linux-x64/@contrast+distringuish.abi108.musl.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/linux-x64/@contrast+distringuish.abi115.glibc.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/linux-x64/@contrast+distringuish.abi115.musl.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/linux-x64/@contrast+distringuish.abi127.glibc.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/linux-x64/@contrast+distringuish.abi127.musl.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/linux-x64/@contrast+distringuish.abi137.glibc.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/linux-x64/@contrast+distringuish.abi137.musl.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/win32-x64/@contrast+distringuish.abi108.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/win32-x64/@contrast+distringuish.abi115.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/win32-x64/@contrast+distringuish.abi127.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/win32-x64/@contrast+distringuish.abi137.node +0 -0
- package/node_modules/@contrast/esm-hooks/lib/debug-methods.mjs +4 -4
- package/node_modules/@contrast/esm-hooks/lib/get-file-type.mjs +2 -9
- package/node_modules/@contrast/esm-hooks/lib/hooks.mjs +0 -2
- package/node_modules/@contrast/esm-hooks/lib/redirects/builtin/fs/promises.mjs +2 -0
- package/node_modules/@contrast/esm-hooks/lib/redirects/builtin/fs.mjs +3 -0
- package/node_modules/@contrast/esm-hooks/lib/redirects/builtin/util.mjs +1 -0
- package/node_modules/@contrast/esm-hooks/package.json +7 -7
- package/node_modules/@contrast/fn-inspect/package.json +9 -5
- package/node_modules/@contrast/fn-inspect/prebuilds/darwin-x64+arm64/@contrast+fn-inspect.abi108.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/darwin-x64+arm64/@contrast+fn-inspect.abi115.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/darwin-x64+arm64/@contrast+fn-inspect.abi127.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/darwin-x64+arm64/{@contrast+fn-inspect.abi93.node → @contrast+fn-inspect.abi137.node} +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/linux-arm64/@contrast+fn-inspect.abi108.armv8.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/linux-arm64/@contrast+fn-inspect.abi115.armv8.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/linux-arm64/@contrast+fn-inspect.abi127.armv8.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/linux-arm64/@contrast+fn-inspect.abi137.armv8.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/linux-x64/@contrast+fn-inspect.abi108.glibc.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/linux-x64/@contrast+fn-inspect.abi108.musl.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/linux-x64/@contrast+fn-inspect.abi115.glibc.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/linux-x64/@contrast+fn-inspect.abi115.musl.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/linux-x64/@contrast+fn-inspect.abi127.glibc.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/linux-x64/@contrast+fn-inspect.abi127.musl.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/linux-x64/@contrast+fn-inspect.abi137.glibc.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/linux-x64/{@contrast+fn-inspect.abi93.musl.node → @contrast+fn-inspect.abi137.musl.node} +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/win32-x64/@contrast+fn-inspect.abi108.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/win32-x64/@contrast+fn-inspect.abi115.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/win32-x64/@contrast+fn-inspect.abi127.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/win32-x64/@contrast+fn-inspect.abi137.node +0 -0
- package/node_modules/@contrast/instrumentation/lib/http2.js +0 -11
- package/node_modules/@contrast/instrumentation/package.json +6 -6
- package/node_modules/@contrast/library-analysis/lib/install/library-reporting/dep.json +312 -224
- package/node_modules/@contrast/library-analysis/package.json +6 -6
- package/node_modules/@contrast/logger/lib/index.js +18 -8
- package/node_modules/@contrast/logger/lib/serializers.js +5 -5
- package/node_modules/@contrast/logger/lib/utils.d.ts +0 -6
- package/node_modules/@contrast/logger/package.json +4 -4
- package/node_modules/@contrast/metrics/lib/index.d.ts +6 -6
- package/node_modules/@contrast/metrics/lib/index.js +0 -1
- package/node_modules/@contrast/metrics/package.json +7 -7
- package/node_modules/@contrast/patcher/package.json +3 -3
- package/node_modules/@contrast/perf/package.json +7 -4
- package/node_modules/@contrast/protect/lib/hardening/handlers.js +37 -21
- package/node_modules/@contrast/protect/lib/index.d.ts +3 -2
- package/node_modules/@contrast/protect/lib/index.js +9 -2
- package/node_modules/@contrast/protect/lib/input-analysis/handlers.js +275 -233
- package/node_modules/@contrast/protect/lib/input-analysis/install/http.js +3 -4
- package/node_modules/@contrast/protect/lib/input-tracing/{handlers/index.js → handlers.js} +15 -15
- package/node_modules/@contrast/protect/lib/input-tracing/index.js +0 -1
- package/node_modules/@contrast/protect/lib/make-source-context.js +5 -7
- package/node_modules/@contrast/protect/lib/policy.js +130 -95
- package/node_modules/@contrast/protect/lib/semantic-analysis/handlers.js +19 -18
- package/node_modules/@contrast/protect/package.json +12 -12
- package/node_modules/@contrast/reporter/lib/index.js +1 -1
- package/node_modules/@contrast/reporter/lib/reporters/base.d.ts +0 -1
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/application-activity/index.d.ts +4 -2
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/application-activity/index.js +14 -14
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/application-activity/translations.d.ts +43 -6
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/application-activity/translations.js +262 -429
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/server-inventory.d.ts +3 -3
- 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 +93 -93
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/endpoints/traces/translations.js +12 -13
- package/node_modules/@contrast/reporter/lib/reporters/contrast-ui/utils.js +6 -7
- package/node_modules/@contrast/reporter/lib/reporters/file.js +1 -1
- package/node_modules/@contrast/reporter/lib/reporters/security-logger/index.d.ts +2 -3
- package/node_modules/@contrast/reporter/lib/reporters/security-logger/index.js +72 -86
- package/node_modules/@contrast/reporter/lib/reporters/security-logger/messages.js +6 -7
- package/node_modules/@contrast/reporter/lib/validators.js +0 -1
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/.husky/pre-commit +2 -2
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/.taprc +5 -0
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/README.md +2 -4
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/bench.js +5 -36
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/index.js +56 -300
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/package.json +12 -7
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/test.js +1684 -0
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/types/index.d.ts +1 -2
- package/node_modules/@contrast/reporter/package.json +10 -10
- package/node_modules/@contrast/rewriter/lib/index.js +5 -43
- package/node_modules/@contrast/rewriter/package.json +8 -8
- package/node_modules/@contrast/route-coverage/lib/install/express/express5.js +0 -5
- package/node_modules/@contrast/route-coverage/lib/install/hapi.js +9 -2
- package/node_modules/@contrast/route-coverage/lib/install/restify.js +1 -1
- package/node_modules/@contrast/route-coverage/package.json +10 -10
- package/node_modules/@contrast/scopes/package.json +6 -6
- package/node_modules/@contrast/sec-obs/lib/traces/http.js +1 -1
- package/node_modules/@contrast/sec-obs/lib/traces/http.test.js +1 -1
- package/node_modules/@contrast/sec-obs/package.json +10 -10
- package/node_modules/@contrast/sources/lib/index.js +1 -1
- package/node_modules/@contrast/sources/lib/index.test.js +0 -26
- package/node_modules/@contrast/sources/package.json +3 -3
- package/node_modules/@contrast/telemetry/package.json +6 -6
- package/node_modules/@opentelemetry/semantic-conventions/README.md +3 -2
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.d.ts +4350 -2882
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js +4350 -2882
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.d.ts +136 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js +154 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js.map +1 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.d.ts +713 -141
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js +713 -141
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/index-incubating.d.ts +2 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/index-incubating.js +2 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/index-incubating.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/index.d.ts +1 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/index.js +1 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/index.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.d.ts +7 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js +7 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_events.d.ts +5 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_events.js +23 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_events.js.map +1 -0
- 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 +4350 -2882
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js +4350 -2882
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.d.ts +136 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js +154 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js.map +1 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.d.ts +713 -141
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js +713 -141
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index-incubating.d.ts +2 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index-incubating.js +2 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index-incubating.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index.d.ts +1 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index.js +1 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.d.ts +7 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js +7 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_events.d.ts +5 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_events.js +23 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_events.js.map +1 -0
- 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 +4350 -2882
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js +4354 -2883
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.d.ts +136 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js +157 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js.map +1 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.d.ts +713 -141
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js +720 -147
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/index-incubating.d.ts +2 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/src/index-incubating.js +2 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/src/index-incubating.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/index.d.ts +1 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/src/index.js +1 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/src/index.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.d.ts +7 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js +10 -4
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_events.d.ts +5 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_events.js +26 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_events.js.map +1 -0
- 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 +6 -7
- package/node_modules/@swc/core/README.md +5 -0
- package/node_modules/@swc/core/binding.d.ts +2 -2
- package/node_modules/@swc/core/index.d.ts +5 -4
- package/node_modules/@swc/core/index.js +2 -2
- package/node_modules/@swc/core/package.json +12 -12
- package/node_modules/@swc/core-darwin-arm64/package.json +1 -1
- package/node_modules/@swc/core-darwin-arm64/swc.darwin-arm64.node +0 -0
- package/node_modules/@swc/core-darwin-x64/package.json +1 -1
- package/node_modules/@swc/core-darwin-x64/swc.darwin-x64.node +0 -0
- package/node_modules/@swc/core-linux-arm64-gnu/package.json +1 -1
- package/node_modules/@swc/core-linux-arm64-gnu/swc.linux-arm64-gnu.node +0 -0
- package/node_modules/@swc/core-linux-arm64-musl/package.json +1 -1
- package/node_modules/@swc/core-linux-arm64-musl/swc.linux-arm64-musl.node +0 -0
- package/node_modules/@swc/core-linux-x64-gnu/package.json +1 -1
- package/node_modules/@swc/core-linux-x64-gnu/swc.linux-x64-gnu.node +0 -0
- package/node_modules/@swc/core-linux-x64-musl/package.json +1 -1
- package/node_modules/@swc/core-linux-x64-musl/swc.linux-x64-musl.node +0 -0
- package/node_modules/@swc/core-win32-arm64-msvc/package.json +1 -1
- package/node_modules/@swc/core-win32-arm64-msvc/swc.win32-arm64-msvc.node +0 -0
- package/node_modules/@swc/core-win32-x64-msvc/package.json +1 -1
- package/node_modules/@swc/core-win32-x64-msvc/swc.win32-x64-msvc.node +0 -0
- package/node_modules/@swc/types/index.d.ts +15 -5
- package/node_modules/@swc/types/package.json +2 -2
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/buffer.d.ts +1 -1
- package/node_modules/@types/node/child_process.d.ts +26 -122
- package/node_modules/@types/node/crypto.d.ts +61 -11
- package/node_modules/@types/node/dns.d.ts +5 -0
- package/node_modules/@types/node/fs/promises.d.ts +48 -29
- package/node_modules/@types/node/fs.d.ts +52 -37
- package/node_modules/@types/node/globals.d.ts +148 -347
- package/node_modules/@types/node/http.d.ts +29 -5
- package/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@types/node/https.d.ts +5 -0
- package/node_modules/@types/node/index.d.ts +7 -2
- package/node_modules/@types/node/inspector.d.ts +187 -3985
- package/node_modules/@types/node/inspector.generated.d.ts +4052 -0
- package/node_modules/@types/node/module.d.ts +25 -0
- package/node_modules/@types/node/net.d.ts +21 -0
- package/node_modules/@types/node/package.json +4 -9
- 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 +34 -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 +120 -1
- package/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@types/node/tls.d.ts +32 -0
- package/node_modules/@types/node/ts5.6/index.d.ts +7 -2
- package/node_modules/@types/node/ts5.7/index.d.ts +7 -2
- package/node_modules/@types/node/url.d.ts +20 -6
- package/node_modules/@types/node/util.d.ts +12 -6
- package/node_modules/@types/node/vm.d.ts +73 -10
- package/node_modules/@types/node/wasi.d.ts +21 -0
- package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/@types/node/{dom-events.d.ts → web-globals/events.d.ts} +47 -52
- package/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
- package/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@types/node/worker_threads.d.ts +63 -3
- package/node_modules/@types/node/zlib.d.ts +8 -2
- package/node_modules/axios/CHANGELOG.md +58 -0
- package/node_modules/axios/README.md +87 -10
- package/node_modules/axios/dist/axios.js +355 -289
- 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 +286 -213
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +286 -213
- 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 +377 -213
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +12 -5
- package/node_modules/axios/index.d.ts +13 -4
- package/node_modules/axios/lib/adapters/adapters.js +6 -4
- package/node_modules/axios/lib/adapters/fetch.js +221 -162
- package/node_modules/axios/lib/adapters/http.js +18 -0
- package/node_modules/axios/lib/adapters/xhr.js +11 -8
- package/node_modules/axios/lib/core/Axios.js +0 -2
- package/node_modules/axios/lib/core/AxiosError.js +10 -3
- package/node_modules/axios/lib/core/dispatchRequest.js +1 -1
- package/node_modules/axios/lib/defaults/index.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/buildURL.js +1 -3
- package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +73 -0
- package/node_modules/axios/lib/helpers/resolveConfig.js +13 -9
- package/node_modules/axios/lib/utils.js +5 -3
- package/node_modules/axios/package.json +18 -12
- package/node_modules/balanced-match/.github/FUNDING.yml +2 -0
- package/node_modules/balanced-match/LICENSE.md +21 -0
- package/node_modules/balanced-match/README.md +97 -0
- package/node_modules/balanced-match/index.js +62 -0
- package/node_modules/balanced-match/package.json +48 -0
- package/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
- package/node_modules/brace-expansion/LICENSE +21 -0
- package/node_modules/brace-expansion/README.md +135 -0
- package/node_modules/brace-expansion/index.js +203 -0
- package/node_modules/brace-expansion/package.json +49 -0
- package/node_modules/detect-libc/lib/detect-libc.js +59 -13
- package/node_modules/detect-libc/lib/elf.js +39 -0
- package/node_modules/detect-libc/lib/filesystem.js +18 -8
- package/node_modules/detect-libc/package.json +3 -2
- package/node_modules/minimatch/LICENSE +15 -0
- package/node_modules/minimatch/README.md +454 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/ast.d.ts +20 -0
- package/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/ast.js +592 -0
- package/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/escape.d.ts +12 -0
- package/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/escape.js +22 -0
- package/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/index.d.ts +94 -0
- package/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/index.js +1017 -0
- package/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/node_modules/minimatch/dist/commonjs/unescape.d.ts +17 -0
- package/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
- package/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/node_modules/minimatch/dist/esm/ast.d.ts +20 -0
- package/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/ast.js +588 -0
- package/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/node_modules/minimatch/dist/esm/escape.d.ts +12 -0
- package/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/escape.js +18 -0
- package/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/node_modules/minimatch/dist/esm/index.d.ts +94 -0
- package/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/index.js +1001 -0
- package/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/node_modules/minimatch/dist/esm/package.json +3 -0
- package/node_modules/minimatch/dist/esm/unescape.d.ts +17 -0
- package/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/unescape.js +20 -0
- package/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/node_modules/minimatch/package.json +82 -0
- package/node_modules/node-abi/LICENSE +21 -0
- package/node_modules/node-abi/README.md +54 -0
- package/node_modules/node-abi/abi_registry.json +408 -0
- package/node_modules/node-abi/getNextTarget.js +13 -0
- package/node_modules/node-abi/index.js +161 -0
- package/node_modules/node-abi/package.json +46 -0
- package/node_modules/node-addon-api/README.md +25 -249
- package/node_modules/node-addon-api/common.gypi +1 -0
- package/node_modules/node-addon-api/index.js +2 -0
- package/node_modules/node-addon-api/napi-inl.h +592 -166
- package/node_modules/node-addon-api/napi.h +167 -59
- package/node_modules/node-addon-api/node_addon_api.gyp +10 -0
- package/node_modules/node-addon-api/noexcept.gypi +1 -1
- package/node_modules/node-addon-api/package.json +13 -13
- package/node_modules/node-addon-api/tools/conversion.js +1 -1
- package/node_modules/protobufjs/dist/light/protobuf.js +2 -2
- package/node_modules/protobufjs/dist/light/protobuf.min.js +2 -2
- package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
- package/node_modules/protobufjs/dist/protobuf.js +2 -2
- package/node_modules/protobufjs/dist/protobuf.min.js +2 -2
- package/node_modules/protobufjs/google/protobuf/descriptor.json +2 -2
- package/node_modules/protobufjs/google/protobuf/descriptor.proto +2 -1
- package/node_modules/protobufjs/package.json +1 -1
- 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/diagnostics-channel.d.ts +9 -0
- package/node_modules/undici-types/dispatcher.d.ts +3 -2
- package/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -1
- package/node_modules/undici-types/eventsource.d.ts +3 -3
- package/node_modules/undici-types/fetch.d.ts +1 -0
- package/node_modules/undici-types/handlers.d.ts +1 -1
- package/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/undici-types/mock-client.d.ts +2 -0
- package/node_modules/undici-types/mock-interceptor.d.ts +2 -0
- package/node_modules/undici-types/mock-pool.d.ts +2 -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/undici-types/retry-handler.d.ts +9 -0
- package/node_modules/undici-types/webidl.d.ts +29 -15
- package/node_modules/undici-types/websocket.d.ts +3 -1
- 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 +4 -3
- package/node_modules/@contrast/code-events/prebuilds/linux-arm64/@contrast+code-events.abi93.armv8.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/linux-x64/@contrast+code-events.abi93.glibc.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/linux-x64/@contrast+code-events.abi93.musl.node +0 -0
- package/node_modules/@contrast/code-events/prebuilds/win32-x64/@contrast+code-events.abi93.node +0 -0
- package/node_modules/@contrast/core/lib/sensitive-data-masking/protect-listener.js +0 -111
- package/node_modules/@contrast/distringuish/prebuilds/linux-arm64/@contrast+distringuish.abi93.armv8.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/linux-x64/@contrast+distringuish.abi93.glibc.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/linux-x64/@contrast+distringuish.abi93.musl.node +0 -0
- package/node_modules/@contrast/distringuish/prebuilds/win32-x64/@contrast+distringuish.abi93.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/linux-arm64/@contrast+fn-inspect.abi93.armv8.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/linux-x64/@contrast+fn-inspect.abi93.glibc.node +0 -0
- package/node_modules/@contrast/fn-inspect/prebuilds/win32-x64/@contrast+fn-inspect.abi93.node +0 -0
- package/node_modules/@contrast/perf/lib/index.test.js +0 -547
- package/node_modules/@contrast/perf/lib/tsconfig.json +0 -31
- package/node_modules/@contrast/protect/lib/input-tracing/install/spdy.js +0 -63
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/.taprc.yaml +0 -11
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/test/destroy.test.js +0 -49
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/test/end.test.js +0 -98
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/test/flush-sync.test.js +0 -140
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/test/flush.test.js +0 -419
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/test/fsync.test.js +0 -63
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/test/helper.js +0 -42
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/test/minlength.test.js +0 -35
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/test/mode.test.js +0 -116
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/test/reopen.test.js +0 -239
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/test/retry.test.js +0 -414
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/test/sync.test.js +0 -261
- package/node_modules/@contrast/reporter/node_modules/sonic-boom/test/write.test.js +0 -465
- 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/node-addon-api/tools/eslint-format.js +0 -79
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"runtime": "node",
|
|
4
|
+
"target": "11.0.0",
|
|
5
|
+
"lts": false,
|
|
6
|
+
"future": false,
|
|
7
|
+
"abi": "67"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"runtime": "node",
|
|
11
|
+
"target": "12.0.0",
|
|
12
|
+
"lts": [
|
|
13
|
+
"2019-10-21",
|
|
14
|
+
"2020-11-30"
|
|
15
|
+
],
|
|
16
|
+
"future": false,
|
|
17
|
+
"abi": "72"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"runtime": "node",
|
|
21
|
+
"target": "13.0.0",
|
|
22
|
+
"lts": false,
|
|
23
|
+
"future": false,
|
|
24
|
+
"abi": "79"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"runtime": "node",
|
|
28
|
+
"target": "14.0.0",
|
|
29
|
+
"lts": [
|
|
30
|
+
"2020-10-27",
|
|
31
|
+
"2021-10-19"
|
|
32
|
+
],
|
|
33
|
+
"future": false,
|
|
34
|
+
"abi": "83"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"runtime": "node",
|
|
38
|
+
"target": "15.0.0",
|
|
39
|
+
"lts": false,
|
|
40
|
+
"future": false,
|
|
41
|
+
"abi": "88"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"runtime": "node",
|
|
45
|
+
"target": "16.0.0",
|
|
46
|
+
"lts": [
|
|
47
|
+
"2021-10-26",
|
|
48
|
+
"2022-10-18"
|
|
49
|
+
],
|
|
50
|
+
"future": false,
|
|
51
|
+
"abi": "93"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"runtime": "node",
|
|
55
|
+
"target": "17.0.0",
|
|
56
|
+
"lts": false,
|
|
57
|
+
"future": false,
|
|
58
|
+
"abi": "102"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"runtime": "node",
|
|
62
|
+
"target": "18.0.0",
|
|
63
|
+
"lts": [
|
|
64
|
+
"2022-10-25",
|
|
65
|
+
"2023-10-18"
|
|
66
|
+
],
|
|
67
|
+
"future": false,
|
|
68
|
+
"abi": "108"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"runtime": "node",
|
|
72
|
+
"target": "19.0.0",
|
|
73
|
+
"lts": false,
|
|
74
|
+
"future": false,
|
|
75
|
+
"abi": "111"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"runtime": "node",
|
|
79
|
+
"target": "20.0.0",
|
|
80
|
+
"lts": [
|
|
81
|
+
"2023-10-24",
|
|
82
|
+
"2024-10-22"
|
|
83
|
+
],
|
|
84
|
+
"future": false,
|
|
85
|
+
"abi": "115"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"runtime": "node",
|
|
89
|
+
"target": "21.0.0",
|
|
90
|
+
"lts": false,
|
|
91
|
+
"future": false,
|
|
92
|
+
"abi": "120"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"runtime": "node",
|
|
96
|
+
"target": "22.0.0",
|
|
97
|
+
"lts": [
|
|
98
|
+
"2024-10-29",
|
|
99
|
+
"2025-10-21"
|
|
100
|
+
],
|
|
101
|
+
"future": false,
|
|
102
|
+
"abi": "127"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"runtime": "node",
|
|
106
|
+
"target": "23.0.0",
|
|
107
|
+
"lts": false,
|
|
108
|
+
"future": false,
|
|
109
|
+
"abi": "131"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"runtime": "node",
|
|
113
|
+
"target": "24.0.0",
|
|
114
|
+
"lts": [
|
|
115
|
+
"2025-10-28",
|
|
116
|
+
"2026-10-20"
|
|
117
|
+
],
|
|
118
|
+
"future": false,
|
|
119
|
+
"abi": "137"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"runtime": "node",
|
|
123
|
+
"target": "25.0.0",
|
|
124
|
+
"lts": false,
|
|
125
|
+
"future": true,
|
|
126
|
+
"abi": "138"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"abi": "70",
|
|
130
|
+
"future": false,
|
|
131
|
+
"lts": false,
|
|
132
|
+
"runtime": "electron",
|
|
133
|
+
"target": "5.0.0-beta.9"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"abi": "73",
|
|
137
|
+
"future": false,
|
|
138
|
+
"lts": false,
|
|
139
|
+
"runtime": "electron",
|
|
140
|
+
"target": "6.0.0-beta.1"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"abi": "75",
|
|
144
|
+
"future": false,
|
|
145
|
+
"lts": false,
|
|
146
|
+
"runtime": "electron",
|
|
147
|
+
"target": "7.0.0-beta.1"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"abi": "76",
|
|
151
|
+
"future": false,
|
|
152
|
+
"lts": false,
|
|
153
|
+
"runtime": "electron",
|
|
154
|
+
"target": "9.0.0-beta.1"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"abi": "76",
|
|
158
|
+
"future": false,
|
|
159
|
+
"lts": false,
|
|
160
|
+
"runtime": "electron",
|
|
161
|
+
"target": "8.0.0-beta.1"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"abi": "80",
|
|
165
|
+
"future": false,
|
|
166
|
+
"lts": false,
|
|
167
|
+
"runtime": "electron",
|
|
168
|
+
"target": "9.0.0-beta.2"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"abi": "82",
|
|
172
|
+
"future": false,
|
|
173
|
+
"lts": false,
|
|
174
|
+
"runtime": "electron",
|
|
175
|
+
"target": "11.0.0-beta.1"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"abi": "82",
|
|
179
|
+
"future": false,
|
|
180
|
+
"lts": false,
|
|
181
|
+
"runtime": "electron",
|
|
182
|
+
"target": "10.0.0-beta.1"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"abi": "85",
|
|
186
|
+
"future": false,
|
|
187
|
+
"lts": false,
|
|
188
|
+
"runtime": "electron",
|
|
189
|
+
"target": "11.0.0-beta.11"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"abi": "87",
|
|
193
|
+
"future": false,
|
|
194
|
+
"lts": false,
|
|
195
|
+
"runtime": "electron",
|
|
196
|
+
"target": "12.0.0-beta.1"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"abi": "89",
|
|
200
|
+
"future": false,
|
|
201
|
+
"lts": false,
|
|
202
|
+
"runtime": "electron",
|
|
203
|
+
"target": "15.0.0-alpha.1"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"abi": "89",
|
|
207
|
+
"future": false,
|
|
208
|
+
"lts": false,
|
|
209
|
+
"runtime": "electron",
|
|
210
|
+
"target": "14.0.0-beta.1"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"abi": "89",
|
|
214
|
+
"future": false,
|
|
215
|
+
"lts": false,
|
|
216
|
+
"runtime": "electron",
|
|
217
|
+
"target": "13.0.0-beta.2"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"abi": "97",
|
|
221
|
+
"future": false,
|
|
222
|
+
"lts": false,
|
|
223
|
+
"runtime": "electron",
|
|
224
|
+
"target": "14.0.2"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"abi": "98",
|
|
228
|
+
"future": false,
|
|
229
|
+
"lts": false,
|
|
230
|
+
"runtime": "electron",
|
|
231
|
+
"target": "15.0.0-beta.7"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"abi": "99",
|
|
235
|
+
"future": false,
|
|
236
|
+
"lts": false,
|
|
237
|
+
"runtime": "electron",
|
|
238
|
+
"target": "16.0.0-alpha.1"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"abi": "101",
|
|
242
|
+
"future": false,
|
|
243
|
+
"lts": false,
|
|
244
|
+
"runtime": "electron",
|
|
245
|
+
"target": "17.0.0-alpha.1"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"abi": "103",
|
|
249
|
+
"future": false,
|
|
250
|
+
"lts": false,
|
|
251
|
+
"runtime": "electron",
|
|
252
|
+
"target": "18.0.0-alpha.1"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"abi": "106",
|
|
256
|
+
"future": false,
|
|
257
|
+
"lts": false,
|
|
258
|
+
"runtime": "electron",
|
|
259
|
+
"target": "19.0.0-alpha.1"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"abi": "107",
|
|
263
|
+
"future": false,
|
|
264
|
+
"lts": false,
|
|
265
|
+
"runtime": "electron",
|
|
266
|
+
"target": "20.0.0-alpha.1"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"abi": "109",
|
|
270
|
+
"future": false,
|
|
271
|
+
"lts": false,
|
|
272
|
+
"runtime": "electron",
|
|
273
|
+
"target": "21.0.0-alpha.1"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"abi": "110",
|
|
277
|
+
"future": false,
|
|
278
|
+
"lts": false,
|
|
279
|
+
"runtime": "electron",
|
|
280
|
+
"target": "22.0.0-alpha.1"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"abi": "113",
|
|
284
|
+
"future": false,
|
|
285
|
+
"lts": false,
|
|
286
|
+
"runtime": "electron",
|
|
287
|
+
"target": "23.0.0-alpha.1"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"abi": "114",
|
|
291
|
+
"future": false,
|
|
292
|
+
"lts": false,
|
|
293
|
+
"runtime": "electron",
|
|
294
|
+
"target": "24.0.0-alpha.1"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"abi": "116",
|
|
298
|
+
"future": false,
|
|
299
|
+
"lts": false,
|
|
300
|
+
"runtime": "electron",
|
|
301
|
+
"target": "26.0.0-alpha.1"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"abi": "116",
|
|
305
|
+
"future": false,
|
|
306
|
+
"lts": false,
|
|
307
|
+
"runtime": "electron",
|
|
308
|
+
"target": "25.0.0-alpha.1"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"abi": "118",
|
|
312
|
+
"future": false,
|
|
313
|
+
"lts": false,
|
|
314
|
+
"runtime": "electron",
|
|
315
|
+
"target": "27.0.0-alpha.1"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"abi": "119",
|
|
319
|
+
"future": false,
|
|
320
|
+
"lts": false,
|
|
321
|
+
"runtime": "electron",
|
|
322
|
+
"target": "28.0.0-alpha.1"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"abi": "121",
|
|
326
|
+
"future": false,
|
|
327
|
+
"lts": false,
|
|
328
|
+
"runtime": "electron",
|
|
329
|
+
"target": "29.0.0-alpha.1"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"abi": "123",
|
|
333
|
+
"future": false,
|
|
334
|
+
"lts": false,
|
|
335
|
+
"runtime": "electron",
|
|
336
|
+
"target": "31.0.0-alpha.1"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"abi": "123",
|
|
340
|
+
"future": false,
|
|
341
|
+
"lts": false,
|
|
342
|
+
"runtime": "electron",
|
|
343
|
+
"target": "30.0.0-alpha.1"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"abi": "125",
|
|
347
|
+
"future": false,
|
|
348
|
+
"lts": false,
|
|
349
|
+
"runtime": "electron",
|
|
350
|
+
"target": "31.0.0-beta.7"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"abi": "128",
|
|
354
|
+
"future": false,
|
|
355
|
+
"lts": false,
|
|
356
|
+
"runtime": "electron",
|
|
357
|
+
"target": "32.0.0-alpha.1"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"abi": "130",
|
|
361
|
+
"future": false,
|
|
362
|
+
"lts": false,
|
|
363
|
+
"runtime": "electron",
|
|
364
|
+
"target": "33.0.0-alpha.1"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"abi": "132",
|
|
368
|
+
"future": false,
|
|
369
|
+
"lts": false,
|
|
370
|
+
"runtime": "electron",
|
|
371
|
+
"target": "34.0.0-alpha.1"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"abi": "133",
|
|
375
|
+
"future": false,
|
|
376
|
+
"lts": false,
|
|
377
|
+
"runtime": "electron",
|
|
378
|
+
"target": "35.0.0-alpha.1"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"abi": "135",
|
|
382
|
+
"future": false,
|
|
383
|
+
"lts": false,
|
|
384
|
+
"runtime": "electron",
|
|
385
|
+
"target": "36.0.0-alpha.1"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"abi": "136",
|
|
389
|
+
"future": false,
|
|
390
|
+
"lts": false,
|
|
391
|
+
"runtime": "electron",
|
|
392
|
+
"target": "37.0.0-alpha.1"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"abi": "139",
|
|
396
|
+
"future": false,
|
|
397
|
+
"lts": false,
|
|
398
|
+
"runtime": "electron",
|
|
399
|
+
"target": "38.0.0-alpha.1"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"abi": "140",
|
|
403
|
+
"future": true,
|
|
404
|
+
"lts": false,
|
|
405
|
+
"runtime": "electron",
|
|
406
|
+
"target": "39.0.0-alpha.1"
|
|
407
|
+
}
|
|
408
|
+
]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import semver from 'semver';
|
|
2
|
+
|
|
3
|
+
export function getNextTarget (runtime, targets) {
|
|
4
|
+
const latest = targets.filter((t) => { return t.runtime === runtime }).slice(-1)[0]
|
|
5
|
+
const increment = runtime === 'electron' ? 'minor' : 'major'
|
|
6
|
+
let next = semver.inc(latest.target, increment)
|
|
7
|
+
// Electron releases appear in the registry in their beta form, sometimes there is
|
|
8
|
+
// no active beta line. During this time we need to double bump
|
|
9
|
+
if (runtime === 'electron' && semver.parse(latest.target).prerelease.length) {
|
|
10
|
+
next = semver.inc(next, 'major')
|
|
11
|
+
}
|
|
12
|
+
return next
|
|
13
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import fs from 'node:fs';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { fileURLToPath } from 'node:url';
|
|
4
|
+
|
|
5
|
+
import semver from 'semver';
|
|
6
|
+
|
|
7
|
+
import { getNextTarget } from './getNextTarget.js';
|
|
8
|
+
|
|
9
|
+
export function getAbi (target, runtime) {
|
|
10
|
+
if (target === String(Number(target))) return target
|
|
11
|
+
if (target) target = target.replace(/^v/, '')
|
|
12
|
+
if (!runtime) runtime = 'node'
|
|
13
|
+
|
|
14
|
+
if (runtime === 'node') {
|
|
15
|
+
if (!target) return process.versions.modules
|
|
16
|
+
if (target === process.versions.node) return process.versions.modules
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
let abi
|
|
20
|
+
let lastTarget
|
|
21
|
+
|
|
22
|
+
for (let i = 0; i < allTargets.length; i++) {
|
|
23
|
+
const t = allTargets[i]
|
|
24
|
+
if (t.runtime !== runtime) continue
|
|
25
|
+
if (semver.lte(t.target, target) && (!lastTarget || semver.gte(t.target, lastTarget))) {
|
|
26
|
+
abi = t.abi
|
|
27
|
+
lastTarget = t.target
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
if (abi && semver.lt(target, getNextTarget(runtime, allTargets))) return abi
|
|
32
|
+
throw new Error('Could not detect abi for version ' + target + ' and runtime ' + runtime + '. Updating "node-abi" might help solve this issue if it is a new release of ' + runtime)
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function getTarget (abi, runtime) {
|
|
36
|
+
if (abi && abi !== String(Number(abi))) return abi
|
|
37
|
+
if (!runtime) runtime = 'node'
|
|
38
|
+
|
|
39
|
+
if (runtime === 'node' && !abi) return process.versions.node
|
|
40
|
+
|
|
41
|
+
const match = allTargets
|
|
42
|
+
.filter(function (t) {
|
|
43
|
+
return t.abi === abi && t.runtime === runtime
|
|
44
|
+
})
|
|
45
|
+
.map(function (t) {
|
|
46
|
+
return t.target
|
|
47
|
+
})
|
|
48
|
+
if (match.length) {
|
|
49
|
+
const betaSeparatorIndex = match[0].indexOf("-")
|
|
50
|
+
return betaSeparatorIndex > -1
|
|
51
|
+
? match[0].substring(0, betaSeparatorIndex)
|
|
52
|
+
: match[0]
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
throw new Error('Could not detect target for abi ' + abi + ' and runtime ' + runtime)
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function sortByTargetFn (a, b) {
|
|
59
|
+
const abiComp = Number(a.abi) - Number(b.abi)
|
|
60
|
+
if (abiComp !== 0) return abiComp
|
|
61
|
+
if (a.target < b.target) return -1
|
|
62
|
+
if (a.target > b.target) return 1
|
|
63
|
+
return 0
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function loadGeneratedTargets () {
|
|
67
|
+
const registry = JSON.parse(fs.readFileSync(path.join(path.dirname(fileURLToPath(import.meta.url)), 'abi_registry.json'), 'utf8'))
|
|
68
|
+
const targets = {
|
|
69
|
+
supported: [],
|
|
70
|
+
additional: [],
|
|
71
|
+
future: []
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
registry.forEach(function (item) {
|
|
75
|
+
const target = {
|
|
76
|
+
runtime: item.runtime,
|
|
77
|
+
target: item.target,
|
|
78
|
+
abi: item.abi
|
|
79
|
+
}
|
|
80
|
+
if (item.lts) {
|
|
81
|
+
const startDate = new Date(Date.parse(item.lts[0]))
|
|
82
|
+
const endDate = new Date(Date.parse(item.lts[1]))
|
|
83
|
+
const currentDate = new Date()
|
|
84
|
+
target.lts = startDate < currentDate && currentDate < endDate
|
|
85
|
+
} else {
|
|
86
|
+
target.lts = false
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
if (target.runtime === 'node-webkit') {
|
|
90
|
+
targets.additional.push(target)
|
|
91
|
+
} else if (item.future) {
|
|
92
|
+
targets.future.push(target)
|
|
93
|
+
} else {
|
|
94
|
+
targets.supported.push(target)
|
|
95
|
+
}
|
|
96
|
+
})
|
|
97
|
+
|
|
98
|
+
targets.supported.sort(sortByTargetFn)
|
|
99
|
+
targets.additional.sort(sortByTargetFn)
|
|
100
|
+
targets.future.sort(sortByTargetFn)
|
|
101
|
+
|
|
102
|
+
return targets
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
const generatedTargets = loadGeneratedTargets()
|
|
106
|
+
|
|
107
|
+
export const supportedTargets = [
|
|
108
|
+
{runtime: 'node', target: '5.0.0', abi: '47', lts: false},
|
|
109
|
+
{runtime: 'node', target: '6.0.0', abi: '48', lts: false},
|
|
110
|
+
{runtime: 'node', target: '7.0.0', abi: '51', lts: false},
|
|
111
|
+
{runtime: 'node', target: '8.0.0', abi: '57', lts: false},
|
|
112
|
+
{runtime: 'node', target: '9.0.0', abi: '59', lts: false},
|
|
113
|
+
{runtime: 'node', target: '10.0.0', abi: '64', lts: new Date(2018, 10, 1) < new Date() && new Date() < new Date(2020, 4, 31)},
|
|
114
|
+
{runtime: 'electron', target: '0.36.0', abi: '47', lts: false},
|
|
115
|
+
{runtime: 'electron', target: '1.1.0', abi: '48', lts: false},
|
|
116
|
+
{runtime: 'electron', target: '1.3.0', abi: '49', lts: false},
|
|
117
|
+
{runtime: 'electron', target: '1.4.0', abi: '50', lts: false},
|
|
118
|
+
{runtime: 'electron', target: '1.5.0', abi: '51', lts: false},
|
|
119
|
+
{runtime: 'electron', target: '1.6.0', abi: '53', lts: false},
|
|
120
|
+
{runtime: 'electron', target: '1.7.0', abi: '54', lts: false},
|
|
121
|
+
{runtime: 'electron', target: '1.8.0', abi: '57', lts: false},
|
|
122
|
+
{runtime: 'electron', target: '2.0.0', abi: '57', lts: false},
|
|
123
|
+
{runtime: 'electron', target: '3.0.0', abi: '64', lts: false},
|
|
124
|
+
{runtime: 'electron', target: '4.0.0', abi: '64', lts: false},
|
|
125
|
+
{runtime: 'electron', target: '4.0.4', abi: '69', lts: false},
|
|
126
|
+
...generatedTargets.supported
|
|
127
|
+
]
|
|
128
|
+
|
|
129
|
+
export const additionalTargets = [
|
|
130
|
+
{runtime: 'node-webkit', target: '0.13.0', abi: '47', lts: false},
|
|
131
|
+
{runtime: 'node-webkit', target: '0.15.0', abi: '48', lts: false},
|
|
132
|
+
{runtime: 'node-webkit', target: '0.18.3', abi: '51', lts: false},
|
|
133
|
+
{runtime: 'node-webkit', target: '0.23.0', abi: '57', lts: false},
|
|
134
|
+
{runtime: 'node-webkit', target: '0.26.5', abi: '59', lts: false},
|
|
135
|
+
...generatedTargets.additional
|
|
136
|
+
]
|
|
137
|
+
|
|
138
|
+
export const deprecatedTargets = [
|
|
139
|
+
{runtime: 'node', target: '0.2.0', abi: '1', lts: false},
|
|
140
|
+
{runtime: 'node', target: '0.9.1', abi: '0x000A', lts: false},
|
|
141
|
+
{runtime: 'node', target: '0.9.9', abi: '0x000B', lts: false},
|
|
142
|
+
{runtime: 'node', target: '0.10.4', abi: '11', lts: false},
|
|
143
|
+
{runtime: 'node', target: '0.11.0', abi: '0x000C', lts: false},
|
|
144
|
+
{runtime: 'node', target: '0.11.8', abi: '13', lts: false},
|
|
145
|
+
{runtime: 'node', target: '0.11.11', abi: '14', lts: false},
|
|
146
|
+
{runtime: 'node', target: '1.0.0', abi: '42', lts: false},
|
|
147
|
+
{runtime: 'node', target: '1.1.0', abi: '43', lts: false},
|
|
148
|
+
{runtime: 'node', target: '2.0.0', abi: '44', lts: false},
|
|
149
|
+
{runtime: 'node', target: '3.0.0', abi: '45', lts: false},
|
|
150
|
+
{runtime: 'node', target: '4.0.0', abi: '46', lts: false},
|
|
151
|
+
{runtime: 'electron', target: '0.30.0', abi: '44', lts: false},
|
|
152
|
+
{runtime: 'electron', target: '0.31.0', abi: '45', lts: false},
|
|
153
|
+
{runtime: 'electron', target: '0.33.0', abi: '46', lts: false}
|
|
154
|
+
]
|
|
155
|
+
|
|
156
|
+
export const futureTargets = generatedTargets.future
|
|
157
|
+
|
|
158
|
+
export const allTargets = deprecatedTargets
|
|
159
|
+
.concat(supportedTargets)
|
|
160
|
+
.concat(additionalTargets)
|
|
161
|
+
.concat(futureTargets)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "node-abi",
|
|
3
|
+
"version": "4.14.0",
|
|
4
|
+
"description": "Get the Node ABI for a given target and runtime, and vice versa.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": "./index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "node --test test/index.js",
|
|
9
|
+
"update-abi-registry": "node --unhandled-rejections=strict scripts/update-abi-registry.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"abi_registry.json",
|
|
13
|
+
"index.js",
|
|
14
|
+
"getNextTarget.js"
|
|
15
|
+
],
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/electron/node-abi.git"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"node",
|
|
22
|
+
"electron",
|
|
23
|
+
"node_module_version",
|
|
24
|
+
"abi",
|
|
25
|
+
"v8"
|
|
26
|
+
],
|
|
27
|
+
"author": "Lukas Geiger",
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/electron/node-abi/issues"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/electron/node-abi#readme",
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@semantic-release/npm": "13.0.0-alpha.15",
|
|
35
|
+
"semantic-release": "^24.2.7"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"semver": "^7.6.3"
|
|
39
|
+
},
|
|
40
|
+
"engines": {
|
|
41
|
+
"node": ">=22.12.0"
|
|
42
|
+
},
|
|
43
|
+
"publishConfig": {
|
|
44
|
+
"provenance": true
|
|
45
|
+
}
|
|
46
|
+
}
|