cloudstructs 0.12.5 → 0.12.7
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 +3 -3
- package/lib/codecommit-mirror/index.js +2 -2
- package/lib/dmarc/index.js +1 -1
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/mjml-template/index.js +1 -1
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/ssl-server-test/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +1 -1
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +1 -1
- package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +1 -1
- package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +3 -4
- package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +174 -174
- package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +153 -153
- package/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionActive.js +4 -4
- package/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionActiveV2.js +4 -4
- package/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionExists.js +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionUpdated.js +4 -4
- package/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionUpdatedV2.js +4 -4
- package/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForPublishedVersionActive.js +4 -4
- package/node_modules/@aws-sdk/client-lambda/package.json +43 -43
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +6 -6
- package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +6 -6
- package/node_modules/@aws-sdk/client-sso/package.json +37 -37
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +54 -11
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +9 -1
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +45 -10
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +9 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +23 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +22 -5
- package/node_modules/@aws-sdk/core/package.json +17 -17
- package/node_modules/@aws-sdk/credential-provider-env/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-http/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +18 -18
- package/node_modules/@aws-sdk/credential-provider-login/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-node/package.json +16 -16
- package/node_modules/@aws-sdk/credential-provider-process/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +11 -11
- package/node_modules/@aws-sdk/middleware-host-header/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-logger/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +10 -10
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +9 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +5 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +9 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +5 -2
- package/node_modules/@aws-sdk/nested-clients/package.json +36 -36
- package/node_modules/@aws-sdk/region-config-resolver/package.json +8 -8
- package/node_modules/@aws-sdk/token-providers/package.json +11 -11
- package/node_modules/@aws-sdk/types/package.json +5 -5
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +8 -8
- package/node_modules/@aws-sdk/util-locate-window/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +9 -9
- package/node_modules/@aws-sdk/xml-builder/package.json +5 -5
- package/node_modules/@babel/runtime/package.json +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +14 -1
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +66 -2
- package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +4 -0
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +3 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +14 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +66 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +4 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +3 -0
- package/node_modules/@smithy/abort-controller/package.json +3 -3
- package/node_modules/@smithy/config-resolver/package.json +6 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +20 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +8 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +16 -6
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +21 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +16 -6
- package/node_modules/@smithy/core/dist-types/submodules/protocols/SerdeContext.d.ts +10 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +10 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +0 -1
- package/node_modules/@smithy/core/package.json +11 -11
- package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
- package/node_modules/@smithy/eventstream-codec/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-browser/package.json +4 -4
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-node/package.json +4 -4
- package/node_modules/@smithy/eventstream-serde-universal/package.json +4 -4
- package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
- package/node_modules/@smithy/hash-node/package.json +3 -3
- package/node_modules/@smithy/invalid-dependency/package.json +3 -3
- package/node_modules/@smithy/middleware-content-length/package.json +4 -4
- package/node_modules/@smithy/middleware-endpoint/package.json +12 -12
- package/node_modules/@smithy/middleware-retry/package.json +12 -12
- package/node_modules/@smithy/middleware-serde/package.json +4 -4
- package/node_modules/@smithy/middleware-stack/package.json +3 -3
- package/node_modules/@smithy/node-config-provider/package.json +5 -5
- package/node_modules/@smithy/node-http-handler/package.json +6 -6
- package/node_modules/@smithy/property-provider/package.json +3 -3
- package/node_modules/@smithy/protocol-http/package.json +3 -3
- package/node_modules/@smithy/querystring-builder/package.json +3 -3
- package/node_modules/@smithy/querystring-parser/package.json +3 -3
- package/node_modules/@smithy/service-error-classification/package.json +3 -3
- package/node_modules/@smithy/shared-ini-file-loader/package.json +3 -3
- package/node_modules/@smithy/signature-v4/package.json +5 -5
- package/node_modules/@smithy/smithy-client/package.json +11 -11
- package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +4 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +4 -2
- package/node_modules/@smithy/types/package.json +2 -2
- package/node_modules/@smithy/url-parser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +8 -8
- package/node_modules/@smithy/util-defaults-mode-node/package.json +11 -11
- package/node_modules/@smithy/util-endpoints/package.json +4 -4
- package/node_modules/@smithy/util-middleware/package.json +3 -3
- package/node_modules/@smithy/util-retry/package.json +4 -4
- package/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js +20 -9
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +8 -6
- package/node_modules/@smithy/util-stream/dist-es/getAwsChunkedEncodingStream.js +19 -7
- package/node_modules/@smithy/util-stream/dist-es/index.js +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +7 -7
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +2 -3
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +4 -2
- package/node_modules/@smithy/util-stream/dist-types/createBufferedReadable.d.ts +4 -1
- package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +7 -3
- package/node_modules/@smithy/util-stream/dist-types/headStream.browser.d.ts +1 -2
- package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +2 -2
- package/node_modules/@smithy/util-stream/dist-types/index.d.ts +4 -1
- package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +3 -0
- package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +2 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +7 -7
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +2 -3
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +4 -2
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts +4 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts +7 -3
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts +1 -2
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +2 -2
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +4 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +3 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +2 -1
- package/node_modules/@smithy/util-stream/package.json +5 -5
- package/node_modules/@smithy/util-waiter/package.json +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +14 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +66 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +4 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +3 -0
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +14 -1
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +66 -2
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +4 -0
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +3 -0
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +14 -1
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +66 -2
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +4 -0
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +3 -0
- package/node_modules/eventemitter3/README.md +3 -12
- package/node_modules/eventemitter3/dist/eventemitter3.esm.js +353 -345
- package/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +1 -1
- package/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +1 -1
- package/node_modules/eventemitter3/dist/eventemitter3.umd.js +358 -350
- package/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +1 -1
- package/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +1 -1
- package/node_modules/eventemitter3/package.json +7 -12
- package/node_modules/lodash/README.md +2 -2
- package/node_modules/lodash/_baseUnset.js +47 -2
- package/node_modules/lodash/core.js +1 -1
- package/node_modules/lodash/core.min.js +1 -1
- package/node_modules/lodash/lodash.js +43 -4
- package/node_modules/lodash/lodash.min.js +57 -57
- package/node_modules/lodash/package.json +1 -1
- package/package.json +17 -17
- package/node_modules/lodash/flake.lock +0 -40
- package/node_modules/lodash/flake.nix +0 -20
- package/node_modules/lodash/release.md +0 -48
|
@@ -389,24 +389,42 @@ class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
389
389
|
const ns = schema.NormalizedSchema.of(schema$1);
|
|
390
390
|
if (isObject) {
|
|
391
391
|
if (ns.isStructSchema()) {
|
|
392
|
+
const record = value;
|
|
392
393
|
const union = ns.isUnionSchema();
|
|
393
394
|
const out = {};
|
|
395
|
+
let nameMap = void 0;
|
|
396
|
+
const { jsonName } = this.settings;
|
|
397
|
+
if (jsonName) {
|
|
398
|
+
nameMap = {};
|
|
399
|
+
}
|
|
394
400
|
let unionSerde;
|
|
395
401
|
if (union) {
|
|
396
|
-
unionSerde = new UnionSerde(
|
|
402
|
+
unionSerde = new UnionSerde(record, out);
|
|
397
403
|
}
|
|
398
|
-
for (const [memberName, memberSchema] of deserializingStructIterator(ns,
|
|
399
|
-
|
|
404
|
+
for (const [memberName, memberSchema] of deserializingStructIterator(ns, record, jsonName ? "jsonName" : false)) {
|
|
405
|
+
let fromKey = memberName;
|
|
406
|
+
if (jsonName) {
|
|
407
|
+
fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey;
|
|
408
|
+
nameMap[fromKey] = memberName;
|
|
409
|
+
}
|
|
400
410
|
if (union) {
|
|
401
411
|
unionSerde.mark(fromKey);
|
|
402
412
|
}
|
|
403
|
-
if (
|
|
404
|
-
out[memberName] = this._read(memberSchema,
|
|
413
|
+
if (record[fromKey] != null) {
|
|
414
|
+
out[memberName] = this._read(memberSchema, record[fromKey]);
|
|
405
415
|
}
|
|
406
416
|
}
|
|
407
417
|
if (union) {
|
|
408
418
|
unionSerde.writeUnknown();
|
|
409
419
|
}
|
|
420
|
+
else if (typeof record.__type === "string") {
|
|
421
|
+
for (const [k, v] of Object.entries(record)) {
|
|
422
|
+
const t = jsonName ? nameMap[k] ?? k : k;
|
|
423
|
+
if (!(t in out)) {
|
|
424
|
+
out[t] = v;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
}
|
|
410
428
|
return out;
|
|
411
429
|
}
|
|
412
430
|
if (Array.isArray(value) && ns.isListSchema()) {
|
|
@@ -585,22 +603,39 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
585
603
|
const ns = schema.NormalizedSchema.of(schema$1);
|
|
586
604
|
if (isObject) {
|
|
587
605
|
if (ns.isStructSchema()) {
|
|
606
|
+
const record = value;
|
|
588
607
|
const out = {};
|
|
589
|
-
|
|
590
|
-
|
|
608
|
+
const { jsonName } = this.settings;
|
|
609
|
+
let nameMap = void 0;
|
|
610
|
+
if (jsonName) {
|
|
611
|
+
nameMap = {};
|
|
612
|
+
}
|
|
613
|
+
for (const [memberName, memberSchema] of serializingStructIterator(ns, record)) {
|
|
614
|
+
const serializableValue = this._write(memberSchema, record[memberName], ns);
|
|
591
615
|
if (serializableValue !== undefined) {
|
|
592
|
-
|
|
593
|
-
|
|
616
|
+
let targetKey = memberName;
|
|
617
|
+
if (jsonName) {
|
|
618
|
+
targetKey = memberSchema.getMergedTraits().jsonName ?? memberName;
|
|
619
|
+
nameMap[memberName] = targetKey;
|
|
620
|
+
}
|
|
594
621
|
out[targetKey] = serializableValue;
|
|
595
622
|
}
|
|
596
623
|
}
|
|
597
624
|
if (ns.isUnionSchema() && Object.keys(out).length === 0) {
|
|
598
|
-
const { $unknown } =
|
|
625
|
+
const { $unknown } = record;
|
|
599
626
|
if (Array.isArray($unknown)) {
|
|
600
627
|
const [k, v] = $unknown;
|
|
601
628
|
out[k] = this._write(15, v);
|
|
602
629
|
}
|
|
603
630
|
}
|
|
631
|
+
else if (typeof record.__type === "string") {
|
|
632
|
+
for (const [k, v] of Object.entries(record)) {
|
|
633
|
+
const targetKey = jsonName ? nameMap[k] ?? k : k;
|
|
634
|
+
if (!(targetKey in out)) {
|
|
635
|
+
out[targetKey] = this._write(15, v);
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
}
|
|
604
639
|
return out;
|
|
605
640
|
}
|
|
606
641
|
if (Array.isArray(value) && ns.isListSchema()) {
|
|
@@ -17,7 +17,15 @@ export const resolveAwsSdkSigV4Config = (config) => {
|
|
|
17
17
|
});
|
|
18
18
|
const boundProvider = bindCallerConfig(config, memoizedProvider);
|
|
19
19
|
if (isUserSupplied && !boundProvider.attributed) {
|
|
20
|
-
|
|
20
|
+
const isCredentialObject = typeof inputCredentials === "object" && inputCredentials !== null;
|
|
21
|
+
resolvedCredentials = async (options) => {
|
|
22
|
+
const creds = await boundProvider(options);
|
|
23
|
+
const attributedCreds = creds;
|
|
24
|
+
if (isCredentialObject && (!attributedCreds.$source || Object.keys(attributedCreds.$source).length === 0)) {
|
|
25
|
+
return setCredentialFeature(attributedCreds, "CREDENTIALS_CODE", "e");
|
|
26
|
+
}
|
|
27
|
+
return attributedCreds;
|
|
28
|
+
};
|
|
21
29
|
resolvedCredentials.memoized = boundProvider.memoized;
|
|
22
30
|
resolvedCredentials.configBound = boundProvider.configBound;
|
|
23
31
|
resolvedCredentials.attributed = true;
|
package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js
CHANGED
|
@@ -24,24 +24,42 @@ export class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
24
24
|
const ns = NormalizedSchema.of(schema);
|
|
25
25
|
if (isObject) {
|
|
26
26
|
if (ns.isStructSchema()) {
|
|
27
|
+
const record = value;
|
|
27
28
|
const union = ns.isUnionSchema();
|
|
28
29
|
const out = {};
|
|
30
|
+
let nameMap = void 0;
|
|
31
|
+
const { jsonName } = this.settings;
|
|
32
|
+
if (jsonName) {
|
|
33
|
+
nameMap = {};
|
|
34
|
+
}
|
|
29
35
|
let unionSerde;
|
|
30
36
|
if (union) {
|
|
31
|
-
unionSerde = new UnionSerde(
|
|
37
|
+
unionSerde = new UnionSerde(record, out);
|
|
32
38
|
}
|
|
33
|
-
for (const [memberName, memberSchema] of deserializingStructIterator(ns,
|
|
34
|
-
|
|
39
|
+
for (const [memberName, memberSchema] of deserializingStructIterator(ns, record, jsonName ? "jsonName" : false)) {
|
|
40
|
+
let fromKey = memberName;
|
|
41
|
+
if (jsonName) {
|
|
42
|
+
fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey;
|
|
43
|
+
nameMap[fromKey] = memberName;
|
|
44
|
+
}
|
|
35
45
|
if (union) {
|
|
36
46
|
unionSerde.mark(fromKey);
|
|
37
47
|
}
|
|
38
|
-
if (
|
|
39
|
-
out[memberName] = this._read(memberSchema,
|
|
48
|
+
if (record[fromKey] != null) {
|
|
49
|
+
out[memberName] = this._read(memberSchema, record[fromKey]);
|
|
40
50
|
}
|
|
41
51
|
}
|
|
42
52
|
if (union) {
|
|
43
53
|
unionSerde.writeUnknown();
|
|
44
54
|
}
|
|
55
|
+
else if (typeof record.__type === "string") {
|
|
56
|
+
for (const [k, v] of Object.entries(record)) {
|
|
57
|
+
const t = jsonName ? nameMap[k] ?? k : k;
|
|
58
|
+
if (!(t in out)) {
|
|
59
|
+
out[t] = v;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
45
63
|
return out;
|
|
46
64
|
}
|
|
47
65
|
if (Array.isArray(value) && ns.isListSchema()) {
|
|
@@ -42,22 +42,39 @@ export class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
42
42
|
const ns = NormalizedSchema.of(schema);
|
|
43
43
|
if (isObject) {
|
|
44
44
|
if (ns.isStructSchema()) {
|
|
45
|
+
const record = value;
|
|
45
46
|
const out = {};
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
const { jsonName } = this.settings;
|
|
48
|
+
let nameMap = void 0;
|
|
49
|
+
if (jsonName) {
|
|
50
|
+
nameMap = {};
|
|
51
|
+
}
|
|
52
|
+
for (const [memberName, memberSchema] of serializingStructIterator(ns, record)) {
|
|
53
|
+
const serializableValue = this._write(memberSchema, record[memberName], ns);
|
|
48
54
|
if (serializableValue !== undefined) {
|
|
49
|
-
|
|
50
|
-
|
|
55
|
+
let targetKey = memberName;
|
|
56
|
+
if (jsonName) {
|
|
57
|
+
targetKey = memberSchema.getMergedTraits().jsonName ?? memberName;
|
|
58
|
+
nameMap[memberName] = targetKey;
|
|
59
|
+
}
|
|
51
60
|
out[targetKey] = serializableValue;
|
|
52
61
|
}
|
|
53
62
|
}
|
|
54
63
|
if (ns.isUnionSchema() && Object.keys(out).length === 0) {
|
|
55
|
-
const { $unknown } =
|
|
64
|
+
const { $unknown } = record;
|
|
56
65
|
if (Array.isArray($unknown)) {
|
|
57
66
|
const [k, v] = $unknown;
|
|
58
67
|
out[k] = this._write(15, v);
|
|
59
68
|
}
|
|
60
69
|
}
|
|
70
|
+
else if (typeof record.__type === "string") {
|
|
71
|
+
for (const [k, v] of Object.entries(record)) {
|
|
72
|
+
const targetKey = jsonName ? nameMap[k] ?? k : k;
|
|
73
|
+
if (!(targetKey in out)) {
|
|
74
|
+
out[targetKey] = this._write(15, v);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
61
78
|
return out;
|
|
62
79
|
}
|
|
63
80
|
if (Array.isArray(value) && ns.isListSchema()) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.972.0",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "yarn lint && concurrently 'yarn:build:
|
|
7
|
-
"build:cjs": "node ../../scripts/compilation/inline core &&
|
|
8
|
-
"build:es": "tsc -p tsconfig.es.json &&
|
|
6
|
+
"build": "yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline core && premove ./dist-cjs/api-extractor-type-index.js",
|
|
8
|
+
"build:es": "tsc -p tsconfig.es.json && premove ./dist-es/api-extractor-type-index.js",
|
|
9
9
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"lint": "node ../../scripts/validation/submodules-linter.js --pkg core",
|
|
13
|
-
"clean": "
|
|
13
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
14
14
|
"extract:docs": "api-extractor run --local",
|
|
15
15
|
"test": "yarn g:vitest run",
|
|
16
16
|
"test:watch": "yarn g:vitest watch",
|
|
@@ -81,17 +81,17 @@
|
|
|
81
81
|
},
|
|
82
82
|
"license": "Apache-2.0",
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@aws-sdk/types": "3.
|
|
85
|
-
"@aws-sdk/xml-builder": "3.
|
|
86
|
-
"@smithy/core": "^3.20.
|
|
87
|
-
"@smithy/node-config-provider": "^4.3.
|
|
88
|
-
"@smithy/property-provider": "^4.2.
|
|
89
|
-
"@smithy/protocol-http": "^5.3.
|
|
90
|
-
"@smithy/signature-v4": "^5.3.
|
|
91
|
-
"@smithy/smithy-client": "^4.10.
|
|
92
|
-
"@smithy/types": "^4.
|
|
84
|
+
"@aws-sdk/types": "3.972.0",
|
|
85
|
+
"@aws-sdk/xml-builder": "3.972.0",
|
|
86
|
+
"@smithy/core": "^3.20.6",
|
|
87
|
+
"@smithy/node-config-provider": "^4.3.8",
|
|
88
|
+
"@smithy/property-provider": "^4.2.8",
|
|
89
|
+
"@smithy/protocol-http": "^5.3.8",
|
|
90
|
+
"@smithy/signature-v4": "^5.3.8",
|
|
91
|
+
"@smithy/smithy-client": "^4.10.8",
|
|
92
|
+
"@smithy/types": "^4.12.0",
|
|
93
93
|
"@smithy/util-base64": "^4.3.0",
|
|
94
|
-
"@smithy/util-middleware": "^4.2.
|
|
94
|
+
"@smithy/util-middleware": "^4.2.8",
|
|
95
95
|
"@smithy/util-utf8": "^4.2.0",
|
|
96
96
|
"tslib": "^2.6.2"
|
|
97
97
|
},
|
|
@@ -99,11 +99,11 @@
|
|
|
99
99
|
"@tsconfig/recommended": "1.0.1",
|
|
100
100
|
"concurrently": "7.0.0",
|
|
101
101
|
"downlevel-dts": "0.10.1",
|
|
102
|
-
"
|
|
102
|
+
"premove": "4.0.0",
|
|
103
103
|
"typescript": "~5.8.3"
|
|
104
104
|
},
|
|
105
105
|
"engines": {
|
|
106
|
-
"node": ">=
|
|
106
|
+
"node": ">=20.0.0"
|
|
107
107
|
},
|
|
108
108
|
"typesVersions": {
|
|
109
109
|
"<4.0": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.972.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
12
12
|
"build:types": "tsc -p tsconfig.types.json",
|
|
13
13
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
14
|
-
"clean": "
|
|
14
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
15
15
|
"test": "yarn g:vitest run",
|
|
16
16
|
"test:watch": "yarn g:vitest watch"
|
|
17
17
|
},
|
|
@@ -26,23 +26,23 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@smithy/property-provider": "^4.2.
|
|
32
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@aws-sdk/core": "3.972.0",
|
|
30
|
+
"@aws-sdk/types": "3.972.0",
|
|
31
|
+
"@smithy/property-provider": "^4.2.8",
|
|
32
|
+
"@smithy/types": "^4.12.0",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@tsconfig/recommended": "1.0.1",
|
|
37
|
-
"@types/node": "^
|
|
37
|
+
"@types/node": "^20.14.8",
|
|
38
38
|
"concurrently": "7.0.0",
|
|
39
39
|
"downlevel-dts": "0.10.1",
|
|
40
|
-
"
|
|
40
|
+
"premove": "4.0.0",
|
|
41
41
|
"typescript": "~5.8.3"
|
|
42
42
|
},
|
|
43
43
|
"types": "./dist-types/index.d.ts",
|
|
44
44
|
"engines": {
|
|
45
|
-
"node": ">=
|
|
45
|
+
"node": ">=20.0.0"
|
|
46
46
|
},
|
|
47
47
|
"typesVersions": {
|
|
48
48
|
"<4.0": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.972.0",
|
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
14
14
|
"build:types": "tsc -p tsconfig.types.json",
|
|
15
15
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
16
|
-
"clean": "
|
|
16
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
17
17
|
"test": "yarn g:vitest run",
|
|
18
18
|
"test:watch": "yarn g:vitest watch"
|
|
19
19
|
},
|
|
@@ -28,28 +28,28 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
34
|
-
"@smithy/node-http-handler": "^4.4.
|
|
35
|
-
"@smithy/property-provider": "^4.2.
|
|
36
|
-
"@smithy/protocol-http": "^5.3.
|
|
37
|
-
"@smithy/smithy-client": "^4.10.
|
|
38
|
-
"@smithy/types": "^4.
|
|
39
|
-
"@smithy/util-stream": "^4.5.
|
|
31
|
+
"@aws-sdk/core": "3.972.0",
|
|
32
|
+
"@aws-sdk/types": "3.972.0",
|
|
33
|
+
"@smithy/fetch-http-handler": "^5.3.9",
|
|
34
|
+
"@smithy/node-http-handler": "^4.4.8",
|
|
35
|
+
"@smithy/property-provider": "^4.2.8",
|
|
36
|
+
"@smithy/protocol-http": "^5.3.8",
|
|
37
|
+
"@smithy/smithy-client": "^4.10.8",
|
|
38
|
+
"@smithy/types": "^4.12.0",
|
|
39
|
+
"@smithy/util-stream": "^4.5.10",
|
|
40
40
|
"tslib": "^2.6.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@tsconfig/recommended": "1.0.1",
|
|
44
|
-
"@types/node": "^
|
|
44
|
+
"@types/node": "^20.14.8",
|
|
45
45
|
"concurrently": "7.0.0",
|
|
46
46
|
"downlevel-dts": "0.10.1",
|
|
47
|
-
"
|
|
47
|
+
"premove": "4.0.0",
|
|
48
48
|
"typescript": "~5.8.3"
|
|
49
49
|
},
|
|
50
50
|
"types": "./dist-types/index.d.ts",
|
|
51
51
|
"engines": {
|
|
52
|
-
"node": ">=
|
|
52
|
+
"node": ">=20.0.0"
|
|
53
53
|
},
|
|
54
54
|
"typesVersions": {
|
|
55
55
|
"<4.0": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.972.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
12
12
|
"build:types": "tsc -p tsconfig.types.json",
|
|
13
13
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
14
|
-
"clean": "
|
|
14
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
15
15
|
"test": "yarn g:vitest run",
|
|
16
16
|
"test:watch": "yarn g:vitest watch",
|
|
17
17
|
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
|
|
@@ -28,32 +28,32 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-login": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
38
|
-
"@aws-sdk/nested-clients": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@smithy/credential-provider-imds": "^4.2.
|
|
41
|
-
"@smithy/property-provider": "^4.2.
|
|
42
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
43
|
-
"@smithy/types": "^4.
|
|
31
|
+
"@aws-sdk/core": "3.972.0",
|
|
32
|
+
"@aws-sdk/credential-provider-env": "3.972.0",
|
|
33
|
+
"@aws-sdk/credential-provider-http": "3.972.0",
|
|
34
|
+
"@aws-sdk/credential-provider-login": "3.972.0",
|
|
35
|
+
"@aws-sdk/credential-provider-process": "3.972.0",
|
|
36
|
+
"@aws-sdk/credential-provider-sso": "3.972.0",
|
|
37
|
+
"@aws-sdk/credential-provider-web-identity": "3.972.0",
|
|
38
|
+
"@aws-sdk/nested-clients": "3.972.0",
|
|
39
|
+
"@aws-sdk/types": "3.972.0",
|
|
40
|
+
"@smithy/credential-provider-imds": "^4.2.8",
|
|
41
|
+
"@smithy/property-provider": "^4.2.8",
|
|
42
|
+
"@smithy/shared-ini-file-loader": "^4.4.3",
|
|
43
|
+
"@smithy/types": "^4.12.0",
|
|
44
44
|
"tslib": "^2.6.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@tsconfig/recommended": "1.0.1",
|
|
48
|
-
"@types/node": "^
|
|
48
|
+
"@types/node": "^20.14.8",
|
|
49
49
|
"concurrently": "7.0.0",
|
|
50
50
|
"downlevel-dts": "0.10.1",
|
|
51
|
-
"
|
|
51
|
+
"premove": "4.0.0",
|
|
52
52
|
"typescript": "~5.8.3"
|
|
53
53
|
},
|
|
54
54
|
"types": "./dist-types/index.d.ts",
|
|
55
55
|
"engines": {
|
|
56
|
-
"node": ">=
|
|
56
|
+
"node": ">=20.0.0"
|
|
57
57
|
},
|
|
58
58
|
"typesVersions": {
|
|
59
59
|
"<4.0": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-login",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.972.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from aws login cached tokens",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
12
12
|
"build:types": "tsc -p tsconfig.types.json",
|
|
13
13
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
14
|
-
"clean": "
|
|
14
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
15
15
|
"test": "yarn g:vitest run",
|
|
16
16
|
"test:watch": "yarn g:vitest watch"
|
|
17
17
|
},
|
|
@@ -28,26 +28,26 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/nested-clients": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@smithy/property-provider": "^4.2.
|
|
35
|
-
"@smithy/protocol-http": "^5.3.
|
|
36
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
37
|
-
"@smithy/types": "^4.
|
|
31
|
+
"@aws-sdk/core": "3.972.0",
|
|
32
|
+
"@aws-sdk/nested-clients": "3.972.0",
|
|
33
|
+
"@aws-sdk/types": "3.972.0",
|
|
34
|
+
"@smithy/property-provider": "^4.2.8",
|
|
35
|
+
"@smithy/protocol-http": "^5.3.8",
|
|
36
|
+
"@smithy/shared-ini-file-loader": "^4.4.3",
|
|
37
|
+
"@smithy/types": "^4.12.0",
|
|
38
38
|
"tslib": "^2.6.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@tsconfig/recommended": "1.0.1",
|
|
42
|
-
"@types/node": "^
|
|
42
|
+
"@types/node": "^20.14.8",
|
|
43
43
|
"concurrently": "7.0.0",
|
|
44
44
|
"downlevel-dts": "0.10.1",
|
|
45
|
-
"
|
|
45
|
+
"premove": "4.0.0",
|
|
46
46
|
"typescript": "~5.8.3"
|
|
47
47
|
},
|
|
48
48
|
"types": "./dist-types/index.d.ts",
|
|
49
49
|
"engines": {
|
|
50
|
-
"node": ">=
|
|
50
|
+
"node": ">=20.0.0"
|
|
51
51
|
},
|
|
52
52
|
"typesVersions": {
|
|
53
53
|
"<4.0": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.972.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
|
-
"node": ">=
|
|
6
|
+
"node": ">=20.0.0"
|
|
7
7
|
},
|
|
8
8
|
"main": "./dist-cjs/index.js",
|
|
9
9
|
"module": "./dist-es/index.js",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
15
15
|
"build:types": "tsc -p tsconfig.types.json",
|
|
16
16
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
17
|
-
"clean": "
|
|
17
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
18
18
|
"test": "yarn g:vitest run --reporter verbose",
|
|
19
19
|
"test:watch": "yarn g:vitest watch",
|
|
20
20
|
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
|
|
@@ -31,25 +31,25 @@
|
|
|
31
31
|
},
|
|
32
32
|
"license": "Apache-2.0",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
37
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
38
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
39
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@smithy/credential-provider-imds": "^4.2.
|
|
42
|
-
"@smithy/property-provider": "^4.2.
|
|
43
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
44
|
-
"@smithy/types": "^4.
|
|
34
|
+
"@aws-sdk/credential-provider-env": "3.972.0",
|
|
35
|
+
"@aws-sdk/credential-provider-http": "3.972.0",
|
|
36
|
+
"@aws-sdk/credential-provider-ini": "3.972.0",
|
|
37
|
+
"@aws-sdk/credential-provider-process": "3.972.0",
|
|
38
|
+
"@aws-sdk/credential-provider-sso": "3.972.0",
|
|
39
|
+
"@aws-sdk/credential-provider-web-identity": "3.972.0",
|
|
40
|
+
"@aws-sdk/types": "3.972.0",
|
|
41
|
+
"@smithy/credential-provider-imds": "^4.2.8",
|
|
42
|
+
"@smithy/property-provider": "^4.2.8",
|
|
43
|
+
"@smithy/shared-ini-file-loader": "^4.4.3",
|
|
44
|
+
"@smithy/types": "^4.12.0",
|
|
45
45
|
"tslib": "^2.6.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@tsconfig/recommended": "1.0.1",
|
|
49
|
-
"@types/node": "^
|
|
49
|
+
"@types/node": "^20.14.8",
|
|
50
50
|
"concurrently": "7.0.0",
|
|
51
51
|
"downlevel-dts": "0.10.1",
|
|
52
|
-
"
|
|
52
|
+
"premove": "4.0.0",
|
|
53
53
|
"typescript": "~5.8.3"
|
|
54
54
|
},
|
|
55
55
|
"types": "./dist-types/index.d.ts",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.972.0",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
12
12
|
"build:types": "tsc -p tsconfig.types.json",
|
|
13
13
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
14
|
-
"clean": "
|
|
14
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
15
15
|
"test": "yarn g:vitest run",
|
|
16
16
|
"test:watch": "yarn g:vitest watch"
|
|
17
17
|
},
|
|
@@ -26,24 +26,24 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@smithy/property-provider": "^4.2.
|
|
32
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
33
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@aws-sdk/core": "3.972.0",
|
|
30
|
+
"@aws-sdk/types": "3.972.0",
|
|
31
|
+
"@smithy/property-provider": "^4.2.8",
|
|
32
|
+
"@smithy/shared-ini-file-loader": "^4.4.3",
|
|
33
|
+
"@smithy/types": "^4.12.0",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@tsconfig/recommended": "1.0.1",
|
|
38
|
-
"@types/node": "^
|
|
38
|
+
"@types/node": "^20.14.8",
|
|
39
39
|
"concurrently": "7.0.0",
|
|
40
40
|
"downlevel-dts": "0.10.1",
|
|
41
|
-
"
|
|
41
|
+
"premove": "4.0.0",
|
|
42
42
|
"typescript": "~5.8.3"
|
|
43
43
|
},
|
|
44
44
|
"types": "./dist-types/index.d.ts",
|
|
45
45
|
"engines": {
|
|
46
|
-
"node": ">=
|
|
46
|
+
"node": ">=20.0.0"
|
|
47
47
|
},
|
|
48
48
|
"typesVersions": {
|
|
49
49
|
"<4.0": {
|