@cdklabs/cdk-construct-connect-datalake 0.0.12 → 0.0.14
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/.jsii +11 -11
- package/.jsii.tabl.json +1 -1
- package/lib/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/README.md +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +10 -10
- package/node_modules/@aws-sdk/client-connect/README.md +11 -6
- package/node_modules/@aws-sdk/client-connect/dist-cjs/schemas/schemas_0.js +74 -47
- package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +43 -16
- package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +12 -7
- package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +12 -7
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateVocabularyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetMetricDataV2Command.d.ts +2 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactsCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchPromptsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchQueuesCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/index.d.ts +12 -7
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +40 -37
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +152 -59
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +69 -63
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +72 -16
- package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +2 -4
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +9 -10
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +9 -10
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +19 -15
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +17 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-connect/package.json +10 -10
- package/node_modules/@aws-sdk/client-glue/README.md +14 -0
- package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +44 -4
- package/node_modules/@aws-sdk/client-glue/dist-cjs/models/errors.js +16 -1
- package/node_modules/@aws-sdk/client-glue/dist-cjs/schemas/schemas_0.js +133 -51
- package/node_modules/@aws-sdk/client-glue/dist-es/Glue.js +4 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetDashboardUrlCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetSessionEndpointCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/index.js +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/models/enums.js +14 -4
- package/node_modules/@aws-sdk/client-glue/dist-es/models/errors.js +14 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/schemas/schemas_0.js +108 -26
- package/node_modules/@aws-sdk/client-glue/dist-types/Glue.d.ts +14 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/GlueClient.d.ts +4 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateSessionCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDashboardUrlCommand.d.ts +93 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetMLTaskRunCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetSessionCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetSessionEndpointCommand.d.ts +101 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetTableCommand.d.ts +121 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetTableVersionCommand.d.ts +118 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetTableVersionsCommand.d.ts +118 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetTablesCommand.d.ts +119 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetUnfilteredTableMetadataCommand.d.ts +118 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListSessionsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/RunStatementCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/SearchTablesCommand.d.ts +118 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateCrawlerScheduleCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateDataQualityRulesetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateDatabaseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/models/enums.d.ts +38 -12
- package/node_modules/@aws-sdk/client-glue/dist-types/models/errors.d.ts +17 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_1.d.ts +41 -28
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_2.d.ts +156 -102
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_3.d.ts +107 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/schemas/schemas_0.d.ts +9 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/Glue.d.ts +34 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/GlueClient.d.ts +12 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDashboardUrlCommand.d.ts +52 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetMLTaskRunCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateCrawlerScheduleCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateDataQualityRulesetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/enums.d.ts +19 -6
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/errors.d.ts +8 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_1.d.ts +12 -7
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_2.d.ts +36 -23
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_3.d.ts +24 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
- package/node_modules/@aws-sdk/client-glue/package.json +10 -10
- package/node_modules/@aws-sdk/client-lakeformation/package.json +10 -10
- package/node_modules/@aws-sdk/client-ram/package.json +10 -10
- package/node_modules/@aws-sdk/client-sts/package.json +12 -12
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +47 -2291
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +12 -6
- package/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +11 -6
- package/node_modules/@aws-sdk/core/dist-types/index.d.ts +5 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +5 -5
- package/node_modules/@aws-sdk/core/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-http/package.json +11 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -15
- package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-process/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +12 -10
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -8
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +99 -106
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +62 -120
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +55 -86
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +73 -104
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +102 -185
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +21 -57
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +73 -41
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +20 -52
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +36 -59
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +17 -45
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +32 -32
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +17 -45
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +50 -50
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +34 -96
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +3 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +63 -80
- package/node_modules/@aws-sdk/nested-clients/package.json +11 -11
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +10 -9
- package/node_modules/@aws-sdk/token-providers/package.json +8 -8
- package/node_modules/@aws-sdk/types/package.json +4 -4
- package/node_modules/@aws-sdk/util-locate-window/package.json +3 -3
- package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/CHANGELOG.md +8 -0
- package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/README.md +9 -0
- package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/package.json +4 -1
- package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/strnum.js +9 -1
- package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
- package/node_modules/@nodable/entities/package.json +4 -1
- package/node_modules/@nodable/entities/src/EntityDecoder.js +104 -3
- package/node_modules/@nodable/entities/src/index.d.ts +77 -0
- package/node_modules/@nodable/entities/src/index.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/index.js +13 -15
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +29 -31
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +2 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +7 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +3 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +22 -23
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +10 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +38 -39
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +10 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +14 -17
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +20 -23
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +9 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -13
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +59 -60
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +26 -27
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +28 -29
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +5 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +23 -25
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +2 -4
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRateLimiter.js +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/package.json +18 -17
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +23 -24
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js +2 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/node-http.d.ts +2 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +6 -8
- package/node_modules/@smithy/fetch-http-handler/package.json +10 -10
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +15 -15
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -6
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/package.json +8 -8
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +27 -29
- package/node_modules/@smithy/signature-v4/package.json +7 -7
- package/node_modules/@smithy/types/dist-cjs/index.js +23 -18
- package/node_modules/@smithy/types/package.json +10 -10
- package/node_modules/@types/aws-lambda/README.md +1 -1
- package/node_modules/@types/aws-lambda/package.json +3 -3
- package/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +2 -0
- package/node_modules/anynum/LICENSE +21 -0
- package/node_modules/anynum/README.md +142 -0
- package/node_modules/anynum/anynum.js +135 -0
- package/node_modules/anynum/digitTable.js +116 -0
- package/node_modules/anynum/package.json +42 -0
- package/node_modules/watchpack/README.md +9 -0
- package/node_modules/watchpack/lib/DirectoryWatcher.js +182 -25
- package/node_modules/watchpack/lib/index.js +55 -15
- package/node_modules/watchpack/lib/reducePlan.js +56 -35
- package/node_modules/watchpack/lib/util/globToRegExp.js +142 -0
- package/node_modules/watchpack/lib/watchEventSource.js +18 -10
- package/node_modules/watchpack/package.json +17 -23
- package/node_modules/watchpack/types/DirectoryWatcher.d.ts +2 -0
- package/node_modules/watchpack/types/index.d.ts +121 -113
- package/node_modules/watchpack/types/util/globToRegExp.d.ts +2 -0
- package/node_modules/watchpack/types/watchpack.d.ts +1 -1
- package/node_modules/which-typed-array/CHANGELOG.md +7 -0
- package/node_modules/which-typed-array/eslint.config.mjs +1 -0
- package/node_modules/which-typed-array/index.d.ts +22 -31
- package/node_modules/which-typed-array/index.js +36 -23
- package/node_modules/which-typed-array/package.json +4 -7
- package/package.json +14 -14
- package/node_modules/glob-to-regexp/.travis.yml +0 -4
- package/node_modules/glob-to-regexp/README.md +0 -75
- package/node_modules/glob-to-regexp/index.js +0 -130
- package/node_modules/glob-to-regexp/package.json +0 -23
- package/node_modules/glob-to-regexp/test.js +0 -235
- /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/LICENSE +0 -0
|
@@ -1,4 +1,123 @@
|
|
|
1
|
-
|
|
1
|
+
declare namespace _exports {
|
|
2
|
+
export {
|
|
3
|
+
WatcherManager,
|
|
4
|
+
DirectoryWatcher,
|
|
5
|
+
DirectoryWatcherEvents,
|
|
6
|
+
FileWatcherEvents,
|
|
7
|
+
EventMap,
|
|
8
|
+
Watcher,
|
|
9
|
+
IgnoredFunction,
|
|
10
|
+
Ignored,
|
|
11
|
+
WatcherOptions,
|
|
12
|
+
WatchOptions,
|
|
13
|
+
NormalizedWatchOptions,
|
|
14
|
+
EventType,
|
|
15
|
+
Entry,
|
|
16
|
+
OnlySafeTimeEntry,
|
|
17
|
+
ExistenceOnlyTimeEntry,
|
|
18
|
+
TimeInfoEntries,
|
|
19
|
+
Changes,
|
|
20
|
+
Removals,
|
|
21
|
+
Aggregated,
|
|
22
|
+
WatchMethodOptions,
|
|
23
|
+
Times,
|
|
24
|
+
WatchpackEvents,
|
|
25
|
+
WatchpackExports,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
declare const _exports: WatchpackExports;
|
|
29
|
+
export = _exports;
|
|
30
|
+
type WatcherManager = import("./getWatcherManager").WatcherManager;
|
|
31
|
+
type DirectoryWatcher = import("./DirectoryWatcher");
|
|
32
|
+
type DirectoryWatcherEvents =
|
|
33
|
+
import("./DirectoryWatcher").DirectoryWatcherEvents;
|
|
34
|
+
type FileWatcherEvents = import("./DirectoryWatcher").FileWatcherEvents;
|
|
35
|
+
type EventMap = Record<string, (...args: any[]) => any>;
|
|
36
|
+
type Watcher<T extends EventMap> = import("./DirectoryWatcher").Watcher<T>;
|
|
37
|
+
type IgnoredFunction = (item: string) => boolean;
|
|
38
|
+
type Ignored = string[] | RegExp | string | IgnoredFunction;
|
|
39
|
+
type WatcherOptions = {
|
|
40
|
+
/**
|
|
41
|
+
* true when need to resolve symlinks and watch symlink and real file, otherwise false
|
|
42
|
+
*/
|
|
43
|
+
followSymlinks?: boolean | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* ignore some files from watching (glob pattern or regexp)
|
|
46
|
+
*/
|
|
47
|
+
ignored?: Ignored | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* true when need to enable polling mode for watching, otherwise false
|
|
50
|
+
*/
|
|
51
|
+
poll?: (number | boolean) | undefined;
|
|
52
|
+
};
|
|
53
|
+
type WatchOptions = WatcherOptions & {
|
|
54
|
+
aggregateTimeout?: number;
|
|
55
|
+
};
|
|
56
|
+
type NormalizedWatchOptions = {
|
|
57
|
+
/**
|
|
58
|
+
* true when need to resolve symlinks and watch symlink and real file, otherwise false
|
|
59
|
+
*/
|
|
60
|
+
followSymlinks: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* ignore some files from watching (glob pattern or regexp)
|
|
63
|
+
*/
|
|
64
|
+
ignored: IgnoredFunction;
|
|
65
|
+
/**
|
|
66
|
+
* true when need to enable polling mode for watching, otherwise false
|
|
67
|
+
*/
|
|
68
|
+
poll?: (number | boolean) | undefined;
|
|
69
|
+
};
|
|
70
|
+
type EventType =
|
|
71
|
+
| `scan (${string})`
|
|
72
|
+
| "change"
|
|
73
|
+
| "rename"
|
|
74
|
+
| `watch ${string}`
|
|
75
|
+
| `directory-removed ${string}`;
|
|
76
|
+
type Entry = {
|
|
77
|
+
safeTime: number;
|
|
78
|
+
timestamp: number;
|
|
79
|
+
accuracy: number;
|
|
80
|
+
};
|
|
81
|
+
type OnlySafeTimeEntry = {
|
|
82
|
+
safeTime: number;
|
|
83
|
+
};
|
|
84
|
+
type ExistenceOnlyTimeEntry = {};
|
|
85
|
+
type TimeInfoEntries = Map<
|
|
86
|
+
string,
|
|
87
|
+
Entry | OnlySafeTimeEntry | ExistenceOnlyTimeEntry | null
|
|
88
|
+
>;
|
|
89
|
+
type Changes = Set<string>;
|
|
90
|
+
type Removals = Set<string>;
|
|
91
|
+
type Aggregated = {
|
|
92
|
+
changes: Changes;
|
|
93
|
+
removals: Removals;
|
|
94
|
+
};
|
|
95
|
+
type WatchMethodOptions = {
|
|
96
|
+
files?: Iterable<string>;
|
|
97
|
+
directories?: Iterable<string>;
|
|
98
|
+
missing?: Iterable<string>;
|
|
99
|
+
startTime?: number;
|
|
100
|
+
};
|
|
101
|
+
type Times = Record<string, number>;
|
|
102
|
+
type WatchpackEvents = {
|
|
103
|
+
/**
|
|
104
|
+
* change event
|
|
105
|
+
*/
|
|
106
|
+
change: (file: string, mtime: number, type: EventType) => void;
|
|
107
|
+
/**
|
|
108
|
+
* remove event
|
|
109
|
+
*/
|
|
110
|
+
remove: (file: string, type: EventType) => void;
|
|
111
|
+
/**
|
|
112
|
+
* aggregated event
|
|
113
|
+
*/
|
|
114
|
+
aggregated: (changes: Changes, removals: Removals) => void;
|
|
115
|
+
};
|
|
116
|
+
type WatchpackExports = typeof Watchpack & {
|
|
117
|
+
util: {
|
|
118
|
+
readonly globToRegExp: typeof globToRegExp;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
2
121
|
/**
|
|
3
122
|
* @typedef {object} WatchpackEvents
|
|
4
123
|
* @property {(file: string, mtime: number, type: EventType) => void} change change event
|
|
@@ -102,32 +221,7 @@ declare class Watchpack extends EventEmitter<{
|
|
|
102
221
|
*/
|
|
103
222
|
_onRemove(item: string, file: string, type: EventType): void;
|
|
104
223
|
}
|
|
105
|
-
|
|
106
|
-
export {
|
|
107
|
-
WatcherManager,
|
|
108
|
-
DirectoryWatcher,
|
|
109
|
-
DirectoryWatcherEvents,
|
|
110
|
-
FileWatcherEvents,
|
|
111
|
-
EventMap,
|
|
112
|
-
Watcher,
|
|
113
|
-
IgnoredFunction,
|
|
114
|
-
Ignored,
|
|
115
|
-
WatcherOptions,
|
|
116
|
-
WatchOptions,
|
|
117
|
-
NormalizedWatchOptions,
|
|
118
|
-
EventType,
|
|
119
|
-
Entry,
|
|
120
|
-
OnlySafeTimeEntry,
|
|
121
|
-
ExistenceOnlyTimeEntry,
|
|
122
|
-
TimeInfoEntries,
|
|
123
|
-
Changes,
|
|
124
|
-
Removals,
|
|
125
|
-
Aggregated,
|
|
126
|
-
WatchMethodOptions,
|
|
127
|
-
Times,
|
|
128
|
-
WatchpackEvents,
|
|
129
|
-
};
|
|
130
|
-
}
|
|
224
|
+
import globToRegExp = require("./util/globToRegExp");
|
|
131
225
|
import { EventEmitter } from "events";
|
|
132
226
|
declare class WatchpackFileWatcher {
|
|
133
227
|
/**
|
|
@@ -173,89 +267,3 @@ declare class WatchpackDirectoryWatcher {
|
|
|
173
267
|
update(directories: string | string[]): void;
|
|
174
268
|
close(): void;
|
|
175
269
|
}
|
|
176
|
-
type WatcherManager = import("./getWatcherManager").WatcherManager;
|
|
177
|
-
type DirectoryWatcher = import("./DirectoryWatcher");
|
|
178
|
-
type DirectoryWatcherEvents =
|
|
179
|
-
import("./DirectoryWatcher").DirectoryWatcherEvents;
|
|
180
|
-
type FileWatcherEvents = import("./DirectoryWatcher").FileWatcherEvents;
|
|
181
|
-
type EventMap = Record<string, (...args: any[]) => any>;
|
|
182
|
-
type Watcher<T extends EventMap> = import("./DirectoryWatcher").Watcher<T>;
|
|
183
|
-
type IgnoredFunction = (item: string) => boolean;
|
|
184
|
-
type Ignored = string[] | RegExp | string | IgnoredFunction;
|
|
185
|
-
type WatcherOptions = {
|
|
186
|
-
/**
|
|
187
|
-
* true when need to resolve symlinks and watch symlink and real file, otherwise false
|
|
188
|
-
*/
|
|
189
|
-
followSymlinks?: boolean | undefined;
|
|
190
|
-
/**
|
|
191
|
-
* ignore some files from watching (glob pattern or regexp)
|
|
192
|
-
*/
|
|
193
|
-
ignored?: Ignored | undefined;
|
|
194
|
-
/**
|
|
195
|
-
* true when need to enable polling mode for watching, otherwise false
|
|
196
|
-
*/
|
|
197
|
-
poll?: (number | boolean) | undefined;
|
|
198
|
-
};
|
|
199
|
-
type WatchOptions = WatcherOptions & {
|
|
200
|
-
aggregateTimeout?: number;
|
|
201
|
-
};
|
|
202
|
-
type NormalizedWatchOptions = {
|
|
203
|
-
/**
|
|
204
|
-
* true when need to resolve symlinks and watch symlink and real file, otherwise false
|
|
205
|
-
*/
|
|
206
|
-
followSymlinks: boolean;
|
|
207
|
-
/**
|
|
208
|
-
* ignore some files from watching (glob pattern or regexp)
|
|
209
|
-
*/
|
|
210
|
-
ignored: IgnoredFunction;
|
|
211
|
-
/**
|
|
212
|
-
* true when need to enable polling mode for watching, otherwise false
|
|
213
|
-
*/
|
|
214
|
-
poll?: (number | boolean) | undefined;
|
|
215
|
-
};
|
|
216
|
-
type EventType =
|
|
217
|
-
| `scan (${string})`
|
|
218
|
-
| "change"
|
|
219
|
-
| "rename"
|
|
220
|
-
| `watch ${string}`
|
|
221
|
-
| `directory-removed ${string}`;
|
|
222
|
-
type Entry = {
|
|
223
|
-
safeTime: number;
|
|
224
|
-
timestamp: number;
|
|
225
|
-
accuracy: number;
|
|
226
|
-
};
|
|
227
|
-
type OnlySafeTimeEntry = {
|
|
228
|
-
safeTime: number;
|
|
229
|
-
};
|
|
230
|
-
type ExistenceOnlyTimeEntry = {};
|
|
231
|
-
type TimeInfoEntries = Map<
|
|
232
|
-
string,
|
|
233
|
-
Entry | OnlySafeTimeEntry | ExistenceOnlyTimeEntry | null
|
|
234
|
-
>;
|
|
235
|
-
type Changes = Set<string>;
|
|
236
|
-
type Removals = Set<string>;
|
|
237
|
-
type Aggregated = {
|
|
238
|
-
changes: Changes;
|
|
239
|
-
removals: Removals;
|
|
240
|
-
};
|
|
241
|
-
type WatchMethodOptions = {
|
|
242
|
-
files?: Iterable<string>;
|
|
243
|
-
directories?: Iterable<string>;
|
|
244
|
-
missing?: Iterable<string>;
|
|
245
|
-
startTime?: number;
|
|
246
|
-
};
|
|
247
|
-
type Times = Record<string, number>;
|
|
248
|
-
type WatchpackEvents = {
|
|
249
|
-
/**
|
|
250
|
-
* change event
|
|
251
|
-
*/
|
|
252
|
-
change: (file: string, mtime: number, type: EventType) => void;
|
|
253
|
-
/**
|
|
254
|
-
* remove event
|
|
255
|
-
*/
|
|
256
|
-
remove: (file: string, type: EventType) => void;
|
|
257
|
-
/**
|
|
258
|
-
* aggregated event
|
|
259
|
-
*/
|
|
260
|
-
aggregated: (changes: Changes, removals: Removals) => void;
|
|
261
|
-
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _exports:
|
|
1
|
+
declare const _exports: import("./index").WatchpackExports;
|
|
2
2
|
export = _exports;
|
|
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [v1.1.22](https://github.com/inspect-js/which-typed-array/compare/v1.1.21...v1.1.22) - 2026-06-05
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [types] improve typings [`5a60076`](https://github.com/inspect-js/which-typed-array/commit/5a60076ec334e32dcb41d38b1eb6c2c49d18d097)
|
|
13
|
+
- [Dev Deps] update `@arethetypeswrong/cli`, `auto-changelog`, `eslint` [`6fb45d2`](https://github.com/inspect-js/which-typed-array/commit/6fb45d27e29dc0384d142c3af95540dfe7409207)
|
|
14
|
+
|
|
8
15
|
## [v1.1.21](https://github.com/inspect-js/which-typed-array/compare/v1.1.20...v1.1.21) - 2026-05-26
|
|
9
16
|
|
|
10
17
|
### Commits
|
|
@@ -4,41 +4,32 @@
|
|
|
4
4
|
* @param {unknown} value The potential collection
|
|
5
5
|
* @returns {TypedArrayName | false | null} 'Int8Array' | 'Uint8Array' | 'Uint8ClampedArray' | 'Int16Array' | 'Uint16Array' | 'Int32Array' | 'Uint32Array' | 'Float32Array' | 'Float64Array' | 'BigInt64Array' | 'BigUint64Array' | false | null
|
|
6
6
|
*/
|
|
7
|
-
declare function whichTypedArray(value:
|
|
8
|
-
declare function whichTypedArray(value:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
declare function whichTypedArray(value: Uint16Array): 'Uint16Array';
|
|
12
|
-
declare function whichTypedArray(value: Int32Array): 'Int32Array';
|
|
13
|
-
declare function whichTypedArray(value: Uint32Array): 'Uint32Array';
|
|
14
|
-
declare function whichTypedArray(value: Float16Array): 'Float16Array';
|
|
15
|
-
declare function whichTypedArray(value: Float32Array): 'Float32Array';
|
|
16
|
-
declare function whichTypedArray(value: Float64Array): 'Float64Array';
|
|
17
|
-
declare function whichTypedArray(value: Float16Array): 'Float16Array';
|
|
18
|
-
declare function whichTypedArray(value: BigInt64Array): 'BigInt64Array';
|
|
19
|
-
declare function whichTypedArray(value: BigUint64Array): 'BigUint64Array';
|
|
20
|
-
declare function whichTypedArray(value: whichTypedArray.TypedArray): whichTypedArray.TypedArrayName;
|
|
21
|
-
declare function whichTypedArray(value: unknown): false | null;
|
|
7
|
+
declare function whichTypedArray<T>(value: T): false | null | whichTypedArray.WhichTypedArray<T>;
|
|
8
|
+
declare function whichTypedArray(value: unknown): false | null | whichTypedArray.TypedArrayName;
|
|
9
|
+
|
|
10
|
+
import TAs from 'available-typed-arrays';
|
|
22
11
|
|
|
23
12
|
declare namespace whichTypedArray {
|
|
24
|
-
|
|
13
|
+
export type TypedArrayName = ReturnType<typeof TAs>[number];
|
|
14
|
+
|
|
15
|
+
export type TypedArrayConstructor = typeof globalThis[TypedArrayName];
|
|
25
16
|
|
|
26
|
-
|
|
27
|
-
| Int8Array
|
|
28
|
-
| Uint8Array
|
|
29
|
-
| Uint8ClampedArray
|
|
30
|
-
| Int16Array
|
|
31
|
-
| Uint16Array
|
|
32
|
-
| Int32Array
|
|
33
|
-
| Uint32Array
|
|
34
|
-
| Float16Array
|
|
35
|
-
| Float32Array
|
|
36
|
-
| Float64Array
|
|
37
|
-
| Float16Array
|
|
38
|
-
| BigInt64Array
|
|
39
|
-
| BigUint64Array;
|
|
17
|
+
export type TypedArray = TypedArrayConstructor['prototype'];
|
|
40
18
|
|
|
41
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Distributes over `T`, so a subset of typed arrays maps to the matching
|
|
21
|
+
* subset of names (`Int8Array | Uint8Array` -> `'Int8Array' | 'Uint8Array'`,
|
|
22
|
+
* never a float16 or bigint name). Any non-typed-array part adds `false | null`.
|
|
23
|
+
*
|
|
24
|
+
* Derived entirely from `TypedArrayName`, so a new entry in `available-typed-arrays` flows through with no other change here.
|
|
25
|
+
*/
|
|
26
|
+
export type WhichTypedArray<T> =
|
|
27
|
+
| {
|
|
28
|
+
[Name in TypedArrayName]: T extends typeof globalThis[Name]['prototype']
|
|
29
|
+
? Name
|
|
30
|
+
: never
|
|
31
|
+
}[TypedArrayName]
|
|
32
|
+
| ([T] extends [TypedArray] ? never : false | null);
|
|
42
33
|
}
|
|
43
34
|
|
|
44
35
|
export = whichTypedArray;
|
|
@@ -15,6 +15,9 @@ var typedArrays = availableTypedArrays();
|
|
|
15
15
|
|
|
16
16
|
var $slice = callBound('String.prototype.slice');
|
|
17
17
|
|
|
18
|
+
/** @import { BoundSet, BoundSlice, Cache, Getter } from './types' */
|
|
19
|
+
/** @import { TypedArrayName } from '.' */
|
|
20
|
+
|
|
18
21
|
/** @type {<T = unknown>(array: readonly T[], value: unknown) => number} */
|
|
19
22
|
var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {
|
|
20
23
|
for (var i = 0; i < array.length; i += 1) {
|
|
@@ -25,8 +28,7 @@ var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(ar
|
|
|
25
28
|
return -1;
|
|
26
29
|
};
|
|
27
30
|
|
|
28
|
-
/** @
|
|
29
|
-
/** @type {import('./types').Cache} */
|
|
31
|
+
/** @type {Cache} */
|
|
30
32
|
var cache = { __proto__: null };
|
|
31
33
|
if (hasToStringTag && gOPD && getProto) {
|
|
32
34
|
forEach(typedArrays, function (typedArray) {
|
|
@@ -43,7 +45,8 @@ if (hasToStringTag && gOPD && getProto) {
|
|
|
43
45
|
if (descriptor && descriptor.get) {
|
|
44
46
|
var bound = callBind(descriptor.get);
|
|
45
47
|
cache[
|
|
46
|
-
/** @type {`$${
|
|
48
|
+
/** @type {`$${TypedArrayName}`} */
|
|
49
|
+
('$' + typedArray)
|
|
47
50
|
] = bound;
|
|
48
51
|
}
|
|
49
52
|
}
|
|
@@ -53,62 +56,72 @@ if (hasToStringTag && gOPD && getProto) {
|
|
|
53
56
|
var arr = new g[typedArray]();
|
|
54
57
|
var fn = arr.slice || arr.set;
|
|
55
58
|
if (fn) {
|
|
56
|
-
var bound = /** @type {
|
|
59
|
+
var bound = /** @type {BoundSlice | BoundSet} */ (
|
|
57
60
|
// @ts-expect-error TODO FIXME
|
|
58
61
|
callBind(fn)
|
|
59
62
|
);
|
|
60
63
|
cache[
|
|
61
|
-
/** @type {`$${
|
|
64
|
+
/** @type {`$${TypedArrayName}`} */
|
|
65
|
+
('$' + typedArray)
|
|
62
66
|
] = bound;
|
|
63
67
|
}
|
|
64
68
|
});
|
|
65
69
|
}
|
|
66
70
|
|
|
67
|
-
/** @type {(value: object) => false |
|
|
68
|
-
|
|
69
|
-
/** @type {ReturnType<typeof
|
|
71
|
+
/** @type {(value: object) => false | TypedArrayName} */
|
|
72
|
+
function tryTypedArrays(value) {
|
|
73
|
+
/** @type {ReturnType<typeof tryTypedArrays>} */ var found = false;
|
|
70
74
|
forEach(
|
|
71
|
-
/** @type {Record
|
|
72
|
-
/** @
|
|
75
|
+
/** @type {Record<`$${TypedArrayName}`, Getter>} */ (cache),
|
|
76
|
+
/** @param {Getter} getter @param {`$${TypedArrayName}`} typedArray */
|
|
73
77
|
function (getter, typedArray) {
|
|
74
78
|
if (!found) {
|
|
75
79
|
try {
|
|
76
80
|
// @ts-expect-error a throw is fine here
|
|
77
81
|
if ('$' + getter(value) === typedArray) {
|
|
78
|
-
found = /** @type {
|
|
82
|
+
found = /** @type {TypedArrayName} */ ($slice(typedArray, 1));
|
|
79
83
|
}
|
|
80
84
|
} catch (e) { /**/ }
|
|
81
85
|
}
|
|
82
86
|
}
|
|
83
87
|
);
|
|
84
88
|
return found;
|
|
85
|
-
}
|
|
89
|
+
}
|
|
86
90
|
|
|
87
|
-
/** @type {(value: object) => false |
|
|
88
|
-
|
|
89
|
-
/** @type {ReturnType<typeof
|
|
91
|
+
/** @type {(value: object) => false | TypedArrayName} */
|
|
92
|
+
function trySlices(value) {
|
|
93
|
+
/** @type {ReturnType<typeof trySlices>} */ var found = false;
|
|
90
94
|
forEach(
|
|
91
|
-
/** @type {Record
|
|
92
|
-
/** @
|
|
95
|
+
/** @type {Record<`$${TypedArrayName}`, Getter>} */(cache),
|
|
96
|
+
/** @param {Getter} getter @param {`$${TypedArrayName}`} name */ function (getter, name) {
|
|
93
97
|
if (!found) {
|
|
94
98
|
try {
|
|
95
99
|
// @ts-expect-error a throw is fine here
|
|
96
100
|
getter(value);
|
|
97
|
-
found = /** @type {
|
|
101
|
+
found = /** @type {TypedArrayName} */ ($slice(name, 1));
|
|
98
102
|
} catch (e) { /**/ }
|
|
99
103
|
}
|
|
100
104
|
}
|
|
101
105
|
);
|
|
102
106
|
return found;
|
|
103
|
-
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/** @type {(tag: unknown) => tag is typeof typedArrays[number]} */
|
|
110
|
+
function isTATag(tag) {
|
|
111
|
+
return $indexOf(typedArrays, tag) > -1;
|
|
112
|
+
}
|
|
104
113
|
|
|
105
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* @type {import('.')}
|
|
116
|
+
* @param {unknown} value
|
|
117
|
+
*/
|
|
106
118
|
module.exports = function whichTypedArray(value) {
|
|
107
|
-
if (!value || typeof value !== 'object') {
|
|
119
|
+
if (!value || typeof value !== 'object') {
|
|
120
|
+
return false;
|
|
121
|
+
}
|
|
108
122
|
if (!hasToStringTag) {
|
|
109
|
-
/** @type {string} */
|
|
110
123
|
var tag = $slice($toString(value), 8, -1);
|
|
111
|
-
if (
|
|
124
|
+
if (isTATag(tag)) {
|
|
112
125
|
return tag;
|
|
113
126
|
}
|
|
114
127
|
if (tag !== 'Object') {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "which-typed-array",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.22",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Jordan Harband",
|
|
6
6
|
"email": "ljharb@gmail.com",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"has-tostringtag": "^1.0.2"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@arethetypeswrong/cli": "^0.18.
|
|
72
|
+
"@arethetypeswrong/cli": "^0.18.3",
|
|
73
73
|
"@ljharb/eslint-config": "^22.2.3",
|
|
74
74
|
"@ljharb/tsconfig": "^0.3.2",
|
|
75
75
|
"@types/call-bind": "^1.0.5",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"@types/make-arrow-function": "^1.2.2",
|
|
80
80
|
"@types/make-generator-function": "^2.0.3",
|
|
81
81
|
"@types/tape": "^5.8.1",
|
|
82
|
-
"auto-changelog": "^2.
|
|
83
|
-
"eslint": "^10.4.
|
|
82
|
+
"auto-changelog": "^2.6.0",
|
|
83
|
+
"eslint": "^10.4.1",
|
|
84
84
|
"in-publish": "^2.0.1",
|
|
85
85
|
"is-callable": "^1.2.7",
|
|
86
86
|
"jiti": "^0.0.0",
|
|
@@ -126,8 +126,5 @@
|
|
|
126
126
|
".github/workflows",
|
|
127
127
|
"types.d.ts"
|
|
128
128
|
]
|
|
129
|
-
},
|
|
130
|
-
"overrides": {
|
|
131
|
-
"fflate": "=0.8.2"
|
|
132
129
|
}
|
|
133
130
|
}
|
package/package.json
CHANGED
|
@@ -56,16 +56,16 @@
|
|
|
56
56
|
"constructs": "10.5.1",
|
|
57
57
|
"eslint": "^9",
|
|
58
58
|
"eslint-config-prettier": "^10.1.8",
|
|
59
|
-
"eslint-import-resolver-typescript": "^4.4.
|
|
59
|
+
"eslint-import-resolver-typescript": "^4.4.5",
|
|
60
60
|
"eslint-plugin-import": "^2.32.0",
|
|
61
|
-
"eslint-plugin-prettier": "^5.5.
|
|
61
|
+
"eslint-plugin-prettier": "^5.5.6",
|
|
62
62
|
"jest": "^30.4.2",
|
|
63
63
|
"jest-junit": "^16",
|
|
64
64
|
"jsii": "~5.9",
|
|
65
|
-
"jsii-diff": "^1.
|
|
65
|
+
"jsii-diff": "^1.134.0",
|
|
66
66
|
"jsii-docgen": "^10.5.0",
|
|
67
|
-
"jsii-pacmak": "^1.
|
|
68
|
-
"jsii-rosetta": "^5.9.
|
|
67
|
+
"jsii-pacmak": "^1.134.0",
|
|
68
|
+
"jsii-rosetta": "^5.9.49",
|
|
69
69
|
"prettier": "^3.8.3",
|
|
70
70
|
"projen": "^0.99.17",
|
|
71
71
|
"ts-jest": "^29.4.11",
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
"constructs": "^10.5.1"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
81
|
-
"@aws-sdk/client-connect": "^3.
|
|
82
|
-
"@aws-sdk/client-glue": "^3.
|
|
83
|
-
"@aws-sdk/client-lakeformation": "^3.
|
|
84
|
-
"@aws-sdk/client-ram": "^3.
|
|
85
|
-
"@aws-sdk/client-sts": "^3.
|
|
86
|
-
"@aws-sdk/types": "^3.973.
|
|
87
|
-
"@types/aws-lambda": "^8.10.
|
|
80
|
+
"@aws-sdk/client-cloudformation": "^3.1068.0",
|
|
81
|
+
"@aws-sdk/client-connect": "^3.1068.0",
|
|
82
|
+
"@aws-sdk/client-glue": "^3.1068.0",
|
|
83
|
+
"@aws-sdk/client-lakeformation": "^3.1068.0",
|
|
84
|
+
"@aws-sdk/client-ram": "^3.1068.0",
|
|
85
|
+
"@aws-sdk/client-sts": "^3.1068.0",
|
|
86
|
+
"@aws-sdk/types": "^3.973.12",
|
|
87
|
+
"@types/aws-lambda": "^8.10.162",
|
|
88
88
|
"aws-lambda": "^1.0.7"
|
|
89
89
|
},
|
|
90
90
|
"bundledDependencies": [
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"publishConfig": {
|
|
113
113
|
"access": "public"
|
|
114
114
|
},
|
|
115
|
-
"version": "0.0.
|
|
115
|
+
"version": "0.0.14",
|
|
116
116
|
"jest": {
|
|
117
117
|
"coverageProvider": "v8",
|
|
118
118
|
"moduleNameMapper": {
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
# Glob To Regular Expression
|
|
2
|
-
|
|
3
|
-
[](https://travis-ci.org/fitzgen/glob-to-regexp)
|
|
4
|
-
|
|
5
|
-
Turn a \*-wildcard style glob (`"*.min.js"`) into a regular expression
|
|
6
|
-
(`/^.*\.min\.js$/`)!
|
|
7
|
-
|
|
8
|
-
To match bash-like globs, eg. `?` for any single-character match, `[a-z]` for
|
|
9
|
-
character ranges, and `{*.html, *.js}` for multiple alternatives, call with
|
|
10
|
-
`{ extended: true }`.
|
|
11
|
-
|
|
12
|
-
To obey [globstars `**`](https://github.com/isaacs/node-glob#glob-primer) rules set option `{globstar: true}`.
|
|
13
|
-
NOTE: This changes the behavior of `*` when `globstar` is `true` as shown below:
|
|
14
|
-
When `{globstar: true}`: `/foo/**` will match any string that starts with `/foo/`
|
|
15
|
-
like `/foo/index.htm`, `/foo/bar/baz.txt`, etc. Also, `/foo/**/*.txt` will match
|
|
16
|
-
any string that starts with `/foo/` and ends with `.txt` like `/foo/bar.txt`,
|
|
17
|
-
`/foo/bar/baz.txt`, etc.
|
|
18
|
-
Whereas `/foo/*` (single `*`, not a globstar) will match strings that start with
|
|
19
|
-
`/foo/` like `/foo/index.htm`, `/foo/baz.txt` but will not match strings that
|
|
20
|
-
contain a `/` to the right like `/foo/bar/baz.txt`, `/foo/bar/baz/qux.dat`, etc.
|
|
21
|
-
|
|
22
|
-
Set flags on the resulting `RegExp` object by adding the `flags` property to the option object, eg `{ flags: "i" }` for ignoring case.
|
|
23
|
-
|
|
24
|
-
## Install
|
|
25
|
-
|
|
26
|
-
npm install glob-to-regexp
|
|
27
|
-
|
|
28
|
-
## Usage
|
|
29
|
-
```js
|
|
30
|
-
var globToRegExp = require('glob-to-regexp');
|
|
31
|
-
var re = globToRegExp("p*uck");
|
|
32
|
-
re.test("pot luck"); // true
|
|
33
|
-
re.test("pluck"); // true
|
|
34
|
-
re.test("puck"); // true
|
|
35
|
-
|
|
36
|
-
re = globToRegExp("*.min.js");
|
|
37
|
-
re.test("http://example.com/jquery.min.js"); // true
|
|
38
|
-
re.test("http://example.com/jquery.min.js.map"); // false
|
|
39
|
-
|
|
40
|
-
re = globToRegExp("*/www/*.js");
|
|
41
|
-
re.test("http://example.com/www/app.js"); // true
|
|
42
|
-
re.test("http://example.com/www/lib/factory-proxy-model-observer.js"); // true
|
|
43
|
-
|
|
44
|
-
// Extended globs
|
|
45
|
-
re = globToRegExp("*/www/{*.js,*.html}", { extended: true });
|
|
46
|
-
re.test("http://example.com/www/app.js"); // true
|
|
47
|
-
re.test("http://example.com/www/index.html"); // true
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## License
|
|
51
|
-
|
|
52
|
-
Copyright (c) 2013, Nick Fitzgerald
|
|
53
|
-
|
|
54
|
-
All rights reserved.
|
|
55
|
-
|
|
56
|
-
Redistribution and use in source and binary forms, with or without modification,
|
|
57
|
-
are permitted provided that the following conditions are met:
|
|
58
|
-
|
|
59
|
-
* Redistributions of source code must retain the above copyright notice, this
|
|
60
|
-
list of conditions and the following disclaimer.
|
|
61
|
-
|
|
62
|
-
* Redistributions in binary form must reproduce the above copyright notice, this
|
|
63
|
-
list of conditions and the following disclaimer in the documentation and/or
|
|
64
|
-
other materials provided with the distribution.
|
|
65
|
-
|
|
66
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
67
|
-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
68
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
69
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
|
70
|
-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
71
|
-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
72
|
-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
73
|
-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
74
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
75
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|