lambda-live-debugger 1.12.7 → 1.12.8
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/extension/extension.zip +0 -0
- package/dist/extension/nodejs/node_modules/interceptor.js +258 -47
- package/dist/extension/nodejs/node_modules/interceptor.js.map +4 -4
- package/node_modules/@aws-sdk/checksums/package.json +5 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
- package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-iam/package.json +9 -9
- package/node_modules/@aws-sdk/client-iot/dist-cjs/index.js +71 -9
- package/node_modules/@aws-sdk/client-iot/dist-es/models/enums.js +14 -0
- package/node_modules/@aws-sdk/client-iot/dist-es/schemas/schemas_0.js +49 -8
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/AttachSecurityProfileCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/CancelDetectMitigationActionsTaskCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/CreateCustomMetricCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/CreateDimensionCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/CreateSecurityProfileCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/CreateTopicRuleCommand.d.ts +34 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/CreateTopicRuleDestinationCommand.d.ts +14 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeleteCustomMetricCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeleteDimensionCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeleteSecurityProfileCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeleteTopicRuleDestinationCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeleteV2LoggingLevelCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeprecateThingTypeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DescribeCustomMetricCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DescribeDetectMitigationActionsTaskCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DescribeDimensionCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DescribeSecurityProfileCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/DetachSecurityProfileCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/GetBehaviorModelTrainingSummariesCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/GetTopicRuleCommand.d.ts +34 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/GetTopicRuleDestinationCommand.d.ts +7 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListActiveViolationsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListCustomMetricsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListDetectMitigationActionsTasksCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListDimensionsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListSecurityProfilesCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListSecurityProfilesForTargetCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListStreamsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListTargetsForPolicyCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListTargetsForSecurityProfileCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListTopicRuleDestinationsCommand.d.ts +7 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListViolationEventsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/PutVerificationStateOnViolationCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ReplaceTopicRuleCommand.d.ts +34 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/StartDetectMitigationActionsTaskCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/UpdateCustomMetricCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/UpdateDimensionCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/UpdateSecurityProfileCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/commands/ValidateSecurityProfileBehaviorsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/models/enums.d.ts +38 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/models/models_0.d.ts +195 -45
- package/node_modules/@aws-sdk/client-iot/dist-types/models/models_1.d.ts +46 -69
- package/node_modules/@aws-sdk/client-iot/dist-types/models/models_2.d.ts +112 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/schemas/schemas_0.d.ts +5 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteTopicRuleDestinationCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteV2LoggingLevelCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeprecateThingTypeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListTargetsForPolicyCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/enums.d.ts +18 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/models_0.d.ts +36 -11
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/models_1.d.ts +11 -18
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/models_2.d.ts +28 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/node_modules/@aws-sdk/client-iot/package.json +8 -8
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-iot-data-plane/package.json +8 -8
- package/node_modules/@aws-sdk/client-lambda/README.md +21 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +83 -3
- package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +6 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetResourcePolicyCommand.js +4 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutResourcePolicyCommand.js +4 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/commands/index.js +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +5 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +52 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +21 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/LambdaClient.d.ts +5 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/AddPermissionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteResourcePolicyCommand.d.ts +88 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetResourcePolicyCommand.d.ts +84 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutResourcePolicyCommand.d.ts +98 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionCodeCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +13 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/errors.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +95 -4
- package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +9 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +51 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/LambdaClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +38 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +25 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
- package/node_modules/@aws-sdk/client-lambda/package.json +9 -9
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +13 -13
- package/node_modules/@aws-sdk/core/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/credential-providers/package.json +15 -15
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +6 -6
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +8 -4
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +8 -4
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@inquirer/ansi/package.json +3 -2
- package/node_modules/@inquirer/checkbox/dist/index.d.ts +12 -1
- package/node_modules/@inquirer/checkbox/package.json +7 -6
- package/node_modules/@inquirer/confirm/README.md +23 -0
- package/node_modules/@inquirer/confirm/dist/index.d.ts +27 -3
- package/node_modules/@inquirer/confirm/dist/index.js +40 -14
- package/node_modules/@inquirer/confirm/package.json +5 -4
- package/node_modules/@inquirer/core/README.md +9 -3
- package/node_modules/@inquirer/core/dist/lib/create-prompt.d.ts +10 -3
- package/node_modules/@inquirer/core/dist/lib/hook-engine.d.ts +2 -8
- package/node_modules/@inquirer/core/dist/lib/make-theme.js +1 -0
- package/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.d.ts +2 -3
- package/node_modules/@inquirer/core/dist/lib/theme.d.ts +1 -1
- package/node_modules/@inquirer/core/dist/lib/use-memo.js +1 -1
- package/node_modules/@inquirer/core/dist/lib/use-state.d.ts +5 -2
- package/node_modules/@inquirer/core/dist/lib/use-state.js +7 -2
- package/node_modules/@inquirer/core/package.json +7 -6
- package/node_modules/@inquirer/editor/dist/index.d.ts +10 -2
- package/node_modules/@inquirer/editor/package.json +6 -5
- package/node_modules/@inquirer/expand/README.md +1 -1
- package/node_modules/@inquirer/expand/dist/index.d.ts +12 -1
- package/node_modules/@inquirer/expand/package.json +5 -4
- package/node_modules/@inquirer/external-editor/README.md +13 -0
- package/node_modules/@inquirer/external-editor/package.json +4 -3
- package/node_modules/@inquirer/figures/package.json +4 -3
- package/node_modules/@inquirer/input/dist/index.d.ts +13 -1
- package/node_modules/@inquirer/input/package.json +5 -4
- package/node_modules/@inquirer/number/dist/index.d.ts +12 -2
- package/node_modules/@inquirer/number/dist/index.js +1 -6
- package/node_modules/@inquirer/number/dist/is-step-of.d.ts +1 -0
- package/node_modules/@inquirer/number/dist/is-step-of.js +22 -0
- package/node_modules/@inquirer/number/package.json +5 -4
- package/node_modules/@inquirer/password/README.md +24 -6
- package/node_modules/@inquirer/password/dist/index.d.ts +9 -1
- package/node_modules/@inquirer/password/dist/index.js +27 -8
- package/node_modules/@inquirer/password/package.json +6 -5
- package/node_modules/@inquirer/prompts/README.md +67 -7
- package/node_modules/@inquirer/prompts/package.json +14 -13
- package/node_modules/@inquirer/rawlist/dist/index.d.ts +8 -1
- package/node_modules/@inquirer/rawlist/package.json +5 -4
- package/node_modules/@inquirer/search/README.md +9 -8
- package/node_modules/@inquirer/search/dist/index.d.ts +13 -1
- package/node_modules/@inquirer/search/dist/index.js +6 -1
- package/node_modules/@inquirer/search/package.json +6 -5
- package/node_modules/@inquirer/select/dist/index.d.ts +9 -1
- package/node_modules/@inquirer/select/package.json +7 -6
- package/node_modules/@inquirer/type/dist/utils.d.ts +8 -3
- package/node_modules/@inquirer/type/package.json +3 -2
- package/node_modules/@smithy/core/CHANGELOG.md +7 -0
- package/node_modules/@smithy/core/dist-cjs/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +126 -39
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +14 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +10 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +10 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +16 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +7 -0
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +29 -13
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +12 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +7 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +44 -15
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +22 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +7 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/transport/hasOwn.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/hasOwn.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/index.d.ts +1 -0
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/node-http-handler/CHANGELOG.md +23 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +18 -6
- package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
- package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +3 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -3
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +8 -1
- package/node_modules/@smithy/node-http-handler/package.json +3 -3
- package/node_modules/@smithy/types/CHANGELOG.md +6 -0
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +14 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/buffer.buffer.d.ts +10 -5
- package/node_modules/@types/node/crypto.d.ts +2 -4
- package/node_modules/@types/node/dgram.d.ts +119 -4
- package/node_modules/@types/node/ffi.d.ts +1 -1
- package/node_modules/@types/node/fs/promises.d.ts +61 -65
- package/node_modules/@types/node/fs.d.ts +86 -76
- package/node_modules/@types/node/http.d.ts +17 -1
- package/node_modules/@types/node/http2.d.ts +12 -4
- package/node_modules/@types/node/index.d.ts +1 -0
- package/node_modules/@types/node/inspector.d.ts +2 -1
- package/node_modules/@types/node/net.d.ts +108 -16
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/node/process.d.ts +52 -0
- package/node_modules/@types/node/quic.d.ts +246 -38
- package/node_modules/@types/node/sqlite.d.ts +6 -2
- package/node_modules/@types/node/stream/iter.d.ts +4 -4
- package/node_modules/@types/node/test.d.ts +36 -0
- package/node_modules/@types/node/tls.d.ts +24 -0
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +5 -0
- package/node_modules/@types/node/ts5.6/index.d.ts +1 -0
- package/node_modules/@types/node/ts5.7/index.d.ts +1 -0
- package/node_modules/@types/node/tty.d.ts +4 -3
- package/node_modules/@types/node/vfs.d.ts +210 -0
- package/node_modules/@types/node/vm.d.ts +1 -1
- package/node_modules/fast-xml-parser/CHANGELOG.md +8 -1
- package/node_modules/fast-xml-parser/README.md +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
- package/node_modules/fast-xml-parser/package.json +2 -2
- package/node_modules/fast-xml-parser/src/fxp.d.ts +2 -0
- package/node_modules/fast-xml-parser/src/validator.js +98 -5
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +16 -1
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +23 -1
- package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +14 -0
- package/node_modules/inquirer/README.md +3 -9
- package/node_modules/inquirer/dist/index.d.ts +2 -3
- package/node_modules/inquirer/dist/index.js +1 -1
- package/node_modules/inquirer/dist/types.d.ts +3 -3
- package/node_modules/inquirer/package.json +7 -6
- package/node_modules/strnum/CHANGELOG.md +6 -0
- package/node_modules/strnum/package.json +1 -1
- package/node_modules/strnum/strnum.js +5 -1
- package/package.json +19 -19
- package/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.d.ts +0 -10
- package/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.js +0 -13
- package/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.d.ts +0 -10
- package/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.js +0 -13
- package/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.d.ts +0 -10
- package/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.js +0 -13
- package/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.d.ts +0 -10
- package/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.js +0 -13
|
@@ -207,6 +207,22 @@ The context options are:
|
|
|
207
207
|
> before calling inquirer functions. Node.js usually does it automatically, but when we shadow the stdin, Node can loss track
|
|
208
208
|
> and not know it has to. If the prompt isn't interactive (arrows don't work, etc), it's likely due to this.
|
|
209
209
|
|
|
210
|
+
When running Inquirer from an existing `node:readline` interface, pause the readline instance before starting the prompt, then resume it after the prompt settles. This makes the handoff of `process.stdin` ownership explicit and prevents the parent readline loop from losing control of the input stream.
|
|
211
|
+
|
|
212
|
+
```js
|
|
213
|
+
const answer = await rl.question('Command: ');
|
|
214
|
+
|
|
215
|
+
if (answer === 'configure') {
|
|
216
|
+
rl.pause();
|
|
217
|
+
|
|
218
|
+
try {
|
|
219
|
+
const value = await input({ message: 'Configuration value' });
|
|
220
|
+
} finally {
|
|
221
|
+
rl.resume();
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
```
|
|
225
|
+
|
|
210
226
|
Example:
|
|
211
227
|
|
|
212
228
|
```js
|
|
@@ -316,16 +332,29 @@ if (allowEmail) {
|
|
|
316
332
|
```js
|
|
317
333
|
import { input } from '@inquirer/prompts';
|
|
318
334
|
|
|
335
|
+
const controller = new AbortController();
|
|
336
|
+
const timeout = setTimeout(() => {
|
|
337
|
+
controller.abort();
|
|
338
|
+
}, 5000);
|
|
339
|
+
const clearInputTimeout = () => clearTimeout(timeout);
|
|
340
|
+
|
|
341
|
+
process.stdin.once('keypress', clearInputTimeout);
|
|
342
|
+
|
|
319
343
|
const answer = await input(
|
|
320
344
|
{ message: 'Enter a value (timing out in 5 seconds)' },
|
|
321
|
-
{ signal:
|
|
322
|
-
)
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
345
|
+
{ signal: controller.signal },
|
|
346
|
+
)
|
|
347
|
+
.catch((error) => {
|
|
348
|
+
if (error.name === 'AbortPromptError') {
|
|
349
|
+
return 'Default value';
|
|
350
|
+
}
|
|
326
351
|
|
|
327
|
-
|
|
328
|
-
})
|
|
352
|
+
throw error;
|
|
353
|
+
})
|
|
354
|
+
.finally(() => {
|
|
355
|
+
clearInputTimeout();
|
|
356
|
+
process.stdin.off('keypress', clearInputTimeout);
|
|
357
|
+
});
|
|
329
358
|
```
|
|
330
359
|
|
|
331
360
|
## Using as pre-commit/git hooks, or scripts
|
|
@@ -537,6 +566,37 @@ A modern multiselect checkbox prompt with search and filter capabilities, highli
|
|
|
537
566
|
↑↓ navigate • space de/select • type search • 2 selected • ⏎ submit
|
|
538
567
|
```
|
|
539
568
|
|
|
569
|
+
[**Tree Prompt**](https://github.com/3z3qu13l/inquirer-tree-prompt)<br/>
|
|
570
|
+
Navigate a tree of choices, expanding and collapsing branches with the arrow keys. Children can be loaded lazily, and single or multiple items can be selected.
|
|
571
|
+
|
|
572
|
+
```
|
|
573
|
+
? Where is my phone?
|
|
574
|
+
▼ in the house
|
|
575
|
+
▼ in the living room
|
|
576
|
+
❯ on the sofa
|
|
577
|
+
on the TV cabinet
|
|
578
|
+
▶ in the bedroom
|
|
579
|
+
in the bathroom
|
|
580
|
+
▶ in the car
|
|
581
|
+
----------------
|
|
582
|
+
```
|
|
583
|
+
|
|
584
|
+
[**Grouped Checkbox Prompt**](https://github.com/patik/inquirer-grouped-checkbox)<br/>
|
|
585
|
+
Checkboxes organized into labeled groups. Selecting a group header toggles every item in that group, each group shows its own running total, and typing filters across all the groups at once.
|
|
586
|
+
|
|
587
|
+
```
|
|
588
|
+
? Which languages do you work in? (3/6)
|
|
589
|
+
❯ ◉ 🖥️ Frontend (3/3)
|
|
590
|
+
◉ TypeScript
|
|
591
|
+
◉ JavaScript
|
|
592
|
+
◉ CSS
|
|
593
|
+
◯ ⚙️ Backend (0/3)
|
|
594
|
+
◯ Go
|
|
595
|
+
◯ Python
|
|
596
|
+
◯ Rust
|
|
597
|
+
(Select: space • Toggle all: a • Invert: i)
|
|
598
|
+
```
|
|
599
|
+
|
|
540
600
|
# License
|
|
541
601
|
|
|
542
602
|
Copyright (c) 2023 Simon Boudrias (twitter: [@vaxilart](https://twitter.com/Vaxilart))<br/>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/prompts",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.7.1",
|
|
4
4
|
"description": "Inquirer prompts, combined in a single package",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -69,19 +69,20 @@
|
|
|
69
69
|
"tsc": "tsc"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@inquirer/checkbox": "^5.2.
|
|
73
|
-
"@inquirer/confirm": "^6.
|
|
74
|
-
"@inquirer/editor": "^5.
|
|
75
|
-
"@inquirer/expand": "^5.1.
|
|
76
|
-
"@inquirer/input": "^5.1.
|
|
77
|
-
"@inquirer/number": "^4.
|
|
78
|
-
"@inquirer/password": "^5.
|
|
79
|
-
"@inquirer/rawlist": "^5.3.
|
|
80
|
-
"@inquirer/search": "^4.2
|
|
81
|
-
"@inquirer/select": "^5.2.
|
|
72
|
+
"@inquirer/checkbox": "^5.2.4",
|
|
73
|
+
"@inquirer/confirm": "^6.3.1",
|
|
74
|
+
"@inquirer/editor": "^5.3.2",
|
|
75
|
+
"@inquirer/expand": "^5.1.4",
|
|
76
|
+
"@inquirer/input": "^5.1.5",
|
|
77
|
+
"@inquirer/number": "^4.2.2",
|
|
78
|
+
"@inquirer/password": "^5.2.1",
|
|
79
|
+
"@inquirer/rawlist": "^5.3.4",
|
|
80
|
+
"@inquirer/search": "^4.3.2",
|
|
81
|
+
"@inquirer/select": "^5.2.4"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@inquirer/type": "^4.
|
|
84
|
+
"@inquirer/type": "^4.1.1",
|
|
85
|
+
"@repo/tsconfig": "0.0.0",
|
|
85
86
|
"typescript": "^6.0.2"
|
|
86
87
|
},
|
|
87
88
|
"peerDependencies": {
|
|
@@ -97,5 +98,5 @@
|
|
|
97
98
|
},
|
|
98
99
|
"main": "./dist/index.js",
|
|
99
100
|
"types": "./dist/index.d.ts",
|
|
100
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "5748bd9966b5e175ddf5995ee4cdce6f60c4272e"
|
|
101
102
|
}
|
|
@@ -12,12 +12,19 @@ type Choice<Value> = {
|
|
|
12
12
|
key?: string;
|
|
13
13
|
description?: string;
|
|
14
14
|
};
|
|
15
|
+
type RawlistConfig<Value> = {
|
|
16
|
+
message: string;
|
|
17
|
+
choices: ReadonlyArray<Value | Choice<Value> | Separator>;
|
|
18
|
+
loop?: boolean;
|
|
19
|
+
theme?: PartialDeep<Theme<RawlistTheme>>;
|
|
20
|
+
default?: NoInfer<Value>;
|
|
21
|
+
};
|
|
15
22
|
declare const _default: <const Value>(config: {
|
|
16
23
|
message: string;
|
|
17
24
|
choices: readonly (Separator | Value | Choice<Value>)[];
|
|
18
25
|
loop?: boolean | undefined;
|
|
19
26
|
theme?: PartialDeep<Theme<RawlistTheme>> | undefined;
|
|
20
27
|
default?: NoInfer<Value> | undefined;
|
|
21
|
-
}
|
|
28
|
+
} & RawlistConfig<Value>, context?: import("@inquirer/type").Context) => Promise<Value>;
|
|
22
29
|
export default _default;
|
|
23
30
|
export { Separator } from '@inquirer/core';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/rawlist",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.4",
|
|
4
4
|
"description": "Inquirer rawlist prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,10 +67,11 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/core": "^
|
|
71
|
-
"@inquirer/type": "
|
|
70
|
+
"@inquirer/core": "^12.0.2",
|
|
71
|
+
"@inquirer/type": "4.1.1"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
+
"@repo/tsconfig": "0.0.0",
|
|
74
75
|
"typescript": "^6.0.2"
|
|
75
76
|
},
|
|
76
77
|
"peerDependencies": {
|
|
@@ -86,5 +87,5 @@
|
|
|
86
87
|
},
|
|
87
88
|
"main": "./dist/index.js",
|
|
88
89
|
"types": "./dist/index.d.ts",
|
|
89
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "5748bd9966b5e175ddf5995ee4cdce6f60c4272e"
|
|
90
91
|
}
|
|
@@ -76,14 +76,15 @@ const answer = await search({
|
|
|
76
76
|
|
|
77
77
|
## Options
|
|
78
78
|
|
|
79
|
-
| Property
|
|
80
|
-
|
|
|
81
|
-
| message
|
|
82
|
-
| source
|
|
83
|
-
| pageSize
|
|
84
|
-
| default
|
|
85
|
-
|
|
|
86
|
-
|
|
|
79
|
+
| Property | Type | Required | Description |
|
|
80
|
+
| ------------ | ---------------------------------------------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
81
|
+
| message | `string` | yes | The question to ask |
|
|
82
|
+
| source | `(term: string \| void) => Promise<Choice[]>` | yes | This function returns the choices relevant to the search term. |
|
|
83
|
+
| pageSize | `number` | no | By default, lists of choice longer than 7 will be paginated. Use this option to control how many choices will appear on the screen at once. |
|
|
84
|
+
| default | `Value` | no | Defines in front of which item the cursor will initially appear. When omitted, the cursor will appear on the first selectable item. |
|
|
85
|
+
| initialValue | `string` | no | The value used to pre-populate the search input. `source` will be called with this value as the initial search term. |
|
|
86
|
+
| validate | `Value => boolean \| string \| Promise<boolean \| string>` | no | On submit, validate the answer. When returning a string, it'll be used as the error message displayed to the user. Note: returning a rejected promise, we'll assume a code error happened and crash. |
|
|
87
|
+
| theme | [See Theming](#Theming) | no | Customize look of the prompt. |
|
|
87
88
|
|
|
88
89
|
### `source` function
|
|
89
90
|
|
|
@@ -19,6 +19,17 @@ type Choice<Value> = {
|
|
|
19
19
|
disabled?: boolean | string;
|
|
20
20
|
type?: never;
|
|
21
21
|
};
|
|
22
|
+
type SearchConfig<Value = string> = {
|
|
23
|
+
message: string;
|
|
24
|
+
source: (term: string | undefined, opt: {
|
|
25
|
+
signal: AbortSignal;
|
|
26
|
+
}) => ReadonlyArray<Value | Choice<Value> | Separator> | Promise<ReadonlyArray<Value | Choice<Value> | Separator>>;
|
|
27
|
+
validate?: (value: Value) => boolean | string | Promise<string | boolean>;
|
|
28
|
+
pageSize?: number;
|
|
29
|
+
default?: NoInfer<Value>;
|
|
30
|
+
initialValue?: string;
|
|
31
|
+
theme?: PartialDeep<Theme<SearchTheme>>;
|
|
32
|
+
};
|
|
22
33
|
declare const _default: <const Value>(config: {
|
|
23
34
|
message: string;
|
|
24
35
|
source: (term: string | undefined, opt: {
|
|
@@ -27,7 +38,8 @@ declare const _default: <const Value>(config: {
|
|
|
27
38
|
validate?: ((value: Value) => boolean | string | Promise<string | boolean>) | undefined;
|
|
28
39
|
pageSize?: number | undefined;
|
|
29
40
|
default?: NoInfer<Value> | undefined;
|
|
41
|
+
initialValue?: string | undefined;
|
|
30
42
|
theme?: PartialDeep<Theme<SearchTheme>> | undefined;
|
|
31
|
-
}
|
|
43
|
+
} & SearchConfig<Value>, context?: import("@inquirer/type").Context) => Promise<Value>;
|
|
32
44
|
export default _default;
|
|
33
45
|
export { Separator } from '@inquirer/core';
|
|
@@ -45,7 +45,7 @@ export default createPrompt((config, done) => {
|
|
|
45
45
|
const { pageSize = 7, validate = () => true } = config;
|
|
46
46
|
const theme = makeTheme(searchTheme, config.theme);
|
|
47
47
|
const [status, setStatus] = useState('loading');
|
|
48
|
-
const [searchTerm, setSearchTerm] = useState('');
|
|
48
|
+
const [searchTerm, setSearchTerm] = useState(config.initialValue ?? '');
|
|
49
49
|
const [searchResults, setSearchResults] = useState([]);
|
|
50
50
|
const [searchError, setSearchError] = useState();
|
|
51
51
|
const defaultApplied = useRef(false);
|
|
@@ -56,6 +56,11 @@ export default createPrompt((config, done) => {
|
|
|
56
56
|
return { first, last };
|
|
57
57
|
}, [searchResults]);
|
|
58
58
|
const [active = bounds.first, setActive] = useState();
|
|
59
|
+
useEffect((rl) => {
|
|
60
|
+
if (config.initialValue) {
|
|
61
|
+
rl.write(config.initialValue);
|
|
62
|
+
}
|
|
63
|
+
}, []);
|
|
59
64
|
useEffect(() => {
|
|
60
65
|
const controller = new AbortController();
|
|
61
66
|
setStatus('loading');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/search",
|
|
3
|
-
"version": "4.2
|
|
3
|
+
"version": "4.3.2",
|
|
4
4
|
"description": "Inquirer search prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,11 +67,12 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/core": "^
|
|
71
|
-
"@inquirer/figures": "^2.0.
|
|
72
|
-
"@inquirer/type": "
|
|
70
|
+
"@inquirer/core": "^12.0.2",
|
|
71
|
+
"@inquirer/figures": "^2.0.9",
|
|
72
|
+
"@inquirer/type": "4.1.1"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
+
"@repo/tsconfig": "0.0.0",
|
|
75
76
|
"typescript": "^6.0.2"
|
|
76
77
|
},
|
|
77
78
|
"peerDependencies": {
|
|
@@ -87,5 +88,5 @@
|
|
|
87
88
|
},
|
|
88
89
|
"main": "./dist/index.js",
|
|
89
90
|
"types": "./dist/index.d.ts",
|
|
90
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "5748bd9966b5e175ddf5995ee4cdce6f60c4272e"
|
|
91
92
|
}
|
|
@@ -22,6 +22,14 @@ type Choice<Value> = {
|
|
|
22
22
|
disabled?: boolean | string;
|
|
23
23
|
type?: never;
|
|
24
24
|
};
|
|
25
|
+
type SelectConfig<Value> = {
|
|
26
|
+
message: string;
|
|
27
|
+
choices: ReadonlyArray<Value | Choice<Value> | Separator>;
|
|
28
|
+
pageSize?: number;
|
|
29
|
+
loop?: boolean;
|
|
30
|
+
default?: NoInfer<Value>;
|
|
31
|
+
theme?: PartialDeep<Theme<SelectTheme>>;
|
|
32
|
+
};
|
|
25
33
|
declare const _default: <const Value>(config: {
|
|
26
34
|
message: string;
|
|
27
35
|
choices: readonly (Separator | Value | Choice<Value>)[];
|
|
@@ -29,6 +37,6 @@ declare const _default: <const Value>(config: {
|
|
|
29
37
|
loop?: boolean | undefined;
|
|
30
38
|
default?: NoInfer<Value> | undefined;
|
|
31
39
|
theme?: PartialDeep<Theme<SelectTheme>> | undefined;
|
|
32
|
-
}
|
|
40
|
+
} & SelectConfig<Value>, context?: import("@inquirer/type").Context) => Promise<Value>;
|
|
33
41
|
export default _default;
|
|
34
42
|
export { Separator } from '@inquirer/core';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/select",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.4",
|
|
4
4
|
"description": "Inquirer select/list prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,12 +67,13 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/ansi": "^2.0.
|
|
71
|
-
"@inquirer/core": "^
|
|
72
|
-
"@inquirer/figures": "^2.0.
|
|
73
|
-
"@inquirer/type": "
|
|
70
|
+
"@inquirer/ansi": "^2.0.8",
|
|
71
|
+
"@inquirer/core": "^12.0.2",
|
|
72
|
+
"@inquirer/figures": "^2.0.9",
|
|
73
|
+
"@inquirer/type": "4.1.1"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
+
"@repo/tsconfig": "0.0.0",
|
|
76
77
|
"typescript": "^6.0.2"
|
|
77
78
|
},
|
|
78
79
|
"peerDependencies": {
|
|
@@ -88,5 +89,5 @@
|
|
|
88
89
|
},
|
|
89
90
|
"main": "./dist/index.js",
|
|
90
91
|
"types": "./dist/index.d.ts",
|
|
91
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "5748bd9966b5e175ddf5995ee4cdce6f60c4272e"
|
|
92
93
|
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
type Key = string | number | symbol;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Recursively expand intersections and mapped types for better IDE display,
|
|
4
|
+
* while preserving functions, arrays, primitives, and types with a string
|
|
5
|
+
* index signature (e.g. `Record<string, ...>`) as-is.
|
|
6
|
+
*/
|
|
7
|
+
export type Prettify<T> = T extends (...args: never[]) => unknown ? T : T extends ReadonlyArray<unknown> ? T : T extends string | number | boolean | symbol | bigint | null | undefined ? T : T extends object ? string extends keyof T ? T : {
|
|
8
|
+
[K in keyof T]: Prettify<T[K]>;
|
|
9
|
+
} & {} : T;
|
|
5
10
|
export type PartialDeep<T> = T extends object ? {
|
|
6
11
|
[P in keyof T]?: PartialDeep<T[P]>;
|
|
7
12
|
} : T;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/type",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "Inquirer core TS types",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"tsc": "tsc"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
+
"@repo/tsconfig": "0.0.0",
|
|
71
72
|
"typescript": "^6.0.2"
|
|
72
73
|
},
|
|
73
74
|
"peerDependencies": {
|
|
@@ -83,5 +84,5 @@
|
|
|
83
84
|
},
|
|
84
85
|
"main": "./dist/index.js",
|
|
85
86
|
"types": "./dist/index.d.ts",
|
|
86
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "5748bd9966b5e175ddf5995ee4cdce6f60c4272e"
|
|
87
88
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const { getSmithyContext } = require("@smithy/core/transport");
|
|
1
|
+
const { getSmithyContext, hasOwn } = require("@smithy/core/transport");
|
|
2
2
|
exports.getSmithyContext = getSmithyContext;
|
|
3
3
|
const { HttpRequest } = require("@smithy/core/protocols");
|
|
4
4
|
const { requestBuilder } = require("@smithy/core/protocols");
|
|
@@ -203,6 +203,8 @@ class DefaultIdentityProviderConfig {
|
|
|
203
203
|
authSchemes = new Map();
|
|
204
204
|
constructor(config) {
|
|
205
205
|
for (const key in config) {
|
|
206
|
+
if (!hasOwn(config, key))
|
|
207
|
+
continue;
|
|
206
208
|
const value = config[key];
|
|
207
209
|
if (value !== undefined) {
|
|
208
210
|
this.authSchemes.set(key, value);
|