@cloudnux/aws-cloud-provider 0.1.0 → 0.3.0
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/index.mjs +32 -37
- package/dist/index.mjs.map +1 -1
- package/dist/router/index.mjs +5 -5
- package/dist/router/index.mjs.map +1 -1
- package/package.json +2 -3
package/dist/index.mjs
CHANGED
|
@@ -1607,7 +1607,6 @@ var init_createBufferedReadableStream = __esm({
|
|
|
1607
1607
|
});
|
|
1608
1608
|
|
|
1609
1609
|
// ../../../node_modules/@aws-sdk/client-sqs/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js
|
|
1610
|
-
import { Readable as Readable2 } from "stream";
|
|
1611
1610
|
var init_createBufferedReadable = __esm({
|
|
1612
1611
|
"../../../node_modules/@aws-sdk/client-sqs/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js"() {
|
|
1613
1612
|
"use strict";
|
|
@@ -1807,7 +1806,7 @@ var init_set_socket_timeout = __esm({
|
|
|
1807
1806
|
});
|
|
1808
1807
|
|
|
1809
1808
|
// ../../../node_modules/@aws-sdk/client-sqs/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js
|
|
1810
|
-
import { Readable
|
|
1809
|
+
import { Readable } from "stream";
|
|
1811
1810
|
async function writeRequestBody2(httpRequest5, request5, maxContinueTimeoutMs = MIN_WAIT_TIME) {
|
|
1812
1811
|
const headers = request5.headers ?? {};
|
|
1813
1812
|
const expect = headers["Expect"] || headers["expect"];
|
|
@@ -1839,7 +1838,7 @@ async function writeRequestBody2(httpRequest5, request5, maxContinueTimeoutMs =
|
|
|
1839
1838
|
}
|
|
1840
1839
|
}
|
|
1841
1840
|
function writeBody(httpRequest5, body) {
|
|
1842
|
-
if (body instanceof
|
|
1841
|
+
if (body instanceof Readable) {
|
|
1843
1842
|
body.pipe(httpRequest5);
|
|
1844
1843
|
return;
|
|
1845
1844
|
}
|
|
@@ -2343,7 +2342,7 @@ var init_sdk_stream_mixin_browser = __esm({
|
|
|
2343
2342
|
});
|
|
2344
2343
|
|
|
2345
2344
|
// ../../../node_modules/@aws-sdk/client-sqs/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js
|
|
2346
|
-
import { Readable as
|
|
2345
|
+
import { Readable as Readable2 } from "stream";
|
|
2347
2346
|
var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED2, sdkStreamMixin3;
|
|
2348
2347
|
var init_sdk_stream_mixin = __esm({
|
|
2349
2348
|
"../../../node_modules/@aws-sdk/client-sqs/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js"() {
|
|
@@ -2353,7 +2352,7 @@ var init_sdk_stream_mixin = __esm({
|
|
|
2353
2352
|
init_sdk_stream_mixin_browser();
|
|
2354
2353
|
ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED2 = "The stream has already been transformed.";
|
|
2355
2354
|
sdkStreamMixin3 = (stream) => {
|
|
2356
|
-
if (!(stream instanceof
|
|
2355
|
+
if (!(stream instanceof Readable2)) {
|
|
2357
2356
|
try {
|
|
2358
2357
|
return sdkStreamMixin2(stream);
|
|
2359
2358
|
} catch (e14) {
|
|
@@ -2387,11 +2386,11 @@ var init_sdk_stream_mixin = __esm({
|
|
|
2387
2386
|
if (stream.readableFlowing !== null) {
|
|
2388
2387
|
throw new Error("The stream has been consumed by other callbacks.");
|
|
2389
2388
|
}
|
|
2390
|
-
if (typeof
|
|
2389
|
+
if (typeof Readable2.toWeb !== "function") {
|
|
2391
2390
|
throw new Error("Readable.toWeb() is not supported. Please ensure a polyfill is available.");
|
|
2392
2391
|
}
|
|
2393
2392
|
transformed = true;
|
|
2394
|
-
return
|
|
2393
|
+
return Readable2.toWeb(stream);
|
|
2395
2394
|
}
|
|
2396
2395
|
});
|
|
2397
2396
|
};
|
|
@@ -10225,12 +10224,12 @@ var init_omitRetryHeadersMiddleware = __esm({
|
|
|
10225
10224
|
});
|
|
10226
10225
|
|
|
10227
10226
|
// ../../../node_modules/@aws-sdk/client-sqs/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js
|
|
10228
|
-
import { Readable as
|
|
10227
|
+
import { Readable as Readable3 } from "stream";
|
|
10229
10228
|
var isStreamingPayload;
|
|
10230
10229
|
var init_isStreamingPayload = __esm({
|
|
10231
10230
|
"../../../node_modules/@aws-sdk/client-sqs/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js"() {
|
|
10232
10231
|
"use strict";
|
|
10233
|
-
isStreamingPayload = (request5) => request5?.body instanceof
|
|
10232
|
+
isStreamingPayload = (request5) => request5?.body instanceof Readable3 || typeof ReadableStream !== "undefined" && request5?.body instanceof ReadableStream;
|
|
10234
10233
|
}
|
|
10235
10234
|
});
|
|
10236
10235
|
|
|
@@ -16978,7 +16977,6 @@ var init_createBufferedReadableStream2 = __esm({
|
|
|
16978
16977
|
});
|
|
16979
16978
|
|
|
16980
16979
|
// ../../../node_modules/@aws-sdk/client-sns/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js
|
|
16981
|
-
import { Readable as Readable6 } from "stream";
|
|
16982
16980
|
var init_createBufferedReadable2 = __esm({
|
|
16983
16981
|
"../../../node_modules/@aws-sdk/client-sns/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js"() {
|
|
16984
16982
|
"use strict";
|
|
@@ -17178,7 +17176,7 @@ var init_set_socket_timeout2 = __esm({
|
|
|
17178
17176
|
});
|
|
17179
17177
|
|
|
17180
17178
|
// ../../../node_modules/@aws-sdk/client-sns/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js
|
|
17181
|
-
import { Readable as
|
|
17179
|
+
import { Readable as Readable4 } from "stream";
|
|
17182
17180
|
async function writeRequestBody3(httpRequest5, request5, maxContinueTimeoutMs = MIN_WAIT_TIME2) {
|
|
17183
17181
|
const headers = request5.headers ?? {};
|
|
17184
17182
|
const expect = headers["Expect"] || headers["expect"];
|
|
@@ -17210,7 +17208,7 @@ async function writeRequestBody3(httpRequest5, request5, maxContinueTimeoutMs =
|
|
|
17210
17208
|
}
|
|
17211
17209
|
}
|
|
17212
17210
|
function writeBody2(httpRequest5, body) {
|
|
17213
|
-
if (body instanceof
|
|
17211
|
+
if (body instanceof Readable4) {
|
|
17214
17212
|
body.pipe(httpRequest5);
|
|
17215
17213
|
return;
|
|
17216
17214
|
}
|
|
@@ -17714,7 +17712,7 @@ var init_sdk_stream_mixin_browser2 = __esm({
|
|
|
17714
17712
|
});
|
|
17715
17713
|
|
|
17716
17714
|
// ../../../node_modules/@aws-sdk/client-sns/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js
|
|
17717
|
-
import { Readable as
|
|
17715
|
+
import { Readable as Readable5 } from "stream";
|
|
17718
17716
|
var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED4, sdkStreamMixin5;
|
|
17719
17717
|
var init_sdk_stream_mixin2 = __esm({
|
|
17720
17718
|
"../../../node_modules/@aws-sdk/client-sns/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js"() {
|
|
@@ -17724,7 +17722,7 @@ var init_sdk_stream_mixin2 = __esm({
|
|
|
17724
17722
|
init_sdk_stream_mixin_browser2();
|
|
17725
17723
|
ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED4 = "The stream has already been transformed.";
|
|
17726
17724
|
sdkStreamMixin5 = (stream) => {
|
|
17727
|
-
if (!(stream instanceof
|
|
17725
|
+
if (!(stream instanceof Readable5)) {
|
|
17728
17726
|
try {
|
|
17729
17727
|
return sdkStreamMixin4(stream);
|
|
17730
17728
|
} catch (e14) {
|
|
@@ -17758,11 +17756,11 @@ var init_sdk_stream_mixin2 = __esm({
|
|
|
17758
17756
|
if (stream.readableFlowing !== null) {
|
|
17759
17757
|
throw new Error("The stream has been consumed by other callbacks.");
|
|
17760
17758
|
}
|
|
17761
|
-
if (typeof
|
|
17759
|
+
if (typeof Readable5.toWeb !== "function") {
|
|
17762
17760
|
throw new Error("Readable.toWeb() is not supported. Please ensure a polyfill is available.");
|
|
17763
17761
|
}
|
|
17764
17762
|
transformed = true;
|
|
17765
|
-
return
|
|
17763
|
+
return Readable5.toWeb(stream);
|
|
17766
17764
|
}
|
|
17767
17765
|
});
|
|
17768
17766
|
};
|
|
@@ -23782,12 +23780,12 @@ var init_omitRetryHeadersMiddleware2 = __esm({
|
|
|
23782
23780
|
});
|
|
23783
23781
|
|
|
23784
23782
|
// ../../../node_modules/@aws-sdk/client-sns/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js
|
|
23785
|
-
import { Readable as
|
|
23783
|
+
import { Readable as Readable6 } from "stream";
|
|
23786
23784
|
var isStreamingPayload2;
|
|
23787
23785
|
var init_isStreamingPayload2 = __esm({
|
|
23788
23786
|
"../../../node_modules/@aws-sdk/client-sns/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js"() {
|
|
23789
23787
|
"use strict";
|
|
23790
|
-
isStreamingPayload2 = (request5) => request5?.body instanceof
|
|
23788
|
+
isStreamingPayload2 = (request5) => request5?.body instanceof Readable6 || typeof ReadableStream !== "undefined" && request5?.body instanceof ReadableStream;
|
|
23791
23789
|
}
|
|
23792
23790
|
});
|
|
23793
23791
|
|
|
@@ -32267,7 +32265,7 @@ var init_Uint8ArrayBlobAdapter3 = __esm({
|
|
|
32267
32265
|
});
|
|
32268
32266
|
|
|
32269
32267
|
// ../../../node_modules/@smithy/util-stream/dist-es/getAwsChunkedEncodingStream.js
|
|
32270
|
-
import { Readable as
|
|
32268
|
+
import { Readable as Readable7 } from "stream";
|
|
32271
32269
|
var getAwsChunkedEncodingStream;
|
|
32272
32270
|
var init_getAwsChunkedEncodingStream3 = __esm({
|
|
32273
32271
|
"../../../node_modules/@smithy/util-stream/dist-es/getAwsChunkedEncodingStream.js"() {
|
|
@@ -32276,7 +32274,7 @@ var init_getAwsChunkedEncodingStream3 = __esm({
|
|
|
32276
32274
|
const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options;
|
|
32277
32275
|
const checksumRequired = base64Encoder !== void 0 && checksumAlgorithmFn !== void 0 && checksumLocationName !== void 0 && streamHasher !== void 0;
|
|
32278
32276
|
const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : void 0;
|
|
32279
|
-
const awsChunkedEncodingStream = new
|
|
32277
|
+
const awsChunkedEncodingStream = new Readable7({ read: () => {
|
|
32280
32278
|
} });
|
|
32281
32279
|
readableStream.on("data", (data) => {
|
|
32282
32280
|
const length = bodyLengthChecker(data) || 0;
|
|
@@ -32468,7 +32466,7 @@ var init_set_socket_timeout3 = __esm({
|
|
|
32468
32466
|
});
|
|
32469
32467
|
|
|
32470
32468
|
// ../../../node_modules/@smithy/node-http-handler/dist-es/write-request-body.js
|
|
32471
|
-
import { Readable as
|
|
32469
|
+
import { Readable as Readable8 } from "stream";
|
|
32472
32470
|
async function writeRequestBody4(httpRequest5, request5, maxContinueTimeoutMs = MIN_WAIT_TIME3) {
|
|
32473
32471
|
const headers = request5.headers ?? {};
|
|
32474
32472
|
const expect = headers["Expect"] || headers["expect"];
|
|
@@ -32500,7 +32498,7 @@ async function writeRequestBody4(httpRequest5, request5, maxContinueTimeoutMs =
|
|
|
32500
32498
|
}
|
|
32501
32499
|
}
|
|
32502
32500
|
function writeBody3(httpRequest5, body) {
|
|
32503
|
-
if (body instanceof
|
|
32501
|
+
if (body instanceof Readable8) {
|
|
32504
32502
|
body.pipe(httpRequest5);
|
|
32505
32503
|
return;
|
|
32506
32504
|
}
|
|
@@ -33015,7 +33013,7 @@ var init_sdk_stream_mixin_browser3 = __esm({
|
|
|
33015
33013
|
});
|
|
33016
33014
|
|
|
33017
33015
|
// ../../../node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js
|
|
33018
|
-
import { Readable as
|
|
33016
|
+
import { Readable as Readable9 } from "stream";
|
|
33019
33017
|
var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED6, sdkStreamMixin7;
|
|
33020
33018
|
var init_sdk_stream_mixin3 = __esm({
|
|
33021
33019
|
"../../../node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js"() {
|
|
@@ -33025,7 +33023,7 @@ var init_sdk_stream_mixin3 = __esm({
|
|
|
33025
33023
|
init_sdk_stream_mixin_browser3();
|
|
33026
33024
|
ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED6 = "The stream has already been transformed.";
|
|
33027
33025
|
sdkStreamMixin7 = (stream) => {
|
|
33028
|
-
if (!(stream instanceof
|
|
33026
|
+
if (!(stream instanceof Readable9)) {
|
|
33029
33027
|
try {
|
|
33030
33028
|
return sdkStreamMixin6(stream);
|
|
33031
33029
|
} catch (e14) {
|
|
@@ -33059,11 +33057,11 @@ var init_sdk_stream_mixin3 = __esm({
|
|
|
33059
33057
|
if (stream.readableFlowing !== null) {
|
|
33060
33058
|
throw new Error("The stream has been consumed by other callbacks.");
|
|
33061
33059
|
}
|
|
33062
|
-
if (typeof
|
|
33060
|
+
if (typeof Readable9.toWeb !== "function") {
|
|
33063
33061
|
throw new Error("Readable.toWeb() is not supported. Please ensure a polyfill is available.");
|
|
33064
33062
|
}
|
|
33065
33063
|
transformed = true;
|
|
33066
|
-
return
|
|
33064
|
+
return Readable9.toWeb(stream);
|
|
33067
33065
|
}
|
|
33068
33066
|
});
|
|
33069
33067
|
};
|
|
@@ -39243,12 +39241,12 @@ var init_omitRetryHeadersMiddleware3 = __esm({
|
|
|
39243
39241
|
});
|
|
39244
39242
|
|
|
39245
39243
|
// ../../../node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js
|
|
39246
|
-
import { Readable as
|
|
39244
|
+
import { Readable as Readable10 } from "stream";
|
|
39247
39245
|
var isStreamingPayload3;
|
|
39248
39246
|
var init_isStreamingPayload3 = __esm({
|
|
39249
39247
|
"../../../node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js"() {
|
|
39250
39248
|
"use strict";
|
|
39251
|
-
isStreamingPayload3 = (request5) => request5?.body instanceof
|
|
39249
|
+
isStreamingPayload3 = (request5) => request5?.body instanceof Readable10 || typeof ReadableStream !== "undefined" && request5?.body instanceof ReadableStream;
|
|
39252
39250
|
}
|
|
39253
39251
|
});
|
|
39254
39252
|
|
|
@@ -44732,9 +44730,6 @@ init_dist_es9();
|
|
|
44732
44730
|
// ../../../node_modules/@aws-sdk/middleware-sdk-sqs/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.browser.js
|
|
44733
44731
|
init_dist_es9();
|
|
44734
44732
|
|
|
44735
|
-
// ../../../node_modules/@aws-sdk/middleware-sdk-sqs/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js
|
|
44736
|
-
import { Readable } from "stream";
|
|
44737
|
-
|
|
44738
44733
|
// ../../../node_modules/@aws-sdk/middleware-sdk-sqs/node_modules/@smithy/types/dist-es/auth/auth.js
|
|
44739
44734
|
var HttpAuthLocation2;
|
|
44740
44735
|
(function(HttpAuthLocation6) {
|
|
@@ -49297,9 +49292,9 @@ var ansiStyles = assembleStyles();
|
|
|
49297
49292
|
var ansi_styles_default = ansiStyles;
|
|
49298
49293
|
|
|
49299
49294
|
// ../../../node_modules/chalk/source/vendor/supports-color/index.js
|
|
49300
|
-
import process2 from "process";
|
|
49301
|
-
import os from "os";
|
|
49302
|
-
import tty from "tty";
|
|
49295
|
+
import process2 from "node:process";
|
|
49296
|
+
import os from "node:os";
|
|
49297
|
+
import tty from "node:tty";
|
|
49303
49298
|
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process2.argv) {
|
|
49304
49299
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
49305
49300
|
const position = argv.indexOf(prefix + flag);
|
|
@@ -49636,7 +49631,7 @@ var errorToString = (error) => {
|
|
|
49636
49631
|
};
|
|
49637
49632
|
|
|
49638
49633
|
// ../../utils/src/logging/index.ts
|
|
49639
|
-
var currentLogLevel = env3
|
|
49634
|
+
var currentLogLevel = logLevels[env3("LOG_LEVEL")?.toLowerCase()] ?? logLevels.info;
|
|
49640
49635
|
var logger3 = {
|
|
49641
49636
|
fatal: (message, meta) => {
|
|
49642
49637
|
if (currentLogLevel >= logLevels.fatal) {
|
|
@@ -53724,7 +53719,7 @@ var EventStreamMarshaller = class {
|
|
|
53724
53719
|
};
|
|
53725
53720
|
|
|
53726
53721
|
// ../../../node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js
|
|
53727
|
-
import { Readable as
|
|
53722
|
+
import { Readable as Readable11 } from "stream";
|
|
53728
53723
|
|
|
53729
53724
|
// ../../../node_modules/@smithy/eventstream-serde-node/dist-es/utils.js
|
|
53730
53725
|
async function* readabletoIterable(readStream) {
|
|
@@ -53767,7 +53762,7 @@ var EventStreamMarshaller2 = class {
|
|
|
53767
53762
|
return this.universalMarshaller.deserialize(bodyIterable, deserializer);
|
|
53768
53763
|
}
|
|
53769
53764
|
serialize(input, serializer) {
|
|
53770
|
-
return
|
|
53765
|
+
return Readable11.from(this.universalMarshaller.serialize(input, serializer));
|
|
53771
53766
|
}
|
|
53772
53767
|
};
|
|
53773
53768
|
|