aws-delivlib 14.4.2 → 14.4.3
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/lib/publishing/github/node_modules/.yarn-integrity +42 -36
- package/lib/publishing/github/node_modules/@octokit/app/dist-node/index.js +146 -106
- package/lib/publishing/github/node_modules/@octokit/app/dist-node/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/app/dist-src/each-installation.js +34 -23
- package/lib/publishing/github/node_modules/@octokit/app/dist-src/each-repository.js +46 -38
- package/lib/publishing/github/node_modules/@octokit/app/dist-src/get-installation-octokit.js +16 -13
- package/lib/publishing/github/node_modules/@octokit/app/dist-src/index.js +76 -63
- package/lib/publishing/github/node_modules/@octokit/app/dist-src/middleware/node/index.js +48 -41
- package/lib/publishing/github/node_modules/@octokit/app/dist-src/middleware/node/on-unhandled-request-default.js +12 -7
- package/lib/publishing/github/node_modules/@octokit/app/dist-src/version.js +4 -1
- package/lib/publishing/github/node_modules/@octokit/app/dist-src/webhooks.js +44 -51
- package/lib/publishing/github/node_modules/@octokit/app/dist-types/each-installation.d.ts +6 -3
- package/lib/publishing/github/node_modules/@octokit/app/dist-types/each-repository.d.ts +1 -0
- package/lib/publishing/github/node_modules/@octokit/app/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/app/dist-web/index.js +306 -0
- package/lib/publishing/github/node_modules/@octokit/app/dist-web/index.js.map +7 -0
- package/lib/publishing/github/node_modules/@octokit/app/package.json +22 -21
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-node/index.js +239 -180
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-node/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/auth.js +27 -24
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/cache.js +73 -66
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/get-app-authentication.js +28 -21
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/get-installation-authentication.js +96 -74
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/hook.js +79 -75
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/index.js +51 -39
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/requires-app-auth.js +30 -47
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/to-token-authentication.js +29 -11
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/version.js +4 -1
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/auth.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/cache.d.ts +3 -3
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/get-app-authentication.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/get-installation-authentication.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/hook.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/index.d.ts +2 -2
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/to-token-authentication.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/types.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-web/index.js +405 -360
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-web/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/auth-app/package.json +24 -25
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-app/dist-node/index.js +15 -17
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-app/dist-node/index.js.map +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-app/dist-src/version.js +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-app/dist-types/types.d.ts +17 -17
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-app/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-app/dist-web/index.js +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-app/dist-web/index.js.map +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-app/package.json +3 -3
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-device/dist-node/index.js +23 -31
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-device/dist-node/index.js.map +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-device/dist-src/version.js +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-device/dist-types/types.d.ts +12 -12
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-device/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-device/dist-web/index.js +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-device/dist-web/index.js.map +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-device/package.json +5 -5
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/README.md +23 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-node/index.js +40 -39
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-node/index.js.map +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-src/auth.js +8 -0
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-src/get-authentication.js +3 -0
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-src/index.js +2 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-src/version.js +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-types/hook.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-types/types.d.ts +38 -34
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-web/index.js +14 -2
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-web/index.js.map +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/package.json +5 -5
- package/lib/publishing/github/node_modules/@octokit/auth-token/README.md +5 -10
- package/lib/publishing/github/node_modules/@octokit/auth-token/dist-node/index.js +44 -20
- package/lib/publishing/github/node_modules/@octokit/auth-token/dist-node/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/auth-token/dist-src/auth.js +13 -17
- package/lib/publishing/github/node_modules/@octokit/auth-token/dist-src/hook.js +10 -4
- package/lib/publishing/github/node_modules/@octokit/auth-token/dist-src/index.js +16 -11
- package/lib/publishing/github/node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js +8 -10
- package/lib/publishing/github/node_modules/@octokit/auth-token/dist-types/auth.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-token/dist-types/hook.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-token/dist-types/index.d.ts +2 -2
- package/lib/publishing/github/node_modules/@octokit/auth-token/dist-types/types.d.ts +13 -13
- package/lib/publishing/github/node_modules/@octokit/auth-token/dist-web/index.js +42 -45
- package/lib/publishing/github/node_modules/@octokit/auth-token/dist-web/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/auth-token/package.json +23 -27
- package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-node/index.js +47 -22
- package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-node/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-src/auth.js +8 -5
- package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-src/hook.js +33 -24
- package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-src/index.js +12 -7
- package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-src/is-abuse-limit-error.js +8 -5
- package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-src/is-rate-limit-error.js +11 -9
- package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-types/index.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-types/types.d.ts +9 -9
- package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-web/index.js +62 -50
- package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-web/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/package.json +22 -23
- package/lib/publishing/github/node_modules/@octokit/core/README.md +4 -4
- package/lib/publishing/github/node_modules/@octokit/core/dist-node/index.js +119 -100
- package/lib/publishing/github/node_modules/@octokit/core/dist-node/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/core/dist-src/index.js +114 -112
- package/lib/publishing/github/node_modules/@octokit/core/dist-src/version.js +4 -1
- package/lib/publishing/github/node_modules/@octokit/core/dist-types/types.d.ts +7 -7
- package/lib/publishing/github/node_modules/@octokit/core/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/core/dist-web/index.js +124 -122
- package/lib/publishing/github/node_modules/@octokit/core/dist-web/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/core/package.json +26 -27
- package/lib/publishing/github/node_modules/@octokit/endpoint/README.md +3 -3
- package/lib/publishing/github/node_modules/@octokit/endpoint/dist-node/index.js +22 -62
- package/lib/publishing/github/node_modules/@octokit/endpoint/dist-node/index.js.map +1 -1
- package/lib/publishing/github/node_modules/@octokit/endpoint/dist-src/version.js +1 -1
- package/lib/publishing/github/node_modules/@octokit/endpoint/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/endpoint/dist-web/index.js +1 -1
- package/lib/publishing/github/node_modules/@octokit/endpoint/dist-web/index.js.map +1 -1
- package/lib/publishing/github/node_modules/@octokit/endpoint/package.json +4 -4
- package/lib/publishing/github/node_modules/@octokit/graphql/README.md +1 -1
- package/lib/publishing/github/node_modules/@octokit/graphql/dist-node/index.js +81 -39
- package/lib/publishing/github/node_modules/@octokit/graphql/dist-node/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/graphql/dist-src/error.js +17 -17
- package/lib/publishing/github/node_modules/@octokit/graphql/dist-src/graphql.js +55 -44
- package/lib/publishing/github/node_modules/@octokit/graphql/dist-src/index.js +17 -12
- package/lib/publishing/github/node_modules/@octokit/graphql/dist-src/version.js +4 -1
- package/lib/publishing/github/node_modules/@octokit/graphql/dist-src/with-defaults.js +12 -9
- package/lib/publishing/github/node_modules/@octokit/graphql/dist-types/error.d.ts +3 -3
- package/lib/publishing/github/node_modules/@octokit/graphql/dist-types/graphql.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/graphql/dist-types/index.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/graphql/dist-types/types.d.ts +7 -7
- package/lib/publishing/github/node_modules/@octokit/graphql/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/graphql/dist-types/with-defaults.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/graphql/dist-web/index.js +103 -90
- package/lib/publishing/github/node_modules/@octokit/graphql/dist-web/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/graphql/package.json +23 -24
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-node/index.js +290 -263
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-node/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/add-event-handler.js +13 -10
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/emit-event.js +13 -10
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/index.js +108 -64
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/check-token.js +14 -11
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/create-token.js +27 -24
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/delete-authorization.js +43 -40
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/delete-token.js +32 -29
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/get-oauth-client-code.js +5 -2
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/get-user-octokit.js +29 -24
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/get-web-flow-authorization-url.js +16 -28
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/refresh-token.js +34 -29
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/reset-token.js +58 -55
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/scope-token.js +34 -29
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/aws-lambda/api-gateway-v2-parse-request.js +14 -11
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/aws-lambda/api-gateway-v2-send-response.js +9 -6
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/aws-lambda/api-gateway-v2.js +21 -13
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/handle-request.js +217 -210
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/node/index.js +30 -20
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/node/parse-request.js +13 -13
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/node/send-response.js +6 -3
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/on-unhandled-request-default.js +11 -8
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/web-worker/index.js +31 -19
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/web-worker/parse-request.js +11 -9
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/web-worker/send-response.js +8 -5
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/oauth-app-octokit.js +5 -2
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/version.js +4 -1
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-types/middleware/web-worker/index.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/oauth-app/package.json +20 -20
- package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-node/index.js +1 -1
- package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-node/index.js.map +1 -1
- package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-src/version.js +1 -1
- package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/check-token.d.ts +4 -4
- package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/create-device-code.d.ts +3 -3
- package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/delete-authorization.d.ts +3 -3
- package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/delete-token.d.ts +3 -3
- package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/exchange-device-code.d.ts +11 -11
- package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/exchange-web-flow-code.d.ts +4 -4
- package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/get-web-flow-authorization-url.d.ts +4 -4
- package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/refresh-token.d.ts +2 -2
- package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/reset-token.d.ts +4 -4
- package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/scope-token.d.ts +8 -8
- package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/types.d.ts +9 -9
- package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/oauth-methods/package.json +7 -7
- package/lib/publishing/github/node_modules/@octokit/openapi-types/package.json +2 -2
- package/lib/publishing/github/node_modules/@octokit/openapi-types/types.d.ts +77450 -13127
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js +292 -57
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/compose-paginate.js +5 -2
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/generated/paginating-endpoints.js +226 -213
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/index.js +17 -12
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/iterator.js +36 -37
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/normalize-paginated-list-response.js +29 -45
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/paginate.js +31 -21
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/paginating-endpoints.js +14 -9
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js +4 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-types/compose-paginate.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-types/generated/paginating-endpoints.d.ts +183 -111
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts +3 -4
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts +3 -3
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-types/normalize-paginated-list-response.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts +3 -3
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-types/types.d.ts +29 -29
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js +334 -334
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/package.json +24 -26
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js +99 -39
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js.map +1 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +197 -77
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js +1 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types.d.ts +1419 -661
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types.d.ts +359 -119
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/types.d.ts +3 -3
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js +198 -78
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js.map +1 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/package.json +9 -9
- package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-node/index.js +80 -35
- package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-node/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-src/error-request.js +12 -13
- package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-src/index.js +29 -22
- package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-src/version.js +4 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-src/wrap-request.js +31 -15
- package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-types/error-request.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-types/wrap-request.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-web/index.js +68 -54
- package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-web/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-retry/package.json +21 -22
- package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-node/index.js +18 -11
- package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-node/index.js.map +1 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-src/index.js +21 -14
- package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-src/version.js +1 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-types/index.d.ts +6 -0
- package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-types/types.d.ts +13 -12
- package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-web/index.js +22 -15
- package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-web/index.js.map +1 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-throttling/package.json +7 -7
- package/lib/publishing/github/node_modules/@octokit/request/README.md +3 -3
- package/lib/publishing/github/node_modules/@octokit/request/dist-node/index.js +105 -77
- package/lib/publishing/github/node_modules/@octokit/request/dist-node/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/request/dist-src/fetch-wrapper.js +111 -108
- package/lib/publishing/github/node_modules/@octokit/request/dist-src/get-buffer-response.js +5 -2
- package/lib/publishing/github/node_modules/@octokit/request/dist-src/index.js +7 -4
- package/lib/publishing/github/node_modules/@octokit/request/dist-src/version.js +4 -1
- package/lib/publishing/github/node_modules/@octokit/request/dist-src/with-defaults.js +23 -18
- package/lib/publishing/github/node_modules/@octokit/request/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/request/dist-web/index.js +148 -138
- package/lib/publishing/github/node_modules/@octokit/request/dist-web/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/request/package.json +23 -24
- package/lib/publishing/github/node_modules/@octokit/request-error/dist-node/index.js +10 -19
- package/lib/publishing/github/node_modules/@octokit/request-error/dist-node/index.js.map +1 -1
- package/lib/publishing/github/node_modules/@octokit/request-error/dist-types/types.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/request-error/package.json +4 -4
- package/lib/publishing/github/node_modules/@octokit/tsconfig/LICENSE +7 -0
- package/lib/publishing/github/node_modules/@octokit/tsconfig/README.md +31 -0
- package/lib/publishing/github/node_modules/@octokit/tsconfig/package.json +28 -0
- package/lib/publishing/github/node_modules/@octokit/types/dist-node/index.js +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-src/VERSION.js +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/Fetch.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts +4 -4
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/RequestError.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/RequestMethod.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/RequestOptions.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/RequestParameters.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/Route.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/Signal.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/Url.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/VERSION.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts +464 -332
- package/lib/publishing/github/node_modules/@octokit/types/dist-web/index.js +1 -1
- package/lib/publishing/github/node_modules/@octokit/types/package.json +10 -10
- package/lib/publishing/github/node_modules/@octokit/webhooks/README.md +68 -64
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-node/index.js +467 -97
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-node/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/createLogger.js +11 -6
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/event-handler/index.js +23 -16
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/event-handler/on.js +31 -22
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/event-handler/receive.js +51 -49
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/event-handler/remove-listener.js +18 -15
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/event-handler/wrap-error-handler.js +17 -18
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/generated/webhook-names.js +262 -254
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/index.js +40 -22
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/middleware/node/get-missing-headers.js +8 -6
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/middleware/node/get-payload.js +27 -22
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/middleware/node/index.js +19 -6
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/middleware/node/middleware.js +86 -72
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/middleware/node/on-unhandled-request-default.js +12 -7
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/sign.js +8 -2
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/to-normalized-json-string.js +8 -8
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/verify-and-receive.js +22 -16
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/verify.js +9 -2
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/event-handler/on.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/event-handler/remove-listener.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/generated/webhook-names.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/index.d.ts +14 -4
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/middleware/node/get-missing-headers.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/middleware/node/get-payload.d.ts +3 -3
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/middleware/node/index.d.ts +2 -2
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/middleware/node/middleware.d.ts +4 -4
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/middleware/node/on-unhandled-request-default.d.ts +2 -2
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/middleware/node/types.d.ts +5 -4
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/to-normalized-json-string.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/types.d.ts +12 -11
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/verify-and-receive.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-web/index.js +609 -533
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-web/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks/package.json +20 -22
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/README.md +84 -3
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-node/index.js +89 -48
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-node/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-src/index.js +22 -2
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-src/node/sign.js +19 -16
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-src/node/verify.js +18 -14
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-src/types.js +8 -5
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-src/utils.js +5 -2
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-src/version.js +4 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-src/web.js +62 -44
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-types/index.d.ts +3 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-types/node/sign.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-types/types.d.ts +2 -2
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-types/web.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-web/index.js +71 -53
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-web/index.js.map +7 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks-methods/package.json +36 -25
- package/lib/publishing/github/node_modules/@octokit/webhooks-types/package.json +1 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks-types/schema.d.ts +670 -35
- package/lib/publishing/github/node_modules/@types/aws-lambda/README.md +2 -2
- package/lib/publishing/github/node_modules/@types/aws-lambda/index.d.ts +3 -2
- package/lib/publishing/github/node_modules/@types/aws-lambda/package.json +3 -8
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/amplify-resolver.d.ts +38 -0
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +75 -1
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/appsync-resolver.d.ts +4 -0
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/codecommit.d.ts +36 -0
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-message.d.ts +8 -4
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-sms-sender.d.ts +49 -0
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/index.d.ts +1 -0
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/dynamodb-stream.d.ts +11 -1
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/kinesis-stream.d.ts +26 -1
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/msk.d.ts +7 -0
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/self-managed-kafka.d.ts +27 -0
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/sns.d.ts +2 -2
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/sqs.d.ts +1 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/README.md +1 -1
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/index.d.ts +14 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/README.md +2 -2
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/assert.d.ts +135 -75
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/async_hooks.d.ts +67 -38
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/buffer.d.ts +220 -101
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/child_process.d.ts +87 -58
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/cluster.d.ts +25 -29
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/console.d.ts +5 -5
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/crypto.d.ts +873 -249
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/dgram.d.ts +16 -16
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/diagnostics_channel.d.ts +60 -21
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/dns/promises.d.ts +52 -8
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/dns.d.ts +27 -18
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/dom-events.d.ts +126 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/domain.d.ts +6 -5
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/events.d.ts +166 -93
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs/promises.d.ts +149 -74
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs.d.ts +288 -121
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/globals.d.ts +22 -13
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/http.d.ts +453 -125
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/http2.d.ts +74 -46
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/https.d.ts +103 -53
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/index.d.ts +6 -2
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector.d.ts +20 -16
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/module.d.ts +6 -4
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/net.d.ts +106 -16
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/os.d.ts +36 -14
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/package.json +15 -3
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/path.d.ts +37 -26
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/perf_hooks.d.ts +96 -15
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/process.d.ts +53 -50
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/punycode.d.ts +1 -1
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/querystring.d.ts +6 -6
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/readline/promises.d.ts +145 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/readline.d.ts +51 -175
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/repl.d.ts +21 -21
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/consumers.d.ts +2 -14
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream.d.ts +983 -824
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/string_decoder.d.ts +6 -6
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/test.d.ts +1052 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/timers/promises.d.ts +26 -1
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/timers.d.ts +125 -4
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/tls.d.ts +149 -50
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/trace_events.d.ts +30 -9
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/assert.d.ts +972 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/async_hooks.d.ts +530 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/buffer.d.ts +2351 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/child_process.d.ts +1395 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/cluster.d.ts +410 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/console.d.ts +412 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/constants.d.ts +18 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/crypto.d.ts +3961 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/dgram.d.ts +545 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +191 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/dns/promises.d.ts +414 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/dns.d.ts +668 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/dom-events.d.ts +126 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/events.d.ts +724 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/fs/promises.d.ts +1189 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/fs.d.ts +4043 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/globals.d.ts +303 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/http.d.ts +1724 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/http2.d.ts +2129 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/https.d.ts +441 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/index.d.ts +88 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/inspector.d.ts +2748 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/module.d.ts +116 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/net.d.ts +886 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/os.d.ts +477 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/path.d.ts +191 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/perf_hooks.d.ts +638 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/process.d.ts +1485 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/querystring.d.ts +131 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/readline/promises.d.ts +145 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/readline.d.ts +526 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/repl.d.ts +424 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/stream/promises.d.ts +42 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/stream/web.d.ts +330 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/stream.d.ts +1392 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/test.d.ts +1052 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/timers.d.ts +215 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/tls.d.ts +1119 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/tty.d.ts +205 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/url.d.ts +901 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/util.d.ts +2052 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/v8.d.ts +635 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/vm.d.ts +894 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/wasi.d.ts +152 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/worker_threads.d.ts +693 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/tty.d.ts +7 -6
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/url.d.ts +66 -56
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/util.d.ts +528 -70
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/v8.d.ts +271 -14
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/vm.d.ts +421 -34
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/wasi.d.ts +13 -19
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/worker_threads.d.ts +81 -37
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/zlib.d.ts +11 -11
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/package.json +3 -3
- package/lib/publishing/github/node_modules/@types/node/README.md +1 -1
- package/lib/publishing/github/node_modules/@types/node/child_process.d.ts +41 -2
- package/lib/publishing/github/node_modules/@types/node/crypto.d.ts +77 -7
- package/lib/publishing/github/node_modules/@types/node/fs/promises.d.ts +15 -12
- package/lib/publishing/github/node_modules/@types/node/globals.d.ts +5 -3
- package/lib/publishing/github/node_modules/@types/node/http.d.ts +142 -53
- package/lib/publishing/github/node_modules/@types/node/http2.d.ts +1 -2
- package/lib/publishing/github/node_modules/@types/node/https.d.ts +192 -62
- package/lib/publishing/github/node_modules/@types/node/index.d.ts +1 -1
- package/lib/publishing/github/node_modules/@types/node/inspector.d.ts +1 -1
- package/lib/publishing/github/node_modules/@types/node/net.d.ts +1 -0
- package/lib/publishing/github/node_modules/@types/node/os.d.ts +1 -0
- package/lib/publishing/github/node_modules/@types/node/package.json +10 -3
- package/lib/publishing/github/node_modules/@types/node/path.d.ts +32 -21
- package/lib/publishing/github/node_modules/@types/node/stream.d.ts +99 -0
- package/lib/publishing/github/node_modules/@types/node/tls.d.ts +13 -13
- package/lib/publishing/github/node_modules/@types/node/ts4.8/assert.d.ts +128 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/async_hooks.d.ts +229 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/buffer.d.ts +89 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/child_process.d.ts +553 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/cluster.d.ts +265 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/console.d.ts +142 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/constants.d.ts +18 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/crypto.d.ts +1283 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/dgram.d.ts +144 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/dns.d.ts +387 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/domain.d.ts +27 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/events.d.ts +82 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/fs/promises.d.ts +572 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/fs.d.ts +2281 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/globals.d.ts +746 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/http.d.ts +580 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/http2.d.ts +961 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/https.d.ts +272 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/index.d.ts +53 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/inspector.d.ts +3051 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/module.d.ts +56 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/net.d.ts +309 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/os.d.ts +243 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/path.d.ts +168 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/perf_hooks.d.ts +274 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/process.d.ts +413 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/punycode.d.ts +78 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/querystring.d.ts +31 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/readline.d.ts +174 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/repl.d.ts +398 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/stream.d.ts +458 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/string_decoder.d.ts +10 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/timers.d.ts +19 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/tls.d.ts +784 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/trace_events.d.ts +64 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/tty.d.ts +69 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/url.d.ts +177 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/util.d.ts +216 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/v8.d.ts +190 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/vm.d.ts +155 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/wasi.d.ts +89 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/worker_threads.d.ts +241 -0
- package/lib/publishing/github/node_modules/@types/node/ts4.8/zlib.d.ts +364 -0
- package/lib/publishing/github/node_modules/@types/node/url.d.ts +28 -0
- package/lib/publishing/github/node_modules/before-after-hook/README.md +1 -3
- package/lib/publishing/github/node_modules/before-after-hook/index.d.ts +48 -48
- package/lib/publishing/github/node_modules/before-after-hook/index.js +43 -39
- package/lib/publishing/github/node_modules/before-after-hook/package.json +15 -10
- package/lib/publishing/github/node_modules/lru-cache/LICENSE +1 -1
- package/lib/publishing/github/node_modules/lru-cache/README.md +1127 -104
- package/lib/publishing/github/node_modules/lru-cache/dist/cjs/index.d.ts +834 -0
- package/lib/publishing/github/node_modules/lru-cache/dist/cjs/index.d.ts.map +1 -0
- package/lib/publishing/github/node_modules/lru-cache/dist/cjs/index.js +1395 -0
- package/lib/publishing/github/node_modules/lru-cache/dist/cjs/index.js.map +1 -0
- package/lib/publishing/github/node_modules/lru-cache/dist/cjs/index.min.js +2 -0
- package/lib/publishing/github/node_modules/lru-cache/dist/cjs/index.min.js.map +7 -0
- package/lib/publishing/github/node_modules/lru-cache/dist/cjs/package.json +3 -0
- package/lib/publishing/github/node_modules/lru-cache/dist/mjs/index.d.ts +834 -0
- package/lib/publishing/github/node_modules/lru-cache/dist/mjs/index.d.ts.map +1 -0
- package/lib/publishing/github/node_modules/lru-cache/dist/mjs/index.js +1391 -0
- package/lib/publishing/github/node_modules/lru-cache/dist/mjs/index.js.map +1 -0
- package/lib/publishing/github/node_modules/lru-cache/dist/mjs/index.min.js +2 -0
- package/lib/publishing/github/node_modules/lru-cache/dist/mjs/index.min.js.map +7 -0
- package/lib/publishing/github/node_modules/lru-cache/dist/mjs/package.json +3 -0
- package/lib/publishing/github/node_modules/lru-cache/package.json +86 -12
- package/lib/publishing/github/node_modules/node-fetch/README.md +43 -0
- package/lib/publishing/github/node_modules/node-fetch/browser.js +7 -7
- package/lib/publishing/github/node_modules/node-fetch/lib/index.es.js +92 -2
- package/lib/publishing/github/node_modules/node-fetch/lib/index.js +92 -2
- package/lib/publishing/github/node_modules/node-fetch/lib/index.mjs +92 -2
- package/lib/publishing/github/node_modules/node-fetch/package.json +16 -3
- package/lib/publishing/github/node_modules/octokit/README.md +4 -4
- package/lib/publishing/github/node_modules/octokit/dist-node/index.js +60 -33
- package/lib/publishing/github/node_modules/octokit/dist-node/index.js.map +7 -1
- package/lib/publishing/github/node_modules/octokit/dist-src/app.js +8 -3
- package/lib/publishing/github/node_modules/octokit/dist-src/index.js +8 -2
- package/lib/publishing/github/node_modules/octokit/dist-src/octokit.js +28 -20
- package/lib/publishing/github/node_modules/octokit/dist-src/version.js +4 -1
- package/lib/publishing/github/node_modules/octokit/dist-types/app.d.ts +2 -2
- package/lib/publishing/github/node_modules/octokit/dist-types/octokit.d.ts +1 -1
- package/lib/publishing/github/node_modules/octokit/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/octokit/dist-web/index.js +46 -34
- package/lib/publishing/github/node_modules/octokit/dist-web/index.js.map +7 -1
- package/lib/publishing/github/node_modules/octokit/package.json +26 -28
- package/lib/publishing/github/node_modules/semver/README.md +67 -0
- package/lib/publishing/github/node_modules/semver/bin/semver.js +16 -2
- package/lib/publishing/github/node_modules/semver/classes/comparator.js +37 -33
- package/lib/publishing/github/node_modules/semver/classes/range.js +6 -2
- package/lib/publishing/github/node_modules/semver/classes/semver.js +27 -14
- package/lib/publishing/github/node_modules/semver/functions/diff.js +48 -17
- package/lib/publishing/github/node_modules/semver/functions/inc.js +3 -2
- package/lib/publishing/github/node_modules/semver/functions/parse.js +5 -22
- package/lib/publishing/github/node_modules/semver/index.js +1 -0
- package/lib/publishing/github/node_modules/semver/internal/constants.js +15 -2
- package/lib/publishing/github/node_modules/semver/internal/parse-options.js +14 -10
- package/lib/publishing/github/node_modules/semver/node_modules/lru-cache/LICENSE +15 -0
- package/lib/publishing/github/node_modules/semver/node_modules/lru-cache/README.md +166 -0
- package/lib/publishing/github/node_modules/semver/node_modules/lru-cache/package.json +34 -0
- package/lib/publishing/github/node_modules/semver/package.json +7 -6
- package/lib/publishing/github/node_modules/semver/ranges/intersects.js +1 -1
- package/lib/publishing/github/node_modules/semver/ranges/subset.js +6 -3
- package/lib/publishing/github/node_modules/typescript/lib/tsc.js +8 -3
- package/lib/publishing/github/node_modules/typescript/lib/tsserver.js +13 -3
- package/lib/publishing/github/node_modules/typescript/lib/tsserverlibrary.js +13 -3
- package/lib/publishing/github/node_modules/typescript/lib/typescript.js +13 -3
- package/lib/publishing/github/node_modules/typescript/lib/typescriptServices.js +13 -3
- package/lib/publishing/github/node_modules/typescript/lib/typingsInstaller.js +13 -3
- package/lib/publishing/github/node_modules/typescript/package.json +1 -1
- package/lib/publishing/github/package-lock.json +675 -0
- package/lib/publishing/github/package.json +1 -1
- package/lib/publishing/github/publish.sh +3 -1
- package/package.json +1 -1
- package/lib/publishing/github/node_modules/@octokit/app/dist-src/types.js +0 -1
- package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/types.js +0 -1
- package/lib/publishing/github/node_modules/@octokit/auth-token/dist-src/types.js +0 -1
- package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-src/types.js +0 -1
- package/lib/publishing/github/node_modules/@octokit/core/dist-src/types.js +0 -1
- package/lib/publishing/github/node_modules/@octokit/graphql/dist-src/types.js +0 -1
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/types.js +0 -1
- package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/types.js +0 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/types.js +0 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/middleware/node/types.js +0 -1
- package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/types.js +0 -1
- package/lib/publishing/github/node_modules/@types/lru-cache/LICENSE +0 -21
- package/lib/publishing/github/node_modules/@types/lru-cache/README.md +0 -16
- package/lib/publishing/github/node_modules/@types/lru-cache/index.d.ts +0 -193
- package/lib/publishing/github/node_modules/@types/lru-cache/package.json +0 -30
- package/lib/publishing/github/yarn.lock +0 -473
- /package/lib/publishing/github/node_modules/{lru-cache → semver/node_modules/lru-cache}/index.js +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
declare module 'module' {
|
|
2
|
+
import { URL } from 'url';
|
|
3
|
+
namespace Module {
|
|
4
|
+
/**
|
|
5
|
+
* Updates all the live bindings for builtin ES Modules to match the properties of the CommonJS exports.
|
|
6
|
+
* It does not add or remove exported names from the ES Modules.
|
|
7
|
+
*/
|
|
8
|
+
function syncBuiltinESMExports(): void;
|
|
9
|
+
|
|
10
|
+
function findSourceMap(path: string, error?: Error): SourceMap;
|
|
11
|
+
interface SourceMapPayload {
|
|
12
|
+
file: string;
|
|
13
|
+
version: number;
|
|
14
|
+
sources: string[];
|
|
15
|
+
sourcesContent: string[];
|
|
16
|
+
names: string[];
|
|
17
|
+
mappings: string;
|
|
18
|
+
sourceRoot: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
interface SourceMapping {
|
|
22
|
+
generatedLine: number;
|
|
23
|
+
generatedColumn: number;
|
|
24
|
+
originalSource: string;
|
|
25
|
+
originalLine: number;
|
|
26
|
+
originalColumn: number;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
class SourceMap {
|
|
30
|
+
readonly payload: SourceMapPayload;
|
|
31
|
+
constructor(payload: SourceMapPayload);
|
|
32
|
+
findEntry(line: number, column: number): SourceMapping;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
interface Module extends NodeModule {}
|
|
36
|
+
class Module {
|
|
37
|
+
static runMain(): void;
|
|
38
|
+
static wrap(code: string): string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated Deprecated since: v12.2.0. Please use createRequire() instead.
|
|
42
|
+
*/
|
|
43
|
+
static createRequireFromPath(path: string): NodeRequire;
|
|
44
|
+
static createRequire(path: string | URL): NodeRequire;
|
|
45
|
+
static builtinModules: string[];
|
|
46
|
+
|
|
47
|
+
static Module: typeof Module;
|
|
48
|
+
|
|
49
|
+
constructor(id: string, parent?: Module);
|
|
50
|
+
}
|
|
51
|
+
export = Module;
|
|
52
|
+
}
|
|
53
|
+
declare module 'node:module' {
|
|
54
|
+
import module = require('module');
|
|
55
|
+
export = module;
|
|
56
|
+
}
|
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
declare module 'net' {
|
|
2
|
+
import * as stream from 'stream';
|
|
3
|
+
import EventEmitter = require('events');
|
|
4
|
+
import * as dns from 'dns';
|
|
5
|
+
|
|
6
|
+
type LookupFunction = (
|
|
7
|
+
hostname: string,
|
|
8
|
+
options: dns.LookupOneOptions,
|
|
9
|
+
callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void,
|
|
10
|
+
) => void;
|
|
11
|
+
|
|
12
|
+
interface AddressInfo {
|
|
13
|
+
address: string;
|
|
14
|
+
family: string;
|
|
15
|
+
port: number;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
interface SocketConstructorOpts {
|
|
19
|
+
fd?: number | undefined;
|
|
20
|
+
allowHalfOpen?: boolean | undefined;
|
|
21
|
+
readable?: boolean | undefined;
|
|
22
|
+
writable?: boolean | undefined;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
interface OnReadOpts {
|
|
26
|
+
buffer: Uint8Array | (() => Uint8Array);
|
|
27
|
+
/**
|
|
28
|
+
* This function is called for every chunk of incoming data.
|
|
29
|
+
* Two arguments are passed to it: the number of bytes written to buffer and a reference to buffer.
|
|
30
|
+
* Return false from this function to implicitly pause() the socket.
|
|
31
|
+
*/
|
|
32
|
+
callback(bytesWritten: number, buf: Uint8Array): boolean;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
interface ConnectOpts {
|
|
36
|
+
/**
|
|
37
|
+
* If specified, incoming data is stored in a single buffer and passed to the supplied callback when data arrives on the socket.
|
|
38
|
+
* Note: this will cause the streaming functionality to not provide any data, however events like 'error', 'end', and 'close' will
|
|
39
|
+
* still be emitted as normal and methods like pause() and resume() will also behave as expected.
|
|
40
|
+
*/
|
|
41
|
+
onread?: OnReadOpts | undefined;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
interface TcpSocketConnectOpts extends ConnectOpts {
|
|
45
|
+
port: number;
|
|
46
|
+
host?: string | undefined;
|
|
47
|
+
localAddress?: string | undefined;
|
|
48
|
+
localPort?: number | undefined;
|
|
49
|
+
hints?: number | undefined;
|
|
50
|
+
family?: number | undefined;
|
|
51
|
+
lookup?: LookupFunction | undefined;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
interface IpcSocketConnectOpts extends ConnectOpts {
|
|
55
|
+
path: string;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts;
|
|
59
|
+
type SocketReadyState = 'opening' | 'open' | 'readOnly' | 'writeOnly' | 'closed';
|
|
60
|
+
|
|
61
|
+
class Socket extends stream.Duplex {
|
|
62
|
+
constructor(options?: SocketConstructorOpts);
|
|
63
|
+
|
|
64
|
+
// Extended base methods
|
|
65
|
+
write(buffer: Uint8Array | string, cb?: (err?: Error) => void): boolean;
|
|
66
|
+
write(str: Uint8Array | string, encoding?: BufferEncoding, cb?: (err?: Error) => void): boolean;
|
|
67
|
+
|
|
68
|
+
connect(options: SocketConnectOpts, connectionListener?: () => void): this;
|
|
69
|
+
connect(port: number, host: string, connectionListener?: () => void): this;
|
|
70
|
+
connect(port: number, connectionListener?: () => void): this;
|
|
71
|
+
connect(path: string, connectionListener?: () => void): this;
|
|
72
|
+
|
|
73
|
+
setEncoding(encoding?: BufferEncoding): this;
|
|
74
|
+
pause(): this;
|
|
75
|
+
resume(): this;
|
|
76
|
+
setTimeout(timeout: number, callback?: () => void): this;
|
|
77
|
+
setNoDelay(noDelay?: boolean): this;
|
|
78
|
+
setKeepAlive(enable?: boolean, initialDelay?: number): this;
|
|
79
|
+
address(): AddressInfo | {};
|
|
80
|
+
unref(): this;
|
|
81
|
+
ref(): this;
|
|
82
|
+
|
|
83
|
+
/** @deprecated since v14.6.0 - Use `writableLength` instead. */
|
|
84
|
+
readonly bufferSize: number;
|
|
85
|
+
readonly bytesRead: number;
|
|
86
|
+
readonly bytesWritten: number;
|
|
87
|
+
readonly connecting: boolean;
|
|
88
|
+
readonly destroyed: boolean;
|
|
89
|
+
readonly localAddress: string;
|
|
90
|
+
readonly localPort: number;
|
|
91
|
+
readonly pending: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* This property represents the state of the connection as a string.
|
|
94
|
+
* @see {https://nodejs.org/api/net.html#socketreadystate}
|
|
95
|
+
* @since v0.5.0
|
|
96
|
+
*/
|
|
97
|
+
readonly readyState: SocketReadyState;
|
|
98
|
+
readonly remoteAddress?: string | undefined;
|
|
99
|
+
readonly remoteFamily?: string | undefined;
|
|
100
|
+
readonly remotePort?: number | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* The socket timeout in milliseconds as set by socket.setTimeout(). It is undefined if a timeout has not been set.
|
|
103
|
+
* @since v10.7.0
|
|
104
|
+
*/
|
|
105
|
+
readonly timeout?: number | undefined;
|
|
106
|
+
|
|
107
|
+
// Extended base methods
|
|
108
|
+
end(cb?: () => void): this;
|
|
109
|
+
end(buffer: Uint8Array | string, cb?: () => void): this;
|
|
110
|
+
end(str: Uint8Array | string, encoding?: BufferEncoding, cb?: () => void): this;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* events.EventEmitter
|
|
114
|
+
* 1. close
|
|
115
|
+
* 2. connect
|
|
116
|
+
* 3. data
|
|
117
|
+
* 4. drain
|
|
118
|
+
* 5. end
|
|
119
|
+
* 6. error
|
|
120
|
+
* 7. lookup
|
|
121
|
+
* 8. timeout
|
|
122
|
+
*/
|
|
123
|
+
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
124
|
+
addListener(event: "close", listener: (had_error: boolean) => void): this;
|
|
125
|
+
addListener(event: "connect", listener: () => void): this;
|
|
126
|
+
addListener(event: "data", listener: (data: Buffer) => void): this;
|
|
127
|
+
addListener(event: "drain", listener: () => void): this;
|
|
128
|
+
addListener(event: "end", listener: () => void): this;
|
|
129
|
+
addListener(event: "error", listener: (err: Error) => void): this;
|
|
130
|
+
addListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
|
|
131
|
+
addListener(event: "ready", listener: () => void): this;
|
|
132
|
+
addListener(event: "timeout", listener: () => void): this;
|
|
133
|
+
|
|
134
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
|
135
|
+
emit(event: "close", had_error: boolean): boolean;
|
|
136
|
+
emit(event: "connect"): boolean;
|
|
137
|
+
emit(event: "data", data: Buffer): boolean;
|
|
138
|
+
emit(event: "drain"): boolean;
|
|
139
|
+
emit(event: "end"): boolean;
|
|
140
|
+
emit(event: "error", err: Error): boolean;
|
|
141
|
+
emit(event: "lookup", err: Error, address: string, family: string | number, host: string): boolean;
|
|
142
|
+
emit(event: "ready"): boolean;
|
|
143
|
+
emit(event: "timeout"): boolean;
|
|
144
|
+
|
|
145
|
+
on(event: string, listener: (...args: any[]) => void): this;
|
|
146
|
+
on(event: "close", listener: (had_error: boolean) => void): this;
|
|
147
|
+
on(event: "connect", listener: () => void): this;
|
|
148
|
+
on(event: "data", listener: (data: Buffer) => void): this;
|
|
149
|
+
on(event: "drain", listener: () => void): this;
|
|
150
|
+
on(event: "end", listener: () => void): this;
|
|
151
|
+
on(event: "error", listener: (err: Error) => void): this;
|
|
152
|
+
on(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
|
|
153
|
+
on(event: "ready", listener: () => void): this;
|
|
154
|
+
on(event: "timeout", listener: () => void): this;
|
|
155
|
+
|
|
156
|
+
once(event: string, listener: (...args: any[]) => void): this;
|
|
157
|
+
once(event: "close", listener: (had_error: boolean) => void): this;
|
|
158
|
+
once(event: "connect", listener: () => void): this;
|
|
159
|
+
once(event: "data", listener: (data: Buffer) => void): this;
|
|
160
|
+
once(event: "drain", listener: () => void): this;
|
|
161
|
+
once(event: "end", listener: () => void): this;
|
|
162
|
+
once(event: "error", listener: (err: Error) => void): this;
|
|
163
|
+
once(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
|
|
164
|
+
once(event: "ready", listener: () => void): this;
|
|
165
|
+
once(event: "timeout", listener: () => void): this;
|
|
166
|
+
|
|
167
|
+
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
168
|
+
prependListener(event: "close", listener: (had_error: boolean) => void): this;
|
|
169
|
+
prependListener(event: "connect", listener: () => void): this;
|
|
170
|
+
prependListener(event: "data", listener: (data: Buffer) => void): this;
|
|
171
|
+
prependListener(event: "drain", listener: () => void): this;
|
|
172
|
+
prependListener(event: "end", listener: () => void): this;
|
|
173
|
+
prependListener(event: "error", listener: (err: Error) => void): this;
|
|
174
|
+
prependListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
|
|
175
|
+
prependListener(event: "ready", listener: () => void): this;
|
|
176
|
+
prependListener(event: "timeout", listener: () => void): this;
|
|
177
|
+
|
|
178
|
+
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
179
|
+
prependOnceListener(event: "close", listener: (had_error: boolean) => void): this;
|
|
180
|
+
prependOnceListener(event: "connect", listener: () => void): this;
|
|
181
|
+
prependOnceListener(event: "data", listener: (data: Buffer) => void): this;
|
|
182
|
+
prependOnceListener(event: "drain", listener: () => void): this;
|
|
183
|
+
prependOnceListener(event: "end", listener: () => void): this;
|
|
184
|
+
prependOnceListener(event: "error", listener: (err: Error) => void): this;
|
|
185
|
+
prependOnceListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
|
|
186
|
+
prependOnceListener(event: "ready", listener: () => void): this;
|
|
187
|
+
prependOnceListener(event: "timeout", listener: () => void): this;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
interface ListenOptions {
|
|
191
|
+
port?: number | undefined;
|
|
192
|
+
host?: string | undefined;
|
|
193
|
+
backlog?: number | undefined;
|
|
194
|
+
path?: string | undefined;
|
|
195
|
+
exclusive?: boolean | undefined;
|
|
196
|
+
readableAll?: boolean | undefined;
|
|
197
|
+
writableAll?: boolean | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* @default false
|
|
200
|
+
*/
|
|
201
|
+
ipv6Only?: boolean | undefined;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
interface ServerOpts {
|
|
205
|
+
/**
|
|
206
|
+
* Indicates whether half-opened TCP connections are allowed.
|
|
207
|
+
* @default false
|
|
208
|
+
*/
|
|
209
|
+
allowHalfOpen?: boolean | undefined;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Indicates whether the socket should be paused on incoming connections.
|
|
213
|
+
* @default false
|
|
214
|
+
*/
|
|
215
|
+
pauseOnConnect?: boolean | undefined;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
// https://github.com/nodejs/node/blob/master/lib/net.js
|
|
219
|
+
class Server extends EventEmitter {
|
|
220
|
+
constructor(connectionListener?: (socket: Socket) => void);
|
|
221
|
+
constructor(options?: ServerOpts, connectionListener?: (socket: Socket) => void);
|
|
222
|
+
|
|
223
|
+
listen(port?: number, hostname?: string, backlog?: number, listeningListener?: () => void): this;
|
|
224
|
+
listen(port?: number, hostname?: string, listeningListener?: () => void): this;
|
|
225
|
+
listen(port?: number, backlog?: number, listeningListener?: () => void): this;
|
|
226
|
+
listen(port?: number, listeningListener?: () => void): this;
|
|
227
|
+
listen(path: string, backlog?: number, listeningListener?: () => void): this;
|
|
228
|
+
listen(path: string, listeningListener?: () => void): this;
|
|
229
|
+
listen(options: ListenOptions, listeningListener?: () => void): this;
|
|
230
|
+
listen(handle: any, backlog?: number, listeningListener?: () => void): this;
|
|
231
|
+
listen(handle: any, listeningListener?: () => void): this;
|
|
232
|
+
close(callback?: (err?: Error) => void): this;
|
|
233
|
+
address(): AddressInfo | string | null;
|
|
234
|
+
getConnections(cb: (error: Error | null, count: number) => void): void;
|
|
235
|
+
ref(): this;
|
|
236
|
+
unref(): this;
|
|
237
|
+
maxConnections: number;
|
|
238
|
+
connections: number;
|
|
239
|
+
listening: boolean;
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* events.EventEmitter
|
|
243
|
+
* 1. close
|
|
244
|
+
* 2. connection
|
|
245
|
+
* 3. error
|
|
246
|
+
* 4. listening
|
|
247
|
+
*/
|
|
248
|
+
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
249
|
+
addListener(event: "close", listener: () => void): this;
|
|
250
|
+
addListener(event: "connection", listener: (socket: Socket) => void): this;
|
|
251
|
+
addListener(event: "error", listener: (err: Error) => void): this;
|
|
252
|
+
addListener(event: "listening", listener: () => void): this;
|
|
253
|
+
|
|
254
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
|
255
|
+
emit(event: "close"): boolean;
|
|
256
|
+
emit(event: "connection", socket: Socket): boolean;
|
|
257
|
+
emit(event: "error", err: Error): boolean;
|
|
258
|
+
emit(event: "listening"): boolean;
|
|
259
|
+
|
|
260
|
+
on(event: string, listener: (...args: any[]) => void): this;
|
|
261
|
+
on(event: "close", listener: () => void): this;
|
|
262
|
+
on(event: "connection", listener: (socket: Socket) => void): this;
|
|
263
|
+
on(event: "error", listener: (err: Error) => void): this;
|
|
264
|
+
on(event: "listening", listener: () => void): this;
|
|
265
|
+
|
|
266
|
+
once(event: string, listener: (...args: any[]) => void): this;
|
|
267
|
+
once(event: "close", listener: () => void): this;
|
|
268
|
+
once(event: "connection", listener: (socket: Socket) => void): this;
|
|
269
|
+
once(event: "error", listener: (err: Error) => void): this;
|
|
270
|
+
once(event: "listening", listener: () => void): this;
|
|
271
|
+
|
|
272
|
+
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
273
|
+
prependListener(event: "close", listener: () => void): this;
|
|
274
|
+
prependListener(event: "connection", listener: (socket: Socket) => void): this;
|
|
275
|
+
prependListener(event: "error", listener: (err: Error) => void): this;
|
|
276
|
+
prependListener(event: "listening", listener: () => void): this;
|
|
277
|
+
|
|
278
|
+
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
279
|
+
prependOnceListener(event: "close", listener: () => void): this;
|
|
280
|
+
prependOnceListener(event: "connection", listener: (socket: Socket) => void): this;
|
|
281
|
+
prependOnceListener(event: "error", listener: (err: Error) => void): this;
|
|
282
|
+
prependOnceListener(event: "listening", listener: () => void): this;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts {
|
|
286
|
+
timeout?: number | undefined;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
interface IpcNetConnectOpts extends IpcSocketConnectOpts, SocketConstructorOpts {
|
|
290
|
+
timeout?: number | undefined;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
type NetConnectOpts = TcpNetConnectOpts | IpcNetConnectOpts;
|
|
294
|
+
|
|
295
|
+
function createServer(connectionListener?: (socket: Socket) => void): Server;
|
|
296
|
+
function createServer(options?: ServerOpts, connectionListener?: (socket: Socket) => void): Server;
|
|
297
|
+
function connect(options: NetConnectOpts, connectionListener?: () => void): Socket;
|
|
298
|
+
function connect(port: number, host?: string, connectionListener?: () => void): Socket;
|
|
299
|
+
function connect(path: string, connectionListener?: () => void): Socket;
|
|
300
|
+
function createConnection(options: NetConnectOpts, connectionListener?: () => void): Socket;
|
|
301
|
+
function createConnection(port: number, host?: string, connectionListener?: () => void): Socket;
|
|
302
|
+
function createConnection(path: string, connectionListener?: () => void): Socket;
|
|
303
|
+
function isIP(input: string): number;
|
|
304
|
+
function isIPv4(input: string): boolean;
|
|
305
|
+
function isIPv6(input: string): boolean;
|
|
306
|
+
}
|
|
307
|
+
declare module 'node:net' {
|
|
308
|
+
export * from 'net';
|
|
309
|
+
}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
declare module 'os' {
|
|
2
|
+
interface CpuInfo {
|
|
3
|
+
model: string;
|
|
4
|
+
speed: number;
|
|
5
|
+
times: {
|
|
6
|
+
user: number;
|
|
7
|
+
nice: number;
|
|
8
|
+
sys: number;
|
|
9
|
+
idle: number;
|
|
10
|
+
irq: number;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface NetworkInterfaceBase {
|
|
15
|
+
address: string;
|
|
16
|
+
netmask: string;
|
|
17
|
+
mac: string;
|
|
18
|
+
internal: boolean;
|
|
19
|
+
cidr: string | null;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase {
|
|
23
|
+
family: "IPv4";
|
|
24
|
+
scopeid?: undefined;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase {
|
|
28
|
+
family: "IPv6";
|
|
29
|
+
scopeid: number;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
interface UserInfo<T> {
|
|
33
|
+
username: T;
|
|
34
|
+
uid: number;
|
|
35
|
+
gid: number;
|
|
36
|
+
shell: T;
|
|
37
|
+
homedir: T;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6;
|
|
41
|
+
|
|
42
|
+
function hostname(): string;
|
|
43
|
+
function loadavg(): number[];
|
|
44
|
+
function uptime(): number;
|
|
45
|
+
function freemem(): number;
|
|
46
|
+
function totalmem(): number;
|
|
47
|
+
function cpus(): CpuInfo[];
|
|
48
|
+
function type(): string;
|
|
49
|
+
function release(): string;
|
|
50
|
+
function networkInterfaces(): NodeJS.Dict<NetworkInterfaceInfo[]>;
|
|
51
|
+
function homedir(): string;
|
|
52
|
+
function userInfo(options: { encoding: 'buffer' }): UserInfo<Buffer>;
|
|
53
|
+
function userInfo(options?: { encoding: BufferEncoding }): UserInfo<string>;
|
|
54
|
+
|
|
55
|
+
type SignalConstants = {
|
|
56
|
+
[key in NodeJS.Signals]: number;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
namespace constants {
|
|
60
|
+
const UV_UDP_REUSEADDR: number;
|
|
61
|
+
namespace signals {}
|
|
62
|
+
const signals: SignalConstants;
|
|
63
|
+
namespace errno {
|
|
64
|
+
const E2BIG: number;
|
|
65
|
+
const EACCES: number;
|
|
66
|
+
const EADDRINUSE: number;
|
|
67
|
+
const EADDRNOTAVAIL: number;
|
|
68
|
+
const EAFNOSUPPORT: number;
|
|
69
|
+
const EAGAIN: number;
|
|
70
|
+
const EALREADY: number;
|
|
71
|
+
const EBADF: number;
|
|
72
|
+
const EBADMSG: number;
|
|
73
|
+
const EBUSY: number;
|
|
74
|
+
const ECANCELED: number;
|
|
75
|
+
const ECHILD: number;
|
|
76
|
+
const ECONNABORTED: number;
|
|
77
|
+
const ECONNREFUSED: number;
|
|
78
|
+
const ECONNRESET: number;
|
|
79
|
+
const EDEADLK: number;
|
|
80
|
+
const EDESTADDRREQ: number;
|
|
81
|
+
const EDOM: number;
|
|
82
|
+
const EDQUOT: number;
|
|
83
|
+
const EEXIST: number;
|
|
84
|
+
const EFAULT: number;
|
|
85
|
+
const EFBIG: number;
|
|
86
|
+
const EHOSTUNREACH: number;
|
|
87
|
+
const EIDRM: number;
|
|
88
|
+
const EILSEQ: number;
|
|
89
|
+
const EINPROGRESS: number;
|
|
90
|
+
const EINTR: number;
|
|
91
|
+
const EINVAL: number;
|
|
92
|
+
const EIO: number;
|
|
93
|
+
const EISCONN: number;
|
|
94
|
+
const EISDIR: number;
|
|
95
|
+
const ELOOP: number;
|
|
96
|
+
const EMFILE: number;
|
|
97
|
+
const EMLINK: number;
|
|
98
|
+
const EMSGSIZE: number;
|
|
99
|
+
const EMULTIHOP: number;
|
|
100
|
+
const ENAMETOOLONG: number;
|
|
101
|
+
const ENETDOWN: number;
|
|
102
|
+
const ENETRESET: number;
|
|
103
|
+
const ENETUNREACH: number;
|
|
104
|
+
const ENFILE: number;
|
|
105
|
+
const ENOBUFS: number;
|
|
106
|
+
const ENODATA: number;
|
|
107
|
+
const ENODEV: number;
|
|
108
|
+
const ENOENT: number;
|
|
109
|
+
const ENOEXEC: number;
|
|
110
|
+
const ENOLCK: number;
|
|
111
|
+
const ENOLINK: number;
|
|
112
|
+
const ENOMEM: number;
|
|
113
|
+
const ENOMSG: number;
|
|
114
|
+
const ENOPROTOOPT: number;
|
|
115
|
+
const ENOSPC: number;
|
|
116
|
+
const ENOSR: number;
|
|
117
|
+
const ENOSTR: number;
|
|
118
|
+
const ENOSYS: number;
|
|
119
|
+
const ENOTCONN: number;
|
|
120
|
+
const ENOTDIR: number;
|
|
121
|
+
const ENOTEMPTY: number;
|
|
122
|
+
const ENOTSOCK: number;
|
|
123
|
+
const ENOTSUP: number;
|
|
124
|
+
const ENOTTY: number;
|
|
125
|
+
const ENXIO: number;
|
|
126
|
+
const EOPNOTSUPP: number;
|
|
127
|
+
const EOVERFLOW: number;
|
|
128
|
+
const EPERM: number;
|
|
129
|
+
const EPIPE: number;
|
|
130
|
+
const EPROTO: number;
|
|
131
|
+
const EPROTONOSUPPORT: number;
|
|
132
|
+
const EPROTOTYPE: number;
|
|
133
|
+
const ERANGE: number;
|
|
134
|
+
const EROFS: number;
|
|
135
|
+
const ESPIPE: number;
|
|
136
|
+
const ESRCH: number;
|
|
137
|
+
const ESTALE: number;
|
|
138
|
+
const ETIME: number;
|
|
139
|
+
const ETIMEDOUT: number;
|
|
140
|
+
const ETXTBSY: number;
|
|
141
|
+
const EWOULDBLOCK: number;
|
|
142
|
+
const EXDEV: number;
|
|
143
|
+
const WSAEINTR: number;
|
|
144
|
+
const WSAEBADF: number;
|
|
145
|
+
const WSAEACCES: number;
|
|
146
|
+
const WSAEFAULT: number;
|
|
147
|
+
const WSAEINVAL: number;
|
|
148
|
+
const WSAEMFILE: number;
|
|
149
|
+
const WSAEWOULDBLOCK: number;
|
|
150
|
+
const WSAEINPROGRESS: number;
|
|
151
|
+
const WSAEALREADY: number;
|
|
152
|
+
const WSAENOTSOCK: number;
|
|
153
|
+
const WSAEDESTADDRREQ: number;
|
|
154
|
+
const WSAEMSGSIZE: number;
|
|
155
|
+
const WSAEPROTOTYPE: number;
|
|
156
|
+
const WSAENOPROTOOPT: number;
|
|
157
|
+
const WSAEPROTONOSUPPORT: number;
|
|
158
|
+
const WSAESOCKTNOSUPPORT: number;
|
|
159
|
+
const WSAEOPNOTSUPP: number;
|
|
160
|
+
const WSAEPFNOSUPPORT: number;
|
|
161
|
+
const WSAEAFNOSUPPORT: number;
|
|
162
|
+
const WSAEADDRINUSE: number;
|
|
163
|
+
const WSAEADDRNOTAVAIL: number;
|
|
164
|
+
const WSAENETDOWN: number;
|
|
165
|
+
const WSAENETUNREACH: number;
|
|
166
|
+
const WSAENETRESET: number;
|
|
167
|
+
const WSAECONNABORTED: number;
|
|
168
|
+
const WSAECONNRESET: number;
|
|
169
|
+
const WSAENOBUFS: number;
|
|
170
|
+
const WSAEISCONN: number;
|
|
171
|
+
const WSAENOTCONN: number;
|
|
172
|
+
const WSAESHUTDOWN: number;
|
|
173
|
+
const WSAETOOMANYREFS: number;
|
|
174
|
+
const WSAETIMEDOUT: number;
|
|
175
|
+
const WSAECONNREFUSED: number;
|
|
176
|
+
const WSAELOOP: number;
|
|
177
|
+
const WSAENAMETOOLONG: number;
|
|
178
|
+
const WSAEHOSTDOWN: number;
|
|
179
|
+
const WSAEHOSTUNREACH: number;
|
|
180
|
+
const WSAENOTEMPTY: number;
|
|
181
|
+
const WSAEPROCLIM: number;
|
|
182
|
+
const WSAEUSERS: number;
|
|
183
|
+
const WSAEDQUOT: number;
|
|
184
|
+
const WSAESTALE: number;
|
|
185
|
+
const WSAEREMOTE: number;
|
|
186
|
+
const WSASYSNOTREADY: number;
|
|
187
|
+
const WSAVERNOTSUPPORTED: number;
|
|
188
|
+
const WSANOTINITIALISED: number;
|
|
189
|
+
const WSAEDISCON: number;
|
|
190
|
+
const WSAENOMORE: number;
|
|
191
|
+
const WSAECANCELLED: number;
|
|
192
|
+
const WSAEINVALIDPROCTABLE: number;
|
|
193
|
+
const WSAEINVALIDPROVIDER: number;
|
|
194
|
+
const WSAEPROVIDERFAILEDINIT: number;
|
|
195
|
+
const WSASYSCALLFAILURE: number;
|
|
196
|
+
const WSASERVICE_NOT_FOUND: number;
|
|
197
|
+
const WSATYPE_NOT_FOUND: number;
|
|
198
|
+
const WSA_E_NO_MORE: number;
|
|
199
|
+
const WSA_E_CANCELLED: number;
|
|
200
|
+
const WSAEREFUSED: number;
|
|
201
|
+
}
|
|
202
|
+
namespace priority {
|
|
203
|
+
const PRIORITY_LOW: number;
|
|
204
|
+
const PRIORITY_BELOW_NORMAL: number;
|
|
205
|
+
const PRIORITY_NORMAL: number;
|
|
206
|
+
const PRIORITY_ABOVE_NORMAL: number;
|
|
207
|
+
const PRIORITY_HIGH: number;
|
|
208
|
+
const PRIORITY_HIGHEST: number;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
function arch(): string;
|
|
213
|
+
/**
|
|
214
|
+
* Returns a string identifying the kernel version.
|
|
215
|
+
* On POSIX systems, the operating system release is determined by calling
|
|
216
|
+
* [uname(3)][]. On Windows, `pRtlGetVersion` is used, and if it is not available,
|
|
217
|
+
* `GetVersionExW()` will be used. See
|
|
218
|
+
* https://en.wikipedia.org/wiki/Uname#Examples for more information.
|
|
219
|
+
*/
|
|
220
|
+
function version(): string;
|
|
221
|
+
function platform(): NodeJS.Platform;
|
|
222
|
+
function tmpdir(): string;
|
|
223
|
+
const EOL: string;
|
|
224
|
+
function endianness(): "BE" | "LE";
|
|
225
|
+
/**
|
|
226
|
+
* Gets the priority of a process.
|
|
227
|
+
* Defaults to current process.
|
|
228
|
+
*/
|
|
229
|
+
function getPriority(pid?: number): number;
|
|
230
|
+
/**
|
|
231
|
+
* Sets the priority of the current process.
|
|
232
|
+
* @param priority Must be in range of -20 to 19
|
|
233
|
+
*/
|
|
234
|
+
function setPriority(priority: number): void;
|
|
235
|
+
/**
|
|
236
|
+
* Sets the priority of the process specified process.
|
|
237
|
+
* @param priority Must be in range of -20 to 19
|
|
238
|
+
*/
|
|
239
|
+
function setPriority(pid: number, priority: number): void;
|
|
240
|
+
}
|
|
241
|
+
declare module 'node:os' {
|
|
242
|
+
export * from 'os';
|
|
243
|
+
}
|