aws-delivlib 14.15.34 → 14.15.36
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/lib/custom-resource-handlers/src/certificate-signing-request.tsbuildinfo +1 -1
- package/lib/custom-resource-handlers/src/pgp-secret.tsbuildinfo +1 -1
- package/lib/custom-resource-handlers/src/private-key.tsbuildinfo +1 -1
- package/lib/publishing/github/node_modules/.yarn-integrity +1 -1
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/README.md +1 -1
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/buffer.buffer.d.ts +112 -38
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/buffer.d.ts +4 -11
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/package.json +2 -2
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/web.d.ts +6 -1
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream.d.ts +936 -1005
- package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +107 -35
- package/package.json +2 -2
@@ -24,7 +24,7 @@ declare module "buffer" {
|
|
24
24
|
* @param array The octets to store.
|
25
25
|
* @deprecated since v10.0.0 - Use `Buffer.from(array)` instead.
|
26
26
|
*/
|
27
|
-
new(array:
|
27
|
+
new(array: ArrayLike<number>): Buffer;
|
28
28
|
/**
|
29
29
|
* Produces a Buffer backed by the same allocated memory as
|
30
30
|
* the given {ArrayBuffer}/{SharedArrayBuffer}.
|
@@ -33,20 +33,6 @@ declare module "buffer" {
|
|
33
33
|
* @deprecated since v10.0.0 - Use `Buffer.from(arrayBuffer[, byteOffset[, length]])` instead.
|
34
34
|
*/
|
35
35
|
new(arrayBuffer: ArrayBuffer | SharedArrayBuffer): Buffer;
|
36
|
-
/**
|
37
|
-
* Allocates a new buffer containing the given {array} of octets.
|
38
|
-
*
|
39
|
-
* @param array The octets to store.
|
40
|
-
* @deprecated since v10.0.0 - Use `Buffer.from(array)` instead.
|
41
|
-
*/
|
42
|
-
new(array: readonly any[]): Buffer;
|
43
|
-
/**
|
44
|
-
* Copies the passed {buffer} data onto a new {Buffer} instance.
|
45
|
-
*
|
46
|
-
* @param buffer The buffer to copy.
|
47
|
-
* @deprecated since v10.0.0 - Use `Buffer.from(buffer)` instead.
|
48
|
-
*/
|
49
|
-
new(buffer: Buffer): Buffer;
|
50
36
|
/**
|
51
37
|
* Allocates a new `Buffer` using an `array` of bytes in the range `0` – `255`.
|
52
38
|
* Array entries outside that range will be truncated to fit into it.
|
@@ -58,40 +44,120 @@ declare module "buffer" {
|
|
58
44
|
* const buf = Buffer.from([0x62, 0x75, 0x66, 0x66, 0x65, 0x72]);
|
59
45
|
* ```
|
60
46
|
*
|
61
|
-
* If `array` is an `Array
|
47
|
+
* If `array` is an `Array`-like object (that is, one with a `length` property of
|
62
48
|
* type `number`), it is treated as if it is an array, unless it is a `Buffer` or
|
63
|
-
* a `Uint8Array`. This means all other `TypedArray` variants get treated as an
|
49
|
+
* a `Uint8Array`. This means all other `TypedArray` variants get treated as an
|
50
|
+
* `Array`. To create a `Buffer` from the bytes backing a `TypedArray`, use
|
51
|
+
* `Buffer.copyBytesFrom()`.
|
64
52
|
*
|
65
53
|
* A `TypeError` will be thrown if `array` is not an `Array` or another type
|
66
54
|
* appropriate for `Buffer.from()` variants.
|
67
55
|
*
|
68
|
-
* `Buffer.from(array)` and `Buffer.from(string)` may also use the internal
|
56
|
+
* `Buffer.from(array)` and `Buffer.from(string)` may also use the internal
|
57
|
+
* `Buffer` pool like `Buffer.allocUnsafe()` does.
|
69
58
|
* @since v5.10.0
|
70
59
|
*/
|
60
|
+
from(array: WithImplicitCoercion<ArrayLike<number>>): Buffer;
|
61
|
+
/**
|
62
|
+
* This creates a view of the `ArrayBuffer` without copying the underlying
|
63
|
+
* memory. For example, when passed a reference to the `.buffer` property of a
|
64
|
+
* `TypedArray` instance, the newly created `Buffer` will share the same
|
65
|
+
* allocated memory as the `TypedArray`'s underlying `ArrayBuffer`.
|
66
|
+
*
|
67
|
+
* ```js
|
68
|
+
* import { Buffer } from 'node:buffer';
|
69
|
+
*
|
70
|
+
* const arr = new Uint16Array(2);
|
71
|
+
*
|
72
|
+
* arr[0] = 5000;
|
73
|
+
* arr[1] = 4000;
|
74
|
+
*
|
75
|
+
* // Shares memory with `arr`.
|
76
|
+
* const buf = Buffer.from(arr.buffer);
|
77
|
+
*
|
78
|
+
* console.log(buf);
|
79
|
+
* // Prints: <Buffer 88 13 a0 0f>
|
80
|
+
*
|
81
|
+
* // Changing the original Uint16Array changes the Buffer also.
|
82
|
+
* arr[1] = 6000;
|
83
|
+
*
|
84
|
+
* console.log(buf);
|
85
|
+
* // Prints: <Buffer 88 13 70 17>
|
86
|
+
* ```
|
87
|
+
*
|
88
|
+
* The optional `byteOffset` and `length` arguments specify a memory range within
|
89
|
+
* the `arrayBuffer` that will be shared by the `Buffer`.
|
90
|
+
*
|
91
|
+
* ```js
|
92
|
+
* import { Buffer } from 'node:buffer';
|
93
|
+
*
|
94
|
+
* const ab = new ArrayBuffer(10);
|
95
|
+
* const buf = Buffer.from(ab, 0, 2);
|
96
|
+
*
|
97
|
+
* console.log(buf.length);
|
98
|
+
* // Prints: 2
|
99
|
+
* ```
|
100
|
+
*
|
101
|
+
* A `TypeError` will be thrown if `arrayBuffer` is not an `ArrayBuffer` or a
|
102
|
+
* `SharedArrayBuffer` or another type appropriate for `Buffer.from()`
|
103
|
+
* variants.
|
104
|
+
*
|
105
|
+
* It is important to remember that a backing `ArrayBuffer` can cover a range
|
106
|
+
* of memory that extends beyond the bounds of a `TypedArray` view. A new
|
107
|
+
* `Buffer` created using the `buffer` property of a `TypedArray` may extend
|
108
|
+
* beyond the range of the `TypedArray`:
|
109
|
+
*
|
110
|
+
* ```js
|
111
|
+
* import { Buffer } from 'node:buffer';
|
112
|
+
*
|
113
|
+
* const arrA = Uint8Array.from([0x63, 0x64, 0x65, 0x66]); // 4 elements
|
114
|
+
* const arrB = new Uint8Array(arrA.buffer, 1, 2); // 2 elements
|
115
|
+
* console.log(arrA.buffer === arrB.buffer); // true
|
116
|
+
*
|
117
|
+
* const buf = Buffer.from(arrB.buffer);
|
118
|
+
* console.log(buf);
|
119
|
+
* // Prints: <Buffer 63 64 65 66>
|
120
|
+
* ```
|
121
|
+
* @since v5.10.0
|
122
|
+
* @param arrayBuffer An `ArrayBuffer`, `SharedArrayBuffer`, for example the
|
123
|
+
* `.buffer` property of a `TypedArray`.
|
124
|
+
* @param byteOffset Index of first byte to expose. **Default:** `0`.
|
125
|
+
* @param length Number of bytes to expose. **Default:**
|
126
|
+
* `arrayBuffer.byteLength - byteOffset`.
|
127
|
+
*/
|
71
128
|
from(
|
72
129
|
arrayBuffer: WithImplicitCoercion<ArrayBuffer | SharedArrayBuffer>,
|
73
130
|
byteOffset?: number,
|
74
131
|
length?: number,
|
75
132
|
): Buffer;
|
76
133
|
/**
|
77
|
-
* Creates a new Buffer
|
78
|
-
*
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
*
|
84
|
-
*
|
85
|
-
*
|
134
|
+
* Creates a new `Buffer` containing `string`. The `encoding` parameter identifies
|
135
|
+
* the character encoding to be used when converting `string` into bytes.
|
136
|
+
*
|
137
|
+
* ```js
|
138
|
+
* import { Buffer } from 'node:buffer';
|
139
|
+
*
|
140
|
+
* const buf1 = Buffer.from('this is a tést');
|
141
|
+
* const buf2 = Buffer.from('7468697320697320612074c3a97374', 'hex');
|
142
|
+
*
|
143
|
+
* console.log(buf1.toString());
|
144
|
+
* // Prints: this is a tést
|
145
|
+
* console.log(buf2.toString());
|
146
|
+
* // Prints: this is a tést
|
147
|
+
* console.log(buf1.toString('latin1'));
|
148
|
+
* // Prints: this is a tést
|
149
|
+
* ```
|
150
|
+
*
|
151
|
+
* A `TypeError` will be thrown if `string` is not a string or another type
|
152
|
+
* appropriate for `Buffer.from()` variants.
|
153
|
+
*
|
154
|
+
* `Buffer.from(string)` may also use the internal `Buffer` pool like
|
155
|
+
* `Buffer.allocUnsafe()` does.
|
156
|
+
* @since v5.10.0
|
157
|
+
* @param string A string to encode.
|
158
|
+
* @param encoding The encoding of `string`. **Default:** `'utf8'`.
|
86
159
|
*/
|
87
|
-
from(
|
88
|
-
str:
|
89
|
-
| WithImplicitCoercion<string>
|
90
|
-
| {
|
91
|
-
[Symbol.toPrimitive](hint: "string"): string;
|
92
|
-
},
|
93
|
-
encoding?: BufferEncoding,
|
94
|
-
): Buffer;
|
160
|
+
from(string: WithImplicitCoercion<string>, encoding?: BufferEncoding): Buffer;
|
95
161
|
/**
|
96
162
|
* Creates a new Buffer using the passed {data}
|
97
163
|
* @param values to create a new Buffer
|
@@ -382,4 +448,10 @@ declare module "buffer" {
|
|
382
448
|
subarray(start?: number, end?: number): Buffer;
|
383
449
|
}
|
384
450
|
}
|
451
|
+
/** @deprecated Use `Buffer.allocUnsafeSlow()` instead. */
|
452
|
+
var SlowBuffer: {
|
453
|
+
/** @deprecated Use `Buffer.allocUnsafeSlow()` instead. */
|
454
|
+
new(size: number): Buffer;
|
455
|
+
prototype: Buffer;
|
456
|
+
};
|
385
457
|
}
|
package/package.json
CHANGED
@@ -41,7 +41,7 @@
|
|
41
41
|
"@aws-sdk/client-codepipeline": "^3.758.0",
|
42
42
|
"@aws-sdk/client-s3": "^3.758.0",
|
43
43
|
"@aws-sdk/client-secrets-manager": "^3.758.0",
|
44
|
-
"@aws-sdk/client-ssm": "^3.
|
44
|
+
"@aws-sdk/client-ssm": "^3.759.0",
|
45
45
|
"@stylistic/eslint-plugin": "^2",
|
46
46
|
"@types/adm-zip": "^0.5.7",
|
47
47
|
"@types/aws-lambda": "^8.10.147",
|
@@ -97,7 +97,7 @@
|
|
97
97
|
"publishConfig": {
|
98
98
|
"access": "public"
|
99
99
|
},
|
100
|
-
"version": "14.15.
|
100
|
+
"version": "14.15.36",
|
101
101
|
"jest": {
|
102
102
|
"coverageProvider": "v8",
|
103
103
|
"testMatch": [
|