cloudstructs 0.9.34 → 0.9.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/.jsii +2 -2
- package/lib/codecommit-mirror/index.js +2 -2
- package/lib/dmarc/index.js +1 -1
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/mjml-template/index.js +1 -1
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/ssl-server-test/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +8 -2
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +27 -1
- package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +56 -2
- package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +47 -0
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +33 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +27 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +56 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +47 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +33 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +27 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +56 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +47 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +33 -0
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +27 -1
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +56 -2
- package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +47 -0
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +33 -0
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +27 -1
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +56 -2
- package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +47 -0
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +33 -0
- package/package.json +13 -13
|
@@ -289,6 +289,15 @@ declare module "dns" {
|
|
|
289
289
|
export interface AnySrvRecord extends SrvRecord {
|
|
290
290
|
type: "SRV";
|
|
291
291
|
}
|
|
292
|
+
export interface TlsaRecord {
|
|
293
|
+
certUsage: number;
|
|
294
|
+
selector: number;
|
|
295
|
+
match: number;
|
|
296
|
+
data: ArrayBuffer;
|
|
297
|
+
}
|
|
298
|
+
export interface AnyTlsaRecord extends TlsaRecord {
|
|
299
|
+
type: "TLSA";
|
|
300
|
+
}
|
|
292
301
|
export interface AnyTxtRecord {
|
|
293
302
|
type: "TXT";
|
|
294
303
|
entries: string[];
|
|
@@ -315,6 +324,7 @@ declare module "dns" {
|
|
|
315
324
|
| AnyPtrRecord
|
|
316
325
|
| AnySoaRecord
|
|
317
326
|
| AnySrvRecord
|
|
327
|
+
| AnyTlsaRecord
|
|
318
328
|
| AnyTxtRecord;
|
|
319
329
|
/**
|
|
320
330
|
* Uses the DNS protocol to resolve a host name (e.g. `'nodejs.org'`) into an array
|
|
@@ -383,6 +393,11 @@ declare module "dns" {
|
|
|
383
393
|
rrtype: "SRV",
|
|
384
394
|
callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void,
|
|
385
395
|
): void;
|
|
396
|
+
export function resolve(
|
|
397
|
+
hostname: string,
|
|
398
|
+
rrtype: "TLSA",
|
|
399
|
+
callback: (err: NodeJS.ErrnoException | null, addresses: TlsaRecord[]) => void,
|
|
400
|
+
): void;
|
|
386
401
|
export function resolve(
|
|
387
402
|
hostname: string,
|
|
388
403
|
rrtype: "TXT",
|
|
@@ -393,7 +408,15 @@ declare module "dns" {
|
|
|
393
408
|
rrtype: string,
|
|
394
409
|
callback: (
|
|
395
410
|
err: NodeJS.ErrnoException | null,
|
|
396
|
-
addresses:
|
|
411
|
+
addresses:
|
|
412
|
+
| string[]
|
|
413
|
+
| MxRecord[]
|
|
414
|
+
| NaptrRecord[]
|
|
415
|
+
| SoaRecord
|
|
416
|
+
| SrvRecord[]
|
|
417
|
+
| TlsaRecord[]
|
|
418
|
+
| string[][]
|
|
419
|
+
| AnyRecord[],
|
|
397
420
|
) => void,
|
|
398
421
|
): void;
|
|
399
422
|
export namespace resolve {
|
|
@@ -403,11 +426,14 @@ declare module "dns" {
|
|
|
403
426
|
function __promisify__(hostname: string, rrtype: "NAPTR"): Promise<NaptrRecord[]>;
|
|
404
427
|
function __promisify__(hostname: string, rrtype: "SOA"): Promise<SoaRecord>;
|
|
405
428
|
function __promisify__(hostname: string, rrtype: "SRV"): Promise<SrvRecord[]>;
|
|
429
|
+
function __promisify__(hostname: string, rrtype: "TLSA"): Promise<TlsaRecord[]>;
|
|
406
430
|
function __promisify__(hostname: string, rrtype: "TXT"): Promise<string[][]>;
|
|
407
431
|
function __promisify__(
|
|
408
432
|
hostname: string,
|
|
409
433
|
rrtype: string,
|
|
410
|
-
): Promise<
|
|
434
|
+
): Promise<
|
|
435
|
+
string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | TlsaRecord[] | string[][] | AnyRecord[]
|
|
436
|
+
>;
|
|
411
437
|
}
|
|
412
438
|
/**
|
|
413
439
|
* Uses the DNS protocol to resolve a IPv4 addresses (`A` records) for the `hostname`. The `addresses` argument passed to the `callback` function
|
|
@@ -609,6 +635,33 @@ declare module "dns" {
|
|
|
609
635
|
export namespace resolveSrv {
|
|
610
636
|
function __promisify__(hostname: string): Promise<SrvRecord[]>;
|
|
611
637
|
}
|
|
638
|
+
/**
|
|
639
|
+
* Uses the DNS protocol to resolve certificate associations (`TLSA` records) for
|
|
640
|
+
* the `hostname`. The `records` argument passed to the `callback` function is an
|
|
641
|
+
* array of objects with these properties:
|
|
642
|
+
*
|
|
643
|
+
* * `certUsage`
|
|
644
|
+
* * `selector`
|
|
645
|
+
* * `match`
|
|
646
|
+
* * `data`
|
|
647
|
+
*
|
|
648
|
+
* ```js
|
|
649
|
+
* {
|
|
650
|
+
* certUsage: 3,
|
|
651
|
+
* selector: 1,
|
|
652
|
+
* match: 1,
|
|
653
|
+
* data: [ArrayBuffer]
|
|
654
|
+
* }
|
|
655
|
+
* ```
|
|
656
|
+
* @since v23.9.0, v22.15.0
|
|
657
|
+
*/
|
|
658
|
+
export function resolveTlsa(
|
|
659
|
+
hostname: string,
|
|
660
|
+
callback: (err: NodeJS.ErrnoException | null, addresses: TlsaRecord[]) => void,
|
|
661
|
+
): void;
|
|
662
|
+
export namespace resolveTlsa {
|
|
663
|
+
function __promisify__(hostname: string): Promise<TlsaRecord[]>;
|
|
664
|
+
}
|
|
612
665
|
/**
|
|
613
666
|
* Uses the DNS protocol to resolve text queries (`TXT` records) for the `hostname`. The `records` argument passed to the `callback` function is a
|
|
614
667
|
* two-dimensional array of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of
|
|
@@ -838,6 +891,7 @@ declare module "dns" {
|
|
|
838
891
|
resolvePtr: typeof resolvePtr;
|
|
839
892
|
resolveSoa: typeof resolveSoa;
|
|
840
893
|
resolveSrv: typeof resolveSrv;
|
|
894
|
+
resolveTlsa: typeof resolveTlsa;
|
|
841
895
|
resolveTxt: typeof resolveTxt;
|
|
842
896
|
reverse: typeof reverse;
|
|
843
897
|
/**
|
|
@@ -485,6 +485,26 @@ declare module "module" {
|
|
|
485
485
|
context?: Partial<LoadHookContext>,
|
|
486
486
|
) => LoadFnOutput,
|
|
487
487
|
) => LoadFnOutput;
|
|
488
|
+
interface SourceMapsSupport {
|
|
489
|
+
/**
|
|
490
|
+
* If the source maps support is enabled
|
|
491
|
+
*/
|
|
492
|
+
enabled: boolean;
|
|
493
|
+
/**
|
|
494
|
+
* If the support is enabled for files in `node_modules`.
|
|
495
|
+
*/
|
|
496
|
+
nodeModules: boolean;
|
|
497
|
+
/**
|
|
498
|
+
* If the support is enabled for generated code from `eval` or `new Function`.
|
|
499
|
+
*/
|
|
500
|
+
generatedCode: boolean;
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
503
|
+
* This method returns whether the [Source Map v3](https://tc39.es/ecma426/) support for stack
|
|
504
|
+
* traces is enabled.
|
|
505
|
+
* @since v23.7.0, v22.14.0
|
|
506
|
+
*/
|
|
507
|
+
function getSourceMapsSupport(): SourceMapsSupport;
|
|
488
508
|
/**
|
|
489
509
|
* `path` is the resolved path for the file for which a corresponding source map
|
|
490
510
|
* should be fetched.
|
|
@@ -492,6 +512,33 @@ declare module "module" {
|
|
|
492
512
|
* @return Returns `module.SourceMap` if a source map is found, `undefined` otherwise.
|
|
493
513
|
*/
|
|
494
514
|
function findSourceMap(path: string): SourceMap | undefined;
|
|
515
|
+
interface SetSourceMapsSupportOptions {
|
|
516
|
+
/**
|
|
517
|
+
* If enabling the support for files in `node_modules`.
|
|
518
|
+
* @default false
|
|
519
|
+
*/
|
|
520
|
+
nodeModules?: boolean | undefined;
|
|
521
|
+
/**
|
|
522
|
+
* If enabling the support for generated code from `eval` or `new Function`.
|
|
523
|
+
* @default false
|
|
524
|
+
*/
|
|
525
|
+
generatedCode?: boolean | undefined;
|
|
526
|
+
}
|
|
527
|
+
/**
|
|
528
|
+
* This function enables or disables the [Source Map v3](https://tc39.es/ecma426/) support for
|
|
529
|
+
* stack traces.
|
|
530
|
+
*
|
|
531
|
+
* It provides same features as launching Node.js process with commandline options
|
|
532
|
+
* `--enable-source-maps`, with additional options to alter the support for files
|
|
533
|
+
* in `node_modules` or generated codes.
|
|
534
|
+
*
|
|
535
|
+
* Only source maps in JavaScript files that are loaded after source maps has been
|
|
536
|
+
* enabled will be parsed and loaded. Preferably, use the commandline options
|
|
537
|
+
* `--enable-source-maps` to avoid losing track of source maps of modules loaded
|
|
538
|
+
* before this API call.
|
|
539
|
+
* @since v23.7.0, v22.14.0
|
|
540
|
+
*/
|
|
541
|
+
function setSourceMapsSupport(enabled: boolean, options?: SetSourceMapsSupportOptions): void;
|
|
495
542
|
interface SourceMapConstructorOptions {
|
|
496
543
|
/**
|
|
497
544
|
* @since v21.0.0, v20.5.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "24.0.
|
|
3
|
+
"version": "24.0.4",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -230,6 +230,6 @@
|
|
|
230
230
|
"undici-types": "~7.8.0"
|
|
231
231
|
},
|
|
232
232
|
"peerDependencies": {},
|
|
233
|
-
"typesPublisherContentHash": "
|
|
233
|
+
"typesPublisherContentHash": "f9e3c8097c627227b80629b4332d37093a1127e7391935d57c7005db57159523",
|
|
234
234
|
"typeScriptVersion": "5.1"
|
|
235
235
|
}
|
|
@@ -400,6 +400,39 @@ declare module "v8" {
|
|
|
400
400
|
* @since v12.8.0
|
|
401
401
|
*/
|
|
402
402
|
function getHeapCodeStatistics(): HeapCodeStatistics;
|
|
403
|
+
/**
|
|
404
|
+
* V8 only supports `Latin-1/ISO-8859-1` and `UTF16` as the underlying representation of a string.
|
|
405
|
+
* If the `content` uses `Latin-1/ISO-8859-1` as the underlying representation, this function will return true;
|
|
406
|
+
* otherwise, it returns false.
|
|
407
|
+
*
|
|
408
|
+
* If this method returns false, that does not mean that the string contains some characters not in `Latin-1/ISO-8859-1`.
|
|
409
|
+
* Sometimes a `Latin-1` string may also be represented as `UTF16`.
|
|
410
|
+
*
|
|
411
|
+
* ```js
|
|
412
|
+
* const { isStringOneByteRepresentation } = require('node:v8');
|
|
413
|
+
*
|
|
414
|
+
* const Encoding = {
|
|
415
|
+
* latin1: 1,
|
|
416
|
+
* utf16le: 2,
|
|
417
|
+
* };
|
|
418
|
+
* const buffer = Buffer.alloc(100);
|
|
419
|
+
* function writeString(input) {
|
|
420
|
+
* if (isStringOneByteRepresentation(input)) {
|
|
421
|
+
* buffer.writeUint8(Encoding.latin1);
|
|
422
|
+
* buffer.writeUint32LE(input.length, 1);
|
|
423
|
+
* buffer.write(input, 5, 'latin1');
|
|
424
|
+
* } else {
|
|
425
|
+
* buffer.writeUint8(Encoding.utf16le);
|
|
426
|
+
* buffer.writeUint32LE(input.length * 2, 1);
|
|
427
|
+
* buffer.write(input, 5, 'utf16le');
|
|
428
|
+
* }
|
|
429
|
+
* }
|
|
430
|
+
* writeString('hello');
|
|
431
|
+
* writeString('你好');
|
|
432
|
+
* ```
|
|
433
|
+
* @since v23.10.0, v22.15.0
|
|
434
|
+
*/
|
|
435
|
+
function isStringOneByteRepresentation(content: string): boolean;
|
|
403
436
|
/**
|
|
404
437
|
* @since v8.0.0
|
|
405
438
|
*/
|
package/package.json
CHANGED
|
@@ -91,17 +91,17 @@
|
|
|
91
91
|
"organization": false
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
95
|
-
"@aws-sdk/client-dynamodb": "^3.
|
|
96
|
-
"@aws-sdk/client-ecr": "^3.
|
|
97
|
-
"@aws-sdk/client-ecs": "^3.
|
|
98
|
-
"@aws-sdk/client-eventbridge": "^3.
|
|
99
|
-
"@aws-sdk/client-iam": "^3.
|
|
100
|
-
"@aws-sdk/client-s3": "^3.
|
|
101
|
-
"@aws-sdk/client-secrets-manager": "^3.
|
|
102
|
-
"@aws-sdk/client-sfn": "^3.
|
|
103
|
-
"@aws-sdk/client-textract": "^3.
|
|
104
|
-
"@aws-sdk/lib-dynamodb": "^3.
|
|
94
|
+
"@aws-sdk/client-cloudformation": "^3.835.0",
|
|
95
|
+
"@aws-sdk/client-dynamodb": "^3.835.0",
|
|
96
|
+
"@aws-sdk/client-ecr": "^3.835.0",
|
|
97
|
+
"@aws-sdk/client-ecs": "^3.835.0",
|
|
98
|
+
"@aws-sdk/client-eventbridge": "^3.835.0",
|
|
99
|
+
"@aws-sdk/client-iam": "^3.835.0",
|
|
100
|
+
"@aws-sdk/client-s3": "^3.835.0",
|
|
101
|
+
"@aws-sdk/client-secrets-manager": "^3.835.0",
|
|
102
|
+
"@aws-sdk/client-sfn": "^3.835.0",
|
|
103
|
+
"@aws-sdk/client-textract": "^3.835.0",
|
|
104
|
+
"@aws-sdk/lib-dynamodb": "^3.835.0",
|
|
105
105
|
"@stylistic/eslint-plugin": "^2",
|
|
106
106
|
"@types/aws-lambda": "^8.10.150",
|
|
107
107
|
"@types/jest": "^29",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"jsii-pacmak": "^1.112.0",
|
|
129
129
|
"jsii-rosetta": "5.x",
|
|
130
130
|
"nock": "^13.5.6",
|
|
131
|
-
"projen": "^0.
|
|
131
|
+
"projen": "^0.94.0",
|
|
132
132
|
"ts-jest": "^29",
|
|
133
133
|
"ts-node": "^10.9.2",
|
|
134
134
|
"typescript": "^5.8.3"
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"publishConfig": {
|
|
156
156
|
"access": "public"
|
|
157
157
|
},
|
|
158
|
-
"version": "0.9.
|
|
158
|
+
"version": "0.9.36",
|
|
159
159
|
"jest": {
|
|
160
160
|
"coverageProvider": "v8",
|
|
161
161
|
"testMatch": [
|