@openclaw/slack 2026.7.1-beta.2 → 2026.7.1-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{account-inspect-DOtQbKkB.js → account-inspect-Di7ditqZ.js} +1 -1
- package/dist/account-inspect-api.js +1 -1
- package/dist/{accounts-BPCiCe8y.js → accounts-BOJJiHSr.js} +14 -1
- package/dist/accounts.runtime-DWvaCb-X.js +2 -0
- package/dist/{action-runtime-E9QZMf0z.js → action-runtime-DoQGk_8D.js} +36 -32
- package/dist/action-runtime.runtime-BABj3aM-.js +2 -0
- package/dist/{actions-CqRHPciJ.js → actions-DMpDmKEA.js} +211 -57
- package/dist/actions.runtime-C103_BPW.js +2 -0
- package/dist/api.js +13 -13
- package/dist/{approval-handler.runtime-BqNO_HC_.js → approval-handler.runtime-CIUbOt5T.js} +2 -2
- package/dist/{channel-jO8Jdkge.js → channel-CG29WLVd.js} +198 -87
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.setup-CDOZ8V3p.js → channel.setup-Dq6syTNU.js} +3 -3
- package/dist/{client-DG9cyk55.js → client-DGxwSL7f.js} +0 -1
- package/dist/{directory-config-DDVHDmrN.js → directory-config-BZuS8141.js} +1 -1
- package/dist/directory-contract-api.js +1 -1
- package/dist/{directory-live-DC-YA5SQ.js → directory-live-BNsxCgqP.js} +2 -2
- package/dist/format-YCNoNkM2.js +107 -0
- package/dist/http-routes-api.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{interactive-replies-D-22gTp3.js → interactive-replies-CXpT-vA_.js} +13 -2
- package/dist/interactive-replies-api.js +1 -1
- package/dist/{message-tool-api--zYyTqrR.js → message-tool-api-BgWKyu2r.js} +11 -4
- package/dist/message-tool-api.js +1 -1
- package/dist/{monitor-BQ7P93ll.js → monitor-D6Km2CFH.js} +3 -3
- package/dist/outbound-adapter-DVoBfBW5.js +272 -0
- package/dist/{pipeline.runtime-cxw6Zihc.js → pipeline.runtime-0wEFX2CS.js} +184 -260
- package/dist/{plugin-routes-B9PvcDQJ.js → plugin-routes-CLp4obpN.js} +1 -1
- package/dist/{policy-DAE6BTN3.js → policy-Dj-puVPb.js} +10 -4
- package/dist/{probe-DFKt9Ute.js → probe-CuwRDE5j.js} +10 -4
- package/dist/{provider-BdoeWKr8.js → provider-Cot8h818.js} +153 -120
- package/dist/{relay-source-OcqQzKfX.js → relay-source-CU1LhyBj.js} +2 -2
- package/dist/{replies-D_G-EPr8.js → replies-Bbx6pG_B.js} +4 -3
- package/dist/{reply-blocks-CfJqf7eq.js → reply-blocks-BGQ6zSqM.js} +184 -36
- package/dist/{resolve-channels-eniB45fy.js → resolve-channels-CstkChBE.js} +1 -1
- package/dist/{resolve-users-DDKzl37a.js → resolve-users-C3NP2c-Q.js} +1 -1
- package/dist/{runtime-api-DHJ8ntLr.js → runtime-api-CEmqYxR-.js} +1 -1
- package/dist/runtime-api.js +12 -12
- package/dist/{scopes-BdVdJxFf.js → scopes-DCWVD5-8.js} +2 -2
- package/dist/{send-Dg6U9K7_.js → send-DKDXoeoV.js} +392 -225
- package/dist/send.runtime-GPRa63l1.js +2 -0
- package/dist/{setup-core-BCGzyZhx.js → setup-core-fGd6Gquy.js} +4 -3
- package/dist/setup-entry.js +1 -1
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{setup-surface-D7xdZLxB.js → setup-surface-Dv2fIJNB.js} +5 -5
- package/dist/{shared-iMaNxOIL.js → shared-CosfcFri.js} +5 -5
- package/dist/{slash-dispatch.runtime-DVhs_fpQ.js → slash-dispatch.runtime-Ccm3quU1.js} +1 -1
- package/node_modules/@slack/web-api/dist/chat-stream.d.ts +6 -0
- package/node_modules/@slack/web-api/dist/chat-stream.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/chat-stream.js +8 -0
- package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/assistant.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/assistant.d.ts.map +1 -1
- package/node_modules/@slack/web-api/package.json +1 -1
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/assert/strict.d.ts +10 -1
- package/node_modules/@types/node/assert.d.ts +144 -17
- package/node_modules/@types/node/async_hooks.d.ts +9 -9
- package/node_modules/@types/node/buffer.d.ts +64 -30
- package/node_modules/@types/node/child_process.d.ts +17 -21
- package/node_modules/@types/node/cluster.d.ts +13 -13
- package/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@types/node/crypto.d.ts +471 -575
- package/node_modules/@types/node/diagnostics_channel.d.ts +274 -32
- package/node_modules/@types/node/dns.d.ts +15 -15
- package/node_modules/@types/node/events.d.ts +3 -3
- package/node_modules/@types/node/ffi.d.ts +486 -0
- package/node_modules/@types/node/fs/promises.d.ts +7 -4
- package/node_modules/@types/node/fs.d.ts +24 -18
- package/node_modules/@types/node/globals.d.ts +4 -4
- package/node_modules/@types/node/http.d.ts +30 -5
- package/node_modules/@types/node/http2.d.ts +2 -1
- package/node_modules/@types/node/index.d.ts +1 -3
- package/node_modules/@types/node/inspector.d.ts +1 -1
- package/node_modules/@types/node/module.d.ts +16 -45
- package/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/node/os.d.ts +2 -2
- package/node_modules/@types/node/package.json +4 -4
- package/node_modules/@types/node/perf_hooks.d.ts +1 -9
- package/node_modules/@types/node/process.d.ts +25 -12
- package/node_modules/@types/node/quic.d.ts +92 -11
- package/node_modules/@types/node/readline.d.ts +12 -11
- package/node_modules/@types/node/repl.d.ts +10 -10
- package/node_modules/@types/node/sqlite.d.ts +56 -1
- package/node_modules/@types/node/stream/iter.d.ts +150 -0
- package/node_modules/@types/node/stream/promises.d.ts +2 -2
- package/node_modules/@types/node/stream/web.d.ts +1 -1
- package/node_modules/@types/node/stream.d.ts +37 -5
- package/node_modules/@types/node/test/reporters.d.ts +1 -1
- package/node_modules/@types/node/test.d.ts +120 -10
- package/node_modules/@types/node/tls.d.ts +1 -1
- package/node_modules/@types/node/ts5.6/index.d.ts +2 -4
- package/node_modules/@types/node/ts5.7/index.d.ts +1 -3
- package/node_modules/@types/node/url.d.ts +3 -3
- package/node_modules/@types/node/util/types.d.ts +1 -1
- package/node_modules/@types/node/util.d.ts +22 -22
- package/node_modules/@types/node/v8.d.ts +85 -3
- package/node_modules/@types/node/vm.d.ts +9 -9
- package/node_modules/@types/node/web-globals/domexception.d.ts +15 -0
- package/node_modules/@types/node/worker_threads.d.ts +10 -12
- package/node_modules/@types/node/zlib.d.ts +3 -3
- package/node_modules/body-parser/README.md +16 -1
- package/node_modules/body-parser/index.js +4 -20
- package/node_modules/body-parser/lib/read.js +17 -17
- package/node_modules/body-parser/lib/types/json.js +60 -32
- package/node_modules/body-parser/lib/types/raw.js +3 -3
- package/node_modules/body-parser/lib/types/text.js +3 -3
- package/node_modules/body-parser/lib/types/urlencoded.js +16 -20
- package/node_modules/body-parser/lib/utils.js +18 -16
- package/node_modules/body-parser/node_modules/content-type/LICENSE +22 -0
- package/node_modules/body-parser/node_modules/content-type/README.md +69 -0
- package/node_modules/body-parser/node_modules/content-type/dist/index.d.ts +26 -0
- package/node_modules/body-parser/node_modules/content-type/dist/index.js +170 -0
- package/node_modules/body-parser/node_modules/content-type/dist/index.js.map +1 -0
- package/node_modules/body-parser/node_modules/content-type/package.json +52 -0
- package/node_modules/body-parser/package.json +23 -10
- package/node_modules/range-parser/README.md +13 -12
- package/node_modules/range-parser/index.js +27 -8
- package/node_modules/range-parser/package.json +12 -8
- package/node_modules/semver/classes/range.js +6 -2
- package/node_modules/semver/package.json +1 -1
- package/node_modules/side-channel/CHANGELOG.md +10 -0
- package/node_modules/side-channel/README.md +1 -1
- package/node_modules/side-channel/index.js +5 -2
- package/node_modules/side-channel/package.json +10 -10
- package/node_modules/side-channel/test/index.js +16 -0
- package/node_modules/typebox/build/compile/validator.d.mts +2 -7
- package/node_modules/typebox/build/compile/validator.mjs +6 -36
- package/node_modules/typebox/build/error/errors.d.mts +1 -7
- package/node_modules/typebox/build/format/_idna.mjs +36 -6
- package/node_modules/typebox/build/format/_puny.mjs +4 -1
- package/node_modules/typebox/build/format/uuid.d.mts +2 -2
- package/node_modules/typebox/build/format/uuid.mjs +3 -3
- package/node_modules/typebox/build/guard/emit.d.mts +0 -4
- package/node_modules/typebox/build/guard/emit.mjs +0 -8
- package/node_modules/typebox/build/guard/guard.d.mts +4 -8
- package/node_modules/typebox/build/guard/guard.mjs +5 -13
- package/node_modules/typebox/build/schema/engine/boolean.d.mts +3 -3
- package/node_modules/typebox/build/schema/engine/boolean.mjs +4 -4
- package/node_modules/typebox/build/schema/engine/index.d.mts +0 -1
- package/node_modules/typebox/build/schema/engine/index.mjs +0 -1
- package/node_modules/typebox/build/schema/engine/schema.mjs +5 -10
- package/node_modules/typebox/build/schema/engine/type.mjs +14 -18
- package/node_modules/typebox/build/schema/types/dependencies.mjs +1 -1
- package/node_modules/typebox/build/schema/types/index.d.mts +0 -1
- package/node_modules/typebox/build/schema/types/index.mjs +0 -1
- package/node_modules/typebox/build/schema/types/schema.d.mts +1 -1
- package/node_modules/typebox/build/schema/types/schema.mjs +2 -2
- package/node_modules/typebox/build/system/locale/ar_001.mjs +0 -1
- package/node_modules/typebox/build/system/locale/bn_BD.mjs +0 -1
- package/node_modules/typebox/build/system/locale/cs_CZ.mjs +0 -1
- package/node_modules/typebox/build/system/locale/de_DE.mjs +0 -1
- package/node_modules/typebox/build/system/locale/el_GR.mjs +0 -1
- package/node_modules/typebox/build/system/locale/en_US.mjs +0 -1
- package/node_modules/typebox/build/system/locale/es_419.mjs +0 -1
- package/node_modules/typebox/build/system/locale/es_AR.mjs +0 -1
- package/node_modules/typebox/build/system/locale/es_ES.mjs +0 -1
- package/node_modules/typebox/build/system/locale/es_MX.mjs +0 -1
- package/node_modules/typebox/build/system/locale/fa_IR.mjs +0 -1
- package/node_modules/typebox/build/system/locale/fil_PH.mjs +0 -1
- package/node_modules/typebox/build/system/locale/fr_CA.mjs +0 -1
- package/node_modules/typebox/build/system/locale/fr_FR.mjs +0 -1
- package/node_modules/typebox/build/system/locale/ha_NG.mjs +0 -1
- package/node_modules/typebox/build/system/locale/hi_IN.mjs +0 -1
- package/node_modules/typebox/build/system/locale/hu_HU.mjs +0 -1
- package/node_modules/typebox/build/system/locale/id_ID.mjs +0 -1
- package/node_modules/typebox/build/system/locale/it_IT.mjs +0 -1
- package/node_modules/typebox/build/system/locale/ja_JP.mjs +0 -1
- package/node_modules/typebox/build/system/locale/ko_KR.mjs +0 -1
- package/node_modules/typebox/build/system/locale/ms_MY.mjs +0 -1
- package/node_modules/typebox/build/system/locale/nl_NL.mjs +0 -1
- package/node_modules/typebox/build/system/locale/pl_PL.mjs +0 -1
- package/node_modules/typebox/build/system/locale/pt_BR.mjs +0 -1
- package/node_modules/typebox/build/system/locale/pt_PT.mjs +0 -1
- package/node_modules/typebox/build/system/locale/ro_RO.mjs +0 -1
- package/node_modules/typebox/build/system/locale/ru_RU.mjs +0 -1
- package/node_modules/typebox/build/system/locale/sv_SE.mjs +0 -1
- package/node_modules/typebox/build/system/locale/sw_TZ.mjs +0 -1
- package/node_modules/typebox/build/system/locale/th_TH.mjs +0 -1
- package/node_modules/typebox/build/system/locale/tr_TR.mjs +0 -1
- package/node_modules/typebox/build/system/locale/uk_UA.mjs +0 -1
- package/node_modules/typebox/build/system/locale/ur_PK.mjs +0 -1
- package/node_modules/typebox/build/system/locale/vi_VN.mjs +0 -1
- package/node_modules/typebox/build/system/locale/yo_NG.mjs +0 -1
- package/node_modules/typebox/build/system/locale/zh_Hans.mjs +0 -1
- package/node_modules/typebox/build/system/locale/zh_Hant.mjs +0 -1
- package/node_modules/typebox/build/system/memory/clone.d.mts +2 -3
- package/node_modules/typebox/build/system/memory/clone.mjs +73 -26
- package/node_modules/typebox/build/system/settings/settings.d.mts +15 -0
- package/node_modules/typebox/build/system/settings/settings.mjs +3 -1
- package/node_modules/typebox/build/type/action/_add_immutable.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_add_immutable.mjs +11 -0
- package/node_modules/typebox/build/type/action/_add_optional.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_add_optional.mjs +11 -0
- package/node_modules/typebox/build/type/action/_add_readonly.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_add_readonly.mjs +11 -0
- package/node_modules/typebox/build/type/action/_remove_immutable.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_remove_immutable.mjs +11 -0
- package/node_modules/typebox/build/type/action/_remove_optional.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_remove_optional.mjs +11 -0
- package/node_modules/typebox/build/type/action/_remove_readonly.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_remove_readonly.mjs +11 -0
- package/node_modules/typebox/build/type/action/conditional.d.mts +2 -3
- package/node_modules/typebox/build/type/action/conditional.mjs +2 -1
- package/node_modules/typebox/build/type/action/index.d.mts +7 -4
- package/node_modules/typebox/build/type/action/index.mjs +7 -4
- package/node_modules/typebox/build/type/action/mapped.d.mts +2 -3
- package/node_modules/typebox/build/type/action/mapped.mjs +2 -1
- package/node_modules/typebox/build/type/action/module.d.mts +8 -7
- package/node_modules/typebox/build/type/action/module.mjs +7 -6
- package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -5
- package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -5
- package/node_modules/typebox/build/type/action/with.d.mts +11 -0
- package/node_modules/typebox/build/type/action/with.mjs +11 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +1 -1
- package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +1 -3
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +3 -2
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +2 -2
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +3 -4
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +2 -1
- package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +2 -3
- package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +3 -6
- package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +6 -9
- package/node_modules/typebox/build/type/engine/cyclic/check.mjs +10 -16
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +1 -4
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +9 -15
- package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +1 -4
- package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +8 -14
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +2 -5
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +3 -2
- package/node_modules/typebox/build/type/engine/enum/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/enum/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +1 -2
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +2 -6
- package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +10 -6
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +10 -6
- package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +2 -1
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +3 -3
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +17 -5
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +34 -8
- package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +5 -6
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +11 -12
- package/node_modules/typebox/build/type/engine/extract/operation.d.mts +5 -6
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +11 -12
- package/node_modules/typebox/build/type/engine/immutable/instantiate_add.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +14 -0
- package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +14 -0
- package/node_modules/typebox/build/type/engine/index.d.mts +2 -2
- package/node_modules/typebox/build/type/engine/index.mjs +2 -2
- package/node_modules/typebox/build/type/engine/indexable/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +3 -3
- package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +4 -4
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +2 -2
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +3 -3
- package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +3 -1
- package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +9 -6
- package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +2 -1
- package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +5 -2
- package/node_modules/typebox/build/type/engine/instantiate.d.mts +44 -31
- package/node_modules/typebox/build/type/engine/instantiate.mjs +82 -83
- package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +3 -6
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +2 -2
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +3 -3
- package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +2 -1
- package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +5 -1
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +4 -4
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +3 -3
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +5 -4
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +10 -5
- package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +7 -9
- package/node_modules/typebox/build/type/engine/module/instantiate.mjs +17 -15
- package/node_modules/typebox/build/type/engine/object/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/object/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/object/from_type.d.mts +3 -1
- package/node_modules/typebox/build/type/engine/object/from_type.mjs +8 -5
- package/node_modules/typebox/build/type/engine/object/from_union.mjs +2 -2
- package/node_modules/typebox/build/type/engine/optional/instantiate_add.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +14 -0
- package/node_modules/typebox/build/type/engine/optional/instantiate_remove.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +14 -0
- package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +3 -4
- package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +2 -1
- package/node_modules/typebox/build/type/engine/partial/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +1 -1
- package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +3 -2
- package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +2 -2
- package/node_modules/typebox/build/type/engine/partial/from_object.mjs +2 -2
- package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +3 -1
- package/node_modules/typebox/build/type/engine/partial/from_type.mjs +7 -4
- package/node_modules/typebox/build/type/engine/priority/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/priority/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/priority/priority.d.mts +20 -0
- package/node_modules/typebox/build/type/engine/priority/priority.mjs +28 -0
- package/node_modules/typebox/build/type/engine/readonly/instantiate_add.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +14 -0
- package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +14 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +2 -2
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +2 -2
- package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +1 -1
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +3 -2
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +2 -2
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +2 -2
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +2 -2
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +2 -2
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +3 -1
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +8 -5
- package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +2 -2
- package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +2 -2
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +2 -2
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +2 -2
- package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +3 -3
- package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +6 -6
- package/node_modules/typebox/build/type/engine/required/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +1 -1
- package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +3 -2
- package/node_modules/typebox/build/type/engine/required/from_object.d.mts +2 -2
- package/node_modules/typebox/build/type/engine/required/from_object.mjs +2 -2
- package/node_modules/typebox/build/type/engine/required/from_type.d.mts +3 -1
- package/node_modules/typebox/build/type/engine/required/from_type.mjs +7 -4
- package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +3 -3
- package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +2 -2
- package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +6 -6
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +1 -1
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +1 -0
- package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +1 -4
- package/node_modules/typebox/build/type/engine/this/expand_this.mjs +7 -13
- package/node_modules/typebox/build/type/engine/with/instantiate.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/{options → with}/instantiate.mjs +5 -5
- package/node_modules/typebox/build/type/extends/dependent.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/dependent.mjs +6 -0
- package/node_modules/typebox/build/type/extends/enum.d.mts +4 -4
- package/node_modules/typebox/build/type/extends/enum.mjs +3 -2
- package/node_modules/typebox/build/type/extends/extends_left.d.mts +5 -7
- package/node_modules/typebox/build/type/extends/extends_left.mjs +24 -27
- package/node_modules/typebox/build/type/extends/extends_right.d.mts +7 -5
- package/node_modules/typebox/build/type/extends/extends_right.mjs +20 -15
- package/node_modules/typebox/build/type/extends/inference.mjs +1 -1
- package/node_modules/typebox/build/type/extends/object.d.mts +8 -1
- package/node_modules/typebox/build/type/extends/object.mjs +25 -3
- package/node_modules/typebox/build/type/extends/parameters.mjs +2 -2
- package/node_modules/typebox/build/type/extends/record.d.mts +13 -0
- package/node_modules/typebox/build/type/extends/record.mjs +23 -0
- package/node_modules/typebox/build/type/extends/template_literal.d.mts +3 -3
- package/node_modules/typebox/build/type/extends/template_literal.mjs +3 -3
- package/node_modules/typebox/build/type/extends/tuple.d.mts +3 -6
- package/node_modules/typebox/build/type/extends/tuple.mjs +6 -5
- package/node_modules/typebox/build/type/extends/union.mjs +2 -2
- package/node_modules/typebox/build/type/script/mapping.d.mts +84 -99
- package/node_modules/typebox/build/type/script/mapping.mjs +81 -85
- package/node_modules/typebox/build/type/script/parser.d.mts +40 -40
- package/node_modules/typebox/build/type/script/parser.mjs +22 -22
- package/node_modules/typebox/build/type/script/script.d.mts +3 -4
- package/node_modules/typebox/build/type/script/script.mjs +3 -2
- package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +1 -1
- package/node_modules/typebox/build/type/script/token/internal/guard.mjs +1 -1
- package/node_modules/typebox/build/type/script/token/internal/take.mjs +1 -1
- package/node_modules/typebox/build/type/script/token/until.mjs +2 -2
- package/node_modules/typebox/build/type/types/_codec.d.mts +12 -12
- package/node_modules/typebox/build/type/types/_codec.mjs +0 -1
- package/node_modules/typebox/build/type/types/_immutable.d.mts +2 -9
- package/node_modules/typebox/build/type/types/_immutable.mjs +2 -10
- package/node_modules/typebox/build/type/types/_optional.d.mts +2 -9
- package/node_modules/typebox/build/type/types/_optional.mjs +2 -11
- package/node_modules/typebox/build/type/types/_readonly.d.mts +2 -9
- package/node_modules/typebox/build/type/types/_readonly.mjs +2 -10
- package/node_modules/typebox/build/type/types/_refine.d.mts +8 -10
- package/node_modules/typebox/build/type/types/_refine.mjs +1 -2
- package/node_modules/typebox/build/type/types/call.d.mts +3 -3
- package/node_modules/typebox/build/type/types/call.mjs +3 -2
- package/node_modules/typebox/build/type/types/deferred.d.mts +1 -0
- package/node_modules/typebox/build/type/types/deferred.mjs +1 -1
- package/node_modules/typebox/build/type/types/dependent.d.mts +17 -0
- package/node_modules/typebox/build/type/types/dependent.mjs +24 -0
- package/node_modules/typebox/build/type/types/enum.d.mts +3 -1
- package/node_modules/typebox/build/type/types/enum.mjs +5 -0
- package/node_modules/typebox/build/type/types/index.d.mts +1 -4
- package/node_modules/typebox/build/type/types/index.mjs +1 -4
- package/node_modules/typebox/build/type/types/number.d.mts +1 -1
- package/node_modules/typebox/build/type/types/number.mjs +1 -1
- package/node_modules/typebox/build/type/types/record.d.mts +13 -7
- package/node_modules/typebox/build/type/types/record.mjs +15 -9
- package/node_modules/typebox/build/type/types/static.d.mts +2 -5
- package/node_modules/typebox/build/typebox.d.mts +4 -8
- package/node_modules/typebox/build/typebox.mjs +4 -8
- package/node_modules/typebox/build/value/clean/clean.mjs +4 -2
- package/node_modules/typebox/build/value/clean/from_intersect.mjs +2 -2
- package/node_modules/typebox/build/value/clean/from_type.mjs +8 -10
- package/node_modules/typebox/build/value/clean/from_union.d.mts +1 -1
- package/node_modules/typebox/build/value/clean/from_union.mjs +1 -2
- package/node_modules/typebox/build/value/clone/clone.mjs +2 -73
- package/node_modules/typebox/build/value/codec/decode.mjs +4 -2
- package/node_modules/typebox/build/value/codec/encode.mjs +4 -2
- package/node_modules/typebox/build/value/codec/from_array.mjs +1 -4
- package/node_modules/typebox/build/value/codec/from_object.mjs +1 -4
- package/node_modules/typebox/build/value/codec/from_record.mjs +2 -7
- package/node_modules/typebox/build/value/codec/from_tuple.mjs +1 -4
- package/node_modules/typebox/build/value/codec/from_union.mjs +2 -3
- package/node_modules/typebox/build/value/convert/from_enum.mjs +3 -4
- package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +1 -1
- package/node_modules/typebox/build/value/convert/from_template_literal.mjs +2 -3
- package/node_modules/typebox/build/value/convert/from_type.mjs +19 -21
- package/node_modules/typebox/build/value/create/from_enum.mjs +2 -2
- package/node_modules/typebox/build/value/create/from_type.mjs +23 -31
- package/node_modules/typebox/build/value/default/from_object.mjs +1 -1
- package/node_modules/typebox/build/value/default/from_type.mjs +8 -10
- package/node_modules/typebox/build/value/index.d.mts +0 -1
- package/node_modules/typebox/build/value/index.mjs +0 -1
- package/node_modules/typebox/build/value/repair/from_enum.mjs +2 -3
- package/node_modules/typebox/build/value/repair/from_type.mjs +24 -22
- package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +6 -2
- package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +62 -26
- package/node_modules/typebox/build/value/value.d.mts +0 -1
- package/node_modules/typebox/build/value/value.mjs +0 -1
- package/node_modules/typebox/package.json +25 -25
- package/node_modules/typebox/readme.md +97 -80
- package/node_modules/undici-types/agent.d.ts +0 -2
- package/node_modules/undici-types/client.d.ts +25 -19
- package/node_modules/undici-types/dispatcher.d.ts +7 -33
- package/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
- package/node_modules/undici-types/fetch.d.ts +24 -4
- package/node_modules/undici-types/h2c-client.d.ts +6 -6
- package/node_modules/undici-types/handlers.d.ts +1 -2
- package/node_modules/undici-types/header.d.ts +5 -0
- package/node_modules/undici-types/index.d.ts +3 -1
- package/node_modules/undici-types/interceptors.d.ts +1 -1
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/undici-types/pool.d.ts +0 -2
- package/node_modules/undici-types/proxy-agent.d.ts +2 -2
- package/node_modules/undici-types/round-robin-pool.d.ts +0 -2
- package/node_modules/undici-types/snapshot-agent.d.ts +4 -0
- package/node_modules/undici-types/socks5-proxy-agent.d.ts +2 -2
- package/node_modules/undici-types/webidl.d.ts +0 -1
- package/npm-shrinkwrap.json +55 -56
- package/openclaw.plugin.json +46 -0
- package/package.json +6 -6
- package/dist/accounts.runtime-CgWgzjLX.js +0 -2
- package/dist/action-runtime.runtime-BQrVgSOq.js +0 -2
- package/dist/actions.runtime-Dl6AfO_g.js +0 -2
- package/dist/errors-CZtmv-h0.js +0 -107
- package/dist/outbound-adapter-BHUtpXz0.js +0 -188
- package/dist/send.runtime-a-O4PP2B.js +0 -2
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/README.md +0 -15
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/assert/strict.d.ts +0 -59
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/assert.d.ts +0 -950
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/async_hooks.d.ts +0 -711
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/buffer.buffer.d.ts +0 -466
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/buffer.d.ts +0 -1765
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/child_process.d.ts +0 -1366
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/cluster.d.ts +0 -432
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/console.d.ts +0 -93
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/constants.d.ts +0 -14
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/crypto.d.ts +0 -4058
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/dgram.d.ts +0 -537
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/diagnostics_channel.d.ts +0 -552
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/dns/promises.d.ts +0 -497
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/dns.d.ts +0 -876
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/domain.d.ts +0 -150
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/events.d.ts +0 -1008
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs/promises.d.ts +0 -1468
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs.d.ts +0 -4780
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/globals.d.ts +0 -150
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/globals.typedarray.d.ts +0 -101
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/http.d.ts +0 -2147
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/http2.d.ts +0 -2485
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/https.d.ts +0 -400
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/index.d.ts +0 -117
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector/promises.d.ts +0 -35
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector.d.ts +0 -264
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector.generated.d.ts +0 -4406
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/module.d.ts +0 -755
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/net.d.ts +0 -970
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/os.d.ts +0 -498
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/package.json +0 -155
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/path/posix.d.ts +0 -8
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/path/win32.d.ts +0 -8
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/path.d.ts +0 -178
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/perf_hooks.d.ts +0 -612
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/process.d.ts +0 -2204
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/punycode.d.ts +0 -89
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/querystring.d.ts +0 -139
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/quic.d.ts +0 -897
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/readline/promises.d.ts +0 -158
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/readline.d.ts +0 -507
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/repl.d.ts +0 -420
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/sea.d.ts +0 -47
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/sqlite.d.ts +0 -1068
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/consumers.d.ts +0 -114
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/iter.d.ts +0 -301
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/promises.d.ts +0 -211
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/web.d.ts +0 -300
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream.d.ts +0 -1774
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/string_decoder.d.ts +0 -27
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/test/reporters.d.ts +0 -59
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/test.d.ts +0 -2279
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/timers/promises.d.ts +0 -93
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/timers.d.ts +0 -149
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/tls.d.ts +0 -1193
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/trace_events.d.ts +0 -103
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/index.d.ts +0 -119
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.7/index.d.ts +0 -119
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/tty.d.ts +0 -225
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/url.d.ts +0 -556
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/util/types.d.ts +0 -558
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/util.d.ts +0 -1677
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/v8.d.ts +0 -980
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/vm.d.ts +0 -1136
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/wasi.d.ts +0 -131
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/blob.d.ts +0 -23
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/console.d.ts +0 -9
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/events.d.ts +0 -106
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/performance.d.ts +0 -45
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/storage.d.ts +0 -24
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/streams.d.ts +0 -115
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/timers.d.ts +0 -44
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/url.d.ts +0 -24
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/worker_threads.d.ts +0 -671
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/zlib/iter.d.ts +0 -131
- package/node_modules/@types/jsonwebtoken/node_modules/@types/node/zlib.d.ts +0 -589
- package/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/node_modules/@types/ws/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/@types/ws/node_modules/@types/node/README.md +0 -15
- package/node_modules/@types/ws/node_modules/@types/node/assert/strict.d.ts +0 -59
- package/node_modules/@types/ws/node_modules/@types/node/assert.d.ts +0 -950
- package/node_modules/@types/ws/node_modules/@types/node/async_hooks.d.ts +0 -711
- package/node_modules/@types/ws/node_modules/@types/node/buffer.buffer.d.ts +0 -466
- package/node_modules/@types/ws/node_modules/@types/node/buffer.d.ts +0 -1765
- package/node_modules/@types/ws/node_modules/@types/node/child_process.d.ts +0 -1366
- package/node_modules/@types/ws/node_modules/@types/node/cluster.d.ts +0 -432
- package/node_modules/@types/ws/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/node_modules/@types/ws/node_modules/@types/node/console.d.ts +0 -93
- package/node_modules/@types/ws/node_modules/@types/node/constants.d.ts +0 -14
- package/node_modules/@types/ws/node_modules/@types/node/crypto.d.ts +0 -4058
- package/node_modules/@types/ws/node_modules/@types/node/dgram.d.ts +0 -537
- package/node_modules/@types/ws/node_modules/@types/node/diagnostics_channel.d.ts +0 -552
- package/node_modules/@types/ws/node_modules/@types/node/dns/promises.d.ts +0 -497
- package/node_modules/@types/ws/node_modules/@types/node/dns.d.ts +0 -876
- package/node_modules/@types/ws/node_modules/@types/node/domain.d.ts +0 -150
- package/node_modules/@types/ws/node_modules/@types/node/events.d.ts +0 -1008
- package/node_modules/@types/ws/node_modules/@types/node/fs/promises.d.ts +0 -1468
- package/node_modules/@types/ws/node_modules/@types/node/fs.d.ts +0 -4780
- package/node_modules/@types/ws/node_modules/@types/node/globals.d.ts +0 -150
- package/node_modules/@types/ws/node_modules/@types/node/globals.typedarray.d.ts +0 -101
- package/node_modules/@types/ws/node_modules/@types/node/http.d.ts +0 -2147
- package/node_modules/@types/ws/node_modules/@types/node/http2.d.ts +0 -2485
- package/node_modules/@types/ws/node_modules/@types/node/https.d.ts +0 -400
- package/node_modules/@types/ws/node_modules/@types/node/index.d.ts +0 -117
- package/node_modules/@types/ws/node_modules/@types/node/inspector/promises.d.ts +0 -35
- package/node_modules/@types/ws/node_modules/@types/node/inspector.d.ts +0 -264
- package/node_modules/@types/ws/node_modules/@types/node/inspector.generated.d.ts +0 -4406
- package/node_modules/@types/ws/node_modules/@types/node/module.d.ts +0 -755
- package/node_modules/@types/ws/node_modules/@types/node/net.d.ts +0 -970
- package/node_modules/@types/ws/node_modules/@types/node/os.d.ts +0 -498
- package/node_modules/@types/ws/node_modules/@types/node/package.json +0 -155
- package/node_modules/@types/ws/node_modules/@types/node/path/posix.d.ts +0 -8
- package/node_modules/@types/ws/node_modules/@types/node/path/win32.d.ts +0 -8
- package/node_modules/@types/ws/node_modules/@types/node/path.d.ts +0 -178
- package/node_modules/@types/ws/node_modules/@types/node/perf_hooks.d.ts +0 -612
- package/node_modules/@types/ws/node_modules/@types/node/process.d.ts +0 -2204
- package/node_modules/@types/ws/node_modules/@types/node/punycode.d.ts +0 -89
- package/node_modules/@types/ws/node_modules/@types/node/querystring.d.ts +0 -139
- package/node_modules/@types/ws/node_modules/@types/node/quic.d.ts +0 -897
- package/node_modules/@types/ws/node_modules/@types/node/readline/promises.d.ts +0 -158
- package/node_modules/@types/ws/node_modules/@types/node/readline.d.ts +0 -507
- package/node_modules/@types/ws/node_modules/@types/node/repl.d.ts +0 -420
- package/node_modules/@types/ws/node_modules/@types/node/sea.d.ts +0 -47
- package/node_modules/@types/ws/node_modules/@types/node/sqlite.d.ts +0 -1068
- package/node_modules/@types/ws/node_modules/@types/node/stream/consumers.d.ts +0 -114
- package/node_modules/@types/ws/node_modules/@types/node/stream/iter.d.ts +0 -301
- package/node_modules/@types/ws/node_modules/@types/node/stream/promises.d.ts +0 -211
- package/node_modules/@types/ws/node_modules/@types/node/stream/web.d.ts +0 -300
- package/node_modules/@types/ws/node_modules/@types/node/stream.d.ts +0 -1774
- package/node_modules/@types/ws/node_modules/@types/node/string_decoder.d.ts +0 -27
- package/node_modules/@types/ws/node_modules/@types/node/test/reporters.d.ts +0 -59
- package/node_modules/@types/ws/node_modules/@types/node/test.d.ts +0 -2279
- package/node_modules/@types/ws/node_modules/@types/node/timers/promises.d.ts +0 -93
- package/node_modules/@types/ws/node_modules/@types/node/timers.d.ts +0 -149
- package/node_modules/@types/ws/node_modules/@types/node/tls.d.ts +0 -1193
- package/node_modules/@types/ws/node_modules/@types/node/trace_events.d.ts +0 -103
- package/node_modules/@types/ws/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
- package/node_modules/@types/ws/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
- package/node_modules/@types/ws/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
- package/node_modules/@types/ws/node_modules/@types/node/ts5.6/index.d.ts +0 -119
- package/node_modules/@types/ws/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
- package/node_modules/@types/ws/node_modules/@types/node/ts5.7/index.d.ts +0 -119
- package/node_modules/@types/ws/node_modules/@types/node/tty.d.ts +0 -225
- package/node_modules/@types/ws/node_modules/@types/node/url.d.ts +0 -556
- package/node_modules/@types/ws/node_modules/@types/node/util/types.d.ts +0 -558
- package/node_modules/@types/ws/node_modules/@types/node/util.d.ts +0 -1677
- package/node_modules/@types/ws/node_modules/@types/node/v8.d.ts +0 -980
- package/node_modules/@types/ws/node_modules/@types/node/vm.d.ts +0 -1136
- package/node_modules/@types/ws/node_modules/@types/node/wasi.d.ts +0 -131
- package/node_modules/@types/ws/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
- package/node_modules/@types/ws/node_modules/@types/node/web-globals/blob.d.ts +0 -23
- package/node_modules/@types/ws/node_modules/@types/node/web-globals/console.d.ts +0 -9
- package/node_modules/@types/ws/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
- package/node_modules/@types/ws/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
- package/node_modules/@types/ws/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
- package/node_modules/@types/ws/node_modules/@types/node/web-globals/events.d.ts +0 -106
- package/node_modules/@types/ws/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
- package/node_modules/@types/ws/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
- package/node_modules/@types/ws/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
- package/node_modules/@types/ws/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
- package/node_modules/@types/ws/node_modules/@types/node/web-globals/performance.d.ts +0 -45
- package/node_modules/@types/ws/node_modules/@types/node/web-globals/storage.d.ts +0 -24
- package/node_modules/@types/ws/node_modules/@types/node/web-globals/streams.d.ts +0 -115
- package/node_modules/@types/ws/node_modules/@types/node/web-globals/timers.d.ts +0 -44
- package/node_modules/@types/ws/node_modules/@types/node/web-globals/url.d.ts +0 -24
- package/node_modules/@types/ws/node_modules/@types/node/worker_threads.d.ts +0 -671
- package/node_modules/@types/ws/node_modules/@types/node/zlib/iter.d.ts +0 -131
- package/node_modules/@types/ws/node_modules/@types/node/zlib.d.ts +0 -589
- package/node_modules/typebox/build/schema/engine/_guard.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/_guard.mjs +0 -26
- package/node_modules/typebox/build/schema/types/_guard.d.mts +0 -10
- package/node_modules/typebox/build/schema/types/_guard.mjs +0 -16
- package/node_modules/typebox/build/type/action/_optional.d.mts +0 -19
- package/node_modules/typebox/build/type/action/_optional.mjs +0 -40
- package/node_modules/typebox/build/type/action/_readonly.d.mts +0 -19
- package/node_modules/typebox/build/type/action/_readonly.mjs +0 -40
- package/node_modules/typebox/build/type/action/awaited.d.mts +0 -15
- package/node_modules/typebox/build/type/action/awaited.mjs +0 -15
- package/node_modules/typebox/build/type/action/options.d.mts +0 -11
- package/node_modules/typebox/build/type/action/options.mjs +0 -11
- package/node_modules/typebox/build/type/engine/awaited/instantiate.d.mts +0 -11
- package/node_modules/typebox/build/type/engine/awaited/instantiate.mjs +0 -20
- package/node_modules/typebox/build/type/engine/enum/enum_to_union.d.mts +0 -14
- package/node_modules/typebox/build/type/engine/enum/enum_to_union.mjs +0 -24
- package/node_modules/typebox/build/type/engine/options/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/options/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/options/instantiate.d.mts +0 -8
- package/node_modules/typebox/build/type/extends/async_iterator.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/async_iterator.mjs +0 -9
- package/node_modules/typebox/build/type/extends/iterator.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/iterator.mjs +0 -9
- package/node_modules/typebox/build/type/extends/promise.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/promise.mjs +0 -9
- package/node_modules/typebox/build/type/types/async_iterator.d.mts +0 -20
- package/node_modules/typebox/build/type/types/async_iterator.mjs +0 -28
- package/node_modules/typebox/build/type/types/base.d.mts +0 -50
- package/node_modules/typebox/build/type/types/base.mjs +0 -84
- package/node_modules/typebox/build/type/types/iterator.d.mts +0 -20
- package/node_modules/typebox/build/type/types/iterator.mjs +0 -28
- package/node_modules/typebox/build/type/types/promise.d.mts +0 -21
- package/node_modules/typebox/build/type/types/promise.mjs +0 -29
- package/node_modules/typebox/build/value/clean/from_base.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_base.mjs +0 -4
- package/node_modules/typebox/build/value/convert/from_base.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_base.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_async_iterator.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_async_iterator.mjs +0 -5
- package/node_modules/typebox/build/value/create/from_base.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_base.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_iterator.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_iterator.mjs +0 -5
- package/node_modules/typebox/build/value/create/from_promise.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_promise.mjs +0 -5
- package/node_modules/typebox/build/value/default/from_base.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_base.mjs +0 -5
- package/node_modules/typebox/build/value/mutate/error.d.mts +0 -3
- package/node_modules/typebox/build/value/mutate/error.mjs +0 -6
- package/node_modules/typebox/build/value/mutate/from_array.d.mts +0 -2
- package/node_modules/typebox/build/value/mutate/from_array.mjs +0 -16
- package/node_modules/typebox/build/value/mutate/from_object.d.mts +0 -2
- package/node_modules/typebox/build/value/mutate/from_object.mjs +0 -40
- package/node_modules/typebox/build/value/mutate/from_unknown.d.mts +0 -2
- package/node_modules/typebox/build/value/mutate/from_unknown.mjs +0 -7
- package/node_modules/typebox/build/value/mutate/from_value.d.mts +0 -2
- package/node_modules/typebox/build/value/mutate/from_value.mjs +0 -12
- package/node_modules/typebox/build/value/mutate/index.d.mts +0 -1
- package/node_modules/typebox/build/value/mutate/index.mjs +0 -1
- package/node_modules/typebox/build/value/mutate/mutate.d.mts +0 -11
- package/node_modules/typebox/build/value/mutate/mutate.mjs +0 -41
- package/node_modules/typebox/build/value/repair/from_base.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_base.mjs +0 -8
- /package/node_modules/typebox/build/type/engine/{awaited → with}/index.d.mts +0 -0
- /package/node_modules/typebox/build/type/engine/{awaited → with}/index.mjs +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare module "node:stream" {
|
|
2
2
|
import { Blob } from "node:buffer";
|
|
3
3
|
import { Abortable, EventEmitter } from "node:events";
|
|
4
|
+
import { ByteReadableStream, toAsyncStreamable } from "node:stream/iter";
|
|
4
5
|
import * as promises from "node:stream/promises";
|
|
5
6
|
import * as web from "node:stream/web";
|
|
6
7
|
class Stream extends EventEmitter {
|
|
@@ -128,13 +129,13 @@ declare module "node:stream" {
|
|
|
128
129
|
*/
|
|
129
130
|
readonly readableEncoding: BufferEncoding | null;
|
|
130
131
|
/**
|
|
131
|
-
* Becomes `true` when [`'end'`](https://nodejs.org/docs/latest-
|
|
132
|
+
* Becomes `true` when [`'end'`](https://nodejs.org/docs/latest-v26.x/api/stream.html#event-end) event is emitted.
|
|
132
133
|
* @since v12.9.0
|
|
133
134
|
*/
|
|
134
135
|
readonly readableEnded: boolean;
|
|
135
136
|
/**
|
|
136
137
|
* This property reflects the current state of a `Readable` stream as described
|
|
137
|
-
* in the [Three states](https://nodejs.org/docs/latest-
|
|
138
|
+
* in the [Three states](https://nodejs.org/docs/latest-v26.x/api/stream.html#three-states) section.
|
|
138
139
|
* @since v9.4.0
|
|
139
140
|
*/
|
|
140
141
|
readableFlowing: boolean | null;
|
|
@@ -478,7 +479,7 @@ declare module "node:stream" {
|
|
|
478
479
|
* This method also allows for an `AbortSignal` to be provided, which will destroy
|
|
479
480
|
* the composed stream when aborted.
|
|
480
481
|
*
|
|
481
|
-
* See [`stream.compose(...streams)`](https://nodejs.org/docs/latest-
|
|
482
|
+
* See [`stream.compose(...streams)`](https://nodejs.org/docs/latest-v26.x/api/stream.html#streamcomposestreams) for more information.
|
|
482
483
|
* @since v19.1.0, v18.13.0
|
|
483
484
|
* @returns a stream composed with the stream `stream`.
|
|
484
485
|
*/
|
|
@@ -651,6 +652,37 @@ declare module "node:stream" {
|
|
|
651
652
|
* @since v10.0.0
|
|
652
653
|
*/
|
|
653
654
|
[Symbol.asyncIterator](): NodeJS.AsyncIterator<any>;
|
|
655
|
+
/**
|
|
656
|
+
* When the `--experimental-stream-iter` flag is enabled, `Readable` streams
|
|
657
|
+
* implement the `Stream.toAsyncStreamable` protocol, enabling efficient
|
|
658
|
+
* consumption by the `stream/iter` API.
|
|
659
|
+
*
|
|
660
|
+
* This provides a batched async iterator that drains the stream's internal
|
|
661
|
+
* buffer into `Uint8Array[]` batches, amortizing the per-chunk Promise overhead
|
|
662
|
+
* of the standard `Symbol.asyncIterator` path. For byte-mode streams, chunks
|
|
663
|
+
* are yielded directly as `Buffer` instances (which are `Uint8Array` subclasses).
|
|
664
|
+
* For object-mode or encoded streams, each chunk is normalized to `Uint8Array`
|
|
665
|
+
* before batching.
|
|
666
|
+
*
|
|
667
|
+
* The returned iterator is tagged as a validated source, so `from()`
|
|
668
|
+
* passes it through without additional normalization.
|
|
669
|
+
*
|
|
670
|
+
* ```js
|
|
671
|
+
* import { Readable } from 'node:stream';
|
|
672
|
+
* import { text, from } from 'node:stream/iter';
|
|
673
|
+
*
|
|
674
|
+
* const readable = new Readable({
|
|
675
|
+
* read() { this.push('hello'); this.push(null); },
|
|
676
|
+
* });
|
|
677
|
+
*
|
|
678
|
+
* // Readable is automatically consumed via toAsyncStreamable
|
|
679
|
+
* console.log(await text(from(readable))); // 'hello'
|
|
680
|
+
* ```
|
|
681
|
+
*
|
|
682
|
+
* Without the `--experimental-stream-iter` flag, calling this method throws
|
|
683
|
+
* `ERR_STREAM_ITER_MISSING_FLAG`.
|
|
684
|
+
*/
|
|
685
|
+
[toAsyncStreamable](): ByteReadableStream;
|
|
654
686
|
/**
|
|
655
687
|
* Calls `readable.destroy()` with an `AbortError` and returns
|
|
656
688
|
* a promise that fulfills when the stream is finished.
|
|
@@ -1360,7 +1392,7 @@ declare module "node:stream" {
|
|
|
1360
1392
|
* Especially useful in error handling scenarios where a stream is destroyed
|
|
1361
1393
|
* prematurely (like an aborted HTTP request), and will not emit `'end'` or `'finish'`.
|
|
1362
1394
|
*
|
|
1363
|
-
* The `finished` API provides [`promise version`](https://nodejs.org/docs/latest-
|
|
1395
|
+
* The `finished` API provides [`promise version`](https://nodejs.org/docs/latest-v26.x/api/stream.html#streamfinishedstream-options).
|
|
1364
1396
|
*
|
|
1365
1397
|
* `stream.finished()` leaves dangling event listeners (in particular `'error'`, `'end'`, `'finish'` and `'close'`) after `callback` has been
|
|
1366
1398
|
* invoked. The reason for this is so that unexpected `'error'` events (due to
|
|
@@ -1459,7 +1491,7 @@ declare module "node:stream" {
|
|
|
1459
1491
|
* );
|
|
1460
1492
|
* ```
|
|
1461
1493
|
*
|
|
1462
|
-
* The `pipeline` API provides a [`promise version`](https://nodejs.org/docs/latest-
|
|
1494
|
+
* The `pipeline` API provides a [`promise version`](https://nodejs.org/docs/latest-v26.x/api/stream.html#streampipelinesource-transforms-destination-options).
|
|
1463
1495
|
*
|
|
1464
1496
|
* `stream.pipeline()` will call `stream.destroy(err)` on all streams except:
|
|
1465
1497
|
*
|
|
@@ -51,7 +51,7 @@ declare module "node:test/reporters" {
|
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* The `lcov` reporter outputs test coverage when used with the
|
|
54
|
-
* [`--experimental-test-coverage`](https://nodejs.org/docs/latest-
|
|
54
|
+
* [`--experimental-test-coverage`](https://nodejs.org/docs/latest-v26.x/api/cli.html#--experimental-test-coverage) flag.
|
|
55
55
|
* @since v22.0.0
|
|
56
56
|
*/
|
|
57
57
|
const lcov: ReporterConstructorWrapper<typeof LcovReporter>;
|
|
@@ -180,14 +180,14 @@ declare module "node:test" {
|
|
|
180
180
|
/**
|
|
181
181
|
* Specifies the current working directory to be used by the test runner.
|
|
182
182
|
* Serves as the base path for resolving files according to the
|
|
183
|
-
* [test runner execution model](https://nodejs.org/docs/latest-
|
|
183
|
+
* [test runner execution model](https://nodejs.org/docs/latest-v26.x/api/test.html#test-runner-execution-model).
|
|
184
184
|
* @since v23.0.0
|
|
185
185
|
* @default process.cwd()
|
|
186
186
|
*/
|
|
187
187
|
cwd?: string | undefined;
|
|
188
188
|
/**
|
|
189
189
|
* An array containing the list of files to run. If omitted, files are run according to the
|
|
190
|
-
* [test runner execution model](https://nodejs.org/docs/latest-
|
|
190
|
+
* [test runner execution model](https://nodejs.org/docs/latest-v26.x/api/test.html#test-runner-execution-model).
|
|
191
191
|
*/
|
|
192
192
|
files?: readonly string[] | undefined;
|
|
193
193
|
/**
|
|
@@ -200,7 +200,7 @@ declare module "node:test" {
|
|
|
200
200
|
/**
|
|
201
201
|
* An array containing the list of glob patterns to match test files.
|
|
202
202
|
* This option cannot be used together with `files`. If omitted, files are run according to the
|
|
203
|
-
* [test runner execution model](https://nodejs.org/docs/latest-
|
|
203
|
+
* [test runner execution model](https://nodejs.org/docs/latest-v26.x/api/test.html#test-runner-execution-model).
|
|
204
204
|
* @since v22.6.0
|
|
205
205
|
*/
|
|
206
206
|
globPatterns?: readonly string[] | undefined;
|
|
@@ -280,6 +280,20 @@ declare module "node:test" {
|
|
|
280
280
|
* @default undefined
|
|
281
281
|
*/
|
|
282
282
|
shard?: TestShard | undefined;
|
|
283
|
+
/**
|
|
284
|
+
* Randomize execution order for test files and queued tests.
|
|
285
|
+
* This option is not supported with `watch: true`.
|
|
286
|
+
* @since v26.1.0
|
|
287
|
+
* @default false
|
|
288
|
+
*/
|
|
289
|
+
randomize?: boolean | undefined;
|
|
290
|
+
/**
|
|
291
|
+
* Seed used when randomizing execution order. If this
|
|
292
|
+
* option is set, runs can replay the same randomized order deterministically,
|
|
293
|
+
* and setting this option also enables randomization. The value must be an
|
|
294
|
+
* integer between `0` and `4294967295`.
|
|
295
|
+
*/
|
|
296
|
+
randomSeed?: number | undefined;
|
|
283
297
|
/**
|
|
284
298
|
* A file path where the test runner will
|
|
285
299
|
* store the state of the tests to allow rerunning only the failed tests on a next run.
|
|
@@ -288,7 +302,7 @@ declare module "node:test" {
|
|
|
288
302
|
*/
|
|
289
303
|
rerunFailuresFilePath?: string | undefined;
|
|
290
304
|
/**
|
|
291
|
-
* enable [code coverage](https://nodejs.org/docs/latest-
|
|
305
|
+
* enable [code coverage](https://nodejs.org/docs/latest-v26.x/api/test.html#collecting-code-coverage) collection.
|
|
292
306
|
* @since v22.10.0
|
|
293
307
|
* @default false
|
|
294
308
|
*/
|
|
@@ -336,7 +350,7 @@ declare module "node:test" {
|
|
|
336
350
|
functionCoverage?: number | undefined;
|
|
337
351
|
/**
|
|
338
352
|
* Specify environment variables to be passed along to the test process.
|
|
339
|
-
* This
|
|
353
|
+
* This option is not compatible with `isolation='none'`. These variables will override
|
|
340
354
|
* those from the main process, and are not merged with `process.env`.
|
|
341
355
|
* @since v25.6.0
|
|
342
356
|
* @default process.env
|
|
@@ -654,6 +668,12 @@ declare module "node:test" {
|
|
|
654
668
|
* The nesting level of the test.
|
|
655
669
|
*/
|
|
656
670
|
nesting: number;
|
|
671
|
+
/**
|
|
672
|
+
* A numeric identifier for this test instance, unique
|
|
673
|
+
* within the test file's process. Consistent across all events for the same
|
|
674
|
+
* test instance, enabling reliable correlation in custom reporters.
|
|
675
|
+
*/
|
|
676
|
+
testId: number;
|
|
657
677
|
/**
|
|
658
678
|
* The ordinal number of the test.
|
|
659
679
|
*/
|
|
@@ -676,6 +696,12 @@ declare module "node:test" {
|
|
|
676
696
|
* The nesting level of the test.
|
|
677
697
|
*/
|
|
678
698
|
nesting: number;
|
|
699
|
+
/**
|
|
700
|
+
* A numeric identifier for this test instance, unique
|
|
701
|
+
* within the test file's process. Consistent across all events for the same
|
|
702
|
+
* test instance, enabling reliable correlation in custom reporters.
|
|
703
|
+
*/
|
|
704
|
+
testId: number;
|
|
679
705
|
/**
|
|
680
706
|
* The test type. Either `'suite'` or `'test'`.
|
|
681
707
|
* @since v22.15.0
|
|
@@ -691,6 +717,12 @@ declare module "node:test" {
|
|
|
691
717
|
* The nesting level of the test.
|
|
692
718
|
*/
|
|
693
719
|
nesting: number;
|
|
720
|
+
/**
|
|
721
|
+
* A numeric identifier for this test instance, unique
|
|
722
|
+
* within the test file's process. Consistent across all events for the same
|
|
723
|
+
* test instance, enabling reliable correlation in custom reporters.
|
|
724
|
+
*/
|
|
725
|
+
testId: number;
|
|
694
726
|
/**
|
|
695
727
|
* The test type. Either `'suite'` or `'test'`.
|
|
696
728
|
* @since v22.15.0
|
|
@@ -730,6 +762,12 @@ declare module "node:test" {
|
|
|
730
762
|
* The nesting level of the test.
|
|
731
763
|
*/
|
|
732
764
|
nesting: number;
|
|
765
|
+
/**
|
|
766
|
+
* A numeric identifier for this test instance, unique
|
|
767
|
+
* within the test file's process. Consistent across all events for the same
|
|
768
|
+
* test instance, enabling reliable correlation in custom reporters.
|
|
769
|
+
*/
|
|
770
|
+
testId: number;
|
|
733
771
|
/**
|
|
734
772
|
* The ordinal number of the test.
|
|
735
773
|
*/
|
|
@@ -785,6 +823,12 @@ declare module "node:test" {
|
|
|
785
823
|
* The nesting level of the test.
|
|
786
824
|
*/
|
|
787
825
|
nesting: number;
|
|
826
|
+
/**
|
|
827
|
+
* A numeric identifier for this test instance, unique
|
|
828
|
+
* within the test file's process. Consistent across all events for the same
|
|
829
|
+
* test instance, enabling reliable correlation in custom reporters.
|
|
830
|
+
*/
|
|
831
|
+
testId: number;
|
|
788
832
|
/**
|
|
789
833
|
* The ordinal number of the test.
|
|
790
834
|
*/
|
|
@@ -817,6 +861,12 @@ declare module "node:test" {
|
|
|
817
861
|
* The nesting level of the test.
|
|
818
862
|
*/
|
|
819
863
|
nesting: number;
|
|
864
|
+
/**
|
|
865
|
+
* A numeric identifier for this test instance, unique
|
|
866
|
+
* within the test file's process. Consistent across all events for the same
|
|
867
|
+
* test instance, enabling reliable correlation in custom reporters.
|
|
868
|
+
*/
|
|
869
|
+
testId: number;
|
|
820
870
|
}
|
|
821
871
|
interface TestStderr {
|
|
822
872
|
/**
|
|
@@ -890,6 +940,39 @@ declare module "node:test" {
|
|
|
890
940
|
success: boolean;
|
|
891
941
|
}
|
|
892
942
|
}
|
|
943
|
+
/**
|
|
944
|
+
* Returns the {@link TestContext} or {@link SuiteContext} object associated with the
|
|
945
|
+
* currently executing test or suite, or `undefined` if called outside of a test or
|
|
946
|
+
* suite. This function can be used to access context information from within the
|
|
947
|
+
* test or suite function or any async operations within them.
|
|
948
|
+
|
|
949
|
+
* ```js
|
|
950
|
+
* import { getTestContext } from 'node:test';
|
|
951
|
+
*
|
|
952
|
+
* test('example test', async () => {
|
|
953
|
+
* const ctx = getTestContext();
|
|
954
|
+
* console.log(`Running test: ${ctx.name}`);
|
|
955
|
+
* });
|
|
956
|
+
*
|
|
957
|
+
* describe('example suite', () => {
|
|
958
|
+
* const ctx = getTestContext();
|
|
959
|
+
* console.log(`Running suite: ${ctx.name}`);
|
|
960
|
+
* });
|
|
961
|
+
* ```
|
|
962
|
+
*
|
|
963
|
+
* When called from a test, returns a `TestContext`.
|
|
964
|
+
* When called from a suite, returns a `SuiteContext`.
|
|
965
|
+
*
|
|
966
|
+
* If called from outside a test or suite (e.g., at the top level of a module or in
|
|
967
|
+
* a setTimeout callback after execution has completed), this function returns
|
|
968
|
+
* `undefined`.
|
|
969
|
+
*
|
|
970
|
+
* When called from within a hook (before, beforeEach, after, afterEach), this
|
|
971
|
+
* function returns the context of the test or suite that the hook is associated
|
|
972
|
+
* with.
|
|
973
|
+
* @since v26.1.0
|
|
974
|
+
*/
|
|
975
|
+
function getTestContext(): TestContext | SuiteContext | undefined;
|
|
893
976
|
/**
|
|
894
977
|
* An instance of `TestContext` is passed to each test function in order to
|
|
895
978
|
* interact with the test runner. However, the `TestContext` constructor is not
|
|
@@ -993,7 +1076,9 @@ declare module "node:test" {
|
|
|
993
1076
|
*/
|
|
994
1077
|
readonly error: EventData.Error | null;
|
|
995
1078
|
/**
|
|
996
|
-
*
|
|
1079
|
+
* The attempt number of the test. This value is zero-based, so the first attempt is `0`,
|
|
1080
|
+
* the second attempt is `1`, and so on. This property is useful in conjunction with the
|
|
1081
|
+
* `--test-rerun-failures` option to determine which attempt the test is currently running.
|
|
997
1082
|
* @since v21.7.0, v20.12.0
|
|
998
1083
|
*/
|
|
999
1084
|
readonly attempt: number;
|
|
@@ -1193,7 +1278,7 @@ declare module "node:test" {
|
|
|
1193
1278
|
* highlighting.
|
|
1194
1279
|
* @since v22.14.0
|
|
1195
1280
|
* @param value A value to serialize to a string. If Node.js was started with
|
|
1196
|
-
* the [`--test-update-snapshots`](https://nodejs.org/docs/latest-
|
|
1281
|
+
* the [`--test-update-snapshots`](https://nodejs.org/docs/latest-v26.x/api/cli.html#--test-update-snapshots)
|
|
1197
1282
|
* flag, the serialized value is written to
|
|
1198
1283
|
* `path`. Otherwise, the serialized value is compared to the contents of the
|
|
1199
1284
|
* existing snapshot file.
|
|
@@ -1216,7 +1301,7 @@ declare module "node:test" {
|
|
|
1216
1301
|
* ```
|
|
1217
1302
|
* @since v22.3.0
|
|
1218
1303
|
* @param value A value to serialize to a string. If Node.js was started with
|
|
1219
|
-
* the [`--test-update-snapshots`](https://nodejs.org/docs/latest-
|
|
1304
|
+
* the [`--test-update-snapshots`](https://nodejs.org/docs/latest-v26.x/api/cli.html#--test-update-snapshots)
|
|
1220
1305
|
* flag, the serialized value is written to
|
|
1221
1306
|
* the snapshot file. Otherwise, the serialized value is compared to the
|
|
1222
1307
|
* corresponding value in the existing snapshot file.
|
|
@@ -1294,6 +1379,31 @@ declare module "node:test" {
|
|
|
1294
1379
|
* @since v18.7.0, v16.17.0
|
|
1295
1380
|
*/
|
|
1296
1381
|
readonly signal: AbortSignal;
|
|
1382
|
+
/**
|
|
1383
|
+
* Indicates whether the suite and all of its subtests have passed.
|
|
1384
|
+
* @since v26.1.0
|
|
1385
|
+
*/
|
|
1386
|
+
readonly passed: boolean;
|
|
1387
|
+
/**
|
|
1388
|
+
* The attempt number of the suite. This value is zero-based, so the first attempt is `0`,
|
|
1389
|
+
* the second attempt is `1`, and so on. This property is useful in conjunction with the
|
|
1390
|
+
* `--test-rerun-failures` option to determine the attempt number of the current run.
|
|
1391
|
+
* @since v26.1.0
|
|
1392
|
+
*/
|
|
1393
|
+
readonly attempt: number;
|
|
1394
|
+
/**
|
|
1395
|
+
* Output a diagnostic message. This is typically used for logging information
|
|
1396
|
+
* about the current suite or its tests.
|
|
1397
|
+
*
|
|
1398
|
+
* ```js
|
|
1399
|
+
* test.describe('my suite', (suite) => {
|
|
1400
|
+
* suite.diagnostic('Suite diagnostic message');
|
|
1401
|
+
* });
|
|
1402
|
+
* ```
|
|
1403
|
+
* @since v26.1.0
|
|
1404
|
+
* @param message A diagnostic message to output.
|
|
1405
|
+
*/
|
|
1406
|
+
diagnostic(message: string): void;
|
|
1297
1407
|
}
|
|
1298
1408
|
interface TestOptions {
|
|
1299
1409
|
/**
|
|
@@ -1684,10 +1794,10 @@ declare module "node:test" {
|
|
|
1684
1794
|
* This function is used to mock the exports of ECMAScript modules, CommonJS modules, JSON modules, and
|
|
1685
1795
|
* Node.js builtin modules. Any references to the original module prior to mocking are not impacted. In
|
|
1686
1796
|
* order to enable module mocking, Node.js must be started with the
|
|
1687
|
-
* [`--experimental-test-module-mocks`](https://nodejs.org/docs/latest-
|
|
1797
|
+
* [`--experimental-test-module-mocks`](https://nodejs.org/docs/latest-v26.x/api/cli.html#--experimental-test-module-mocks)
|
|
1688
1798
|
* command-line flag.
|
|
1689
1799
|
*
|
|
1690
|
-
* **Note**: [module customization hooks](https://nodejs.org/docs/latest-
|
|
1800
|
+
* **Note**: [module customization hooks](https://nodejs.org/docs/latest-v26.x/api/module.html#customization-hooks) registered via the **synchronous** API effect resolution of
|
|
1691
1801
|
* the `specifier` provided to `mock.module`. Customization hooks registered via the **asynchronous**
|
|
1692
1802
|
* API are currently ignored (because the test runner's loader is synchronous, and node does not
|
|
1693
1803
|
* support multi-chain / cross-chain loading).
|
|
@@ -1099,7 +1099,7 @@ declare module "node:tls" {
|
|
|
1099
1099
|
* the `ciphers` option of `{@link createSecureContext}`.
|
|
1100
1100
|
*
|
|
1101
1101
|
* Not all supported ciphers are enabled by default. See
|
|
1102
|
-
* [Modifying the default TLS cipher suite](https://nodejs.org/docs/latest-
|
|
1102
|
+
* [Modifying the default TLS cipher suite](https://nodejs.org/docs/latest-v26.x/api/tls.html#modifying-the-default-tls-cipher-suite).
|
|
1103
1103
|
*
|
|
1104
1104
|
* Cipher names that start with `'tls_'` are for TLSv1.3, all the others are for
|
|
1105
1105
|
* TLSv1.2 and below.
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* IN THE SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
// NOTE: These definitions support Node.js and TypeScript 5.
|
|
25
|
+
// NOTE: These definitions support Node.js and TypeScript 5.6.
|
|
26
26
|
|
|
27
27
|
// Reference required TypeScript libraries:
|
|
28
28
|
/// <reference lib="es2020" />
|
|
@@ -31,9 +31,6 @@
|
|
|
31
31
|
// TypeScript library polyfills required for TypeScript <=5.6:
|
|
32
32
|
/// <reference path="./compatibility/float16array.d.ts" />
|
|
33
33
|
|
|
34
|
-
// Iterator definitions required for compatibility with TypeScript <5.6:
|
|
35
|
-
/// <reference path="../compatibility/iterators.d.ts" />
|
|
36
|
-
|
|
37
34
|
// Definitions for Node.js modules specific to TypeScript <=5.6:
|
|
38
35
|
/// <reference path="./globals.typedarray.d.ts" />
|
|
39
36
|
/// <reference path="./buffer.buffer.d.ts" />
|
|
@@ -71,6 +68,7 @@
|
|
|
71
68
|
/// <reference path="../dns/promises.d.ts" />
|
|
72
69
|
/// <reference path="../domain.d.ts" />
|
|
73
70
|
/// <reference path="../events.d.ts" />
|
|
71
|
+
/// <reference path="../ffi.d.ts" />
|
|
74
72
|
/// <reference path="../fs.d.ts" />
|
|
75
73
|
/// <reference path="../fs/promises.d.ts" />
|
|
76
74
|
/// <reference path="../http.d.ts" />
|
|
@@ -31,9 +31,6 @@
|
|
|
31
31
|
// TypeScript library polyfills required for TypeScript 5.7:
|
|
32
32
|
/// <reference path="./compatibility/float16array.d.ts" />
|
|
33
33
|
|
|
34
|
-
// Iterator definitions required for compatibility with TypeScript <5.6:
|
|
35
|
-
/// <reference path="../compatibility/iterators.d.ts" />
|
|
36
|
-
|
|
37
34
|
// Definitions for Node.js modules specific to TypeScript 5.7+:
|
|
38
35
|
/// <reference path="../globals.typedarray.d.ts" />
|
|
39
36
|
/// <reference path="../buffer.buffer.d.ts" />
|
|
@@ -71,6 +68,7 @@
|
|
|
71
68
|
/// <reference path="../dns/promises.d.ts" />
|
|
72
69
|
/// <reference path="../domain.d.ts" />
|
|
73
70
|
/// <reference path="../events.d.ts" />
|
|
71
|
+
/// <reference path="../ffi.d.ts" />
|
|
74
72
|
/// <reference path="../fs.d.ts" />
|
|
75
73
|
/// <reference path="../fs/promises.d.ts" />
|
|
76
74
|
/// <reference path="../http.d.ts" />
|
|
@@ -65,7 +65,7 @@ declare module "node:url" {
|
|
|
65
65
|
* strings. It is prone to security issues such as [host name spoofing](https://hackerone.com/reports/678487)
|
|
66
66
|
* and incorrect handling of usernames and passwords. Do not use with untrusted
|
|
67
67
|
* input. CVEs are not issued for `url.parse()` vulnerabilities. Use the
|
|
68
|
-
* [WHATWG URL](https://nodejs.org/docs/latest-
|
|
68
|
+
* [WHATWG URL](https://nodejs.org/docs/latest-v26.x/api/url.html#the-whatwg-url-api) API instead, for example:
|
|
69
69
|
*
|
|
70
70
|
* ```js
|
|
71
71
|
* function getURL(req) {
|
|
@@ -88,7 +88,7 @@ declare module "node:url" {
|
|
|
88
88
|
* @deprecated Use the WHATWG URL API instead.
|
|
89
89
|
* @param urlString The URL string to parse.
|
|
90
90
|
* @param parseQueryString If `true`, the `query` property will always
|
|
91
|
-
* be set to an object returned by the [`querystring`](https://nodejs.org/docs/latest-
|
|
91
|
+
* be set to an object returned by the [`querystring`](https://nodejs.org/docs/latest-v26.x/api/querystring.html) module's `parse()`
|
|
92
92
|
* method. If `false`, the `query` property on the returned URL object will be an
|
|
93
93
|
* unparsed, undecoded string. **Default:** `false`.
|
|
94
94
|
* @param slashesDenoteHost If `true`, the first token after the literal
|
|
@@ -546,7 +546,7 @@ declare module "node:url" {
|
|
|
546
546
|
prototype: URLSearchParams;
|
|
547
547
|
new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;
|
|
548
548
|
};
|
|
549
|
-
interface URLSearchParamsIterator<T> extends NodeJS.Iterator<T,
|
|
549
|
+
interface URLSearchParamsIterator<T> extends NodeJS.Iterator<T, BuiltinIteratorReturn, unknown> {
|
|
550
550
|
[Symbol.iterator](): URLSearchParamsIterator<T>;
|
|
551
551
|
}
|
|
552
552
|
// #endregion
|
|
@@ -187,7 +187,7 @@ declare module "node:util/types" {
|
|
|
187
187
|
* ```
|
|
188
188
|
*
|
|
189
189
|
* For further information on `napi_create_external`, refer to
|
|
190
|
-
* [`napi_create_external()`](https://nodejs.org/docs/latest-
|
|
190
|
+
* [`napi_create_external()`](https://nodejs.org/docs/latest-v26.x/api/n-api.html#napi_create_external).
|
|
191
191
|
* @since v10.0.0
|
|
192
192
|
*/
|
|
193
193
|
function isExternal(object: unknown): boolean;
|
|
@@ -139,19 +139,6 @@ declare module "node:util" {
|
|
|
139
139
|
export interface Inspectable {
|
|
140
140
|
[inspect.custom](depth: number, options: InspectContext, inspect: typeof _inspect): any;
|
|
141
141
|
}
|
|
142
|
-
// TODO: Remove these in a future major
|
|
143
|
-
/** @deprecated Use `InspectStyle` instead. */
|
|
144
|
-
export type Style = Exclude<InspectStyle, "name">;
|
|
145
|
-
/** @deprecated Use the `Inspectable` interface instead. */
|
|
146
|
-
export type CustomInspectFunction = (depth: number, options: InspectContext) => any;
|
|
147
|
-
/** @deprecated Use `InspectContext` instead. */
|
|
148
|
-
export interface InspectOptionsStylized extends InspectContext {}
|
|
149
|
-
/** @deprecated Use `InspectColorModifier` instead. */
|
|
150
|
-
export type Modifiers = InspectColorModifier;
|
|
151
|
-
/** @deprecated Use `InspectColorForeground` instead. */
|
|
152
|
-
export type ForegroundColors = InspectColorForeground;
|
|
153
|
-
/** @deprecated Use `InspectColorBackground` instead. */
|
|
154
|
-
export type BackgroundColors = InspectColorBackground;
|
|
155
142
|
export interface CallSiteObject {
|
|
156
143
|
/**
|
|
157
144
|
* Returns the name of the function associated with this call site.
|
|
@@ -340,8 +327,7 @@ declare module "node:util" {
|
|
|
340
327
|
*
|
|
341
328
|
* It is possible to reconstruct the original locations by setting the option `sourceMap` to `true`.
|
|
342
329
|
* If the source map is not available, the original location will be the same as the current location.
|
|
343
|
-
* When the `--enable-source-maps` flag is enabled,
|
|
344
|
-
* `sourceMap` will be true by default.
|
|
330
|
+
* When the `--enable-source-maps` flag is enabled, `sourceMap` will be true by default.
|
|
345
331
|
*
|
|
346
332
|
* ```ts
|
|
347
333
|
* import { getCallSites } from 'node:util';
|
|
@@ -988,6 +974,8 @@ declare module "node:util" {
|
|
|
988
974
|
* `reason`.
|
|
989
975
|
*
|
|
990
976
|
* ```js
|
|
977
|
+
* import util from 'node:util';
|
|
978
|
+
*
|
|
991
979
|
* function fn() {
|
|
992
980
|
* return Promise.reject(null);
|
|
993
981
|
* }
|
|
@@ -1115,7 +1103,7 @@ declare module "node:util" {
|
|
|
1115
1103
|
* ```
|
|
1116
1104
|
*
|
|
1117
1105
|
* If there is an `original[util.promisify.custom]` property present, `promisify`
|
|
1118
|
-
* will return its value, see [Custom promisified functions](https://nodejs.org/docs/latest-
|
|
1106
|
+
* will return its value, see [Custom promisified functions](https://nodejs.org/docs/latest-v26.x/api/util.html#custom-promisified-functions).
|
|
1119
1107
|
*
|
|
1120
1108
|
* `promisify()` assumes that `original` is a function taking a callback as its
|
|
1121
1109
|
* final argument in all cases. If `original` is not a function, `promisify()`
|
|
@@ -1260,19 +1248,31 @@ declare module "node:util" {
|
|
|
1260
1248
|
*
|
|
1261
1249
|
* The special format value `none` applies no additional styling to the text.
|
|
1262
1250
|
*
|
|
1263
|
-
*
|
|
1264
|
-
*
|
|
1251
|
+
* In addition to predefined color names, `util.styleText()` supports hex color
|
|
1252
|
+
* strings using ANSI TrueColor (24-bit) escape sequences. Hex colors can be
|
|
1253
|
+
* specified in either 3-digit (`#RGB`) or 6-digit (`#RRGGBB`) format:
|
|
1254
|
+
*
|
|
1255
|
+
* ```js
|
|
1256
|
+
* import { styleText } from 'node:util';
|
|
1257
|
+
*
|
|
1258
|
+
* // 6-digit hex color
|
|
1259
|
+
* console.log(styleText('#ff5733', 'Orange text'));
|
|
1260
|
+
*
|
|
1261
|
+
* // 3-digit hex color (shorthand)
|
|
1262
|
+
* console.log(styleText('#f00', 'Red text'));
|
|
1263
|
+
* ```
|
|
1264
|
+
*
|
|
1265
|
+
* The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-v26.x/api/util.html#modifiers).
|
|
1266
|
+
* @param format A text format or an Array of text formats defined in `util.inspect.colors`, or a hex color in `#RGB`
|
|
1267
|
+
* or `#RRGGBB` form.
|
|
1265
1268
|
* @param text The text to to be formatted.
|
|
1266
1269
|
* @since v20.12.0
|
|
1267
1270
|
*/
|
|
1268
1271
|
export function styleText(
|
|
1269
|
-
format: InspectColor | readonly InspectColor[]
|
|
1272
|
+
format: InspectColor | readonly InspectColor[] | `#${string}`,
|
|
1270
1273
|
text: string,
|
|
1271
1274
|
options?: StyleTextOptions,
|
|
1272
1275
|
): string;
|
|
1273
|
-
/** @deprecated This alias will be removed in a future version. Use the canonical `TextEncoderEncodeIntoResult` instead. */
|
|
1274
|
-
// TODO: remove in future major
|
|
1275
|
-
export interface EncodeIntoResult extends TextEncoderEncodeIntoResult {}
|
|
1276
1276
|
//// parseArgs
|
|
1277
1277
|
/**
|
|
1278
1278
|
* Provides a higher level API for command-line argument parsing than interacting
|
|
@@ -412,6 +412,21 @@ declare module "node:v8" {
|
|
|
412
412
|
*/
|
|
413
413
|
[Symbol.dispose](): void;
|
|
414
414
|
}
|
|
415
|
+
/**
|
|
416
|
+
* @since v26.1.0
|
|
417
|
+
*/
|
|
418
|
+
interface SyncHeapProfileHandle {
|
|
419
|
+
/**
|
|
420
|
+
* Stopping collecting the profile and return the profile data.
|
|
421
|
+
* @since v26.1.0
|
|
422
|
+
*/
|
|
423
|
+
stop(): string;
|
|
424
|
+
/**
|
|
425
|
+
* Stopping collecting the profile and the profile will be discarded.
|
|
426
|
+
* @since v26.1.0
|
|
427
|
+
*/
|
|
428
|
+
[Symbol.dispose](): void;
|
|
429
|
+
}
|
|
415
430
|
/**
|
|
416
431
|
* @since v24.8.0
|
|
417
432
|
*/
|
|
@@ -444,18 +459,85 @@ declare module "node:v8" {
|
|
|
444
459
|
*/
|
|
445
460
|
[Symbol.asyncDispose](): Promise<void>;
|
|
446
461
|
}
|
|
462
|
+
interface CPUProfileOptions {
|
|
463
|
+
/**
|
|
464
|
+
* Requested sampling interval in milliseconds. **Default:** `0`.
|
|
465
|
+
*/
|
|
466
|
+
sampleInterval?: number | undefined;
|
|
467
|
+
/**
|
|
468
|
+
* Maximum number of samples to keep before older
|
|
469
|
+
* entries are discarded. **Default:** `4294967295`.
|
|
470
|
+
*/
|
|
471
|
+
maxBufferSize?: number | undefined;
|
|
472
|
+
}
|
|
447
473
|
/**
|
|
448
474
|
* Starting a CPU profile then return a `SyncCPUProfileHandle` object.
|
|
449
475
|
* This API supports `using` syntax.
|
|
450
476
|
*
|
|
451
477
|
* ```js
|
|
452
|
-
* const handle = v8.startCpuProfile();
|
|
478
|
+
* const handle = v8.startCpuProfile({ sampleInterval: 1, maxBufferSize: 10_000 });
|
|
453
479
|
* const profile = handle.stop();
|
|
454
480
|
* console.log(profile);
|
|
455
481
|
* ```
|
|
456
482
|
* @since v25.0.0
|
|
457
483
|
*/
|
|
458
|
-
function startCpuProfile(): SyncCPUProfileHandle;
|
|
484
|
+
function startCpuProfile(options?: CPUProfileOptions): SyncCPUProfileHandle;
|
|
485
|
+
interface HeapProfileOptions {
|
|
486
|
+
/**
|
|
487
|
+
* The average sampling interval in bytes.
|
|
488
|
+
* **Default:** `524288` (512 KiB).
|
|
489
|
+
*/
|
|
490
|
+
sampleInterval?: number | undefined;
|
|
491
|
+
/**
|
|
492
|
+
* The maximum stack depth for samples.
|
|
493
|
+
* **Default:** `16`.
|
|
494
|
+
*/
|
|
495
|
+
stackDepth?: number | undefined;
|
|
496
|
+
/**
|
|
497
|
+
* Force garbage collection before taking the profile.
|
|
498
|
+
* **Default:** `false`.
|
|
499
|
+
*/
|
|
500
|
+
forceGC?: boolean | undefined;
|
|
501
|
+
/**
|
|
502
|
+
* Include objects collected
|
|
503
|
+
* by major GC. **Default:** `false`.
|
|
504
|
+
*/
|
|
505
|
+
includeObjectsCollectedByMajorGC?: boolean | undefined;
|
|
506
|
+
/**
|
|
507
|
+
* Include objects collected
|
|
508
|
+
* by minor GC. **Default:** `false`.
|
|
509
|
+
*/
|
|
510
|
+
includeObjectsCollectedByMinorGC?: boolean | undefined;
|
|
511
|
+
}
|
|
512
|
+
/**
|
|
513
|
+
* Starting a heap profile then return a `SyncHeapProfileHandle` object.
|
|
514
|
+
* This API supports `using` syntax.
|
|
515
|
+
*
|
|
516
|
+
* ```js
|
|
517
|
+
* import v8 from 'node:v8';
|
|
518
|
+
*
|
|
519
|
+
* const handle = v8.startHeapProfile();
|
|
520
|
+
* const profile = handle.stop();
|
|
521
|
+
* console.log(profile);
|
|
522
|
+
* ```
|
|
523
|
+
*
|
|
524
|
+
* With custom parameters:
|
|
525
|
+
*
|
|
526
|
+
* ```js
|
|
527
|
+
* import v8 from 'node:v8';
|
|
528
|
+
*
|
|
529
|
+
* const handle = v8.startHeapProfile({
|
|
530
|
+
* sampleInterval: 1024,
|
|
531
|
+
* stackDepth: 8,
|
|
532
|
+
* forceGC: true,
|
|
533
|
+
* includeObjectsCollectedByMajorGC: true,
|
|
534
|
+
* });
|
|
535
|
+
* const profile = handle.stop();
|
|
536
|
+
* console.log(profile);
|
|
537
|
+
* ```
|
|
538
|
+
* @since v26.1.0
|
|
539
|
+
*/
|
|
540
|
+
function startHeapProfile(options?: HeapProfileOptions): SyncHeapProfileHandle;
|
|
459
541
|
/**
|
|
460
542
|
* V8 only supports `Latin-1/ISO-8859-1` and `UTF16` as the underlying representation of a string.
|
|
461
543
|
* If the `content` uses `Latin-1/ISO-8859-1` as the underlying representation, this function will return true;
|
|
@@ -636,7 +718,7 @@ declare module "node:v8" {
|
|
|
636
718
|
function stopCoverage(): void;
|
|
637
719
|
/**
|
|
638
720
|
* The API is a no-op if `--heapsnapshot-near-heap-limit` is already set from the command line or the API is called more than once.
|
|
639
|
-
* `limit` must be a positive integer. See [`--heapsnapshot-near-heap-limit`](https://nodejs.org/docs/latest-
|
|
721
|
+
* `limit` must be a positive integer. See [`--heapsnapshot-near-heap-limit`](https://nodejs.org/docs/latest-v26.x/api/cli.html#--heapsnapshot-near-heap-limitmax_count) for more information.
|
|
640
722
|
* @since v18.10.0, v16.18.0
|
|
641
723
|
*/
|
|
642
724
|
function setHeapSnapshotNearHeapLimit(limit: number): void;
|