@openclaw/slack 2026.8.1-beta.3 → 2026.8.2
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-configured-sUohAxZr.js +33 -0
- package/dist/account-inspect-C3sePHWa.js +87 -0
- package/dist/account-inspect-api.js +1 -1
- package/dist/{accounts-BlzxuYle.js → accounts-Dm_H77gH.js} +7 -10
- package/dist/{accounts.runtime-CbabBL8x.js → accounts.runtime-DRuEK6mL.js} +1 -1
- package/dist/{action-runtime-D6jg2CQd.js → action-runtime-B0kRJ69h.js} +90 -75
- package/dist/action-runtime.runtime-IuA14rev.js +2 -0
- package/dist/{actions-DFk0ANVB.js → actions-BOxiu2Vy.js} +278 -102
- package/dist/api.js +15 -15
- package/dist/{approval-handler.runtime-BNvAoKdK.js → approval-handler.runtime-l5_2JLqi.js} +58 -180
- package/dist/{channel-CA5w7qDF.js → channel-BguxhhNG.js} +97 -154
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel-type-CZWv55Wu.js → channel-type-ChkODKBW.js} +3 -3
- package/dist/{channel.setup-CpyYsEXH.js → channel.setup-BJohRJha.js} +54 -68
- package/dist/{config-schema-CN3XZRX5.js → config-schema-B9GwoRlE.js} +24 -15
- package/dist/configured-state.js +34 -0
- package/dist/{conversation-binding-route-DFVLUdYF.js → conversation-binding-route-Vee8Dgbf.js} +2 -2
- package/dist/{directory-config-BGYyuzWh.js → directory-config-Bmw4ykSy.js} +5 -4
- package/dist/directory-contract-api.js +1 -1
- package/dist/{directory-live-DjUJQLbq.js → directory-live-BOILcXPo.js} +2 -2
- package/dist/{doctor-contract-BAy7-EUQ.js → doctor-contract-BNjw9bxb.js} +5 -4
- package/dist/doctor-contract-api.js +1 -1
- package/dist/{group-policy-DyfB_ZIE.js → group-policy-BYH74y50.js} +643 -774
- package/dist/{message-tool-api-CqMr5Rmc.js → message-tool-api-BsZbsulu.js} +23 -5
- package/dist/message-tool-api.js +1 -1
- package/dist/{monitor-Chrecrb9.js → monitor-B72wWXWg.js} +3 -3
- package/dist/{outbound-adapter-DuRqAQXK.js → outbound-adapter-CPgYQ-BM.js} +94 -69
- package/dist/{pipeline.runtime-Bbfd5VFW.js → pipeline.runtime-CcdujV99.js} +357 -544
- package/dist/{policy-BKXSxrIS.js → policy-CUpBeOt9.js} +7 -4
- package/dist/{probe-BVA65leh.js → probe-gj5yQgN2.js} +209 -21
- package/dist/{provider-CUUiwsg2.js → provider-DW9YC_no.js} +301 -179
- package/dist/{relay-source-mhpMMRG-.js → relay-source-BLMdBrAw.js} +6 -4
- package/dist/{replies-SnWyXcsL.js → replies-DLjQ8RYU.js} +25 -10
- package/dist/{resolve-channels-BSpqC8jU.js → resolve-channels-Bv6IiGZ4.js} +4 -3
- package/dist/{resolve-users-Dvz9pDe0.js → resolve-users-BXw2pA7y.js} +4 -3
- package/dist/runtime-api.js +11 -11
- package/dist/{scopes-BSk4GZvZ.js → scopes-B9HRguDe.js} +1 -1
- package/dist/{send-CtnOxKCc.js → send-GUz4_v2E.js} +58 -42
- package/dist/send-results-eeOu_HYm.js +23 -0
- package/dist/{send.runtime-kYctMHSd.js → send.runtime-rScD-UJi.js} +1 -1
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{setup-surface-BPFfp6So.js → setup-surface-Cc3P-z35.js} +6 -6
- package/dist/{shared-DJBaslN7.js → shared-CQGVZ_8a.js} +28 -8
- package/dist/{slash-dispatch.runtime-Cf2FTrnf.js → slash-dispatch.runtime-C2015r6s.js} +3 -3
- package/dist/{target-parsing-BnMD2ZqZ.js → target-parsing-PbxGDbr9.js} +11 -6
- package/dist/{targets-Cx5W_n3W.js → targets-7FexXJ62.js} +1 -1
- package/node_modules/@slack/bolt/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/bolt/node_modules/@types/node/child_process.d.ts +0 -1
- package/node_modules/@slack/bolt/node_modules/@types/node/crypto.d.ts +6 -6
- package/node_modules/@slack/bolt/node_modules/@types/node/dns/promises.d.ts +5 -5
- package/node_modules/@slack/bolt/node_modules/@types/node/dns.d.ts +5 -5
- package/node_modules/@slack/bolt/node_modules/@types/node/fs.d.ts +7 -0
- package/node_modules/@slack/bolt/node_modules/@types/node/http.d.ts +30 -0
- package/node_modules/@slack/bolt/node_modules/@types/node/http2.d.ts +4 -4
- package/node_modules/@slack/bolt/node_modules/@types/node/os.d.ts +30 -30
- package/node_modules/@slack/bolt/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/bolt/node_modules/@types/node/perf_hooks.d.ts +2 -1
- package/node_modules/@slack/bolt/node_modules/@types/node/process.d.ts +42 -43
- package/node_modules/@slack/bolt/node_modules/@types/node/quic.d.ts +1049 -84
- package/node_modules/@slack/bolt/node_modules/@types/node/sqlite.d.ts +14 -1
- package/node_modules/@slack/bolt/node_modules/@types/node/stream/iter.d.ts +3 -2
- package/node_modules/@slack/bolt/node_modules/@types/node/test.d.ts +61 -0
- package/node_modules/@slack/bolt/node_modules/@types/node/v8.d.ts +20 -23
- package/node_modules/@slack/bolt/node_modules/body-parser/node_modules/content-type/README.md +2 -0
- package/node_modules/@slack/bolt/node_modules/body-parser/node_modules/content-type/dist/index.d.ts +20 -0
- package/node_modules/@slack/bolt/node_modules/body-parser/node_modules/content-type/dist/index.js +20 -14
- package/node_modules/@slack/bolt/node_modules/body-parser/node_modules/content-type/dist/index.js.map +1 -1
- package/node_modules/@slack/bolt/node_modules/body-parser/node_modules/content-type/package.json +1 -1
- package/node_modules/@slack/bolt/node_modules/negotiator/lib/accept.js +54 -0
- package/node_modules/@slack/bolt/node_modules/negotiator/lib/charset.js +10 -34
- package/node_modules/@slack/bolt/node_modules/negotiator/lib/encoding.js +9 -30
- package/node_modules/@slack/bolt/node_modules/negotiator/lib/language.js +15 -36
- package/node_modules/@slack/bolt/node_modules/negotiator/lib/mediaType.js +16 -134
- package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/LICENSE +22 -0
- package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/README.md +71 -0
- package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/dist/index.d.ts +46 -0
- package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/dist/index.js +176 -0
- package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/dist/index.js.map +1 -0
- package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/package.json +52 -0
- package/node_modules/@slack/bolt/node_modules/negotiator/package.json +16 -10
- package/node_modules/@slack/bolt/node_modules/type-is/node_modules/content-type/README.md +2 -0
- package/node_modules/@slack/bolt/node_modules/type-is/node_modules/content-type/dist/index.d.ts +20 -0
- package/node_modules/@slack/bolt/node_modules/type-is/node_modules/content-type/dist/index.js +20 -14
- package/node_modules/@slack/bolt/node_modules/type-is/node_modules/content-type/dist/index.js.map +1 -1
- package/node_modules/@slack/bolt/node_modules/type-is/node_modules/content-type/package.json +1 -1
- package/node_modules/@slack/socket-mode/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/socket-mode/node_modules/@types/node/child_process.d.ts +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@types/node/crypto.d.ts +6 -6
- package/node_modules/@slack/socket-mode/node_modules/@types/node/dns/promises.d.ts +5 -5
- package/node_modules/@slack/socket-mode/node_modules/@types/node/dns.d.ts +5 -5
- package/node_modules/@slack/socket-mode/node_modules/@types/node/fs.d.ts +7 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/http.d.ts +30 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/http2.d.ts +4 -4
- package/node_modules/@slack/socket-mode/node_modules/@types/node/os.d.ts +30 -30
- package/node_modules/@slack/socket-mode/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/socket-mode/node_modules/@types/node/perf_hooks.d.ts +2 -1
- package/node_modules/@slack/socket-mode/node_modules/@types/node/process.d.ts +42 -43
- package/node_modules/@slack/socket-mode/node_modules/@types/node/quic.d.ts +1049 -84
- package/node_modules/@slack/socket-mode/node_modules/@types/node/sqlite.d.ts +14 -1
- package/node_modules/@slack/socket-mode/node_modules/@types/node/stream/iter.d.ts +3 -2
- package/node_modules/@slack/socket-mode/node_modules/@types/node/test.d.ts +61 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/v8.d.ts +20 -23
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +0 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +6 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +5 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +5 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +7 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +30 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +30 -30
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +2 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +42 -43
- package/node_modules/@slack/web-api/node_modules/@types/node/quic.d.ts +1049 -84
- package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +14 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/iter.d.ts +3 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +61 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +20 -23
- package/node_modules/typebox/build/format/date.d.mts +1 -1
- package/node_modules/typebox/build/format/date.mjs +1 -1
- package/node_modules/typebox/build/format/date_time.d.mts +2 -2
- package/node_modules/typebox/build/format/date_time.mjs +3 -3
- package/node_modules/typebox/build/format/email.d.mts +1 -1
- package/node_modules/typebox/build/format/email.mjs +2 -2
- package/node_modules/typebox/build/format/hostname.mjs +2 -10
- package/node_modules/typebox/build/format/idn_email.d.mts +1 -1
- package/node_modules/typebox/build/format/idn_email.mjs +3 -3
- package/node_modules/typebox/build/format/idn_hostname.d.mts +1 -0
- package/node_modules/typebox/build/format/idn_hostname.mjs +3 -11
- package/node_modules/typebox/build/format/idna/format/bidi.d.mts +3 -0
- package/node_modules/typebox/build/format/idna/format/bidi.mjs +98 -0
- package/node_modules/typebox/build/format/idna/format/puny.d.mts +3 -0
- package/node_modules/typebox/build/format/idna/format/puny.mjs +144 -0
- package/node_modules/typebox/build/format/idna/hostname.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/hostname.mjs +16 -0
- package/node_modules/typebox/build/format/idna/idn-hostname.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/idn-hostname.mjs +41 -0
- package/node_modules/typebox/build/format/idna/index.d.mts +2 -0
- package/node_modules/typebox/build/format/idna/index.mjs +2 -0
- package/node_modules/typebox/build/format/idna/label/ascii.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/label/ascii.mjs +9 -0
- package/node_modules/typebox/build/format/idna/label/puny.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/label/puny.mjs +28 -0
- package/node_modules/typebox/build/format/idna/label/unicode.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/label/unicode.mjs +106 -0
- package/node_modules/typebox/build/format/idna/pattern/pattern.d.mts +30 -0
- package/node_modules/typebox/build/format/idna/pattern/pattern.mjs +70 -0
- package/node_modules/typebox/build/format/ipv4.d.mts +0 -1
- package/node_modules/typebox/build/format/ipv4.mjs +2 -32
- package/node_modules/typebox/build/format/ipv6.mjs +2 -61
- package/node_modules/typebox/build/format/iri.d.mts +2 -2
- package/node_modules/typebox/build/format/iri.mjs +26 -8
- package/node_modules/typebox/build/format/iri_reference.d.mts +2 -2
- package/node_modules/typebox/build/format/iri_reference.mjs +9 -55
- package/node_modules/typebox/build/format/regex.d.mts +1 -2
- package/node_modules/typebox/build/format/regex.mjs +2 -6
- package/node_modules/typebox/build/format/time.d.mts +2 -2
- package/node_modules/typebox/build/format/time.mjs +19 -14
- package/node_modules/typebox/build/format/uri.d.mts +1 -1
- package/node_modules/typebox/build/format/uri.mjs +3 -130
- package/node_modules/typebox/build/format/uri_reference.d.mts +1 -1
- package/node_modules/typebox/build/format/uri_reference.mjs +2 -3
- package/node_modules/typebox/build/format/uri_template.d.mts +2 -3
- package/node_modules/typebox/build/format/uri_template.mjs +4 -5
- package/node_modules/typebox/build/format/url.d.mts +3 -3
- package/node_modules/typebox/build/format/url.mjs +4 -5
- package/node_modules/typebox/build/guard/emit.d.mts +3 -1
- package/node_modules/typebox/build/guard/emit.mjs +12 -5
- package/node_modules/typebox/build/guard/guard.d.mts +8 -2
- package/node_modules/typebox/build/guard/guard.mjs +25 -4
- package/node_modules/typebox/build/guard/string.d.mts +2 -2
- package/node_modules/typebox/build/guard/string.mjs +7 -7
- package/node_modules/typebox/build/schema/engine/_context.mjs +3 -3
- package/node_modules/typebox/build/schema/engine/_functions.mjs +1 -2
- package/node_modules/typebox/build/schema/engine/_regexp.d.mts +2 -0
- package/node_modules/typebox/build/schema/engine/_regexp.mjs +4 -0
- package/node_modules/typebox/build/schema/engine/_stack.mjs +12 -13
- package/node_modules/typebox/build/schema/engine/additionalItems.mjs +17 -7
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +4 -3
- package/node_modules/typebox/build/schema/engine/contains.mjs +18 -6
- package/node_modules/typebox/build/schema/engine/enum.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/items.mjs +26 -6
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +3 -3
- package/node_modules/typebox/build/schema/engine/minContains.mjs +14 -4
- package/node_modules/typebox/build/schema/engine/not.mjs +4 -2
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +7 -6
- package/node_modules/typebox/build/schema/engine/pattern.mjs +3 -2
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +4 -3
- package/node_modules/typebox/build/schema/engine/ref.mjs +1 -7
- package/node_modules/typebox/build/schema/engine/schema.mjs +13 -4
- package/node_modules/typebox/build/schema/engine/type.mjs +1 -1
- package/node_modules/typebox/build/schema/resolve/resolve.d.mts +4 -1
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +202 -1
- package/node_modules/typebox/build/schema/static/propertyNames.d.mts +5 -0
- package/node_modules/typebox/build/schema/static/propertyNames.mjs +3 -0
- package/node_modules/typebox/build/schema/static/schema.d.mts +3 -0
- package/node_modules/typebox/build/schema/types/index.d.mts +0 -2
- package/node_modules/typebox/build/schema/types/index.mjs +0 -2
- package/node_modules/typebox/build/system/memory/clone.mjs +14 -11
- package/node_modules/typebox/build/system/memory/discard.mjs +6 -5
- package/node_modules/typebox/build/system/settings/settings.d.mts +9 -0
- package/node_modules/typebox/build/system/settings/settings.mjs +2 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +6 -1
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +16 -3
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +34 -4
- package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +5 -5
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +20 -26
- package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +6 -10
- package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +9 -13
- package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +7 -4
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +12 -19
- package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +4 -20
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +8 -20
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +4 -4
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +11 -8
- package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +1 -1
- package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +3 -4
- package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +17 -2
- package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +26 -6
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +3 -4
- package/node_modules/typebox/build/type/engine/extract/operation.d.mts +1 -1
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +3 -4
- package/node_modules/typebox/build/type/engine/priority/priority.d.mts +2 -2
- package/node_modules/typebox/build/type/engine/priority/priority.mjs +3 -4
- package/node_modules/typebox/build/type/script/mapping.d.mts +32 -29
- package/node_modules/typebox/build/type/script/mapping.mjs +18 -25
- package/node_modules/typebox/build/type/script/parser.d.mts +19 -25
- package/node_modules/typebox/build/type/script/parser.mjs +27 -23
- package/node_modules/typebox/build/value/errors/errors.d.mts +2 -2
- package/node_modules/typebox/build/value/errors/errors.mjs +1 -1
- package/node_modules/typebox/package.json +27 -27
- package/node_modules/typebox/readme.md +79 -82
- package/node_modules/ws/lib/permessage-deflate.js +3 -1
- package/node_modules/ws/package.json +1 -1
- package/openclaw.plugin.json +14 -6
- package/package.json +9 -7
- package/dist/account-configured-BwfXBo_F.js +0 -14
- package/dist/account-inspect-YJvFBbCR.js +0 -89
- package/dist/action-runtime.runtime-JtoOK9l5.js +0 -2
- package/dist/actions.runtime-CYLsYRai.js +0 -2
- package/dist/runtime-api-DBi7xc_g.js +0 -10
- package/dist/slack-client-kind-BXyOOICI.js +0 -94
- package/node_modules/@slack/bolt/node_modules/negotiator/HISTORY.md +0 -114
- package/node_modules/typebox/build/format/_idna.d.mts +0 -2
- package/node_modules/typebox/build/format/_idna.mjs +0 -246
- package/node_modules/typebox/build/format/_puny.d.mts +0 -1
- package/node_modules/typebox/build/format/_puny.mjs +0 -77
- package/node_modules/typebox/build/schema/resolve/ref.d.mts +0 -3
- package/node_modules/typebox/build/schema/resolve/ref.mjs +0 -146
- package/node_modules/typebox/build/schema/types/contentEncoding.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/contentEncoding.mjs +0 -13
- package/node_modules/typebox/build/schema/types/contentMediaType.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/contentMediaType.mjs +0 -13
|
@@ -298,10 +298,23 @@ declare module "node:sqlite" {
|
|
|
298
298
|
* Loads a shared library into the database connection. This method is a wrapper
|
|
299
299
|
* around [`sqlite3_load_extension()`](https://www.sqlite.org/c3ref/load_extension.html). It is required to enable the
|
|
300
300
|
* `allowExtension` option when constructing the `DatabaseSync` instance.
|
|
301
|
+
*
|
|
302
|
+
* ```js
|
|
303
|
+
* import { DatabaseSync } from 'node:sqlite';
|
|
304
|
+
* const database = new DatabaseSync(':memory:', { allowExtension: true });
|
|
305
|
+
*
|
|
306
|
+
* // Load using the entry point derived from the filename.
|
|
307
|
+
* database.loadExtension('./decimal.dylib');
|
|
308
|
+
*
|
|
309
|
+
* // Override the entry point when the derived name does not match.
|
|
310
|
+
* database.loadExtension('./base64.dylib', 'sqlite3_base64_init');
|
|
301
311
|
* @since v22.13.0
|
|
302
312
|
* @param path The path to the shared library to load.
|
|
313
|
+
* @param entryPoint The name of the extension's entry-point function. When
|
|
314
|
+
* omitted, SQLite derives the entry point from the shared library's filename;
|
|
315
|
+
* pass this argument explicitly when the derived name does not match.
|
|
303
316
|
*/
|
|
304
|
-
loadExtension(path: string): void;
|
|
317
|
+
loadExtension(path: string, entryPoint?: string): void;
|
|
305
318
|
/**
|
|
306
319
|
* Enables or disables the `loadExtension` SQL function, and the `loadExtension()`
|
|
307
320
|
* method. When `allowExtension` is `false` when constructing, you cannot enable
|
|
@@ -311,8 +311,9 @@ declare module "node:stream/iter" {
|
|
|
311
311
|
* return `false` or `-1`, deferring to the async path. The per-write
|
|
312
312
|
* `options.signal` parameter from the Writer interface is also ignored.
|
|
313
313
|
*
|
|
314
|
-
* The result is cached per instance
|
|
315
|
-
*
|
|
314
|
+
* The result is cached per instance and backpressure policy -- calling
|
|
315
|
+
* `fromWritable()` twice with the same stream and `backpressure` option returns
|
|
316
|
+
* the same Writer.
|
|
316
317
|
*
|
|
317
318
|
* For duck-typed streams that do not expose `writableHighWaterMark`,
|
|
318
319
|
* `writableLength`, or similar properties, sensible defaults are used.
|
|
@@ -264,6 +264,15 @@ declare module "node:test" {
|
|
|
264
264
|
* @since v22.1.0
|
|
265
265
|
*/
|
|
266
266
|
testSkipPatterns?: string | RegExp | ReadonlyArray<string | RegExp> | undefined;
|
|
267
|
+
/**
|
|
268
|
+
* A tag name, or an array of tag names,
|
|
269
|
+
* used to filter tests by their declared tags. Tests must contain every
|
|
270
|
+
* listed tag to run. Equivalent to passing `--experimental-test-tag-filter`
|
|
271
|
+
* on the command line. See [Test tags](https://nodejs.org/docs/latest-v26.x/api/test.html#test-tags).
|
|
272
|
+
* @default undefined
|
|
273
|
+
* @since v26.2.0
|
|
274
|
+
*/
|
|
275
|
+
testTagFilters?: string | readonly string[] | undefined;
|
|
267
276
|
/**
|
|
268
277
|
* The number of milliseconds after which the test execution will fail.
|
|
269
278
|
* If unspecified, subtests inherit this value from their parent.
|
|
@@ -668,6 +677,12 @@ declare module "node:test" {
|
|
|
668
677
|
* The nesting level of the test.
|
|
669
678
|
*/
|
|
670
679
|
nesting: number;
|
|
680
|
+
/**
|
|
681
|
+
* The flattened lowercased tags declared on the test
|
|
682
|
+
* and its ancestor suites, in declaration order. Empty for untagged tests.
|
|
683
|
+
* See [Test tags](https://nodejs.org/docs/latest-v26.x/api/test.html#test-tags).
|
|
684
|
+
*/
|
|
685
|
+
tags: string[];
|
|
671
686
|
/**
|
|
672
687
|
* A numeric identifier for this test instance, unique
|
|
673
688
|
* within the test file's process. Consistent across all events for the same
|
|
@@ -696,6 +711,12 @@ declare module "node:test" {
|
|
|
696
711
|
* The nesting level of the test.
|
|
697
712
|
*/
|
|
698
713
|
nesting: number;
|
|
714
|
+
/**
|
|
715
|
+
* The flattened lowercased tags declared on the test
|
|
716
|
+
* and its ancestor suites, in declaration order. Empty for untagged tests.
|
|
717
|
+
* See [Test tags](https://nodejs.org/docs/latest-v26.x/api/test.html#test-tags).
|
|
718
|
+
*/
|
|
719
|
+
tags: string[];
|
|
699
720
|
/**
|
|
700
721
|
* A numeric identifier for this test instance, unique
|
|
701
722
|
* within the test file's process. Consistent across all events for the same
|
|
@@ -717,6 +738,12 @@ declare module "node:test" {
|
|
|
717
738
|
* The nesting level of the test.
|
|
718
739
|
*/
|
|
719
740
|
nesting: number;
|
|
741
|
+
/**
|
|
742
|
+
* The flattened lowercased tags declared on the test
|
|
743
|
+
* and its ancestor suites, in declaration order. Empty for untagged tests.
|
|
744
|
+
* See [Test tags](https://nodejs.org/docs/latest-v26.x/api/test.html#test-tags).
|
|
745
|
+
*/
|
|
746
|
+
tags: string[];
|
|
720
747
|
/**
|
|
721
748
|
* A numeric identifier for this test instance, unique
|
|
722
749
|
* within the test file's process. Consistent across all events for the same
|
|
@@ -762,6 +789,12 @@ declare module "node:test" {
|
|
|
762
789
|
* The nesting level of the test.
|
|
763
790
|
*/
|
|
764
791
|
nesting: number;
|
|
792
|
+
/**
|
|
793
|
+
* The flattened lowercased tags declared on the test
|
|
794
|
+
* and its ancestor suites, in declaration order. Empty for untagged tests.
|
|
795
|
+
* See [Test tags](https://nodejs.org/docs/latest-v26.x/api/test.html#test-tags).
|
|
796
|
+
*/
|
|
797
|
+
tags: string[];
|
|
765
798
|
/**
|
|
766
799
|
* A numeric identifier for this test instance, unique
|
|
767
800
|
* within the test file's process. Consistent across all events for the same
|
|
@@ -823,6 +856,12 @@ declare module "node:test" {
|
|
|
823
856
|
* The nesting level of the test.
|
|
824
857
|
*/
|
|
825
858
|
nesting: number;
|
|
859
|
+
/**
|
|
860
|
+
* The flattened lowercased tags declared on the test
|
|
861
|
+
* and its ancestor suites, in declaration order. Empty for untagged tests.
|
|
862
|
+
* See [Test tags](https://nodejs.org/docs/latest-v26.x/api/test.html#test-tags).
|
|
863
|
+
*/
|
|
864
|
+
tags: string[];
|
|
826
865
|
/**
|
|
827
866
|
* A numeric identifier for this test instance, unique
|
|
828
867
|
* within the test file's process. Consistent across all events for the same
|
|
@@ -861,6 +900,12 @@ declare module "node:test" {
|
|
|
861
900
|
* The nesting level of the test.
|
|
862
901
|
*/
|
|
863
902
|
nesting: number;
|
|
903
|
+
/**
|
|
904
|
+
* The flattened lowercased tags declared on the test
|
|
905
|
+
* and its ancestor suites, in declaration order. Empty for untagged tests.
|
|
906
|
+
* See [Test tags](https://nodejs.org/docs/latest-v26.x/api/test.html#test-tags).
|
|
907
|
+
*/
|
|
908
|
+
tags: string[];
|
|
864
909
|
/**
|
|
865
910
|
* A numeric identifier for this test instance, unique
|
|
866
911
|
* within the test file's process. Consistent across all events for the same
|
|
@@ -1082,6 +1127,13 @@ declare module "node:test" {
|
|
|
1082
1127
|
* @since v21.7.0, v20.12.0
|
|
1083
1128
|
*/
|
|
1084
1129
|
readonly attempt: number;
|
|
1130
|
+
/**
|
|
1131
|
+
* A frozen array of the test's flattened lowercased tags, in declaration
|
|
1132
|
+
* order, including any tags inherited from ancestor suites. Empty when the
|
|
1133
|
+
* test has no tags. See [Test tags](https://nodejs.org/docs/latest-v26.x/api/test.html#test-tags).
|
|
1134
|
+
* @since v26.2.0
|
|
1135
|
+
*/
|
|
1136
|
+
readonly tags: readonly string[];
|
|
1085
1137
|
/**
|
|
1086
1138
|
* The unique identifier of the worker running the current test file. This value is
|
|
1087
1139
|
* derived from the `NODE_TEST_WORKER_ID` environment variable. When running tests
|
|
@@ -1443,6 +1495,15 @@ declare module "node:test" {
|
|
|
1443
1495
|
* @default false
|
|
1444
1496
|
*/
|
|
1445
1497
|
skip?: boolean | string | undefined;
|
|
1498
|
+
/**
|
|
1499
|
+
* An array of string labels associated with the test.
|
|
1500
|
+
* Used together with `--experimental-test-tag-filter` to filter which
|
|
1501
|
+
* tests run. Tags inherit from suites to nested tests by union. See
|
|
1502
|
+
* [Test tags](https://nodejs.org/docs/latest-v26.x/api/test.html#test-tags).
|
|
1503
|
+
* @default []
|
|
1504
|
+
* @since v26.2.0
|
|
1505
|
+
*/
|
|
1506
|
+
tags?: readonly string[] | undefined;
|
|
1446
1507
|
/**
|
|
1447
1508
|
* A number of milliseconds the test will fail after. If unspecified, subtests inherit this
|
|
1448
1509
|
* value from their parent.
|
|
@@ -89,23 +89,22 @@ declare module "node:v8" {
|
|
|
89
89
|
* `total_allocated_bytes` The value of total allocated bytes since the Isolate
|
|
90
90
|
* creation.
|
|
91
91
|
*
|
|
92
|
-
* ```
|
|
92
|
+
* ```json
|
|
93
93
|
* {
|
|
94
|
-
* total_heap_size: 7326976,
|
|
95
|
-
* total_heap_size_executable: 4194304,
|
|
96
|
-
* total_physical_size: 7326976,
|
|
97
|
-
* total_available_size: 1152656,
|
|
98
|
-
* used_heap_size: 3476208,
|
|
99
|
-
* heap_size_limit: 1535115264,
|
|
100
|
-
* malloced_memory: 16384,
|
|
101
|
-
* peak_malloced_memory: 1127496,
|
|
102
|
-
* does_zap_garbage: 0,
|
|
103
|
-
* number_of_native_contexts: 1,
|
|
104
|
-
* number_of_detached_contexts: 0,
|
|
105
|
-
* total_global_handles_size: 8192,
|
|
106
|
-
* used_global_handles_size: 3296,
|
|
107
|
-
* external_memory: 318824
|
|
108
|
-
* total_allocated_bytes: 45224088
|
|
94
|
+
* "total_heap_size": 7326976,
|
|
95
|
+
* "total_heap_size_executable": 4194304,
|
|
96
|
+
* "total_physical_size": 7326976,
|
|
97
|
+
* "total_available_size": 1152656,
|
|
98
|
+
* "used_heap_size": 3476208,
|
|
99
|
+
* "heap_size_limit": 1535115264,
|
|
100
|
+
* "malloced_memory": 16384,
|
|
101
|
+
* "peak_malloced_memory": 1127496,
|
|
102
|
+
* "does_zap_garbage": 0,
|
|
103
|
+
* "number_of_native_contexts": 1,
|
|
104
|
+
* "number_of_detached_contexts": 0,
|
|
105
|
+
* "total_global_handles_size": 8192,
|
|
106
|
+
* "used_global_handles_size": 3296,
|
|
107
|
+
* "external_memory": 318824
|
|
109
108
|
* }
|
|
110
109
|
* ```
|
|
111
110
|
* @since v1.0.0
|
|
@@ -386,12 +385,12 @@ declare module "node:v8" {
|
|
|
386
385
|
* V8 [`GetHeapCodeAndMetadataStatistics`](https://v8docs.nodesource.com/node-13.2/d5/dda/classv8_1_1_isolate.html#a6079122af17612ef54ef3348ce170866) API. Returns an object with the
|
|
387
386
|
* following properties:
|
|
388
387
|
*
|
|
389
|
-
* ```
|
|
388
|
+
* ```json
|
|
390
389
|
* {
|
|
391
|
-
* code_and_metadata_size: 212208,
|
|
392
|
-
* bytecode_and_metadata_size: 161368,
|
|
393
|
-
* external_script_source_size: 1410794,
|
|
394
|
-
* cpu_profiler_metadata_size: 0
|
|
390
|
+
* "code_and_metadata_size": 212208,
|
|
391
|
+
* "bytecode_and_metadata_size": 161368,
|
|
392
|
+
* "external_script_source_size": 1410794,
|
|
393
|
+
* "cpu_profiler_metadata_size": 0
|
|
395
394
|
* }
|
|
396
395
|
* ```
|
|
397
396
|
* @since v12.8.0
|
|
@@ -963,8 +962,6 @@ declare module "node:v8" {
|
|
|
963
962
|
* For example, if the `entry.js` contains the following script:
|
|
964
963
|
*
|
|
965
964
|
* ```js
|
|
966
|
-
* 'use strict';
|
|
967
|
-
*
|
|
968
965
|
* import fs from 'node:fs';
|
|
969
966
|
* import zlib from 'node:zlib';
|
|
970
967
|
* import path from 'node:path';
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 07 Aug 2026 17:46:44 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -2698,12 +2698,12 @@ declare module "node:crypto" {
|
|
|
2698
2698
|
*/
|
|
2699
2699
|
function sign(
|
|
2700
2700
|
algorithm: string | null | undefined,
|
|
2701
|
-
data:
|
|
2701
|
+
data: BinaryLike,
|
|
2702
2702
|
key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput | SignJsonWebKeyInput,
|
|
2703
2703
|
): NonSharedBuffer;
|
|
2704
2704
|
function sign(
|
|
2705
2705
|
algorithm: string | null | undefined,
|
|
2706
|
-
data:
|
|
2706
|
+
data: BinaryLike,
|
|
2707
2707
|
key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput | SignJsonWebKeyInput,
|
|
2708
2708
|
callback: (error: Error | null, data: NonSharedBuffer) => void,
|
|
2709
2709
|
): void;
|
|
@@ -2729,15 +2729,15 @@ declare module "node:crypto" {
|
|
|
2729
2729
|
*/
|
|
2730
2730
|
function verify(
|
|
2731
2731
|
algorithm: string | null | undefined,
|
|
2732
|
-
data:
|
|
2732
|
+
data: BinaryLike,
|
|
2733
2733
|
key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput,
|
|
2734
|
-
signature:
|
|
2734
|
+
signature: BinaryLike,
|
|
2735
2735
|
): boolean;
|
|
2736
2736
|
function verify(
|
|
2737
2737
|
algorithm: string | null | undefined,
|
|
2738
|
-
data:
|
|
2738
|
+
data: BinaryLike,
|
|
2739
2739
|
key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput,
|
|
2740
|
-
signature:
|
|
2740
|
+
signature: BinaryLike,
|
|
2741
2741
|
callback: (error: Error | null, result: boolean) => void,
|
|
2742
2742
|
): void;
|
|
2743
2743
|
/**
|
|
@@ -183,7 +183,7 @@ declare module "node:dns/promises" {
|
|
|
183
183
|
* refresh: 900,
|
|
184
184
|
* retry: 900,
|
|
185
185
|
* expire: 1800,
|
|
186
|
-
* minttl: 60 } ]
|
|
186
|
+
* minttl: 60 } ];
|
|
187
187
|
* ```
|
|
188
188
|
* @since v10.6.0
|
|
189
189
|
*/
|
|
@@ -226,7 +226,7 @@ declare module "node:dns/promises" {
|
|
|
226
226
|
* regexp: '',
|
|
227
227
|
* replacement: '_sip._udp.example.com',
|
|
228
228
|
* order: 30,
|
|
229
|
-
* preference: 100
|
|
229
|
+
* preference: 100,
|
|
230
230
|
* }
|
|
231
231
|
* ```
|
|
232
232
|
* @since v10.6.0
|
|
@@ -265,7 +265,7 @@ declare module "node:dns/promises" {
|
|
|
265
265
|
* refresh: 10000,
|
|
266
266
|
* retry: 2400,
|
|
267
267
|
* expire: 604800,
|
|
268
|
-
* minttl: 3600
|
|
268
|
+
* minttl: 3600,
|
|
269
269
|
* }
|
|
270
270
|
* ```
|
|
271
271
|
* @since v10.6.0
|
|
@@ -285,7 +285,7 @@ declare module "node:dns/promises" {
|
|
|
285
285
|
* priority: 10,
|
|
286
286
|
* weight: 5,
|
|
287
287
|
* port: 21223,
|
|
288
|
-
* name: 'service.example.com'
|
|
288
|
+
* name: 'service.example.com',
|
|
289
289
|
* }
|
|
290
290
|
* ```
|
|
291
291
|
* @since v10.6.0
|
|
@@ -306,7 +306,7 @@ declare module "node:dns/promises" {
|
|
|
306
306
|
* certUsage: 3,
|
|
307
307
|
* selector: 1,
|
|
308
308
|
* match: 1,
|
|
309
|
-
* data: [ArrayBuffer]
|
|
309
|
+
* data: [ArrayBuffer],
|
|
310
310
|
* }
|
|
311
311
|
* ```
|
|
312
312
|
* @since v23.9.0, v22.15.0
|
|
@@ -490,7 +490,7 @@ declare module "node:dns" {
|
|
|
490
490
|
* regexp: '',
|
|
491
491
|
* replacement: '_sip._udp.example.com',
|
|
492
492
|
* order: 30,
|
|
493
|
-
* preference: 100
|
|
493
|
+
* preference: 100,
|
|
494
494
|
* }
|
|
495
495
|
* ```
|
|
496
496
|
* @since v0.9.12
|
|
@@ -547,7 +547,7 @@ declare module "node:dns" {
|
|
|
547
547
|
* refresh: 10000,
|
|
548
548
|
* retry: 2400,
|
|
549
549
|
* expire: 604800,
|
|
550
|
-
* minttl: 3600
|
|
550
|
+
* minttl: 3600,
|
|
551
551
|
* }
|
|
552
552
|
* ```
|
|
553
553
|
* @since v0.11.10
|
|
@@ -573,7 +573,7 @@ declare module "node:dns" {
|
|
|
573
573
|
* priority: 10,
|
|
574
574
|
* weight: 5,
|
|
575
575
|
* port: 21223,
|
|
576
|
-
* name: 'service.example.com'
|
|
576
|
+
* name: 'service.example.com',
|
|
577
577
|
* }
|
|
578
578
|
* ```
|
|
579
579
|
* @since v0.1.27
|
|
@@ -600,7 +600,7 @@ declare module "node:dns" {
|
|
|
600
600
|
* certUsage: 3,
|
|
601
601
|
* selector: 1,
|
|
602
602
|
* match: 1,
|
|
603
|
-
* data: [ArrayBuffer]
|
|
603
|
+
* data: [ArrayBuffer],
|
|
604
604
|
* }
|
|
605
605
|
* ```
|
|
606
606
|
* @since v23.9.0, v22.15.0
|
|
@@ -650,7 +650,7 @@ declare module "node:dns" {
|
|
|
650
650
|
* refresh: 900,
|
|
651
651
|
* retry: 900,
|
|
652
652
|
* expire: 1800,
|
|
653
|
-
* minttl: 60 } ]
|
|
653
|
+
* minttl: 60 } ];
|
|
654
654
|
* ```
|
|
655
655
|
*
|
|
656
656
|
* DNS server operators may choose not to respond to `ANY` queries. It may be better to call individual methods like {@link resolve4}, {@link resolveMx}, and so on. For more details, see
|
|
@@ -48,6 +48,13 @@ declare module "node:fs" {
|
|
|
48
48
|
mtime: Date;
|
|
49
49
|
ctime: Date;
|
|
50
50
|
birthtime: Date;
|
|
51
|
+
// Deliberately not defining a type alias here... it'd be exported, and something in the ecosystem would inevitably start using it.
|
|
52
|
+
// TODO: replace with Temporal builtins once @types/node no longer supports TS <6.0.
|
|
53
|
+
atimeInstant: typeof globalThis extends { Temporal: { Instant: new(...args: any[]) => infer T } } ? T : unknown;
|
|
54
|
+
mtimeInstant: typeof globalThis extends { Temporal: { Instant: new(...args: any[]) => infer T } } ? T : unknown;
|
|
55
|
+
ctimeInstant: typeof globalThis extends { Temporal: { Instant: new(...args: any[]) => infer T } } ? T : unknown;
|
|
56
|
+
birthtimeInstant: typeof globalThis extends { Temporal: { Instant: new(...args: any[]) => infer T } } ? T
|
|
57
|
+
: unknown;
|
|
51
58
|
}
|
|
52
59
|
interface Stats extends StatsBase<number> {}
|
|
53
60
|
/**
|
|
@@ -922,6 +922,36 @@ declare module "node:http" {
|
|
|
922
922
|
headers?: OutgoingHttpHeaders | OutgoingHttpHeader[],
|
|
923
923
|
): this;
|
|
924
924
|
writeHead(statusCode: number, headers?: OutgoingHttpHeaders | OutgoingHttpHeader[]): this;
|
|
925
|
+
/**
|
|
926
|
+
* Sends an arbitrary HTTP/1.1 1xx informational response to the client. This
|
|
927
|
+
* is a generic equivalent of `response.writeContinue()`,
|
|
928
|
+
* `response.writeProcessing()` and `response.writeEarlyHints()`, and
|
|
929
|
+
* can be called multiple times before the final response. After the final
|
|
930
|
+
* response headers have been sent (via `response.writeHead()` or an
|
|
931
|
+
* implicit header), calling this method throws `ERR_HTTP_HEADERS_SENT`.
|
|
932
|
+
*
|
|
933
|
+
* Clients receive these responses via the [`'information'`](https://nodejs.org/docs/latest-v26.x/api/http.html#event-information)
|
|
934
|
+
* event on `http.ClientRequest`.
|
|
935
|
+
*
|
|
936
|
+
* ```js
|
|
937
|
+
* response.writeInformation(110, { 'X-Progress': '50%' });
|
|
938
|
+
* ```
|
|
939
|
+
* @since v26.2.0
|
|
940
|
+
* @param statusCode An HTTP 1xx informational status code, between `100`
|
|
941
|
+
* and `199` inclusive, excluding `101` (Switching Protocols) which is only
|
|
942
|
+
* available through the [`'upgrade'`](https://nodejs.org/docs/latest-v26.x/api/http.html#event-upgrade) event.
|
|
943
|
+
* @param headers An optional set of headers to send with the
|
|
944
|
+
* informational response. Accepts the same shapes as
|
|
945
|
+
* `response.writeHead()`.
|
|
946
|
+
* @param callback Optional, called once the message has been written
|
|
947
|
+
* to the socket.
|
|
948
|
+
*/
|
|
949
|
+
writeInformation(
|
|
950
|
+
statusCode: number,
|
|
951
|
+
headers?: OutgoingHttpHeaders | readonly string[],
|
|
952
|
+
callback?: () => void,
|
|
953
|
+
): void;
|
|
954
|
+
writeInformation(statusCode: number, callback: () => void): void;
|
|
925
955
|
/**
|
|
926
956
|
* Sends a HTTP/1.1 102 Processing message to the client, indicating that
|
|
927
957
|
* the request body should be sent.
|
|
@@ -59,7 +59,7 @@ declare module "node:http2" {
|
|
|
59
59
|
"ready": [];
|
|
60
60
|
"streamClosed": [code: number];
|
|
61
61
|
"timeout": [];
|
|
62
|
-
"trailers": [
|
|
62
|
+
"trailers": [headers: IncomingHttpHeaders, flags: number, rawHeaders: string[]];
|
|
63
63
|
"wantTrailers": [];
|
|
64
64
|
}
|
|
65
65
|
interface Http2Stream extends stream.Duplex {
|
|
@@ -245,7 +245,7 @@ declare module "node:http2" {
|
|
|
245
245
|
interface ClientHttp2StreamEventMap extends Http2StreamEventMap {
|
|
246
246
|
"continue": [];
|
|
247
247
|
"headers": [headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number, rawHeaders: string[]];
|
|
248
|
-
"push": [headers: IncomingHttpHeaders, flags: number];
|
|
248
|
+
"push": [headers: IncomingHttpHeaders, flags: number, rawHeaders: string[]];
|
|
249
249
|
"response": [headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number, rawHeaders: string[]];
|
|
250
250
|
}
|
|
251
251
|
interface ClientHttp2Stream extends Http2Stream {
|
|
@@ -1644,8 +1644,8 @@ declare module "node:http2" {
|
|
|
1644
1644
|
*
|
|
1645
1645
|
* Then `request.url` will be:
|
|
1646
1646
|
*
|
|
1647
|
-
* ```
|
|
1648
|
-
*
|
|
1647
|
+
* ```json
|
|
1648
|
+
* "/status?name=ryan"
|
|
1649
1649
|
* ```
|
|
1650
1650
|
*
|
|
1651
1651
|
* To parse the url into its parts, `new URL()` can be used:
|
|
@@ -122,7 +122,7 @@ declare module "node:os" {
|
|
|
122
122
|
* irq: 20,
|
|
123
123
|
* },
|
|
124
124
|
* },
|
|
125
|
-
* ]
|
|
125
|
+
* ];
|
|
126
126
|
* ```
|
|
127
127
|
*
|
|
128
128
|
* `nice` values are POSIX-only. On Windows, the `nice` values of all processors
|
|
@@ -167,44 +167,44 @@ declare module "node:os" {
|
|
|
167
167
|
*
|
|
168
168
|
* The properties available on the assigned network address object include:
|
|
169
169
|
*
|
|
170
|
-
* ```
|
|
170
|
+
* ```json
|
|
171
171
|
* {
|
|
172
|
-
* lo: [
|
|
172
|
+
* "lo": [
|
|
173
173
|
* {
|
|
174
|
-
* address:
|
|
175
|
-
* netmask:
|
|
176
|
-
* family:
|
|
177
|
-
* mac:
|
|
178
|
-
* internal: true,
|
|
179
|
-
* cidr:
|
|
174
|
+
* "address:": "127.0.0.1",
|
|
175
|
+
* "netmask:": "255.0.0.0",
|
|
176
|
+
* "family:": "IPv4",
|
|
177
|
+
* "mac:": "00:00:00:00:00:00",
|
|
178
|
+
* "internal:": true,
|
|
179
|
+
* "cidr:": "127.0.0.1/8"
|
|
180
180
|
* },
|
|
181
181
|
* {
|
|
182
|
-
* address:
|
|
183
|
-
* netmask:
|
|
184
|
-
* family:
|
|
185
|
-
* mac:
|
|
186
|
-
* scopeid: 0,
|
|
187
|
-
* internal: true,
|
|
188
|
-
* cidr:
|
|
182
|
+
* "address:": "::1",
|
|
183
|
+
* "netmask:": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
|
184
|
+
* "family:": "IPv6",
|
|
185
|
+
* "mac:": "00:00:00:00:00:00",
|
|
186
|
+
* "scopeid:": 0,
|
|
187
|
+
* "internal:": true,
|
|
188
|
+
* "cidr:": "::1/128"
|
|
189
189
|
* }
|
|
190
190
|
* ],
|
|
191
|
-
* eth0: [
|
|
191
|
+
* "eth0": [
|
|
192
192
|
* {
|
|
193
|
-
* address:
|
|
194
|
-
* netmask:
|
|
195
|
-
* family:
|
|
196
|
-
* mac:
|
|
197
|
-
* internal: false,
|
|
198
|
-
* cidr:
|
|
193
|
+
* "address:": "192.168.1.108",
|
|
194
|
+
* "netmask:": "255.255.255.0",
|
|
195
|
+
* "family:": "IPv4",
|
|
196
|
+
* "mac:": "01:02:03:0a:0b:0c",
|
|
197
|
+
* "internal:": false,
|
|
198
|
+
* "cidr:": "192.168.1.108/24"
|
|
199
199
|
* },
|
|
200
200
|
* {
|
|
201
|
-
* address:
|
|
202
|
-
* netmask:
|
|
203
|
-
* family:
|
|
204
|
-
* mac:
|
|
205
|
-
* scopeid: 1,
|
|
206
|
-
* internal: false,
|
|
207
|
-
* cidr:
|
|
201
|
+
* "address:": "fe80::a00:27ff:fe4e:66a1",
|
|
202
|
+
* "netmask:": "ffff:ffff:ffff:ffff::",
|
|
203
|
+
* "family:": "IPv6",
|
|
204
|
+
* "mac:": "01:02:03:0a:0b:0c",
|
|
205
|
+
* "scopeid:": 1,
|
|
206
|
+
* "internal:": false,
|
|
207
|
+
* "cidr:": "fe80::a00:27ff:fe4e:66a1/64"
|
|
208
208
|
* }
|
|
209
209
|
* ]
|
|
210
210
|
* }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "26.
|
|
3
|
+
"version": "26.2.0",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -150,6 +150,6 @@
|
|
|
150
150
|
"undici-types": "~8.3.0"
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": {},
|
|
153
|
-
"typesPublisherContentHash": "
|
|
153
|
+
"typesPublisherContentHash": "e8c7e12bafdd8ff8648e4d416be7af2d4373bffe17a7498d815e251898739e7c",
|
|
154
154
|
"typeScriptVersion": "5.6"
|
|
155
155
|
}
|
|
@@ -11,6 +11,7 @@ declare module "node:perf_hooks" {
|
|
|
11
11
|
| "measure" // available on the Web
|
|
12
12
|
| "net" // Node.js only
|
|
13
13
|
| "node" // Node.js only
|
|
14
|
+
| "quic" // Node.js only
|
|
14
15
|
| "resource"; // available on the Web
|
|
15
16
|
interface ConnectionTimingInfo {
|
|
16
17
|
domainLookupStartTime: number;
|
|
@@ -214,7 +215,7 @@ declare module "node:perf_hooks" {
|
|
|
214
215
|
* @since v16.0.0
|
|
215
216
|
*/
|
|
216
217
|
readonly detail: any;
|
|
217
|
-
readonly entryType: "dns" | "function" | "gc" | "http2" | "http" | "net" | "node";
|
|
218
|
+
readonly entryType: "dns" | "function" | "gc" | "http2" | "http" | "net" | "node" | "quic";
|
|
218
219
|
}
|
|
219
220
|
interface UVMetrics {
|
|
220
221
|
/**
|