cdk-common 2.0.221 → 2.0.224
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/lib/main.js +1 -1
- package/node_modules/@aws-cdk/assert/package.json +8 -8
- package/node_modules/@aws-cdk/cfnspec/package.json +3 -3
- package/node_modules/@aws-cdk/cfnspec/tsconfig.tsbuildinfo +5 -5
- package/node_modules/@aws-cdk/cloudformation-diff/package.json +5 -5
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/LICENSE +0 -0
- package/node_modules/@types/node/README.md +16 -0
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/assert.d.ts +35 -6
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/async_hooks.d.ts +96 -11
- package/node_modules/@types/node/buffer.d.ts +89 -0
- package/node_modules/@types/node/child_process.d.ts +514 -0
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/cluster.d.ts +43 -38
- package/node_modules/@types/node/console.d.ts +142 -0
- package/node_modules/@types/node/constants.d.ts +18 -0
- package/node_modules/@types/node/crypto.d.ts +1283 -0
- package/node_modules/@types/node/dgram.d.ts +144 -0
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/dns.d.ts +33 -12
- package/node_modules/@types/node/domain.d.ts +27 -0
- package/node_modules/@types/node/events.d.ts +82 -0
- package/node_modules/@types/node/fs/promises.d.ts +569 -0
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/fs.d.ts +736 -757
- package/node_modules/@types/node/globals.d.ts +746 -0
- package/node_modules/@types/node/globals.global.d.ts +1 -0
- package/node_modules/@types/node/http.d.ts +492 -0
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/http2.d.ts +289 -186
- package/node_modules/@types/node/https.d.ts +142 -0
- package/node_modules/@types/node/index.d.ts +98 -0
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/inspector.d.ts +1508 -1619
- package/node_modules/@types/node/module.d.ts +56 -0
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/net.d.ts +128 -71
- package/node_modules/@types/node/os.d.ts +242 -0
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/package.json +67 -23
- package/node_modules/@types/node/path.d.ts +168 -0
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/perf_hooks.d.ts +124 -19
- package/node_modules/@types/node/process.d.ts +413 -0
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/punycode.d.ts +11 -1
- package/node_modules/@types/node/querystring.d.ts +31 -0
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/readline.d.ts +55 -24
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/repl.d.ts +40 -22
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/stream.d.ts +103 -57
- package/node_modules/@types/node/string_decoder.d.ts +10 -0
- package/node_modules/@types/node/timers.d.ts +19 -0
- package/node_modules/@types/node/tls.d.ts +784 -0
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/trace_events.d.ts +7 -4
- package/node_modules/@types/node/tty.d.ts +69 -0
- package/node_modules/@types/node/url.d.ts +149 -0
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/util.d.ts +70 -41
- package/node_modules/@types/node/v8.d.ts +190 -0
- package/node_modules/@types/node/vm.d.ts +155 -0
- package/node_modules/@types/node/wasi.d.ts +89 -0
- package/node_modules/@types/node/worker_threads.d.ts +241 -0
- package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/zlib.d.ts +91 -54
- package/package.json +3 -3
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/README.md +0 -16
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/base.d.ts +0 -19
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/buffer.d.ts +0 -16
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/child_process.d.ts +0 -369
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/console.d.ts +0 -3
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/constants.d.ts +0 -449
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/crypto.d.ts +0 -613
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/dgram.d.ts +0 -97
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/domain.d.ts +0 -16
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/events.d.ts +0 -30
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/globals.d.ts +0 -1066
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/http.d.ts +0 -274
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/https.d.ts +0 -51
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/index.d.ts +0 -41
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/module.d.ts +0 -3
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/os.d.ts +0 -254
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/path.d.ts +0 -159
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/process.d.ts +0 -3
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/querystring.d.ts +0 -17
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/string_decoder.d.ts +0 -9
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/timers.d.ts +0 -16
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/tls.d.ts +0 -459
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/ts3.6/assert.d.ts +0 -73
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/ts3.6/base.d.ts +0 -54
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/ts3.6/index.d.ts +0 -6
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/tty.d.ts +0 -17
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/url.d.ts +0 -104
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/v8.d.ts +0 -28
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/vm.d.ts +0 -81
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/worker_threads.d.ts +0 -124
package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/ts3.6/assert.d.ts
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
declare module 'assert' {
|
|
2
|
-
function assert(value: any, message?: string | Error): void;
|
|
3
|
-
namespace assert {
|
|
4
|
-
class AssertionError implements Error {
|
|
5
|
-
name: string;
|
|
6
|
-
message: string;
|
|
7
|
-
actual: any;
|
|
8
|
-
expected: any;
|
|
9
|
-
operator: string;
|
|
10
|
-
generatedMessage: boolean;
|
|
11
|
-
code: 'ERR_ASSERTION';
|
|
12
|
-
|
|
13
|
-
constructor(options?: {
|
|
14
|
-
message?: string;
|
|
15
|
-
actual?: any;
|
|
16
|
-
expected?: any;
|
|
17
|
-
operator?: string;
|
|
18
|
-
// tslint:disable-next-line:ban-types
|
|
19
|
-
stackStartFn?: Function;
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
type AssertPredicate = RegExp | (new () => object) | ((thrown: any) => boolean) | object | Error;
|
|
24
|
-
|
|
25
|
-
function fail(message?: string | Error): never;
|
|
26
|
-
/** @deprecated since v10.0.0 - use fail([message]) or other assert functions instead. */
|
|
27
|
-
function fail(
|
|
28
|
-
actual: any,
|
|
29
|
-
expected: any,
|
|
30
|
-
message?: string | Error,
|
|
31
|
-
operator?: string,
|
|
32
|
-
// tslint:disable-next-line:ban-types
|
|
33
|
-
stackStartFn?: Function,
|
|
34
|
-
): never;
|
|
35
|
-
function ok(value: any, message?: string | Error): void;
|
|
36
|
-
/** @deprecated since v9.9.0 - use strictEqual() instead. */
|
|
37
|
-
function equal(actual: any, expected: any, message?: string | Error): void;
|
|
38
|
-
/** @deprecated since v9.9.0 - use notStrictEqual() instead. */
|
|
39
|
-
function notEqual(actual: any, expected: any, message?: string | Error): void;
|
|
40
|
-
/** @deprecated since v9.9.0 - use deepStrictEqual() instead. */
|
|
41
|
-
function deepEqual(actual: any, expected: any, message?: string | Error): void;
|
|
42
|
-
/** @deprecated since v9.9.0 - use notDeepStrictEqual() instead. */
|
|
43
|
-
function notDeepEqual(actual: any, expected: any, message?: string | Error): void;
|
|
44
|
-
function strictEqual(actual: any, expected: any, message?: string | Error): void;
|
|
45
|
-
function notStrictEqual(actual: any, expected: any, message?: string | Error): void;
|
|
46
|
-
function deepStrictEqual(actual: any, expected: any, message?: string | Error): void;
|
|
47
|
-
function notDeepStrictEqual(actual: any, expected: any, message?: string | Error): void;
|
|
48
|
-
|
|
49
|
-
function throws(block: () => any, message?: string | Error): void;
|
|
50
|
-
function throws(block: () => any, error: AssertPredicate, message?: string | Error): void;
|
|
51
|
-
function doesNotThrow(block: () => any, message?: string | Error): void;
|
|
52
|
-
function doesNotThrow(block: () => any, error: AssertPredicate, message?: string | Error): void;
|
|
53
|
-
|
|
54
|
-
function ifError(value: any): void;
|
|
55
|
-
|
|
56
|
-
function rejects(block: (() => Promise<any>) | Promise<any>, message?: string | Error): Promise<void>;
|
|
57
|
-
function rejects(
|
|
58
|
-
block: (() => Promise<any>) | Promise<any>,
|
|
59
|
-
error: AssertPredicate,
|
|
60
|
-
message?: string | Error,
|
|
61
|
-
): Promise<void>;
|
|
62
|
-
function doesNotReject(block: (() => Promise<any>) | Promise<any>, message?: string | Error): Promise<void>;
|
|
63
|
-
function doesNotReject(
|
|
64
|
-
block: (() => Promise<any>) | Promise<any>,
|
|
65
|
-
error: AssertPredicate,
|
|
66
|
-
message?: string | Error,
|
|
67
|
-
): Promise<void>;
|
|
68
|
-
|
|
69
|
-
const strict: typeof assert;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export = assert;
|
|
73
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.2.
|
|
2
|
-
|
|
3
|
-
// NOTE: TypeScript version-specific augmentations can be found in the following paths:
|
|
4
|
-
// - ~/base.d.ts - Shared definitions common to all TypeScript versions
|
|
5
|
-
// - ~/index.d.ts - Definitions specific to TypeScript 2.1
|
|
6
|
-
// - ~/ts3.2/base.d.ts - Definitions specific to TypeScript 3.2
|
|
7
|
-
// - ~/ts3.2/index.d.ts - Definitions specific to TypeScript 3.2 with assert pulled in
|
|
8
|
-
|
|
9
|
-
// Reference required types from the default lib:
|
|
10
|
-
/// <reference lib="es2018" />
|
|
11
|
-
/// <reference lib="esnext.asynciterable" />
|
|
12
|
-
/// <reference lib="esnext.intl" />
|
|
13
|
-
/// <reference lib="esnext.bigint" />
|
|
14
|
-
|
|
15
|
-
// base definitions for all NodeJS modules that are not specific to any version of TypeScript
|
|
16
|
-
/// <reference path="../globals.d.ts" />
|
|
17
|
-
/// <reference path="../async_hooks.d.ts" />
|
|
18
|
-
/// <reference path="../buffer.d.ts" />
|
|
19
|
-
/// <reference path="../child_process.d.ts" />
|
|
20
|
-
/// <reference path="../cluster.d.ts" />
|
|
21
|
-
/// <reference path="../console.d.ts" />
|
|
22
|
-
/// <reference path="../constants.d.ts" />
|
|
23
|
-
/// <reference path="../crypto.d.ts" />
|
|
24
|
-
/// <reference path="../dgram.d.ts" />
|
|
25
|
-
/// <reference path="../dns.d.ts" />
|
|
26
|
-
/// <reference path="../domain.d.ts" />
|
|
27
|
-
/// <reference path="../events.d.ts" />
|
|
28
|
-
/// <reference path="../fs.d.ts" />
|
|
29
|
-
/// <reference path="../http.d.ts" />
|
|
30
|
-
/// <reference path="../http2.d.ts" />
|
|
31
|
-
/// <reference path="../https.d.ts" />
|
|
32
|
-
/// <reference path="../inspector.d.ts" />
|
|
33
|
-
/// <reference path="../module.d.ts" />
|
|
34
|
-
/// <reference path="../net.d.ts" />
|
|
35
|
-
/// <reference path="../os.d.ts" />
|
|
36
|
-
/// <reference path="../path.d.ts" />
|
|
37
|
-
/// <reference path="../perf_hooks.d.ts" />
|
|
38
|
-
/// <reference path="../process.d.ts" />
|
|
39
|
-
/// <reference path="../punycode.d.ts" />
|
|
40
|
-
/// <reference path="../querystring.d.ts" />
|
|
41
|
-
/// <reference path="../readline.d.ts" />
|
|
42
|
-
/// <reference path="../repl.d.ts" />
|
|
43
|
-
/// <reference path="../stream.d.ts" />
|
|
44
|
-
/// <reference path="../string_decoder.d.ts" />
|
|
45
|
-
/// <reference path="../timers.d.ts" />
|
|
46
|
-
/// <reference path="../tls.d.ts" />
|
|
47
|
-
/// <reference path="../trace_events.d.ts" />
|
|
48
|
-
/// <reference path="../tty.d.ts" />
|
|
49
|
-
/// <reference path="../url.d.ts" />
|
|
50
|
-
/// <reference path="../util.d.ts" />
|
|
51
|
-
/// <reference path="../v8.d.ts" />
|
|
52
|
-
/// <reference path="../vm.d.ts" />
|
|
53
|
-
/// <reference path="../worker_threads.d.ts" />
|
|
54
|
-
/// <reference path="../zlib.d.ts" />
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.2.
|
|
2
|
-
// This is required to enable typing assert in ts3.7 without causing errors
|
|
3
|
-
// Typically type modifications should be made in base.d.ts instead of here
|
|
4
|
-
|
|
5
|
-
/// <reference path="base.d.ts" />
|
|
6
|
-
/// <reference path="assert.d.ts" />
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
declare module "tty" {
|
|
2
|
-
import * as net from "net";
|
|
3
|
-
|
|
4
|
-
function isatty(fd: number): boolean;
|
|
5
|
-
class ReadStream extends net.Socket {
|
|
6
|
-
constructor(fd: number, options?: net.SocketConstructorOpts);
|
|
7
|
-
isRaw: boolean;
|
|
8
|
-
setRawMode(mode: boolean): this;
|
|
9
|
-
isTTY: boolean;
|
|
10
|
-
}
|
|
11
|
-
class WriteStream extends net.Socket {
|
|
12
|
-
constructor(fd: number);
|
|
13
|
-
columns: number;
|
|
14
|
-
rows: number;
|
|
15
|
-
isTTY: boolean;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
declare module "url" {
|
|
2
|
-
import { ParsedUrlQuery } from 'querystring';
|
|
3
|
-
|
|
4
|
-
interface UrlObjectCommon {
|
|
5
|
-
auth?: string;
|
|
6
|
-
hash?: string;
|
|
7
|
-
host?: string;
|
|
8
|
-
hostname?: string;
|
|
9
|
-
href?: string;
|
|
10
|
-
pathname?: string;
|
|
11
|
-
protocol?: string;
|
|
12
|
-
search?: string;
|
|
13
|
-
slashes?: boolean;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
// Input to `url.format`
|
|
17
|
-
interface UrlObject extends UrlObjectCommon {
|
|
18
|
-
port?: string | number;
|
|
19
|
-
query?: string | null | { [key: string]: any };
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// Output of `url.parse`
|
|
23
|
-
interface Url extends UrlObjectCommon {
|
|
24
|
-
port?: string;
|
|
25
|
-
query?: string | null | ParsedUrlQuery;
|
|
26
|
-
path?: string;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
interface UrlWithParsedQuery extends Url {
|
|
30
|
-
query: ParsedUrlQuery;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
interface UrlWithStringQuery extends Url {
|
|
34
|
-
query: string | null;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
function parse(urlStr: string): UrlWithStringQuery;
|
|
38
|
-
function parse(urlStr: string, parseQueryString: false | undefined, slashesDenoteHost?: boolean): UrlWithStringQuery;
|
|
39
|
-
function parse(urlStr: string, parseQueryString: true, slashesDenoteHost?: boolean): UrlWithParsedQuery;
|
|
40
|
-
function parse(urlStr: string, parseQueryString: boolean, slashesDenoteHost?: boolean): Url;
|
|
41
|
-
|
|
42
|
-
function format(URL: URL, options?: URLFormatOptions): string;
|
|
43
|
-
function format(urlObject: UrlObject | string): string;
|
|
44
|
-
function resolve(from: string, to: string): string;
|
|
45
|
-
|
|
46
|
-
function domainToASCII(domain: string): string;
|
|
47
|
-
function domainToUnicode(domain: string): string;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* This function ensures the correct decodings of percent-encoded characters as
|
|
51
|
-
* well as ensuring a cross-platform valid absolute path string.
|
|
52
|
-
* @param url The file URL string or URL object to convert to a path.
|
|
53
|
-
*/
|
|
54
|
-
function fileURLToPath(url: string | URL): string;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* This function ensures that path is resolved absolutely, and that the URL
|
|
58
|
-
* control characters are correctly encoded when converting into a File URL.
|
|
59
|
-
* @param url The path to convert to a File URL.
|
|
60
|
-
*/
|
|
61
|
-
function pathToFileURL(url: string): URL;
|
|
62
|
-
|
|
63
|
-
interface URLFormatOptions {
|
|
64
|
-
auth?: boolean;
|
|
65
|
-
fragment?: boolean;
|
|
66
|
-
search?: boolean;
|
|
67
|
-
unicode?: boolean;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
class URL {
|
|
71
|
-
constructor(input: string, base?: string | URL);
|
|
72
|
-
hash: string;
|
|
73
|
-
host: string;
|
|
74
|
-
hostname: string;
|
|
75
|
-
href: string;
|
|
76
|
-
readonly origin: string;
|
|
77
|
-
password: string;
|
|
78
|
-
pathname: string;
|
|
79
|
-
port: string;
|
|
80
|
-
protocol: string;
|
|
81
|
-
search: string;
|
|
82
|
-
readonly searchParams: URLSearchParams;
|
|
83
|
-
username: string;
|
|
84
|
-
toString(): string;
|
|
85
|
-
toJSON(): string;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
class URLSearchParams implements Iterable<[string, string]> {
|
|
89
|
-
constructor(init?: URLSearchParams | string | { [key: string]: string | ReadonlyArray<string> | undefined } | Iterable<[string, string]> | ReadonlyArray<[string, string]>);
|
|
90
|
-
append(name: string, value: string): void;
|
|
91
|
-
delete(name: string): void;
|
|
92
|
-
entries(): IterableIterator<[string, string]>;
|
|
93
|
-
forEach(callback: (value: string, name: string, searchParams: this) => void): void;
|
|
94
|
-
get(name: string): string | null;
|
|
95
|
-
getAll(name: string): string[];
|
|
96
|
-
has(name: string): boolean;
|
|
97
|
-
keys(): IterableIterator<string>;
|
|
98
|
-
set(name: string, value: string): void;
|
|
99
|
-
sort(): void;
|
|
100
|
-
toString(): string;
|
|
101
|
-
values(): IterableIterator<string>;
|
|
102
|
-
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
declare module "v8" {
|
|
2
|
-
interface HeapSpaceInfo {
|
|
3
|
-
space_name: string;
|
|
4
|
-
space_size: number;
|
|
5
|
-
space_used_size: number;
|
|
6
|
-
space_available_size: number;
|
|
7
|
-
physical_space_size: number;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// ** Signifies if the --zap_code_space option is enabled or not. 1 == enabled, 0 == disabled. */
|
|
11
|
-
type DoesZapCodeSpaceFlag = 0 | 1;
|
|
12
|
-
|
|
13
|
-
interface HeapInfo {
|
|
14
|
-
total_heap_size: number;
|
|
15
|
-
total_heap_size_executable: number;
|
|
16
|
-
total_physical_size: number;
|
|
17
|
-
total_available_size: number;
|
|
18
|
-
used_heap_size: number;
|
|
19
|
-
heap_size_limit: number;
|
|
20
|
-
malloced_memory: number;
|
|
21
|
-
peak_malloced_memory: number;
|
|
22
|
-
does_zap_garbage: DoesZapCodeSpaceFlag;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
function getHeapStatistics(): HeapInfo;
|
|
26
|
-
function getHeapSpaceStatistics(): HeapSpaceInfo[];
|
|
27
|
-
function setFlagsFromString(flags: string): void;
|
|
28
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
declare module "vm" {
|
|
2
|
-
interface Context {
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
}
|
|
5
|
-
interface BaseOptions {
|
|
6
|
-
/**
|
|
7
|
-
* Specifies the filename used in stack traces produced by this script.
|
|
8
|
-
* Default: `''`.
|
|
9
|
-
*/
|
|
10
|
-
filename?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Specifies the line number offset that is displayed in stack traces produced by this script.
|
|
13
|
-
* Default: `0`.
|
|
14
|
-
*/
|
|
15
|
-
lineOffset?: number;
|
|
16
|
-
/**
|
|
17
|
-
* Specifies the column number offset that is displayed in stack traces produced by this script.
|
|
18
|
-
* @default 0
|
|
19
|
-
*/
|
|
20
|
-
columnOffset?: number;
|
|
21
|
-
}
|
|
22
|
-
interface ScriptOptions extends BaseOptions {
|
|
23
|
-
displayErrors?: boolean;
|
|
24
|
-
timeout?: number;
|
|
25
|
-
cachedData?: Buffer;
|
|
26
|
-
/** @deprecated in favor of `script.createCachedData()` */
|
|
27
|
-
produceCachedData?: boolean;
|
|
28
|
-
}
|
|
29
|
-
interface RunningScriptOptions extends BaseOptions {
|
|
30
|
-
/**
|
|
31
|
-
* When `true`, if an `Error` occurs while compiling the `code`, the line of code causing the error is attached to the stack trace.
|
|
32
|
-
* Default: `true`.
|
|
33
|
-
*/
|
|
34
|
-
displayErrors?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Specifies the number of milliseconds to execute code before terminating execution.
|
|
37
|
-
* If execution is terminated, an `Error` will be thrown. This value must be a strictly positive integer.
|
|
38
|
-
*/
|
|
39
|
-
timeout?: number;
|
|
40
|
-
/**
|
|
41
|
-
* If `true`, the execution will be terminated when `SIGINT` (Ctrl+C) is received.
|
|
42
|
-
* Existing handlers for the event that have been attached via `process.on('SIGINT')` will be disabled during script execution, but will continue to work after that.
|
|
43
|
-
* If execution is terminated, an `Error` will be thrown.
|
|
44
|
-
* Default: `false`.
|
|
45
|
-
*/
|
|
46
|
-
breakOnSigint?: boolean;
|
|
47
|
-
}
|
|
48
|
-
interface CompileFunctionOptions extends BaseOptions {
|
|
49
|
-
/**
|
|
50
|
-
* Provides an optional data with V8's code cache data for the supplied source.
|
|
51
|
-
*/
|
|
52
|
-
cachedData?: Buffer;
|
|
53
|
-
/**
|
|
54
|
-
* Specifies whether to produce new cache data.
|
|
55
|
-
* Default: `false`,
|
|
56
|
-
*/
|
|
57
|
-
produceCachedData?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* The sandbox/context in which the said function should be compiled in.
|
|
60
|
-
*/
|
|
61
|
-
parsingContext?: Context;
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* An array containing a collection of context extensions (objects wrapping the current scope) to be applied while compiling
|
|
65
|
-
*/
|
|
66
|
-
contextExtensions?: Object[];
|
|
67
|
-
}
|
|
68
|
-
class Script {
|
|
69
|
-
constructor(code: string, options?: ScriptOptions);
|
|
70
|
-
runInContext(contextifiedSandbox: Context, options?: RunningScriptOptions): any;
|
|
71
|
-
runInNewContext(sandbox?: Context, options?: RunningScriptOptions): any;
|
|
72
|
-
runInThisContext(options?: RunningScriptOptions): any;
|
|
73
|
-
cachedDataRejected?: boolean;
|
|
74
|
-
}
|
|
75
|
-
function createContext(sandbox?: Context): Context;
|
|
76
|
-
function isContext(sandbox: Context): boolean;
|
|
77
|
-
function runInContext(code: string, contextifiedSandbox: Context, options?: RunningScriptOptions | string): any;
|
|
78
|
-
function runInNewContext(code: string, sandbox?: Context, options?: RunningScriptOptions | string): any;
|
|
79
|
-
function runInThisContext(code: string, options?: RunningScriptOptions | string): any;
|
|
80
|
-
function compileFunction(code: string, params?: ReadonlyArray<string>, options?: CompileFunctionOptions): Function;
|
|
81
|
-
}
|
package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/worker_threads.d.ts
DELETED
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
declare module "worker_threads" {
|
|
2
|
-
import { EventEmitter } from "events";
|
|
3
|
-
import { Readable, Writable } from "stream";
|
|
4
|
-
|
|
5
|
-
const isMainThread: boolean;
|
|
6
|
-
const parentPort: null | MessagePort;
|
|
7
|
-
const threadId: number;
|
|
8
|
-
const workerData: any;
|
|
9
|
-
|
|
10
|
-
class MessageChannel {
|
|
11
|
-
readonly port1: MessagePort;
|
|
12
|
-
readonly port2: MessagePort;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
class MessagePort extends EventEmitter {
|
|
16
|
-
close(): void;
|
|
17
|
-
postMessage(value: any, transferList?: ReadonlyArray<ArrayBuffer | MessagePort>): void;
|
|
18
|
-
ref(): void;
|
|
19
|
-
unref(): void;
|
|
20
|
-
start(): void;
|
|
21
|
-
|
|
22
|
-
addListener(event: "close", listener: () => void): this;
|
|
23
|
-
addListener(event: "message", listener: (value: any) => void): this;
|
|
24
|
-
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
25
|
-
|
|
26
|
-
emit(event: "close"): boolean;
|
|
27
|
-
emit(event: "message", value: any): boolean;
|
|
28
|
-
emit(event: string | symbol, ...args: any[]): boolean;
|
|
29
|
-
|
|
30
|
-
on(event: "close", listener: () => void): this;
|
|
31
|
-
on(event: "message", listener: (value: any) => void): this;
|
|
32
|
-
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
33
|
-
|
|
34
|
-
once(event: "close", listener: () => void): this;
|
|
35
|
-
once(event: "message", listener: (value: any) => void): this;
|
|
36
|
-
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
37
|
-
|
|
38
|
-
prependListener(event: "close", listener: () => void): this;
|
|
39
|
-
prependListener(event: "message", listener: (value: any) => void): this;
|
|
40
|
-
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
41
|
-
|
|
42
|
-
prependOnceListener(event: "close", listener: () => void): this;
|
|
43
|
-
prependOnceListener(event: "message", listener: (value: any) => void): this;
|
|
44
|
-
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
45
|
-
|
|
46
|
-
removeListener(event: "close", listener: () => void): this;
|
|
47
|
-
removeListener(event: "message", listener: (value: any) => void): this;
|
|
48
|
-
removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
49
|
-
|
|
50
|
-
off(event: "close", listener: () => void): this;
|
|
51
|
-
off(event: "message", listener: (value: any) => void): this;
|
|
52
|
-
off(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
interface WorkerOptions {
|
|
56
|
-
eval?: boolean;
|
|
57
|
-
workerData?: any;
|
|
58
|
-
stdin?: boolean;
|
|
59
|
-
stdout?: boolean;
|
|
60
|
-
stderr?: boolean;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
class Worker extends EventEmitter {
|
|
64
|
-
readonly stdin: Writable | null;
|
|
65
|
-
readonly stdout: Readable;
|
|
66
|
-
readonly stderr: Readable;
|
|
67
|
-
readonly threadId: number;
|
|
68
|
-
|
|
69
|
-
constructor(filename: string, options?: WorkerOptions);
|
|
70
|
-
|
|
71
|
-
postMessage(value: any, transferList?: ReadonlyArray<ArrayBuffer | MessagePort>): void;
|
|
72
|
-
ref(): void;
|
|
73
|
-
unref(): void;
|
|
74
|
-
terminate(callback?: (err: any, exitCode: number) => void): void;
|
|
75
|
-
|
|
76
|
-
addListener(event: "error", listener: (err: any) => void): this;
|
|
77
|
-
addListener(event: "exit", listener: (exitCode: number) => void): this;
|
|
78
|
-
addListener(event: "message", listener: (value: any) => void): this;
|
|
79
|
-
addListener(event: "online", listener: () => void): this;
|
|
80
|
-
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
81
|
-
|
|
82
|
-
emit(event: "error", err: any): boolean;
|
|
83
|
-
emit(event: "exit", exitCode: number): boolean;
|
|
84
|
-
emit(event: "message", value: any): boolean;
|
|
85
|
-
emit(event: "online"): boolean;
|
|
86
|
-
emit(event: string | symbol, ...args: any[]): boolean;
|
|
87
|
-
|
|
88
|
-
on(event: "error", listener: (err: any) => void): this;
|
|
89
|
-
on(event: "exit", listener: (exitCode: number) => void): this;
|
|
90
|
-
on(event: "message", listener: (value: any) => void): this;
|
|
91
|
-
on(event: "online", listener: () => void): this;
|
|
92
|
-
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
93
|
-
|
|
94
|
-
once(event: "error", listener: (err: any) => void): this;
|
|
95
|
-
once(event: "exit", listener: (exitCode: number) => void): this;
|
|
96
|
-
once(event: "message", listener: (value: any) => void): this;
|
|
97
|
-
once(event: "online", listener: () => void): this;
|
|
98
|
-
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
99
|
-
|
|
100
|
-
prependListener(event: "error", listener: (err: any) => void): this;
|
|
101
|
-
prependListener(event: "exit", listener: (exitCode: number) => void): this;
|
|
102
|
-
prependListener(event: "message", listener: (value: any) => void): this;
|
|
103
|
-
prependListener(event: "online", listener: () => void): this;
|
|
104
|
-
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
105
|
-
|
|
106
|
-
prependOnceListener(event: "error", listener: (err: any) => void): this;
|
|
107
|
-
prependOnceListener(event: "exit", listener: (exitCode: number) => void): this;
|
|
108
|
-
prependOnceListener(event: "message", listener: (value: any) => void): this;
|
|
109
|
-
prependOnceListener(event: "online", listener: () => void): this;
|
|
110
|
-
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
111
|
-
|
|
112
|
-
removeListener(event: "error", listener: (err: any) => void): this;
|
|
113
|
-
removeListener(event: "exit", listener: (exitCode: number) => void): this;
|
|
114
|
-
removeListener(event: "message", listener: (value: any) => void): this;
|
|
115
|
-
removeListener(event: "online", listener: () => void): this;
|
|
116
|
-
removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
117
|
-
|
|
118
|
-
off(event: "error", listener: (err: any) => void): this;
|
|
119
|
-
off(event: "exit", listener: (exitCode: number) => void): this;
|
|
120
|
-
off(event: "message", listener: (value: any) => void): this;
|
|
121
|
-
off(event: "online", listener: () => void): this;
|
|
122
|
-
off(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
123
|
-
}
|
|
124
|
-
}
|