cloudstructs 0.4.18 → 0.4.21
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/assets/slack-app/provider.lambda/index.js +7 -2
- package/assets/slack-textract/detect.lambda/index.js +54 -49
- package/assets/toolkit-cleaner/clean-images.lambda/index.js +7 -1
- package/changelog.md +1 -6
- package/lib/codecommit-mirror/index.d.ts +14 -39
- package/lib/codecommit-mirror/index.js +10 -19
- package/lib/ecs-service-roller/index.d.ts +10 -30
- package/lib/ecs-service-roller/index.js +7 -18
- package/lib/email-receiver/receiver.d.ts +7 -23
- package/lib/email-receiver/receiver.js +4 -8
- package/lib/saml-identity-provider/index.d.ts +6 -17
- package/lib/saml-identity-provider/index.js +5 -11
- package/lib/slack-app/manifest.d.ts +52 -133
- package/lib/slack-app/manifest.js +15 -12
- package/lib/slack-app/slack-app.d.ts +21 -53
- package/lib/slack-app/slack-app.js +8 -20
- package/lib/slack-events/index.d.ts +6 -19
- package/lib/slack-events/index.js +3 -8
- package/lib/slack-textract/index.d.ts +3 -16
- package/lib/slack-textract/index.js +3 -8
- package/lib/state-machine-cr-provider/index.d.ts +7 -23
- package/lib/state-machine-cr-provider/index.js +3 -8
- package/lib/static-website/index.d.ts +14 -36
- package/lib/static-website/index.js +5 -12
- package/lib/toolkit-cleaner/clean-images.lambda.js +8 -2
- package/lib/toolkit-cleaner/index.d.ts +5 -18
- package/lib/toolkit-cleaner/index.js +2 -7
- package/lib/url-shortener/index.d.ts +9 -25
- package/lib/url-shortener/index.js +3 -8
- package/node_modules/@sindresorhus/is/dist/index.d.ts +9 -4
- package/node_modules/@sindresorhus/is/dist/index.js +9 -3
- package/node_modules/@sindresorhus/is/package.json +1 -1
- package/node_modules/@sindresorhus/is/readme.md +24 -4
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +92 -2
- 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 +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +2 -1
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +10 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +92 -2
- 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 +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +2 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +10 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +92 -2
- 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 +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +2 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +10 -6
- package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +92 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/stream/web.d.ts +2 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +10 -6
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +92 -2
- 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 +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +2 -1
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +10 -6
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +92 -2
- 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 +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +2 -1
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +10 -6
- package/node_modules/follow-redirects/index.js +82 -77
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/keyv/.nyc_output/{adb04494-7d0a-443f-9130-94b19c3fa19c.json → 5d6b8dd1-67cf-42ee-8492-c8ae62ce826c.json} +0 -0
- package/node_modules/keyv/.nyc_output/{17c338d1-cd21-4d2f-9d97-398f18a945cf.json → ce27532e-5888-46d4-ae10-5a71058d3f0c.json} +0 -0
- package/node_modules/keyv/.nyc_output/processinfo/5d6b8dd1-67cf-42ee-8492-c8ae62ce826c.json +1 -0
- package/node_modules/keyv/.nyc_output/processinfo/ce27532e-5888-46d4-ae10-5a71058d3f0c.json +1 -0
- package/node_modules/keyv/.nyc_output/processinfo/index.json +1 -1
- package/node_modules/keyv/package.json +7 -7
- package/node_modules/keyv/test/testdb.sqlite +0 -0
- package/package.json +7 -7
- package/releasetag.txt +1 -1
- package/version.txt +1 -1
- package/node_modules/keyv/.nyc_output/67b1f344-0eec-41a3-a665-c824c346e898.json +0 -1
- package/node_modules/keyv/.nyc_output/processinfo/17c338d1-cd21-4d2f-9d97-398f18a945cf.json +0 -1
- package/node_modules/keyv/.nyc_output/processinfo/67b1f344-0eec-41a3-a665-c824c346e898.json +0 -1
- package/node_modules/keyv/.nyc_output/processinfo/adb04494-7d0a-443f-9130-94b19c3fa19c.json +0 -1
|
@@ -390,7 +390,7 @@ declare module 'buffer' {
|
|
|
390
390
|
* @since v0.11.13
|
|
391
391
|
* @return Either `-1`, `0`, or `1`, depending on the result of the comparison. See `compare` for details.
|
|
392
392
|
*/
|
|
393
|
-
compare(buf1: Uint8Array, buf2: Uint8Array):
|
|
393
|
+
compare(buf1: Uint8Array, buf2: Uint8Array): -1 | 0 | 1;
|
|
394
394
|
/**
|
|
395
395
|
* Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the`Buffer` will be zero-filled.
|
|
396
396
|
*
|
|
@@ -704,7 +704,7 @@ declare module 'buffer' {
|
|
|
704
704
|
* @param [sourceStart=0] The offset within `buf` at which to begin comparison.
|
|
705
705
|
* @param [sourceEnd=buf.length] The offset within `buf` at which to end comparison (not inclusive).
|
|
706
706
|
*/
|
|
707
|
-
compare(target: Uint8Array, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number):
|
|
707
|
+
compare(target: Uint8Array, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): -1 | 0 | 1;
|
|
708
708
|
/**
|
|
709
709
|
* Copies data from a region of `buf` to a region in `target`, even if the `target`memory region overlaps with `buf`.
|
|
710
710
|
*
|
|
@@ -909,6 +909,11 @@ declare module 'buffer' {
|
|
|
909
909
|
* @return `offset` plus the number of bytes written.
|
|
910
910
|
*/
|
|
911
911
|
writeBigUInt64BE(value: bigint, offset?: number): number;
|
|
912
|
+
/**
|
|
913
|
+
* @alias Buffer.writeBigUInt64BE
|
|
914
|
+
* @since v14.10.0, v12.19.0
|
|
915
|
+
*/
|
|
916
|
+
writeBigUint64BE(value: bigint, offset?: number): number;
|
|
912
917
|
/**
|
|
913
918
|
* Writes `value` to `buf` at the specified `offset` as little-endian
|
|
914
919
|
*
|
|
@@ -930,6 +935,11 @@ declare module 'buffer' {
|
|
|
930
935
|
* @return `offset` plus the number of bytes written.
|
|
931
936
|
*/
|
|
932
937
|
writeBigUInt64LE(value: bigint, offset?: number): number;
|
|
938
|
+
/**
|
|
939
|
+
* @alias Buffer.writeBigUInt64LE
|
|
940
|
+
* @since v14.10.0, v12.19.0
|
|
941
|
+
*/
|
|
942
|
+
writeBigUint64LE(value: bigint, offset?: number): number;
|
|
933
943
|
/**
|
|
934
944
|
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined
|
|
935
945
|
* when `value` is anything other than an unsigned integer.
|
|
@@ -953,6 +963,11 @@ declare module 'buffer' {
|
|
|
953
963
|
* @return `offset` plus the number of bytes written.
|
|
954
964
|
*/
|
|
955
965
|
writeUIntLE(value: number, offset: number, byteLength: number): number;
|
|
966
|
+
/**
|
|
967
|
+
* @alias Buffer.writeUIntLE
|
|
968
|
+
* @since v14.9.0, v12.19.0
|
|
969
|
+
*/
|
|
970
|
+
writeUintLE(value: number, offset: number, byteLength: number): number;
|
|
956
971
|
/**
|
|
957
972
|
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined
|
|
958
973
|
* when `value` is anything other than an unsigned integer.
|
|
@@ -976,6 +991,11 @@ declare module 'buffer' {
|
|
|
976
991
|
* @return `offset` plus the number of bytes written.
|
|
977
992
|
*/
|
|
978
993
|
writeUIntBE(value: number, offset: number, byteLength: number): number;
|
|
994
|
+
/**
|
|
995
|
+
* @alias Buffer.writeUIntBE
|
|
996
|
+
* @since v14.9.0, v12.19.0
|
|
997
|
+
*/
|
|
998
|
+
writeUintBE(value: number, offset: number, byteLength: number): number;
|
|
979
999
|
/**
|
|
980
1000
|
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined
|
|
981
1001
|
* when `value` is anything other than a signed integer.
|
|
@@ -1035,6 +1055,11 @@ declare module 'buffer' {
|
|
|
1035
1055
|
* @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`.
|
|
1036
1056
|
*/
|
|
1037
1057
|
readBigUInt64BE(offset?: number): bigint;
|
|
1058
|
+
/**
|
|
1059
|
+
* @alias Buffer.readBigUInt64BE
|
|
1060
|
+
* @since v14.10.0, v12.19.0
|
|
1061
|
+
*/
|
|
1062
|
+
readBigUint64BE(offset?: number): bigint;
|
|
1038
1063
|
/**
|
|
1039
1064
|
* Reads an unsigned, little-endian 64-bit integer from `buf` at the specified`offset`.
|
|
1040
1065
|
*
|
|
@@ -1052,6 +1077,11 @@ declare module 'buffer' {
|
|
|
1052
1077
|
* @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`.
|
|
1053
1078
|
*/
|
|
1054
1079
|
readBigUInt64LE(offset?: number): bigint;
|
|
1080
|
+
/**
|
|
1081
|
+
* @alias Buffer.readBigUInt64LE
|
|
1082
|
+
* @since v14.10.0, v12.19.0
|
|
1083
|
+
*/
|
|
1084
|
+
readBigUint64LE(offset?: number): bigint;
|
|
1055
1085
|
/**
|
|
1056
1086
|
* Reads a signed, big-endian 64-bit integer from `buf` at the specified `offset`.
|
|
1057
1087
|
*
|
|
@@ -1089,6 +1119,11 @@ declare module 'buffer' {
|
|
|
1089
1119
|
* @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`.
|
|
1090
1120
|
*/
|
|
1091
1121
|
readUIntLE(offset: number, byteLength: number): number;
|
|
1122
|
+
/**
|
|
1123
|
+
* @alias Buffer.readUIntLE
|
|
1124
|
+
* @since v14.9.0, v12.19.0
|
|
1125
|
+
*/
|
|
1126
|
+
readUintLE(offset: number, byteLength: number): number;
|
|
1092
1127
|
/**
|
|
1093
1128
|
* Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as an unsigned big-endian integer supporting
|
|
1094
1129
|
* up to 48 bits of accuracy.
|
|
@@ -1110,6 +1145,11 @@ declare module 'buffer' {
|
|
|
1110
1145
|
* @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`.
|
|
1111
1146
|
*/
|
|
1112
1147
|
readUIntBE(offset: number, byteLength: number): number;
|
|
1148
|
+
/**
|
|
1149
|
+
* @alias Buffer.readUIntBE
|
|
1150
|
+
* @since v14.9.0, v12.19.0
|
|
1151
|
+
*/
|
|
1152
|
+
readUintBE(offset: number, byteLength: number): number;
|
|
1113
1153
|
/**
|
|
1114
1154
|
* Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as a little-endian, two's complement signed value
|
|
1115
1155
|
* supporting up to 48 bits of accuracy.
|
|
@@ -1169,6 +1209,11 @@ declare module 'buffer' {
|
|
|
1169
1209
|
* @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 1`.
|
|
1170
1210
|
*/
|
|
1171
1211
|
readUInt8(offset?: number): number;
|
|
1212
|
+
/**
|
|
1213
|
+
* @alias Buffer.readUInt8
|
|
1214
|
+
* @since v14.9.0, v12.19.0
|
|
1215
|
+
*/
|
|
1216
|
+
readUint8(offset?: number): number;
|
|
1172
1217
|
/**
|
|
1173
1218
|
* Reads an unsigned, little-endian 16-bit integer from `buf` at the specified`offset`.
|
|
1174
1219
|
*
|
|
@@ -1190,6 +1235,11 @@ declare module 'buffer' {
|
|
|
1190
1235
|
* @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`.
|
|
1191
1236
|
*/
|
|
1192
1237
|
readUInt16LE(offset?: number): number;
|
|
1238
|
+
/**
|
|
1239
|
+
* @alias Buffer.readUInt16LE
|
|
1240
|
+
* @since v14.9.0, v12.19.0
|
|
1241
|
+
*/
|
|
1242
|
+
readUint16LE(offset?: number): number;
|
|
1193
1243
|
/**
|
|
1194
1244
|
* Reads an unsigned, big-endian 16-bit integer from `buf` at the specified`offset`.
|
|
1195
1245
|
*
|
|
@@ -1209,6 +1259,11 @@ declare module 'buffer' {
|
|
|
1209
1259
|
* @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`.
|
|
1210
1260
|
*/
|
|
1211
1261
|
readUInt16BE(offset?: number): number;
|
|
1262
|
+
/**
|
|
1263
|
+
* @alias Buffer.readUInt16BE
|
|
1264
|
+
* @since v14.9.0, v12.19.0
|
|
1265
|
+
*/
|
|
1266
|
+
readUint16BE(offset?: number): number;
|
|
1212
1267
|
/**
|
|
1213
1268
|
* Reads an unsigned, little-endian 32-bit integer from `buf` at the specified`offset`.
|
|
1214
1269
|
*
|
|
@@ -1228,6 +1283,11 @@ declare module 'buffer' {
|
|
|
1228
1283
|
* @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`.
|
|
1229
1284
|
*/
|
|
1230
1285
|
readUInt32LE(offset?: number): number;
|
|
1286
|
+
/**
|
|
1287
|
+
* @alias Buffer.readUInt32LE
|
|
1288
|
+
* @since v14.9.0, v12.19.0
|
|
1289
|
+
*/
|
|
1290
|
+
readUint32LE(offset?: number): number;
|
|
1231
1291
|
/**
|
|
1232
1292
|
* Reads an unsigned, big-endian 32-bit integer from `buf` at the specified`offset`.
|
|
1233
1293
|
*
|
|
@@ -1245,6 +1305,11 @@ declare module 'buffer' {
|
|
|
1245
1305
|
* @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`.
|
|
1246
1306
|
*/
|
|
1247
1307
|
readUInt32BE(offset?: number): number;
|
|
1308
|
+
/**
|
|
1309
|
+
* @alias Buffer.readUInt32BE
|
|
1310
|
+
* @since v14.9.0, v12.19.0
|
|
1311
|
+
*/
|
|
1312
|
+
readUint32BE(offset?: number): number;
|
|
1248
1313
|
/**
|
|
1249
1314
|
* Reads a signed 8-bit integer from `buf` at the specified `offset`.
|
|
1250
1315
|
*
|
|
@@ -1517,6 +1582,11 @@ declare module 'buffer' {
|
|
|
1517
1582
|
* @return `offset` plus the number of bytes written.
|
|
1518
1583
|
*/
|
|
1519
1584
|
writeUInt8(value: number, offset?: number): number;
|
|
1585
|
+
/**
|
|
1586
|
+
* @alias Buffer.writeUInt8
|
|
1587
|
+
* @since v14.9.0, v12.19.0
|
|
1588
|
+
*/
|
|
1589
|
+
writeUint8(value: number, offset?: number): number;
|
|
1520
1590
|
/**
|
|
1521
1591
|
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid unsigned 16-bit integer. Behavior is undefined when `value` is
|
|
1522
1592
|
* anything other than an unsigned 16-bit integer.
|
|
@@ -1540,6 +1610,11 @@ declare module 'buffer' {
|
|
|
1540
1610
|
* @return `offset` plus the number of bytes written.
|
|
1541
1611
|
*/
|
|
1542
1612
|
writeUInt16LE(value: number, offset?: number): number;
|
|
1613
|
+
/**
|
|
1614
|
+
* @alias Buffer.writeUInt16LE
|
|
1615
|
+
* @since v14.9.0, v12.19.0
|
|
1616
|
+
*/
|
|
1617
|
+
writeUint16LE(value: number, offset?: number): number;
|
|
1543
1618
|
/**
|
|
1544
1619
|
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid unsigned 16-bit integer. Behavior is undefined when `value`is anything other than an
|
|
1545
1620
|
* unsigned 16-bit integer.
|
|
@@ -1563,6 +1638,11 @@ declare module 'buffer' {
|
|
|
1563
1638
|
* @return `offset` plus the number of bytes written.
|
|
1564
1639
|
*/
|
|
1565
1640
|
writeUInt16BE(value: number, offset?: number): number;
|
|
1641
|
+
/**
|
|
1642
|
+
* @alias Buffer.writeUInt16BE
|
|
1643
|
+
* @since v14.9.0, v12.19.0
|
|
1644
|
+
*/
|
|
1645
|
+
writeUint16BE(value: number, offset?: number): number;
|
|
1566
1646
|
/**
|
|
1567
1647
|
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid unsigned 32-bit integer. Behavior is undefined when `value` is
|
|
1568
1648
|
* anything other than an unsigned 32-bit integer.
|
|
@@ -1585,6 +1665,11 @@ declare module 'buffer' {
|
|
|
1585
1665
|
* @return `offset` plus the number of bytes written.
|
|
1586
1666
|
*/
|
|
1587
1667
|
writeUInt32LE(value: number, offset?: number): number;
|
|
1668
|
+
/**
|
|
1669
|
+
* @alias Buffer.writeUInt32LE
|
|
1670
|
+
* @since v14.9.0, v12.19.0
|
|
1671
|
+
*/
|
|
1672
|
+
writeUint32LE(value: number, offset?: number): number;
|
|
1588
1673
|
/**
|
|
1589
1674
|
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid unsigned 32-bit integer. Behavior is undefined when `value`is anything other than an
|
|
1590
1675
|
* unsigned 32-bit integer.
|
|
@@ -1607,6 +1692,11 @@ declare module 'buffer' {
|
|
|
1607
1692
|
* @return `offset` plus the number of bytes written.
|
|
1608
1693
|
*/
|
|
1609
1694
|
writeUInt32BE(value: number, offset?: number): number;
|
|
1695
|
+
/**
|
|
1696
|
+
* @alias Buffer.writeUInt32BE
|
|
1697
|
+
* @since v14.9.0, v12.19.0
|
|
1698
|
+
*/
|
|
1699
|
+
writeUint32BE(value: number, offset?: number): number;
|
|
1610
1700
|
/**
|
|
1611
1701
|
* Writes `value` to `buf` at the specified `offset`. `value` must be a valid
|
|
1612
1702
|
* signed 8-bit integer. Behavior is undefined when `value` is anything other than
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.21",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -215,6 +215,6 @@
|
|
|
215
215
|
},
|
|
216
216
|
"scripts": {},
|
|
217
217
|
"dependencies": {},
|
|
218
|
-
"typesPublisherContentHash": "
|
|
218
|
+
"typesPublisherContentHash": "6e1f9bf207ef50d030685f014289b031aec80ada5d2510b91e8936256f960cde",
|
|
219
219
|
"typeScriptVersion": "3.8"
|
|
220
220
|
}
|
|
@@ -1405,7 +1405,7 @@ declare module 'process' {
|
|
|
1405
1405
|
emit(event: 'unhandledRejection', reason: unknown, promise: Promise<unknown>): boolean;
|
|
1406
1406
|
emit(event: 'warning', warning: Error): boolean;
|
|
1407
1407
|
emit(event: 'message', message: unknown, sendHandle: unknown): this;
|
|
1408
|
-
emit(event: Signals, signal
|
|
1408
|
+
emit(event: Signals, signal?: Signals): boolean;
|
|
1409
1409
|
emit(event: 'multipleResolves', type: MultipleResolveType, promise: Promise<unknown>, value: unknown): this;
|
|
1410
1410
|
emit(event: 'worker', listener: WorkerListener): this;
|
|
1411
1411
|
on(event: 'beforeExit', listener: BeforeExitListener): this;
|
|
@@ -139,7 +139,8 @@ declare module 'stream/web' {
|
|
|
139
139
|
pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;
|
|
140
140
|
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
|
|
141
141
|
tee(): [ReadableStream<R>, ReadableStream<R>];
|
|
142
|
-
|
|
142
|
+
values(options?: { preventCancel?: boolean }): AsyncIterableIterator<R>;
|
|
143
|
+
[Symbol.asyncIterator](): AsyncIterableIterator<R>;
|
|
143
144
|
}
|
|
144
145
|
const ReadableStream: {
|
|
145
146
|
prototype: ReadableStream;
|
|
@@ -869,17 +869,21 @@ declare module 'url' {
|
|
|
869
869
|
* https://nodejs.org/api/url.html#the-whatwg-url-api
|
|
870
870
|
* @since v10.0.0
|
|
871
871
|
*/
|
|
872
|
-
var URL:
|
|
872
|
+
var URL:
|
|
873
|
+
// For compatibility with "dom" and "webworker" URL declarations
|
|
874
|
+
typeof globalThis extends { onmessage: any, URL: infer URL }
|
|
875
|
+
? URL
|
|
876
|
+
: typeof _URL;
|
|
873
877
|
/**
|
|
874
878
|
* `URLSearchParams` class is a global reference for `require('url').URLSearchParams`
|
|
875
879
|
* https://nodejs.org/api/url.html#class-urlsearchparams
|
|
876
880
|
* @since v10.0.0
|
|
877
881
|
*/
|
|
878
|
-
var URLSearchParams:
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
882
|
+
var URLSearchParams:
|
|
883
|
+
// For compatibility with "dom" and "webworker" URLSearchParams declarations
|
|
884
|
+
typeof globalThis extends { onmessage: any, URLSearchParams: infer URLSearchParams }
|
|
885
|
+
? URLSearchParams
|
|
886
|
+
: typeof _URLSearchParams;
|
|
883
887
|
}
|
|
884
888
|
}
|
|
885
889
|
declare module 'node:url' {
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 23 Feb 2022 16:31:42 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
|
@@ -390,7 +390,7 @@ declare module 'buffer' {
|
|
|
390
390
|
* @since v0.11.13
|
|
391
391
|
* @return Either `-1`, `0`, or `1`, depending on the result of the comparison. See `compare` for details.
|
|
392
392
|
*/
|
|
393
|
-
compare(buf1: Uint8Array, buf2: Uint8Array):
|
|
393
|
+
compare(buf1: Uint8Array, buf2: Uint8Array): -1 | 0 | 1;
|
|
394
394
|
/**
|
|
395
395
|
* Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the`Buffer` will be zero-filled.
|
|
396
396
|
*
|
|
@@ -704,7 +704,7 @@ declare module 'buffer' {
|
|
|
704
704
|
* @param [sourceStart=0] The offset within `buf` at which to begin comparison.
|
|
705
705
|
* @param [sourceEnd=buf.length] The offset within `buf` at which to end comparison (not inclusive).
|
|
706
706
|
*/
|
|
707
|
-
compare(target: Uint8Array, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number):
|
|
707
|
+
compare(target: Uint8Array, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): -1 | 0 | 1;
|
|
708
708
|
/**
|
|
709
709
|
* Copies data from a region of `buf` to a region in `target`, even if the `target`memory region overlaps with `buf`.
|
|
710
710
|
*
|
|
@@ -909,6 +909,11 @@ declare module 'buffer' {
|
|
|
909
909
|
* @return `offset` plus the number of bytes written.
|
|
910
910
|
*/
|
|
911
911
|
writeBigUInt64BE(value: bigint, offset?: number): number;
|
|
912
|
+
/**
|
|
913
|
+
* @alias Buffer.writeBigUInt64BE
|
|
914
|
+
* @since v14.10.0, v12.19.0
|
|
915
|
+
*/
|
|
916
|
+
writeBigUint64BE(value: bigint, offset?: number): number;
|
|
912
917
|
/**
|
|
913
918
|
* Writes `value` to `buf` at the specified `offset` as little-endian
|
|
914
919
|
*
|
|
@@ -930,6 +935,11 @@ declare module 'buffer' {
|
|
|
930
935
|
* @return `offset` plus the number of bytes written.
|
|
931
936
|
*/
|
|
932
937
|
writeBigUInt64LE(value: bigint, offset?: number): number;
|
|
938
|
+
/**
|
|
939
|
+
* @alias Buffer.writeBigUInt64LE
|
|
940
|
+
* @since v14.10.0, v12.19.0
|
|
941
|
+
*/
|
|
942
|
+
writeBigUint64LE(value: bigint, offset?: number): number;
|
|
933
943
|
/**
|
|
934
944
|
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined
|
|
935
945
|
* when `value` is anything other than an unsigned integer.
|
|
@@ -953,6 +963,11 @@ declare module 'buffer' {
|
|
|
953
963
|
* @return `offset` plus the number of bytes written.
|
|
954
964
|
*/
|
|
955
965
|
writeUIntLE(value: number, offset: number, byteLength: number): number;
|
|
966
|
+
/**
|
|
967
|
+
* @alias Buffer.writeUIntLE
|
|
968
|
+
* @since v14.9.0, v12.19.0
|
|
969
|
+
*/
|
|
970
|
+
writeUintLE(value: number, offset: number, byteLength: number): number;
|
|
956
971
|
/**
|
|
957
972
|
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined
|
|
958
973
|
* when `value` is anything other than an unsigned integer.
|
|
@@ -976,6 +991,11 @@ declare module 'buffer' {
|
|
|
976
991
|
* @return `offset` plus the number of bytes written.
|
|
977
992
|
*/
|
|
978
993
|
writeUIntBE(value: number, offset: number, byteLength: number): number;
|
|
994
|
+
/**
|
|
995
|
+
* @alias Buffer.writeUIntBE
|
|
996
|
+
* @since v14.9.0, v12.19.0
|
|
997
|
+
*/
|
|
998
|
+
writeUintBE(value: number, offset: number, byteLength: number): number;
|
|
979
999
|
/**
|
|
980
1000
|
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined
|
|
981
1001
|
* when `value` is anything other than a signed integer.
|
|
@@ -1035,6 +1055,11 @@ declare module 'buffer' {
|
|
|
1035
1055
|
* @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`.
|
|
1036
1056
|
*/
|
|
1037
1057
|
readBigUInt64BE(offset?: number): bigint;
|
|
1058
|
+
/**
|
|
1059
|
+
* @alias Buffer.readBigUInt64BE
|
|
1060
|
+
* @since v14.10.0, v12.19.0
|
|
1061
|
+
*/
|
|
1062
|
+
readBigUint64BE(offset?: number): bigint;
|
|
1038
1063
|
/**
|
|
1039
1064
|
* Reads an unsigned, little-endian 64-bit integer from `buf` at the specified`offset`.
|
|
1040
1065
|
*
|
|
@@ -1052,6 +1077,11 @@ declare module 'buffer' {
|
|
|
1052
1077
|
* @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`.
|
|
1053
1078
|
*/
|
|
1054
1079
|
readBigUInt64LE(offset?: number): bigint;
|
|
1080
|
+
/**
|
|
1081
|
+
* @alias Buffer.readBigUInt64LE
|
|
1082
|
+
* @since v14.10.0, v12.19.0
|
|
1083
|
+
*/
|
|
1084
|
+
readBigUint64LE(offset?: number): bigint;
|
|
1055
1085
|
/**
|
|
1056
1086
|
* Reads a signed, big-endian 64-bit integer from `buf` at the specified `offset`.
|
|
1057
1087
|
*
|
|
@@ -1089,6 +1119,11 @@ declare module 'buffer' {
|
|
|
1089
1119
|
* @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`.
|
|
1090
1120
|
*/
|
|
1091
1121
|
readUIntLE(offset: number, byteLength: number): number;
|
|
1122
|
+
/**
|
|
1123
|
+
* @alias Buffer.readUIntLE
|
|
1124
|
+
* @since v14.9.0, v12.19.0
|
|
1125
|
+
*/
|
|
1126
|
+
readUintLE(offset: number, byteLength: number): number;
|
|
1092
1127
|
/**
|
|
1093
1128
|
* Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as an unsigned big-endian integer supporting
|
|
1094
1129
|
* up to 48 bits of accuracy.
|
|
@@ -1110,6 +1145,11 @@ declare module 'buffer' {
|
|
|
1110
1145
|
* @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`.
|
|
1111
1146
|
*/
|
|
1112
1147
|
readUIntBE(offset: number, byteLength: number): number;
|
|
1148
|
+
/**
|
|
1149
|
+
* @alias Buffer.readUIntBE
|
|
1150
|
+
* @since v14.9.0, v12.19.0
|
|
1151
|
+
*/
|
|
1152
|
+
readUintBE(offset: number, byteLength: number): number;
|
|
1113
1153
|
/**
|
|
1114
1154
|
* Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as a little-endian, two's complement signed value
|
|
1115
1155
|
* supporting up to 48 bits of accuracy.
|
|
@@ -1169,6 +1209,11 @@ declare module 'buffer' {
|
|
|
1169
1209
|
* @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 1`.
|
|
1170
1210
|
*/
|
|
1171
1211
|
readUInt8(offset?: number): number;
|
|
1212
|
+
/**
|
|
1213
|
+
* @alias Buffer.readUInt8
|
|
1214
|
+
* @since v14.9.0, v12.19.0
|
|
1215
|
+
*/
|
|
1216
|
+
readUint8(offset?: number): number;
|
|
1172
1217
|
/**
|
|
1173
1218
|
* Reads an unsigned, little-endian 16-bit integer from `buf` at the specified`offset`.
|
|
1174
1219
|
*
|
|
@@ -1190,6 +1235,11 @@ declare module 'buffer' {
|
|
|
1190
1235
|
* @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`.
|
|
1191
1236
|
*/
|
|
1192
1237
|
readUInt16LE(offset?: number): number;
|
|
1238
|
+
/**
|
|
1239
|
+
* @alias Buffer.readUInt16LE
|
|
1240
|
+
* @since v14.9.0, v12.19.0
|
|
1241
|
+
*/
|
|
1242
|
+
readUint16LE(offset?: number): number;
|
|
1193
1243
|
/**
|
|
1194
1244
|
* Reads an unsigned, big-endian 16-bit integer from `buf` at the specified`offset`.
|
|
1195
1245
|
*
|
|
@@ -1209,6 +1259,11 @@ declare module 'buffer' {
|
|
|
1209
1259
|
* @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`.
|
|
1210
1260
|
*/
|
|
1211
1261
|
readUInt16BE(offset?: number): number;
|
|
1262
|
+
/**
|
|
1263
|
+
* @alias Buffer.readUInt16BE
|
|
1264
|
+
* @since v14.9.0, v12.19.0
|
|
1265
|
+
*/
|
|
1266
|
+
readUint16BE(offset?: number): number;
|
|
1212
1267
|
/**
|
|
1213
1268
|
* Reads an unsigned, little-endian 32-bit integer from `buf` at the specified`offset`.
|
|
1214
1269
|
*
|
|
@@ -1228,6 +1283,11 @@ declare module 'buffer' {
|
|
|
1228
1283
|
* @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`.
|
|
1229
1284
|
*/
|
|
1230
1285
|
readUInt32LE(offset?: number): number;
|
|
1286
|
+
/**
|
|
1287
|
+
* @alias Buffer.readUInt32LE
|
|
1288
|
+
* @since v14.9.0, v12.19.0
|
|
1289
|
+
*/
|
|
1290
|
+
readUint32LE(offset?: number): number;
|
|
1231
1291
|
/**
|
|
1232
1292
|
* Reads an unsigned, big-endian 32-bit integer from `buf` at the specified`offset`.
|
|
1233
1293
|
*
|
|
@@ -1245,6 +1305,11 @@ declare module 'buffer' {
|
|
|
1245
1305
|
* @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`.
|
|
1246
1306
|
*/
|
|
1247
1307
|
readUInt32BE(offset?: number): number;
|
|
1308
|
+
/**
|
|
1309
|
+
* @alias Buffer.readUInt32BE
|
|
1310
|
+
* @since v14.9.0, v12.19.0
|
|
1311
|
+
*/
|
|
1312
|
+
readUint32BE(offset?: number): number;
|
|
1248
1313
|
/**
|
|
1249
1314
|
* Reads a signed 8-bit integer from `buf` at the specified `offset`.
|
|
1250
1315
|
*
|
|
@@ -1517,6 +1582,11 @@ declare module 'buffer' {
|
|
|
1517
1582
|
* @return `offset` plus the number of bytes written.
|
|
1518
1583
|
*/
|
|
1519
1584
|
writeUInt8(value: number, offset?: number): number;
|
|
1585
|
+
/**
|
|
1586
|
+
* @alias Buffer.writeUInt8
|
|
1587
|
+
* @since v14.9.0, v12.19.0
|
|
1588
|
+
*/
|
|
1589
|
+
writeUint8(value: number, offset?: number): number;
|
|
1520
1590
|
/**
|
|
1521
1591
|
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid unsigned 16-bit integer. Behavior is undefined when `value` is
|
|
1522
1592
|
* anything other than an unsigned 16-bit integer.
|
|
@@ -1540,6 +1610,11 @@ declare module 'buffer' {
|
|
|
1540
1610
|
* @return `offset` plus the number of bytes written.
|
|
1541
1611
|
*/
|
|
1542
1612
|
writeUInt16LE(value: number, offset?: number): number;
|
|
1613
|
+
/**
|
|
1614
|
+
* @alias Buffer.writeUInt16LE
|
|
1615
|
+
* @since v14.9.0, v12.19.0
|
|
1616
|
+
*/
|
|
1617
|
+
writeUint16LE(value: number, offset?: number): number;
|
|
1543
1618
|
/**
|
|
1544
1619
|
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid unsigned 16-bit integer. Behavior is undefined when `value`is anything other than an
|
|
1545
1620
|
* unsigned 16-bit integer.
|
|
@@ -1563,6 +1638,11 @@ declare module 'buffer' {
|
|
|
1563
1638
|
* @return `offset` plus the number of bytes written.
|
|
1564
1639
|
*/
|
|
1565
1640
|
writeUInt16BE(value: number, offset?: number): number;
|
|
1641
|
+
/**
|
|
1642
|
+
* @alias Buffer.writeUInt16BE
|
|
1643
|
+
* @since v14.9.0, v12.19.0
|
|
1644
|
+
*/
|
|
1645
|
+
writeUint16BE(value: number, offset?: number): number;
|
|
1566
1646
|
/**
|
|
1567
1647
|
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid unsigned 32-bit integer. Behavior is undefined when `value` is
|
|
1568
1648
|
* anything other than an unsigned 32-bit integer.
|
|
@@ -1585,6 +1665,11 @@ declare module 'buffer' {
|
|
|
1585
1665
|
* @return `offset` plus the number of bytes written.
|
|
1586
1666
|
*/
|
|
1587
1667
|
writeUInt32LE(value: number, offset?: number): number;
|
|
1668
|
+
/**
|
|
1669
|
+
* @alias Buffer.writeUInt32LE
|
|
1670
|
+
* @since v14.9.0, v12.19.0
|
|
1671
|
+
*/
|
|
1672
|
+
writeUint32LE(value: number, offset?: number): number;
|
|
1588
1673
|
/**
|
|
1589
1674
|
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid unsigned 32-bit integer. Behavior is undefined when `value`is anything other than an
|
|
1590
1675
|
* unsigned 32-bit integer.
|
|
@@ -1607,6 +1692,11 @@ declare module 'buffer' {
|
|
|
1607
1692
|
* @return `offset` plus the number of bytes written.
|
|
1608
1693
|
*/
|
|
1609
1694
|
writeUInt32BE(value: number, offset?: number): number;
|
|
1695
|
+
/**
|
|
1696
|
+
* @alias Buffer.writeUInt32BE
|
|
1697
|
+
* @since v14.9.0, v12.19.0
|
|
1698
|
+
*/
|
|
1699
|
+
writeUint32BE(value: number, offset?: number): number;
|
|
1610
1700
|
/**
|
|
1611
1701
|
* Writes `value` to `buf` at the specified `offset`. `value` must be a valid
|
|
1612
1702
|
* signed 8-bit integer. Behavior is undefined when `value` is anything other than
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.21",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -215,6 +215,6 @@
|
|
|
215
215
|
},
|
|
216
216
|
"scripts": {},
|
|
217
217
|
"dependencies": {},
|
|
218
|
-
"typesPublisherContentHash": "
|
|
218
|
+
"typesPublisherContentHash": "6e1f9bf207ef50d030685f014289b031aec80ada5d2510b91e8936256f960cde",
|
|
219
219
|
"typeScriptVersion": "3.8"
|
|
220
220
|
}
|
|
@@ -1405,7 +1405,7 @@ declare module 'process' {
|
|
|
1405
1405
|
emit(event: 'unhandledRejection', reason: unknown, promise: Promise<unknown>): boolean;
|
|
1406
1406
|
emit(event: 'warning', warning: Error): boolean;
|
|
1407
1407
|
emit(event: 'message', message: unknown, sendHandle: unknown): this;
|
|
1408
|
-
emit(event: Signals, signal
|
|
1408
|
+
emit(event: Signals, signal?: Signals): boolean;
|
|
1409
1409
|
emit(event: 'multipleResolves', type: MultipleResolveType, promise: Promise<unknown>, value: unknown): this;
|
|
1410
1410
|
emit(event: 'worker', listener: WorkerListener): this;
|
|
1411
1411
|
on(event: 'beforeExit', listener: BeforeExitListener): this;
|
|
@@ -139,7 +139,8 @@ declare module 'stream/web' {
|
|
|
139
139
|
pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;
|
|
140
140
|
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
|
|
141
141
|
tee(): [ReadableStream<R>, ReadableStream<R>];
|
|
142
|
-
|
|
142
|
+
values(options?: { preventCancel?: boolean }): AsyncIterableIterator<R>;
|
|
143
|
+
[Symbol.asyncIterator](): AsyncIterableIterator<R>;
|
|
143
144
|
}
|
|
144
145
|
const ReadableStream: {
|
|
145
146
|
prototype: ReadableStream;
|
|
@@ -869,17 +869,21 @@ declare module 'url' {
|
|
|
869
869
|
* https://nodejs.org/api/url.html#the-whatwg-url-api
|
|
870
870
|
* @since v10.0.0
|
|
871
871
|
*/
|
|
872
|
-
var URL:
|
|
872
|
+
var URL:
|
|
873
|
+
// For compatibility with "dom" and "webworker" URL declarations
|
|
874
|
+
typeof globalThis extends { onmessage: any, URL: infer URL }
|
|
875
|
+
? URL
|
|
876
|
+
: typeof _URL;
|
|
873
877
|
/**
|
|
874
878
|
* `URLSearchParams` class is a global reference for `require('url').URLSearchParams`
|
|
875
879
|
* https://nodejs.org/api/url.html#class-urlsearchparams
|
|
876
880
|
* @since v10.0.0
|
|
877
881
|
*/
|
|
878
|
-
var URLSearchParams:
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
882
|
+
var URLSearchParams:
|
|
883
|
+
// For compatibility with "dom" and "webworker" URLSearchParams declarations
|
|
884
|
+
typeof globalThis extends { onmessage: any, URLSearchParams: infer URLSearchParams }
|
|
885
|
+
? URLSearchParams
|
|
886
|
+
: typeof _URLSearchParams;
|
|
883
887
|
}
|
|
884
888
|
}
|
|
885
889
|
declare module 'node:url' {
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 23 Feb 2022 16:31:42 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|