@cdklabs/cdk-ecs-codedeploy 0.0.265 → 0.0.267

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.
Files changed (156) hide show
  1. package/.jsii +2 -2
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/api-canary/index.js +1 -1
  4. package/lib/ecs-appspec/index.js +1 -1
  5. package/lib/ecs-deployment/index.js +1 -1
  6. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  7. package/node_modules/@smithy/core/package.json +4 -4
  8. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +3 -3
  9. package/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js +3 -3
  10. package/node_modules/@smithy/middleware-endpoint/package.json +1 -1
  11. package/node_modules/@smithy/middleware-retry/node_modules/uuid/CHANGELOG.md +45 -0
  12. package/node_modules/@smithy/middleware-retry/node_modules/uuid/README.md +36 -75
  13. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
  14. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
  15. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
  16. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
  17. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
  18. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
  19. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
  20. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
  21. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
  22. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
  23. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
  24. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
  25. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
  26. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
  27. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
  28. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
  29. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/md5.js +23 -23
  30. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/native.js +4 -0
  31. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/parse.js +2 -2
  32. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/rng.js +4 -5
  33. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/sha1.js +26 -26
  34. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/stringify.js +9 -6
  35. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v1.js +17 -17
  36. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v3.js +1 -1
  37. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v35.js +12 -10
  38. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v4.js +9 -4
  39. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v5.js +1 -1
  40. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/version.js +1 -1
  41. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/native.js +4 -0
  42. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/stringify.js +7 -3
  43. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v1.js +2 -2
  44. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v35.js +6 -4
  45. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v4.js +7 -2
  46. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/version.js +1 -1
  47. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js +18 -18
  48. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native-browser.js +11 -0
  49. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native.js +15 -0
  50. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng-browser.js +2 -3
  51. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js +8 -3
  52. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js +2 -2
  53. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js +7 -5
  54. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js +8 -2
  55. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js +1 -1
  56. package/node_modules/@smithy/middleware-retry/node_modules/uuid/package.json +41 -41
  57. package/node_modules/@smithy/middleware-retry/package.json +3 -3
  58. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +128 -7
  59. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +125 -0
  60. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +4 -4
  61. package/node_modules/@smithy/signature-v4/dist-types/HeaderFormatter.d.ts +24 -0
  62. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +1 -1
  63. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts +24 -0
  64. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +1 -1
  65. package/node_modules/@smithy/signature-v4/package.json +1 -2
  66. package/node_modules/@smithy/smithy-client/package.json +2 -2
  67. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  68. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  69. package/package.json +4 -4
  70. package/node_modules/@aws-crypto/crc32/CHANGELOG.md +0 -76
  71. package/node_modules/@aws-crypto/crc32/LICENSE +0 -201
  72. package/node_modules/@aws-crypto/crc32/README.md +0 -16
  73. package/node_modules/@aws-crypto/crc32/build/aws_crc32.d.ts +0 -7
  74. package/node_modules/@aws-crypto/crc32/build/aws_crc32.js +0 -31
  75. package/node_modules/@aws-crypto/crc32/build/aws_crc32.js.map +0 -1
  76. package/node_modules/@aws-crypto/crc32/build/index.d.ts +0 -7
  77. package/node_modules/@aws-crypto/crc32/build/index.js +0 -108
  78. package/node_modules/@aws-crypto/crc32/build/index.js.map +0 -1
  79. package/node_modules/@aws-crypto/crc32/node_modules/tslib/CopyrightNotice.txt +0 -15
  80. package/node_modules/@aws-crypto/crc32/node_modules/tslib/LICENSE.txt +0 -12
  81. package/node_modules/@aws-crypto/crc32/node_modules/tslib/README.md +0 -142
  82. package/node_modules/@aws-crypto/crc32/node_modules/tslib/modules/index.js +0 -51
  83. package/node_modules/@aws-crypto/crc32/node_modules/tslib/modules/package.json +0 -3
  84. package/node_modules/@aws-crypto/crc32/node_modules/tslib/package.json +0 -37
  85. package/node_modules/@aws-crypto/crc32/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  86. package/node_modules/@aws-crypto/crc32/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  87. package/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.d.ts +0 -37
  88. package/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.es6.html +0 -1
  89. package/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.es6.js +0 -218
  90. package/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.html +0 -1
  91. package/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.js +0 -284
  92. package/node_modules/@aws-crypto/crc32/package.json +0 -28
  93. package/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +0 -24
  94. package/node_modules/@aws-crypto/crc32/src/index.ts +0 -92
  95. package/node_modules/@aws-crypto/crc32/tsconfig.json +0 -23
  96. package/node_modules/@smithy/eventstream-codec/LICENSE +0 -201
  97. package/node_modules/@smithy/eventstream-codec/README.md +0 -4
  98. package/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js +0 -1
  99. package/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js +0 -1
  100. package/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js +0 -1
  101. package/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js +0 -1
  102. package/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js +0 -1
  103. package/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js +0 -1
  104. package/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js +0 -1
  105. package/node_modules/@smithy/eventstream-codec/dist-cjs/TestVectors.fixture.js +0 -1
  106. package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +0 -468
  107. package/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js +0 -1
  108. package/node_modules/@smithy/eventstream-codec/dist-cjs/vectorTypes.fixture.js +0 -1
  109. package/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js +0 -62
  110. package/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js +0 -182
  111. package/node_modules/@smithy/eventstream-codec/dist-es/Int64.js +0 -43
  112. package/node_modules/@smithy/eventstream-codec/dist-es/Message.js +0 -1
  113. package/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js +0 -14
  114. package/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js +0 -17
  115. package/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js +0 -16
  116. package/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js +0 -14
  117. package/node_modules/@smithy/eventstream-codec/dist-es/TestVectors.fixture.js +0 -690
  118. package/node_modules/@smithy/eventstream-codec/dist-es/index.js +0 -8
  119. package/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js +0 -30
  120. package/node_modules/@smithy/eventstream-codec/dist-es/vectorTypes.fixture.js +0 -1
  121. package/node_modules/@smithy/eventstream-codec/dist-types/EventStreamCodec.d.ts +0 -31
  122. package/node_modules/@smithy/eventstream-codec/dist-types/HeaderMarshaller.d.ts +0 -12
  123. package/node_modules/@smithy/eventstream-codec/dist-types/Int64.d.ts +0 -20
  124. package/node_modules/@smithy/eventstream-codec/dist-types/Message.d.ts +0 -26
  125. package/node_modules/@smithy/eventstream-codec/dist-types/MessageDecoderStream.d.ts +0 -17
  126. package/node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts +0 -18
  127. package/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageDecoderStream.d.ts +0 -17
  128. package/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageEncoderStream.d.ts +0 -17
  129. package/node_modules/@smithy/eventstream-codec/dist-types/TestVectors.fixture.d.ts +0 -2
  130. package/node_modules/@smithy/eventstream-codec/dist-types/index.d.ts +0 -8
  131. package/node_modules/@smithy/eventstream-codec/dist-types/splitMessage.d.ts +0 -11
  132. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/EventStreamCodec.d.ts +0 -31
  133. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/HeaderMarshaller.d.ts +0 -12
  134. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Int64.d.ts +0 -20
  135. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Message.d.ts +0 -26
  136. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageDecoderStream.d.ts +0 -17
  137. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts +0 -18
  138. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageDecoderStream.d.ts +0 -17
  139. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageEncoderStream.d.ts +0 -17
  140. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/TestVectors.fixture.d.ts +0 -2
  141. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/index.d.ts +0 -8
  142. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/splitMessage.d.ts +0 -11
  143. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/vectorTypes.fixture.d.ts +0 -12
  144. package/node_modules/@smithy/eventstream-codec/dist-types/vectorTypes.fixture.d.ts +0 -12
  145. package/node_modules/@smithy/eventstream-codec/package.json +0 -61
  146. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  147. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
  148. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
  149. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
  150. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
  151. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
  152. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  153. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  154. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  155. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
  156. /package/node_modules/@smithy/{eventstream-codec/dist-cjs/EventStreamCodec.js → signature-v4/dist-cjs/HeaderFormatter.js} +0 -0
@@ -1,31 +0,0 @@
1
- import { AvailableMessage, AvailableMessages, Message, MessageDecoder, MessageEncoder, MessageHeaders } from "@smithy/types";
2
- import { Decoder, Encoder } from "@smithy/types";
3
- /**
4
- * A Codec that can convert binary-packed event stream messages into
5
- * JavaScript objects and back again into their binary format.
6
- */
7
- export declare class EventStreamCodec implements MessageEncoder, MessageDecoder {
8
- private readonly headerMarshaller;
9
- private messageBuffer;
10
- private isEndOfStream;
11
- constructor(toUtf8: Encoder, fromUtf8: Decoder);
12
- feed(message: ArrayBufferView): void;
13
- endOfStream(): void;
14
- getMessage(): AvailableMessage;
15
- getAvailableMessages(): AvailableMessages;
16
- /**
17
- * Convert a structured JavaScript object with tagged headers into a binary
18
- * event stream message.
19
- */
20
- encode({ headers: rawHeaders, body }: Message): Uint8Array;
21
- /**
22
- * Convert a binary event stream message into a JavaScript object with an
23
- * opaque, binary body and tagged, parsed headers.
24
- */
25
- decode(message: ArrayBufferView): Message;
26
- /**
27
- * Convert a structured JavaScript object with tagged headers into a binary
28
- * event stream message header.
29
- */
30
- formatHeaders(rawHeaders: MessageHeaders): Uint8Array;
31
- }
@@ -1,12 +0,0 @@
1
- import { Decoder, Encoder, MessageHeaders } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export declare class HeaderMarshaller {
6
- private readonly toUtf8;
7
- private readonly fromUtf8;
8
- constructor(toUtf8: Encoder, fromUtf8: Decoder);
9
- format(headers: MessageHeaders): Uint8Array;
10
- private formatHeaderValue;
11
- parse(headers: DataView): MessageHeaders;
12
- }
@@ -1,20 +0,0 @@
1
- import { Int64 as IInt64 } from "@smithy/types";
2
- export interface Int64 extends IInt64 {
3
- }
4
- /**
5
- * A lossless representation of a signed, 64-bit integer. Instances of this
6
- * class may be used in arithmetic expressions as if they were numeric
7
- * primitives, but the binary representation will be preserved unchanged as the
8
- * `bytes` property of the object. The bytes should be encoded as big-endian,
9
- * two's complement integers.
10
- */
11
- export declare class Int64 {
12
- readonly bytes: Uint8Array;
13
- constructor(bytes: Uint8Array);
14
- static fromNumber(number: number): Int64;
15
- /**
16
- * Called implicitly by infix arithmetic operators.
17
- */
18
- valueOf(): number;
19
- toString(): string;
20
- }
@@ -1,26 +0,0 @@
1
- import { Int64 } from "./Int64";
2
- /**
3
- * An event stream message. The headers and body properties will always be
4
- * defined, with empty headers represented as an object with no keys and an
5
- * empty body represented as a zero-length Uint8Array.
6
- */
7
- export interface Message {
8
- headers: MessageHeaders;
9
- body: Uint8Array;
10
- }
11
- export type MessageHeaders = Record<string, MessageHeaderValue>;
12
- type HeaderValue<K extends string, V> = {
13
- type: K;
14
- value: V;
15
- };
16
- export type BooleanHeaderValue = HeaderValue<"boolean", boolean>;
17
- export type ByteHeaderValue = HeaderValue<"byte", number>;
18
- export type ShortHeaderValue = HeaderValue<"short", number>;
19
- export type IntegerHeaderValue = HeaderValue<"integer", number>;
20
- export type LongHeaderValue = HeaderValue<"long", Int64>;
21
- export type BinaryHeaderValue = HeaderValue<"binary", Uint8Array>;
22
- export type StringHeaderValue = HeaderValue<"string", string>;
23
- export type TimestampHeaderValue = HeaderValue<"timestamp", Date>;
24
- export type UuidHeaderValue = HeaderValue<"uuid", string>;
25
- export type MessageHeaderValue = BooleanHeaderValue | ByteHeaderValue | ShortHeaderValue | IntegerHeaderValue | LongHeaderValue | BinaryHeaderValue | StringHeaderValue | TimestampHeaderValue | UuidHeaderValue;
26
- export {};
@@ -1,17 +0,0 @@
1
- import { Message, MessageDecoder } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export interface MessageDecoderStreamOptions {
6
- inputStream: AsyncIterable<Uint8Array>;
7
- decoder: MessageDecoder;
8
- }
9
- /**
10
- * @internal
11
- */
12
- export declare class MessageDecoderStream implements AsyncIterable<Message> {
13
- private readonly options;
14
- constructor(options: MessageDecoderStreamOptions);
15
- [Symbol.asyncIterator](): AsyncIterator<Message>;
16
- private asyncIterator;
17
- }
@@ -1,18 +0,0 @@
1
- import { Message, MessageEncoder } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export interface MessageEncoderStreamOptions {
6
- messageStream: AsyncIterable<Message>;
7
- encoder: MessageEncoder;
8
- includeEndFrame?: Boolean;
9
- }
10
- /**
11
- * @internal
12
- */
13
- export declare class MessageEncoderStream implements AsyncIterable<Uint8Array> {
14
- private readonly options;
15
- constructor(options: MessageEncoderStreamOptions);
16
- [Symbol.asyncIterator](): AsyncIterator<Uint8Array>;
17
- private asyncIterator;
18
- }
@@ -1,17 +0,0 @@
1
- import { Message } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export interface SmithyMessageDecoderStreamOptions<T> {
6
- readonly messageStream: AsyncIterable<Message>;
7
- readonly deserializer: (input: Message) => Promise<T | undefined>;
8
- }
9
- /**
10
- * @internal
11
- */
12
- export declare class SmithyMessageDecoderStream<T> implements AsyncIterable<T> {
13
- private readonly options;
14
- constructor(options: SmithyMessageDecoderStreamOptions<T>);
15
- [Symbol.asyncIterator](): AsyncIterator<T>;
16
- private asyncIterator;
17
- }
@@ -1,17 +0,0 @@
1
- import { Message } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export interface SmithyMessageEncoderStreamOptions<T> {
6
- inputStream: AsyncIterable<T>;
7
- serializer: (event: T) => Message;
8
- }
9
- /**
10
- * @internal
11
- */
12
- export declare class SmithyMessageEncoderStream<T> implements AsyncIterable<Message> {
13
- private readonly options;
14
- constructor(options: SmithyMessageEncoderStreamOptions<T>);
15
- [Symbol.asyncIterator](): AsyncIterator<Message>;
16
- private asyncIterator;
17
- }
@@ -1,2 +0,0 @@
1
- import { TestVectors } from "./vectorTypes.fixture";
2
- export declare const vectors: TestVectors;
@@ -1,8 +0,0 @@
1
- export * from "./EventStreamCodec";
2
- export * from "./HeaderMarshaller";
3
- export * from "./Int64";
4
- export * from "./Message";
5
- export * from "./MessageDecoderStream";
6
- export * from "./MessageEncoderStream";
7
- export * from "./SmithyMessageDecoderStream";
8
- export * from "./SmithyMessageEncoderStream";
@@ -1,11 +0,0 @@
1
- /**
2
- * @internal
3
- */
4
- export interface MessageParts {
5
- headers: DataView;
6
- body: Uint8Array;
7
- }
8
- /**
9
- * @internal
10
- */
11
- export declare function splitMessage({ byteLength, byteOffset, buffer }: ArrayBufferView): MessageParts;
@@ -1,31 +0,0 @@
1
- import { AvailableMessage, AvailableMessages, Message, MessageDecoder, MessageEncoder, MessageHeaders } from "@smithy/types";
2
- import { Decoder, Encoder } from "@smithy/types";
3
- /**
4
- * A Codec that can convert binary-packed event stream messages into
5
- * JavaScript objects and back again into their binary format.
6
- */
7
- export declare class EventStreamCodec implements MessageEncoder, MessageDecoder {
8
- private readonly headerMarshaller;
9
- private messageBuffer;
10
- private isEndOfStream;
11
- constructor(toUtf8: Encoder, fromUtf8: Decoder);
12
- feed(message: ArrayBufferView): void;
13
- endOfStream(): void;
14
- getMessage(): AvailableMessage;
15
- getAvailableMessages(): AvailableMessages;
16
- /**
17
- * Convert a structured JavaScript object with tagged headers into a binary
18
- * event stream message.
19
- */
20
- encode({ headers: rawHeaders, body }: Message): Uint8Array;
21
- /**
22
- * Convert a binary event stream message into a JavaScript object with an
23
- * opaque, binary body and tagged, parsed headers.
24
- */
25
- decode(message: ArrayBufferView): Message;
26
- /**
27
- * Convert a structured JavaScript object with tagged headers into a binary
28
- * event stream message header.
29
- */
30
- formatHeaders(rawHeaders: MessageHeaders): Uint8Array;
31
- }
@@ -1,12 +0,0 @@
1
- import { Decoder, Encoder, MessageHeaders } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export declare class HeaderMarshaller {
6
- private readonly toUtf8;
7
- private readonly fromUtf8;
8
- constructor(toUtf8: Encoder, fromUtf8: Decoder);
9
- format(headers: MessageHeaders): Uint8Array;
10
- private formatHeaderValue;
11
- parse(headers: DataView): MessageHeaders;
12
- }
@@ -1,20 +0,0 @@
1
- import { Int64 as IInt64 } from "@smithy/types";
2
- export interface Int64 extends IInt64 {
3
- }
4
- /**
5
- * A lossless representation of a signed, 64-bit integer. Instances of this
6
- * class may be used in arithmetic expressions as if they were numeric
7
- * primitives, but the binary representation will be preserved unchanged as the
8
- * `bytes` property of the object. The bytes should be encoded as big-endian,
9
- * two's complement integers.
10
- */
11
- export declare class Int64 {
12
- readonly bytes: Uint8Array;
13
- constructor(bytes: Uint8Array);
14
- static fromNumber(number: number): Int64;
15
- /**
16
- * Called implicitly by infix arithmetic operators.
17
- */
18
- valueOf(): number;
19
- toString(): string;
20
- }
@@ -1,26 +0,0 @@
1
- import { Int64 } from "./Int64";
2
- /**
3
- * An event stream message. The headers and body properties will always be
4
- * defined, with empty headers represented as an object with no keys and an
5
- * empty body represented as a zero-length Uint8Array.
6
- */
7
- export interface Message {
8
- headers: MessageHeaders;
9
- body: Uint8Array;
10
- }
11
- export type MessageHeaders = Record<string, MessageHeaderValue>;
12
- type HeaderValue<K extends string, V> = {
13
- type: K;
14
- value: V;
15
- };
16
- export type BooleanHeaderValue = HeaderValue<"boolean", boolean>;
17
- export type ByteHeaderValue = HeaderValue<"byte", number>;
18
- export type ShortHeaderValue = HeaderValue<"short", number>;
19
- export type IntegerHeaderValue = HeaderValue<"integer", number>;
20
- export type LongHeaderValue = HeaderValue<"long", Int64>;
21
- export type BinaryHeaderValue = HeaderValue<"binary", Uint8Array>;
22
- export type StringHeaderValue = HeaderValue<"string", string>;
23
- export type TimestampHeaderValue = HeaderValue<"timestamp", Date>;
24
- export type UuidHeaderValue = HeaderValue<"uuid", string>;
25
- export type MessageHeaderValue = BooleanHeaderValue | ByteHeaderValue | ShortHeaderValue | IntegerHeaderValue | LongHeaderValue | BinaryHeaderValue | StringHeaderValue | TimestampHeaderValue | UuidHeaderValue;
26
- export {};
@@ -1,17 +0,0 @@
1
- import { Message, MessageDecoder } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export interface MessageDecoderStreamOptions {
6
- inputStream: AsyncIterable<Uint8Array>;
7
- decoder: MessageDecoder;
8
- }
9
- /**
10
- * @internal
11
- */
12
- export declare class MessageDecoderStream implements AsyncIterable<Message> {
13
- private readonly options;
14
- constructor(options: MessageDecoderStreamOptions);
15
- [Symbol.asyncIterator](): AsyncIterator<Message>;
16
- private asyncIterator;
17
- }
@@ -1,18 +0,0 @@
1
- import { Message, MessageEncoder } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export interface MessageEncoderStreamOptions {
6
- messageStream: AsyncIterable<Message>;
7
- encoder: MessageEncoder;
8
- includeEndFrame?: Boolean;
9
- }
10
- /**
11
- * @internal
12
- */
13
- export declare class MessageEncoderStream implements AsyncIterable<Uint8Array> {
14
- private readonly options;
15
- constructor(options: MessageEncoderStreamOptions);
16
- [Symbol.asyncIterator](): AsyncIterator<Uint8Array>;
17
- private asyncIterator;
18
- }
@@ -1,17 +0,0 @@
1
- import { Message } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export interface SmithyMessageDecoderStreamOptions<T> {
6
- readonly messageStream: AsyncIterable<Message>;
7
- readonly deserializer: (input: Message) => Promise<T | undefined>;
8
- }
9
- /**
10
- * @internal
11
- */
12
- export declare class SmithyMessageDecoderStream<T> implements AsyncIterable<T> {
13
- private readonly options;
14
- constructor(options: SmithyMessageDecoderStreamOptions<T>);
15
- [Symbol.asyncIterator](): AsyncIterator<T>;
16
- private asyncIterator;
17
- }
@@ -1,17 +0,0 @@
1
- import { Message } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export interface SmithyMessageEncoderStreamOptions<T> {
6
- inputStream: AsyncIterable<T>;
7
- serializer: (event: T) => Message;
8
- }
9
- /**
10
- * @internal
11
- */
12
- export declare class SmithyMessageEncoderStream<T> implements AsyncIterable<Message> {
13
- private readonly options;
14
- constructor(options: SmithyMessageEncoderStreamOptions<T>);
15
- [Symbol.asyncIterator](): AsyncIterator<Message>;
16
- private asyncIterator;
17
- }
@@ -1,2 +0,0 @@
1
- import { TestVectors } from "./vectorTypes.fixture";
2
- export declare const vectors: TestVectors;
@@ -1,8 +0,0 @@
1
- export * from "./EventStreamCodec";
2
- export * from "./HeaderMarshaller";
3
- export * from "./Int64";
4
- export * from "./Message";
5
- export * from "./MessageDecoderStream";
6
- export * from "./MessageEncoderStream";
7
- export * from "./SmithyMessageDecoderStream";
8
- export * from "./SmithyMessageEncoderStream";
@@ -1,11 +0,0 @@
1
- /**
2
- * @internal
3
- */
4
- export interface MessageParts {
5
- headers: DataView;
6
- body: Uint8Array;
7
- }
8
- /**
9
- * @internal
10
- */
11
- export declare function splitMessage({ byteLength, byteOffset, buffer }: ArrayBufferView): MessageParts;
@@ -1,12 +0,0 @@
1
- import { Message } from "./Message";
2
- export interface NegativeTestVector {
3
- expectation: "failure";
4
- encoded: Uint8Array;
5
- }
6
- export interface PositiveTestVector {
7
- expectation: "success";
8
- encoded: Uint8Array;
9
- decoded: Message;
10
- }
11
- export type TestVector = NegativeTestVector | PositiveTestVector;
12
- export type TestVectors = Record<string, TestVector>;
@@ -1,12 +0,0 @@
1
- import { Message } from "./Message";
2
- export interface NegativeTestVector {
3
- expectation: "failure";
4
- encoded: Uint8Array;
5
- }
6
- export interface PositiveTestVector {
7
- expectation: "success";
8
- encoded: Uint8Array;
9
- decoded: Message;
10
- }
11
- export type TestVector = NegativeTestVector | PositiveTestVector;
12
- export type TestVectors = Record<string, TestVector>;
@@ -1,61 +0,0 @@
1
- {
2
- "name": "@smithy/eventstream-codec",
3
- "version": "2.2.0",
4
- "scripts": {
5
- "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
- "build:cjs": "node ../../scripts/inline eventstream-codec",
7
- "build:es": "yarn g:tsc -p tsconfig.es.json",
8
- "build:types": "yarn g:tsc -p tsconfig.types.json",
9
- "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
10
- "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
11
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
- "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
- "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
- "test": "yarn g:jest --coverage"
15
- },
16
- "main": "./dist-cjs/index.js",
17
- "module": "./dist-es/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "author": {
20
- "name": "AWS SDK for JavaScript Team",
21
- "url": "https://aws.amazon.com/javascript/"
22
- },
23
- "license": "Apache-2.0",
24
- "dependencies": {
25
- "@aws-crypto/crc32": "3.0.0",
26
- "@smithy/types": "^2.12.0",
27
- "@smithy/util-hex-encoding": "^2.2.0",
28
- "tslib": "^2.6.2"
29
- },
30
- "devDependencies": {
31
- "@smithy/util-utf8": "^2.3.0",
32
- "@tsconfig/recommended": "1.0.1",
33
- "@types/node": "^14.14.31",
34
- "concurrently": "7.0.0",
35
- "downlevel-dts": "0.10.1",
36
- "rimraf": "3.0.2",
37
- "typedoc": "0.23.23"
38
- },
39
- "typesVersions": {
40
- "<4.0": {
41
- "dist-types/*": [
42
- "dist-types/ts3.4/*"
43
- ]
44
- }
45
- },
46
- "files": [
47
- "dist-*/**"
48
- ],
49
- "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/eventstream-codec",
50
- "repository": {
51
- "type": "git",
52
- "url": "https://github.com/awslabs/smithy-typescript.git",
53
- "directory": "packages/eventstream-codec"
54
- },
55
- "typedoc": {
56
- "entryPoint": "src/index.ts"
57
- },
58
- "publishConfig": {
59
- "directory": ".release/package"
60
- }
61
- }
@@ -1 +0,0 @@
1
- !function(r,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((r="undefined"!=typeof globalThis?globalThis:r||self).uuid={})}(this,(function(r){"use strict";var e,n=new Uint8Array(16);function t(){if(!e&&!(e="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return e(n)}var o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function a(r){return"string"==typeof r&&o.test(r)}for(var i,u,f=[],s=0;s<256;++s)f.push((s+256).toString(16).substr(1));function c(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(f[r[e+0]]+f[r[e+1]]+f[r[e+2]]+f[r[e+3]]+"-"+f[r[e+4]]+f[r[e+5]]+"-"+f[r[e+6]]+f[r[e+7]]+"-"+f[r[e+8]]+f[r[e+9]]+"-"+f[r[e+10]]+f[r[e+11]]+f[r[e+12]]+f[r[e+13]]+f[r[e+14]]+f[r[e+15]]).toLowerCase();if(!a(n))throw TypeError("Stringified UUID is invalid");return n}var l=0,d=0;function v(r){if(!a(r))throw TypeError("Invalid UUID");var e,n=new Uint8Array(16);return n[0]=(e=parseInt(r.slice(0,8),16))>>>24,n[1]=e>>>16&255,n[2]=e>>>8&255,n[3]=255&e,n[4]=(e=parseInt(r.slice(9,13),16))>>>8,n[5]=255&e,n[6]=(e=parseInt(r.slice(14,18),16))>>>8,n[7]=255&e,n[8]=(e=parseInt(r.slice(19,23),16))>>>8,n[9]=255&e,n[10]=(e=parseInt(r.slice(24,36),16))/1099511627776&255,n[11]=e/4294967296&255,n[12]=e>>>24&255,n[13]=e>>>16&255,n[14]=e>>>8&255,n[15]=255&e,n}function p(r,e,n){function t(r,t,o,a){if("string"==typeof r&&(r=function(r){r=unescape(encodeURIComponent(r));for(var e=[],n=0;n<r.length;++n)e.push(r.charCodeAt(n));return e}(r)),"string"==typeof t&&(t=v(t)),16!==t.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var i=new Uint8Array(16+r.length);if(i.set(t),i.set(r,t.length),(i=n(i))[6]=15&i[6]|e,i[8]=63&i[8]|128,o){a=a||0;for(var u=0;u<16;++u)o[a+u]=i[u];return o}return c(i)}try{t.name=r}catch(r){}return t.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",t.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",t}function h(r){return 14+(r+64>>>9<<4)+1}function y(r,e){var n=(65535&r)+(65535&e);return(r>>16)+(e>>16)+(n>>16)<<16|65535&n}function g(r,e,n,t,o,a){return y((i=y(y(e,r),y(t,a)))<<(u=o)|i>>>32-u,n);var i,u}function m(r,e,n,t,o,a,i){return g(e&n|~e&t,r,e,o,a,i)}function w(r,e,n,t,o,a,i){return g(e&t|n&~t,r,e,o,a,i)}function b(r,e,n,t,o,a,i){return g(e^n^t,r,e,o,a,i)}function A(r,e,n,t,o,a,i){return g(n^(e|~t),r,e,o,a,i)}var U=p("v3",48,(function(r){if("string"==typeof r){var e=unescape(encodeURIComponent(r));r=new Uint8Array(e.length);for(var n=0;n<e.length;++n)r[n]=e.charCodeAt(n)}return function(r){for(var e=[],n=32*r.length,t="0123456789abcdef",o=0;o<n;o+=8){var a=r[o>>5]>>>o%32&255,i=parseInt(t.charAt(a>>>4&15)+t.charAt(15&a),16);e.push(i)}return e}(function(r,e){r[e>>5]|=128<<e%32,r[h(e)-1]=e;for(var n=1732584193,t=-271733879,o=-1732584194,a=271733878,i=0;i<r.length;i+=16){var u=n,f=t,s=o,c=a;n=m(n,t,o,a,r[i],7,-680876936),a=m(a,n,t,o,r[i+1],12,-389564586),o=m(o,a,n,t,r[i+2],17,606105819),t=m(t,o,a,n,r[i+3],22,-1044525330),n=m(n,t,o,a,r[i+4],7,-176418897),a=m(a,n,t,o,r[i+5],12,1200080426),o=m(o,a,n,t,r[i+6],17,-1473231341),t=m(t,o,a,n,r[i+7],22,-45705983),n=m(n,t,o,a,r[i+8],7,1770035416),a=m(a,n,t,o,r[i+9],12,-1958414417),o=m(o,a,n,t,r[i+10],17,-42063),t=m(t,o,a,n,r[i+11],22,-1990404162),n=m(n,t,o,a,r[i+12],7,1804603682),a=m(a,n,t,o,r[i+13],12,-40341101),o=m(o,a,n,t,r[i+14],17,-1502002290),n=w(n,t=m(t,o,a,n,r[i+15],22,1236535329),o,a,r[i+1],5,-165796510),a=w(a,n,t,o,r[i+6],9,-1069501632),o=w(o,a,n,t,r[i+11],14,643717713),t=w(t,o,a,n,r[i],20,-373897302),n=w(n,t,o,a,r[i+5],5,-701558691),a=w(a,n,t,o,r[i+10],9,38016083),o=w(o,a,n,t,r[i+15],14,-660478335),t=w(t,o,a,n,r[i+4],20,-405537848),n=w(n,t,o,a,r[i+9],5,568446438),a=w(a,n,t,o,r[i+14],9,-1019803690),o=w(o,a,n,t,r[i+3],14,-187363961),t=w(t,o,a,n,r[i+8],20,1163531501),n=w(n,t,o,a,r[i+13],5,-1444681467),a=w(a,n,t,o,r[i+2],9,-51403784),o=w(o,a,n,t,r[i+7],14,1735328473),n=b(n,t=w(t,o,a,n,r[i+12],20,-1926607734),o,a,r[i+5],4,-378558),a=b(a,n,t,o,r[i+8],11,-2022574463),o=b(o,a,n,t,r[i+11],16,1839030562),t=b(t,o,a,n,r[i+14],23,-35309556),n=b(n,t,o,a,r[i+1],4,-1530992060),a=b(a,n,t,o,r[i+4],11,1272893353),o=b(o,a,n,t,r[i+7],16,-155497632),t=b(t,o,a,n,r[i+10],23,-1094730640),n=b(n,t,o,a,r[i+13],4,681279174),a=b(a,n,t,o,r[i],11,-358537222),o=b(o,a,n,t,r[i+3],16,-722521979),t=b(t,o,a,n,r[i+6],23,76029189),n=b(n,t,o,a,r[i+9],4,-640364487),a=b(a,n,t,o,r[i+12],11,-421815835),o=b(o,a,n,t,r[i+15],16,530742520),n=A(n,t=b(t,o,a,n,r[i+2],23,-995338651),o,a,r[i],6,-198630844),a=A(a,n,t,o,r[i+7],10,1126891415),o=A(o,a,n,t,r[i+14],15,-1416354905),t=A(t,o,a,n,r[i+5],21,-57434055),n=A(n,t,o,a,r[i+12],6,1700485571),a=A(a,n,t,o,r[i+3],10,-1894986606),o=A(o,a,n,t,r[i+10],15,-1051523),t=A(t,o,a,n,r[i+1],21,-2054922799),n=A(n,t,o,a,r[i+8],6,1873313359),a=A(a,n,t,o,r[i+15],10,-30611744),o=A(o,a,n,t,r[i+6],15,-1560198380),t=A(t,o,a,n,r[i+13],21,1309151649),n=A(n,t,o,a,r[i+4],6,-145523070),a=A(a,n,t,o,r[i+11],10,-1120210379),o=A(o,a,n,t,r[i+2],15,718787259),t=A(t,o,a,n,r[i+9],21,-343485551),n=y(n,u),t=y(t,f),o=y(o,s),a=y(a,c)}return[n,t,o,a]}(function(r){if(0===r.length)return[];for(var e=8*r.length,n=new Uint32Array(h(e)),t=0;t<e;t+=8)n[t>>5]|=(255&r[t/8])<<t%32;return n}(r),8*r.length))}));function I(r,e,n,t){switch(r){case 0:return e&n^~e&t;case 1:return e^n^t;case 2:return e&n^e&t^n&t;case 3:return e^n^t}}function C(r,e){return r<<e|r>>>32-e}var R=p("v5",80,(function(r){var e=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof r){var t=unescape(encodeURIComponent(r));r=[];for(var o=0;o<t.length;++o)r.push(t.charCodeAt(o))}else Array.isArray(r)||(r=Array.prototype.slice.call(r));r.push(128);for(var a=r.length/4+2,i=Math.ceil(a/16),u=new Array(i),f=0;f<i;++f){for(var s=new Uint32Array(16),c=0;c<16;++c)s[c]=r[64*f+4*c]<<24|r[64*f+4*c+1]<<16|r[64*f+4*c+2]<<8|r[64*f+4*c+3];u[f]=s}u[i-1][14]=8*(r.length-1)/Math.pow(2,32),u[i-1][14]=Math.floor(u[i-1][14]),u[i-1][15]=8*(r.length-1)&4294967295;for(var l=0;l<i;++l){for(var d=new Uint32Array(80),v=0;v<16;++v)d[v]=u[l][v];for(var p=16;p<80;++p)d[p]=C(d[p-3]^d[p-8]^d[p-14]^d[p-16],1);for(var h=n[0],y=n[1],g=n[2],m=n[3],w=n[4],b=0;b<80;++b){var A=Math.floor(b/20),U=C(h,5)+I(A,y,g,m)+w+e[A]+d[b]>>>0;w=m,m=g,g=C(y,30)>>>0,y=h,h=U}n[0]=n[0]+h>>>0,n[1]=n[1]+y>>>0,n[2]=n[2]+g>>>0,n[3]=n[3]+m>>>0,n[4]=n[4]+w>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}));r.NIL="00000000-0000-0000-0000-000000000000",r.parse=v,r.stringify=c,r.v1=function(r,e,n){var o=e&&n||0,a=e||new Array(16),f=(r=r||{}).node||i,s=void 0!==r.clockseq?r.clockseq:u;if(null==f||null==s){var v=r.random||(r.rng||t)();null==f&&(f=i=[1|v[0],v[1],v[2],v[3],v[4],v[5]]),null==s&&(s=u=16383&(v[6]<<8|v[7]))}var p=void 0!==r.msecs?r.msecs:Date.now(),h=void 0!==r.nsecs?r.nsecs:d+1,y=p-l+(h-d)/1e4;if(y<0&&void 0===r.clockseq&&(s=s+1&16383),(y<0||p>l)&&void 0===r.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=p,d=h,u=s;var g=(1e4*(268435455&(p+=122192928e5))+h)%4294967296;a[o++]=g>>>24&255,a[o++]=g>>>16&255,a[o++]=g>>>8&255,a[o++]=255&g;var m=p/4294967296*1e4&268435455;a[o++]=m>>>8&255,a[o++]=255&m,a[o++]=m>>>24&15|16,a[o++]=m>>>16&255,a[o++]=s>>>8|128,a[o++]=255&s;for(var w=0;w<6;++w)a[o+w]=f[w];return e||c(a)},r.v3=U,r.v4=function(r,e,n){var o=(r=r||{}).random||(r.rng||t)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,e){n=n||0;for(var a=0;a<16;++a)e[n+a]=o[a];return e}return c(o)},r.v5=R,r.validate=a,r.version=function(r){if(!a(r))throw TypeError("Invalid UUID");return parseInt(r.substr(14,1),16)},Object.defineProperty(r,"__esModule",{value:!0})}));
@@ -1 +0,0 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidNIL=n()}(this,(function(){"use strict";return"00000000-0000-0000-0000-000000000000"}));
@@ -1 +0,0 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidParse=n()}(this,(function(){"use strict";var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;return function(n){if(!function(n){return"string"==typeof n&&e.test(n)}(n))throw TypeError("Invalid UUID");var t,i=new Uint8Array(16);return i[0]=(t=parseInt(n.slice(0,8),16))>>>24,i[1]=t>>>16&255,i[2]=t>>>8&255,i[3]=255&t,i[4]=(t=parseInt(n.slice(9,13),16))>>>8,i[5]=255&t,i[6]=(t=parseInt(n.slice(14,18),16))>>>8,i[7]=255&t,i[8]=(t=parseInt(n.slice(19,23),16))>>>8,i[9]=255&t,i[10]=(t=parseInt(n.slice(24,36),16))/1099511627776&255,i[11]=t/4294967296&255,i[12]=t>>>24&255,i[13]=t>>>16&255,i[14]=t>>>8&255,i[15]=255&t,i}}));
@@ -1 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidStringify=t()}(this,(function(){"use strict";var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function t(t){return"string"==typeof t&&e.test(t)}for(var i=[],n=0;n<256;++n)i.push((n+256).toString(16).substr(1));return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,f=(i[e[n+0]]+i[e[n+1]]+i[e[n+2]]+i[e[n+3]]+"-"+i[e[n+4]]+i[e[n+5]]+"-"+i[e[n+6]]+i[e[n+7]]+"-"+i[e[n+8]]+i[e[n+9]]+"-"+i[e[n+10]]+i[e[n+11]]+i[e[n+12]]+i[e[n+13]]+i[e[n+14]]+i[e[n+15]]).toLowerCase();if(!t(f))throw TypeError("Stringified UUID is invalid");return f}}));
@@ -1 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidValidate=t()}(this,(function(){"use strict";var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;return function(t){return"string"==typeof t&&e.test(t)}}));
@@ -1 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidVersion=t()}(this,(function(){"use strict";var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;return function(t){if(!function(t){return"string"==typeof t&&e.test(t)}(t))throw TypeError("Invalid UUID");return parseInt(t.substr(14,1),16)}}));
@@ -1 +0,0 @@
1
- !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidv1=o()}(this,(function(){"use strict";var e,o=new Uint8Array(16);function t(){if(!e&&!(e="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return e(o)}var n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function r(e){return"string"==typeof e&&n.test(e)}for(var i,u,s=[],a=0;a<256;++a)s.push((a+256).toString(16).substr(1));var d=0,f=0;return function(e,o,n){var a=o&&n||0,c=o||new Array(16),l=(e=e||{}).node||i,p=void 0!==e.clockseq?e.clockseq:u;if(null==l||null==p){var v=e.random||(e.rng||t)();null==l&&(l=i=[1|v[0],v[1],v[2],v[3],v[4],v[5]]),null==p&&(p=u=16383&(v[6]<<8|v[7]))}var y=void 0!==e.msecs?e.msecs:Date.now(),m=void 0!==e.nsecs?e.nsecs:f+1,g=y-d+(m-f)/1e4;if(g<0&&void 0===e.clockseq&&(p=p+1&16383),(g<0||y>d)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");d=y,f=m,u=p;var h=(1e4*(268435455&(y+=122192928e5))+m)%4294967296;c[a++]=h>>>24&255,c[a++]=h>>>16&255,c[a++]=h>>>8&255,c[a++]=255&h;var w=y/4294967296*1e4&268435455;c[a++]=w>>>8&255,c[a++]=255&w,c[a++]=w>>>24&15|16,c[a++]=w>>>16&255,c[a++]=p>>>8|128,c[a++]=255&p;for(var b=0;b<6;++b)c[a+b]=l[b];return o||function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=(s[e[o+0]]+s[e[o+1]]+s[e[o+2]]+s[e[o+3]]+"-"+s[e[o+4]]+s[e[o+5]]+"-"+s[e[o+6]]+s[e[o+7]]+"-"+s[e[o+8]]+s[e[o+9]]+"-"+s[e[o+10]]+s[e[o+11]]+s[e[o+12]]+s[e[o+13]]+s[e[o+14]]+s[e[o+15]]).toLowerCase();if(!r(t))throw TypeError("Stringified UUID is invalid");return t}(c)}}));
@@ -1 +0,0 @@
1
- !function(n,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(n="undefined"!=typeof globalThis?globalThis:n||self).uuidv3=r()}(this,(function(){"use strict";var n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function r(r){return"string"==typeof r&&n.test(r)}for(var e=[],t=0;t<256;++t)e.push((t+256).toString(16).substr(1));function i(n){return 14+(n+64>>>9<<4)+1}function o(n,r){var e=(65535&n)+(65535&r);return(n>>16)+(r>>16)+(e>>16)<<16|65535&e}function a(n,r,e,t,i,a){return o((f=o(o(r,n),o(t,a)))<<(u=i)|f>>>32-u,e);var f,u}function f(n,r,e,t,i,o,f){return a(r&e|~r&t,n,r,i,o,f)}function u(n,r,e,t,i,o,f){return a(r&t|e&~t,n,r,i,o,f)}function c(n,r,e,t,i,o,f){return a(r^e^t,n,r,i,o,f)}function s(n,r,e,t,i,o,f){return a(e^(r|~t),n,r,i,o,f)}return function(n,t,i){function o(n,o,a,f){if("string"==typeof n&&(n=function(n){n=unescape(encodeURIComponent(n));for(var r=[],e=0;e<n.length;++e)r.push(n.charCodeAt(e));return r}(n)),"string"==typeof o&&(o=function(n){if(!r(n))throw TypeError("Invalid UUID");var e,t=new Uint8Array(16);return t[0]=(e=parseInt(n.slice(0,8),16))>>>24,t[1]=e>>>16&255,t[2]=e>>>8&255,t[3]=255&e,t[4]=(e=parseInt(n.slice(9,13),16))>>>8,t[5]=255&e,t[6]=(e=parseInt(n.slice(14,18),16))>>>8,t[7]=255&e,t[8]=(e=parseInt(n.slice(19,23),16))>>>8,t[9]=255&e,t[10]=(e=parseInt(n.slice(24,36),16))/1099511627776&255,t[11]=e/4294967296&255,t[12]=e>>>24&255,t[13]=e>>>16&255,t[14]=e>>>8&255,t[15]=255&e,t}(o)),16!==o.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var u=new Uint8Array(16+n.length);if(u.set(o),u.set(n,o.length),(u=i(u))[6]=15&u[6]|t,u[8]=63&u[8]|128,a){f=f||0;for(var c=0;c<16;++c)a[f+c]=u[c];return a}return function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=(e[n[t+0]]+e[n[t+1]]+e[n[t+2]]+e[n[t+3]]+"-"+e[n[t+4]]+e[n[t+5]]+"-"+e[n[t+6]]+e[n[t+7]]+"-"+e[n[t+8]]+e[n[t+9]]+"-"+e[n[t+10]]+e[n[t+11]]+e[n[t+12]]+e[n[t+13]]+e[n[t+14]]+e[n[t+15]]).toLowerCase();if(!r(i))throw TypeError("Stringified UUID is invalid");return i}(u)}try{o.name=n}catch(n){}return o.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",o.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",o}("v3",48,(function(n){if("string"==typeof n){var r=unescape(encodeURIComponent(n));n=new Uint8Array(r.length);for(var e=0;e<r.length;++e)n[e]=r.charCodeAt(e)}return function(n){for(var r=[],e=32*n.length,t="0123456789abcdef",i=0;i<e;i+=8){var o=n[i>>5]>>>i%32&255,a=parseInt(t.charAt(o>>>4&15)+t.charAt(15&o),16);r.push(a)}return r}(function(n,r){n[r>>5]|=128<<r%32,n[i(r)-1]=r;for(var e=1732584193,t=-271733879,a=-1732584194,l=271733878,d=0;d<n.length;d+=16){var p=e,h=t,v=a,g=l;e=f(e,t,a,l,n[d],7,-680876936),l=f(l,e,t,a,n[d+1],12,-389564586),a=f(a,l,e,t,n[d+2],17,606105819),t=f(t,a,l,e,n[d+3],22,-1044525330),e=f(e,t,a,l,n[d+4],7,-176418897),l=f(l,e,t,a,n[d+5],12,1200080426),a=f(a,l,e,t,n[d+6],17,-1473231341),t=f(t,a,l,e,n[d+7],22,-45705983),e=f(e,t,a,l,n[d+8],7,1770035416),l=f(l,e,t,a,n[d+9],12,-1958414417),a=f(a,l,e,t,n[d+10],17,-42063),t=f(t,a,l,e,n[d+11],22,-1990404162),e=f(e,t,a,l,n[d+12],7,1804603682),l=f(l,e,t,a,n[d+13],12,-40341101),a=f(a,l,e,t,n[d+14],17,-1502002290),e=u(e,t=f(t,a,l,e,n[d+15],22,1236535329),a,l,n[d+1],5,-165796510),l=u(l,e,t,a,n[d+6],9,-1069501632),a=u(a,l,e,t,n[d+11],14,643717713),t=u(t,a,l,e,n[d],20,-373897302),e=u(e,t,a,l,n[d+5],5,-701558691),l=u(l,e,t,a,n[d+10],9,38016083),a=u(a,l,e,t,n[d+15],14,-660478335),t=u(t,a,l,e,n[d+4],20,-405537848),e=u(e,t,a,l,n[d+9],5,568446438),l=u(l,e,t,a,n[d+14],9,-1019803690),a=u(a,l,e,t,n[d+3],14,-187363961),t=u(t,a,l,e,n[d+8],20,1163531501),e=u(e,t,a,l,n[d+13],5,-1444681467),l=u(l,e,t,a,n[d+2],9,-51403784),a=u(a,l,e,t,n[d+7],14,1735328473),e=c(e,t=u(t,a,l,e,n[d+12],20,-1926607734),a,l,n[d+5],4,-378558),l=c(l,e,t,a,n[d+8],11,-2022574463),a=c(a,l,e,t,n[d+11],16,1839030562),t=c(t,a,l,e,n[d+14],23,-35309556),e=c(e,t,a,l,n[d+1],4,-1530992060),l=c(l,e,t,a,n[d+4],11,1272893353),a=c(a,l,e,t,n[d+7],16,-155497632),t=c(t,a,l,e,n[d+10],23,-1094730640),e=c(e,t,a,l,n[d+13],4,681279174),l=c(l,e,t,a,n[d],11,-358537222),a=c(a,l,e,t,n[d+3],16,-722521979),t=c(t,a,l,e,n[d+6],23,76029189),e=c(e,t,a,l,n[d+9],4,-640364487),l=c(l,e,t,a,n[d+12],11,-421815835),a=c(a,l,e,t,n[d+15],16,530742520),e=s(e,t=c(t,a,l,e,n[d+2],23,-995338651),a,l,n[d],6,-198630844),l=s(l,e,t,a,n[d+7],10,1126891415),a=s(a,l,e,t,n[d+14],15,-1416354905),t=s(t,a,l,e,n[d+5],21,-57434055),e=s(e,t,a,l,n[d+12],6,1700485571),l=s(l,e,t,a,n[d+3],10,-1894986606),a=s(a,l,e,t,n[d+10],15,-1051523),t=s(t,a,l,e,n[d+1],21,-2054922799),e=s(e,t,a,l,n[d+8],6,1873313359),l=s(l,e,t,a,n[d+15],10,-30611744),a=s(a,l,e,t,n[d+6],15,-1560198380),t=s(t,a,l,e,n[d+13],21,1309151649),e=s(e,t,a,l,n[d+4],6,-145523070),l=s(l,e,t,a,n[d+11],10,-1120210379),a=s(a,l,e,t,n[d+2],15,718787259),t=s(t,a,l,e,n[d+9],21,-343485551),e=o(e,p),t=o(t,h),a=o(a,v),l=o(l,g)}return[e,t,a,l]}(function(n){if(0===n.length)return[];for(var r=8*n.length,e=new Uint32Array(i(r)),t=0;t<r;t+=8)e[t>>5]|=(255&n[t/8])<<t%32;return e}(n),8*n.length))}))}));
@@ -1 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).uuidv4=e()}(this,(function(){"use strict";var t,e=new Uint8Array(16);function o(){if(!t&&!(t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return t(e)}var n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function r(t){return"string"==typeof t&&n.test(t)}for(var i=[],u=0;u<256;++u)i.push((u+256).toString(16).substr(1));return function(t,e,n){var u=(t=t||{}).random||(t.rng||o)();if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,e){n=n||0;for(var f=0;f<16;++f)e[n+f]=u[f];return e}return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(i[t[e+0]]+i[t[e+1]]+i[t[e+2]]+i[t[e+3]]+"-"+i[t[e+4]]+i[t[e+5]]+"-"+i[t[e+6]]+i[t[e+7]]+"-"+i[t[e+8]]+i[t[e+9]]+"-"+i[t[e+10]]+i[t[e+11]]+i[t[e+12]]+i[t[e+13]]+i[t[e+14]]+i[t[e+15]]).toLowerCase();if(!r(o))throw TypeError("Stringified UUID is invalid");return o}(u)}}));
@@ -1 +0,0 @@
1
- !function(r,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(r="undefined"!=typeof globalThis?globalThis:r||self).uuidv5=e()}(this,(function(){"use strict";var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function e(e){return"string"==typeof e&&r.test(e)}for(var t=[],n=0;n<256;++n)t.push((n+256).toString(16).substr(1));function a(r,e,t,n){switch(r){case 0:return e&t^~e&n;case 1:return e^t^n;case 2:return e&t^e&n^t&n;case 3:return e^t^n}}function o(r,e){return r<<e|r>>>32-e}return function(r,n,a){function o(r,o,i,f){if("string"==typeof r&&(r=function(r){r=unescape(encodeURIComponent(r));for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t));return e}(r)),"string"==typeof o&&(o=function(r){if(!e(r))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(r.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(r.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(r.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(r.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(r.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}(o)),16!==o.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var s=new Uint8Array(16+r.length);if(s.set(o),s.set(r,o.length),(s=a(s))[6]=15&s[6]|n,s[8]=63&s[8]|128,i){f=f||0;for(var u=0;u<16;++u)i[f+u]=s[u];return i}return function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=(t[r[n+0]]+t[r[n+1]]+t[r[n+2]]+t[r[n+3]]+"-"+t[r[n+4]]+t[r[n+5]]+"-"+t[r[n+6]]+t[r[n+7]]+"-"+t[r[n+8]]+t[r[n+9]]+"-"+t[r[n+10]]+t[r[n+11]]+t[r[n+12]]+t[r[n+13]]+t[r[n+14]]+t[r[n+15]]).toLowerCase();if(!e(a))throw TypeError("Stringified UUID is invalid");return a}(s)}try{o.name=r}catch(r){}return o.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",o.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",o}("v5",80,(function(r){var e=[1518500249,1859775393,2400959708,3395469782],t=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof r){var n=unescape(encodeURIComponent(r));r=[];for(var i=0;i<n.length;++i)r.push(n.charCodeAt(i))}else Array.isArray(r)||(r=Array.prototype.slice.call(r));r.push(128);for(var f=r.length/4+2,s=Math.ceil(f/16),u=new Array(s),c=0;c<s;++c){for(var l=new Uint32Array(16),p=0;p<16;++p)l[p]=r[64*c+4*p]<<24|r[64*c+4*p+1]<<16|r[64*c+4*p+2]<<8|r[64*c+4*p+3];u[c]=l}u[s-1][14]=8*(r.length-1)/Math.pow(2,32),u[s-1][14]=Math.floor(u[s-1][14]),u[s-1][15]=8*(r.length-1)&4294967295;for(var d=0;d<s;++d){for(var h=new Uint32Array(80),v=0;v<16;++v)h[v]=u[d][v];for(var y=16;y<80;++y)h[y]=o(h[y-3]^h[y-8]^h[y-14]^h[y-16],1);for(var g=t[0],b=t[1],w=t[2],U=t[3],A=t[4],I=0;I<80;++I){var m=Math.floor(I/20),C=o(g,5)+a(m,b,w,U)+A+e[m]+h[I]>>>0;A=U,U=w,w=o(b,30)>>>0,b=g,g=C}t[0]=t[0]+g>>>0,t[1]=t[1]+b>>>0,t[2]=t[2]+w>>>0,t[3]=t[3]+U>>>0,t[4]=t[4]+A>>>0}return[t[0]>>24&255,t[0]>>16&255,t[0]>>8&255,255&t[0],t[1]>>24&255,t[1]>>16&255,t[1]>>8&255,255&t[1],t[2]>>24&255,t[2]>>16&255,t[2]>>8&255,255&t[2],t[3]>>24&255,t[3]>>16&255,t[3]>>8&255,255&t[3],t[4]>>24&255,t[4]>>16&255,t[4]>>8&255,255&t[4]]}))}));