cdk-common 1.0.1187 → 1.0.1188
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 +36 -6
- package/API.md +30 -0
- package/lib/main.js +1 -1
- package/lib/managed-policies.d.ts +1351 -1346
- package/lib/managed-policies.js +6 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/fs/promises.d.ts +13 -0
- package/node_modules/@types/concat-stream/node_modules/@types/node/fs.d.ts +42 -2
- package/node_modules/@types/concat-stream/node_modules/@types/node/net.d.ts +2 -2
- package/node_modules/@types/concat-stream/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/concat-stream/node_modules/@types/node/vm.d.ts +20 -5
- package/node_modules/@types/form-data/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/fs/promises.d.ts +13 -0
- package/node_modules/@types/form-data/node_modules/@types/node/fs.d.ts +42 -2
- package/node_modules/@types/form-data/node_modules/@types/node/net.d.ts +2 -2
- package/node_modules/@types/form-data/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/form-data/node_modules/@types/node/vm.d.ts +20 -5
- package/node_modules/@types/qs/README.md +1 -1
- package/node_modules/@types/qs/index.d.ts +1 -0
- package/node_modules/@types/qs/package.json +3 -3
- package/node_modules/{readable-stream → form-data}/node_modules/safe-buffer/index.js +3 -0
- package/node_modules/{string_decoder → form-data}/node_modules/safe-buffer/package.json +18 -4
- package/node_modules/safe-buffer/index.js +0 -3
- package/node_modules/safe-buffer/package.json +4 -18
- package/package.json +10 -10
- package/node_modules/readable-stream/node_modules/safe-buffer/package.json +0 -37
- package/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/string_decoder/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +0 -187
- package/node_modules/string_decoder/node_modules/safe-buffer/index.js +0 -62
- /package/node_modules/{readable-stream → form-data}/node_modules/safe-buffer/LICENSE +0 -0
- /package/node_modules/{readable-stream → form-data}/node_modules/safe-buffer/README.md +0 -0
- /package/node_modules/{readable-stream → form-data}/node_modules/safe-buffer/index.d.ts +0 -0
- /package/node_modules/{form-data/node_modules/mime-db → mime-db}/HISTORY.md +0 -0
- /package/node_modules/{form-data/node_modules/mime-db → mime-db}/LICENSE +0 -0
- /package/node_modules/{form-data/node_modules/mime-db → mime-db}/README.md +0 -0
- /package/node_modules/{form-data/node_modules/mime-db → mime-db}/db.json +0 -0
- /package/node_modules/{form-data/node_modules/mime-db → mime-db}/index.js +0 -0
- /package/node_modules/{form-data/node_modules/mime-db → mime-db}/package.json +0 -0
- /package/node_modules/{form-data/node_modules/mime-types → mime-types}/HISTORY.md +0 -0
- /package/node_modules/{form-data/node_modules/mime-types → mime-types}/LICENSE +0 -0
- /package/node_modules/{form-data/node_modules/mime-types → mime-types}/README.md +0 -0
- /package/node_modules/{form-data/node_modules/mime-types → mime-types}/index.js +0 -0
- /package/node_modules/{form-data/node_modules/mime-types → mime-types}/package.json +0 -0
|
@@ -8,7 +8,7 @@ This package contains type definitions for node (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, 14 May 2025 04:37:31 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -718,6 +718,19 @@ declare module "fs/promises" {
|
|
|
718
718
|
recursive?: boolean | undefined;
|
|
719
719
|
},
|
|
720
720
|
): Promise<Dirent[]>;
|
|
721
|
+
/**
|
|
722
|
+
* Asynchronous readdir(3) - read a directory.
|
|
723
|
+
* @param path A path to a directory. If a URL is provided, it must use the `file:` protocol.
|
|
724
|
+
* @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
|
|
725
|
+
*/
|
|
726
|
+
function readdir(
|
|
727
|
+
path: PathLike,
|
|
728
|
+
options: {
|
|
729
|
+
encoding: "buffer";
|
|
730
|
+
withFileTypes: true;
|
|
731
|
+
recursive?: boolean | undefined;
|
|
732
|
+
},
|
|
733
|
+
): Promise<Dirent<Buffer>[]>;
|
|
721
734
|
/**
|
|
722
735
|
* Reads the contents of the symbolic link referred to by `path`. See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more detail. The promise is
|
|
723
736
|
* fulfilled with the`linkString` upon success.
|
|
@@ -198,7 +198,7 @@ declare module "fs" {
|
|
|
198
198
|
* the `withFileTypes` option set to `true`, the resulting array is filled with `fs.Dirent` objects, rather than strings or `Buffer` s.
|
|
199
199
|
* @since v10.10.0
|
|
200
200
|
*/
|
|
201
|
-
export class Dirent {
|
|
201
|
+
export class Dirent<Name extends string | Buffer = string> {
|
|
202
202
|
/**
|
|
203
203
|
* Returns `true` if the `fs.Dirent` object describes a regular file.
|
|
204
204
|
* @since v10.10.0
|
|
@@ -241,7 +241,7 @@ declare module "fs" {
|
|
|
241
241
|
* value is determined by the `options.encoding` passed to {@link readdir} or {@link readdirSync}.
|
|
242
242
|
* @since v10.10.0
|
|
243
243
|
*/
|
|
244
|
-
name:
|
|
244
|
+
name: Name;
|
|
245
245
|
/**
|
|
246
246
|
* The base path that this `fs.Dirent` object refers to.
|
|
247
247
|
* @since v20.12.0
|
|
@@ -2040,6 +2040,20 @@ declare module "fs" {
|
|
|
2040
2040
|
},
|
|
2041
2041
|
callback: (err: NodeJS.ErrnoException | null, files: Dirent[]) => void,
|
|
2042
2042
|
): void;
|
|
2043
|
+
/**
|
|
2044
|
+
* Asynchronous readdir(3) - read a directory.
|
|
2045
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2046
|
+
* @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
|
|
2047
|
+
*/
|
|
2048
|
+
export function readdir(
|
|
2049
|
+
path: PathLike,
|
|
2050
|
+
options: {
|
|
2051
|
+
encoding: "buffer";
|
|
2052
|
+
withFileTypes: true;
|
|
2053
|
+
recursive?: boolean | undefined;
|
|
2054
|
+
},
|
|
2055
|
+
callback: (err: NodeJS.ErrnoException | null, files: Dirent<Buffer>[]) => void,
|
|
2056
|
+
): void;
|
|
2043
2057
|
export namespace readdir {
|
|
2044
2058
|
/**
|
|
2045
2059
|
* Asynchronous readdir(3) - read a directory.
|
|
@@ -2099,6 +2113,19 @@ declare module "fs" {
|
|
|
2099
2113
|
recursive?: boolean | undefined;
|
|
2100
2114
|
},
|
|
2101
2115
|
): Promise<Dirent[]>;
|
|
2116
|
+
/**
|
|
2117
|
+
* Asynchronous readdir(3) - read a directory.
|
|
2118
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2119
|
+
* @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
|
|
2120
|
+
*/
|
|
2121
|
+
function __promisify__(
|
|
2122
|
+
path: PathLike,
|
|
2123
|
+
options: {
|
|
2124
|
+
encoding: "buffer";
|
|
2125
|
+
withFileTypes: true;
|
|
2126
|
+
recursive?: boolean | undefined;
|
|
2127
|
+
},
|
|
2128
|
+
): Promise<Dirent<Buffer>[]>;
|
|
2102
2129
|
}
|
|
2103
2130
|
/**
|
|
2104
2131
|
* Reads the contents of the directory.
|
|
@@ -2166,6 +2193,19 @@ declare module "fs" {
|
|
|
2166
2193
|
recursive?: boolean | undefined;
|
|
2167
2194
|
},
|
|
2168
2195
|
): Dirent[];
|
|
2196
|
+
/**
|
|
2197
|
+
* Synchronous readdir(3) - read a directory.
|
|
2198
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2199
|
+
* @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
|
|
2200
|
+
*/
|
|
2201
|
+
export function readdirSync(
|
|
2202
|
+
path: PathLike,
|
|
2203
|
+
options: {
|
|
2204
|
+
encoding: "buffer";
|
|
2205
|
+
withFileTypes: true;
|
|
2206
|
+
recursive?: boolean | undefined;
|
|
2207
|
+
},
|
|
2208
|
+
): Dirent<Buffer>[];
|
|
2169
2209
|
/**
|
|
2170
2210
|
* Closes the file descriptor. No arguments other than a possible exception are
|
|
2171
2211
|
* given to the completion callback.
|
|
@@ -109,8 +109,8 @@ declare module "net" {
|
|
|
109
109
|
* @since v0.1.90
|
|
110
110
|
* @param [encoding='utf8'] Only used when data is `string`.
|
|
111
111
|
*/
|
|
112
|
-
write(buffer: Uint8Array | string, cb?: (err?: Error) => void): boolean;
|
|
113
|
-
write(str: Uint8Array | string, encoding?: BufferEncoding, cb?: (err?: Error) => void): boolean;
|
|
112
|
+
write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
|
|
113
|
+
write(str: Uint8Array | string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;
|
|
114
114
|
/**
|
|
115
115
|
* Initiate a connection on a given socket.
|
|
116
116
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "22.15.
|
|
3
|
+
"version": "22.15.18",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -220,6 +220,6 @@
|
|
|
220
220
|
"undici-types": "~6.21.0"
|
|
221
221
|
},
|
|
222
222
|
"peerDependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "2b90948f1fb3116c8907f2beaa3f3e5508eb0101dc27013c967a068001011e3e",
|
|
224
224
|
"typeScriptVersion": "5.1"
|
|
225
225
|
}
|
|
@@ -58,7 +58,7 @@ declare module "vm" {
|
|
|
58
58
|
}
|
|
59
59
|
interface ScriptOptions extends BaseOptions {
|
|
60
60
|
/**
|
|
61
|
-
* V8's code cache data for the supplied source.
|
|
61
|
+
* Provides an optional data with V8's code cache data for the supplied source.
|
|
62
62
|
*/
|
|
63
63
|
cachedData?: Buffer | NodeJS.ArrayBufferView | undefined;
|
|
64
64
|
/** @deprecated in favor of `script.createCachedData()` */
|
|
@@ -110,18 +110,24 @@ declare module "vm" {
|
|
|
110
110
|
microtaskMode?: CreateContextOptions["microtaskMode"];
|
|
111
111
|
}
|
|
112
112
|
interface RunningCodeOptions extends RunningScriptOptions {
|
|
113
|
-
|
|
113
|
+
/**
|
|
114
|
+
* Provides an optional data with V8's code cache data for the supplied source.
|
|
115
|
+
*/
|
|
116
|
+
cachedData?: ScriptOptions["cachedData"] | undefined;
|
|
114
117
|
importModuleDynamically?: ScriptOptions["importModuleDynamically"];
|
|
115
118
|
}
|
|
116
119
|
interface RunningCodeInNewContextOptions extends RunningScriptInNewContextOptions {
|
|
117
|
-
|
|
120
|
+
/**
|
|
121
|
+
* Provides an optional data with V8's code cache data for the supplied source.
|
|
122
|
+
*/
|
|
123
|
+
cachedData?: ScriptOptions["cachedData"] | undefined;
|
|
118
124
|
importModuleDynamically?: ScriptOptions["importModuleDynamically"];
|
|
119
125
|
}
|
|
120
126
|
interface CompileFunctionOptions extends BaseOptions {
|
|
121
127
|
/**
|
|
122
128
|
* Provides an optional data with V8's code cache data for the supplied source.
|
|
123
129
|
*/
|
|
124
|
-
cachedData?:
|
|
130
|
+
cachedData?: ScriptOptions["cachedData"] | undefined;
|
|
125
131
|
/**
|
|
126
132
|
* Specifies whether to produce new cache data.
|
|
127
133
|
* @default false
|
|
@@ -848,6 +854,9 @@ declare module "vm" {
|
|
|
848
854
|
* @default 'vm:module(i)' where i is a context-specific ascending index.
|
|
849
855
|
*/
|
|
850
856
|
identifier?: string | undefined;
|
|
857
|
+
/**
|
|
858
|
+
* Provides an optional data with V8's code cache data for the supplied source.
|
|
859
|
+
*/
|
|
851
860
|
cachedData?: ScriptOptions["cachedData"] | undefined;
|
|
852
861
|
context?: Context | undefined;
|
|
853
862
|
lineOffset?: BaseOptions["lineOffset"] | undefined;
|
|
@@ -856,7 +865,13 @@ declare module "vm" {
|
|
|
856
865
|
* Called during evaluation of this module to initialize the `import.meta`.
|
|
857
866
|
*/
|
|
858
867
|
initializeImportMeta?: ((meta: ImportMeta, module: SourceTextModule) => void) | undefined;
|
|
859
|
-
importModuleDynamically?:
|
|
868
|
+
importModuleDynamically?:
|
|
869
|
+
| ((
|
|
870
|
+
specifier: string,
|
|
871
|
+
referrer: SourceTextModule,
|
|
872
|
+
importAttributes: ImportAttributes,
|
|
873
|
+
) => Module | Promise<Module>)
|
|
874
|
+
| undefined;
|
|
860
875
|
}
|
|
861
876
|
/**
|
|
862
877
|
* This feature is only available with the `--experimental-vm-modules` command
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for node (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, 14 May 2025 04:37:31 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -718,6 +718,19 @@ declare module "fs/promises" {
|
|
|
718
718
|
recursive?: boolean | undefined;
|
|
719
719
|
},
|
|
720
720
|
): Promise<Dirent[]>;
|
|
721
|
+
/**
|
|
722
|
+
* Asynchronous readdir(3) - read a directory.
|
|
723
|
+
* @param path A path to a directory. If a URL is provided, it must use the `file:` protocol.
|
|
724
|
+
* @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
|
|
725
|
+
*/
|
|
726
|
+
function readdir(
|
|
727
|
+
path: PathLike,
|
|
728
|
+
options: {
|
|
729
|
+
encoding: "buffer";
|
|
730
|
+
withFileTypes: true;
|
|
731
|
+
recursive?: boolean | undefined;
|
|
732
|
+
},
|
|
733
|
+
): Promise<Dirent<Buffer>[]>;
|
|
721
734
|
/**
|
|
722
735
|
* Reads the contents of the symbolic link referred to by `path`. See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more detail. The promise is
|
|
723
736
|
* fulfilled with the`linkString` upon success.
|
|
@@ -198,7 +198,7 @@ declare module "fs" {
|
|
|
198
198
|
* the `withFileTypes` option set to `true`, the resulting array is filled with `fs.Dirent` objects, rather than strings or `Buffer` s.
|
|
199
199
|
* @since v10.10.0
|
|
200
200
|
*/
|
|
201
|
-
export class Dirent {
|
|
201
|
+
export class Dirent<Name extends string | Buffer = string> {
|
|
202
202
|
/**
|
|
203
203
|
* Returns `true` if the `fs.Dirent` object describes a regular file.
|
|
204
204
|
* @since v10.10.0
|
|
@@ -241,7 +241,7 @@ declare module "fs" {
|
|
|
241
241
|
* value is determined by the `options.encoding` passed to {@link readdir} or {@link readdirSync}.
|
|
242
242
|
* @since v10.10.0
|
|
243
243
|
*/
|
|
244
|
-
name:
|
|
244
|
+
name: Name;
|
|
245
245
|
/**
|
|
246
246
|
* The base path that this `fs.Dirent` object refers to.
|
|
247
247
|
* @since v20.12.0
|
|
@@ -2040,6 +2040,20 @@ declare module "fs" {
|
|
|
2040
2040
|
},
|
|
2041
2041
|
callback: (err: NodeJS.ErrnoException | null, files: Dirent[]) => void,
|
|
2042
2042
|
): void;
|
|
2043
|
+
/**
|
|
2044
|
+
* Asynchronous readdir(3) - read a directory.
|
|
2045
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2046
|
+
* @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
|
|
2047
|
+
*/
|
|
2048
|
+
export function readdir(
|
|
2049
|
+
path: PathLike,
|
|
2050
|
+
options: {
|
|
2051
|
+
encoding: "buffer";
|
|
2052
|
+
withFileTypes: true;
|
|
2053
|
+
recursive?: boolean | undefined;
|
|
2054
|
+
},
|
|
2055
|
+
callback: (err: NodeJS.ErrnoException | null, files: Dirent<Buffer>[]) => void,
|
|
2056
|
+
): void;
|
|
2043
2057
|
export namespace readdir {
|
|
2044
2058
|
/**
|
|
2045
2059
|
* Asynchronous readdir(3) - read a directory.
|
|
@@ -2099,6 +2113,19 @@ declare module "fs" {
|
|
|
2099
2113
|
recursive?: boolean | undefined;
|
|
2100
2114
|
},
|
|
2101
2115
|
): Promise<Dirent[]>;
|
|
2116
|
+
/**
|
|
2117
|
+
* Asynchronous readdir(3) - read a directory.
|
|
2118
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2119
|
+
* @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
|
|
2120
|
+
*/
|
|
2121
|
+
function __promisify__(
|
|
2122
|
+
path: PathLike,
|
|
2123
|
+
options: {
|
|
2124
|
+
encoding: "buffer";
|
|
2125
|
+
withFileTypes: true;
|
|
2126
|
+
recursive?: boolean | undefined;
|
|
2127
|
+
},
|
|
2128
|
+
): Promise<Dirent<Buffer>[]>;
|
|
2102
2129
|
}
|
|
2103
2130
|
/**
|
|
2104
2131
|
* Reads the contents of the directory.
|
|
@@ -2166,6 +2193,19 @@ declare module "fs" {
|
|
|
2166
2193
|
recursive?: boolean | undefined;
|
|
2167
2194
|
},
|
|
2168
2195
|
): Dirent[];
|
|
2196
|
+
/**
|
|
2197
|
+
* Synchronous readdir(3) - read a directory.
|
|
2198
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2199
|
+
* @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
|
|
2200
|
+
*/
|
|
2201
|
+
export function readdirSync(
|
|
2202
|
+
path: PathLike,
|
|
2203
|
+
options: {
|
|
2204
|
+
encoding: "buffer";
|
|
2205
|
+
withFileTypes: true;
|
|
2206
|
+
recursive?: boolean | undefined;
|
|
2207
|
+
},
|
|
2208
|
+
): Dirent<Buffer>[];
|
|
2169
2209
|
/**
|
|
2170
2210
|
* Closes the file descriptor. No arguments other than a possible exception are
|
|
2171
2211
|
* given to the completion callback.
|
|
@@ -109,8 +109,8 @@ declare module "net" {
|
|
|
109
109
|
* @since v0.1.90
|
|
110
110
|
* @param [encoding='utf8'] Only used when data is `string`.
|
|
111
111
|
*/
|
|
112
|
-
write(buffer: Uint8Array | string, cb?: (err?: Error) => void): boolean;
|
|
113
|
-
write(str: Uint8Array | string, encoding?: BufferEncoding, cb?: (err?: Error) => void): boolean;
|
|
112
|
+
write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
|
|
113
|
+
write(str: Uint8Array | string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;
|
|
114
114
|
/**
|
|
115
115
|
* Initiate a connection on a given socket.
|
|
116
116
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "22.15.
|
|
3
|
+
"version": "22.15.18",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -220,6 +220,6 @@
|
|
|
220
220
|
"undici-types": "~6.21.0"
|
|
221
221
|
},
|
|
222
222
|
"peerDependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "2b90948f1fb3116c8907f2beaa3f3e5508eb0101dc27013c967a068001011e3e",
|
|
224
224
|
"typeScriptVersion": "5.1"
|
|
225
225
|
}
|
|
@@ -58,7 +58,7 @@ declare module "vm" {
|
|
|
58
58
|
}
|
|
59
59
|
interface ScriptOptions extends BaseOptions {
|
|
60
60
|
/**
|
|
61
|
-
* V8's code cache data for the supplied source.
|
|
61
|
+
* Provides an optional data with V8's code cache data for the supplied source.
|
|
62
62
|
*/
|
|
63
63
|
cachedData?: Buffer | NodeJS.ArrayBufferView | undefined;
|
|
64
64
|
/** @deprecated in favor of `script.createCachedData()` */
|
|
@@ -110,18 +110,24 @@ declare module "vm" {
|
|
|
110
110
|
microtaskMode?: CreateContextOptions["microtaskMode"];
|
|
111
111
|
}
|
|
112
112
|
interface RunningCodeOptions extends RunningScriptOptions {
|
|
113
|
-
|
|
113
|
+
/**
|
|
114
|
+
* Provides an optional data with V8's code cache data for the supplied source.
|
|
115
|
+
*/
|
|
116
|
+
cachedData?: ScriptOptions["cachedData"] | undefined;
|
|
114
117
|
importModuleDynamically?: ScriptOptions["importModuleDynamically"];
|
|
115
118
|
}
|
|
116
119
|
interface RunningCodeInNewContextOptions extends RunningScriptInNewContextOptions {
|
|
117
|
-
|
|
120
|
+
/**
|
|
121
|
+
* Provides an optional data with V8's code cache data for the supplied source.
|
|
122
|
+
*/
|
|
123
|
+
cachedData?: ScriptOptions["cachedData"] | undefined;
|
|
118
124
|
importModuleDynamically?: ScriptOptions["importModuleDynamically"];
|
|
119
125
|
}
|
|
120
126
|
interface CompileFunctionOptions extends BaseOptions {
|
|
121
127
|
/**
|
|
122
128
|
* Provides an optional data with V8's code cache data for the supplied source.
|
|
123
129
|
*/
|
|
124
|
-
cachedData?:
|
|
130
|
+
cachedData?: ScriptOptions["cachedData"] | undefined;
|
|
125
131
|
/**
|
|
126
132
|
* Specifies whether to produce new cache data.
|
|
127
133
|
* @default false
|
|
@@ -848,6 +854,9 @@ declare module "vm" {
|
|
|
848
854
|
* @default 'vm:module(i)' where i is a context-specific ascending index.
|
|
849
855
|
*/
|
|
850
856
|
identifier?: string | undefined;
|
|
857
|
+
/**
|
|
858
|
+
* Provides an optional data with V8's code cache data for the supplied source.
|
|
859
|
+
*/
|
|
851
860
|
cachedData?: ScriptOptions["cachedData"] | undefined;
|
|
852
861
|
context?: Context | undefined;
|
|
853
862
|
lineOffset?: BaseOptions["lineOffset"] | undefined;
|
|
@@ -856,7 +865,13 @@ declare module "vm" {
|
|
|
856
865
|
* Called during evaluation of this module to initialize the `import.meta`.
|
|
857
866
|
*/
|
|
858
867
|
initializeImportMeta?: ((meta: ImportMeta, module: SourceTextModule) => void) | undefined;
|
|
859
|
-
importModuleDynamically?:
|
|
868
|
+
importModuleDynamically?:
|
|
869
|
+
| ((
|
|
870
|
+
specifier: string,
|
|
871
|
+
referrer: SourceTextModule,
|
|
872
|
+
importAttributes: ImportAttributes,
|
|
873
|
+
) => Module | Promise<Module>)
|
|
874
|
+
| undefined;
|
|
860
875
|
}
|
|
861
876
|
/**
|
|
862
877
|
* This feature is only available with the `--experimental-vm-modules` command
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for qs (https://github.com/ljharb/qs).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qs.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Sat, 17 May 2025 04:36:54 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -58,6 +58,7 @@ declare namespace QueryString {
|
|
|
58
58
|
allowEmptyArrays?: boolean | undefined;
|
|
59
59
|
duplicates?: "combine" | "first" | "last" | undefined;
|
|
60
60
|
strictDepth?: boolean | undefined;
|
|
61
|
+
throwOnLimitExceeded?: boolean | undefined;
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
type IParseDynamicOptions<AllowDots extends BooleanOptional> = AllowDots extends true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/qs",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.14.0",
|
|
4
4
|
"description": "TypeScript definitions for qs",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -61,6 +61,6 @@
|
|
|
61
61
|
"scripts": {},
|
|
62
62
|
"dependencies": {},
|
|
63
63
|
"peerDependencies": {},
|
|
64
|
-
"typesPublisherContentHash": "
|
|
65
|
-
"typeScriptVersion": "5.
|
|
64
|
+
"typesPublisherContentHash": "7ce8128acabe5d960292bd50615bb46af79b7ae86cf61e48a5398fcc34410644",
|
|
65
|
+
"typeScriptVersion": "5.1"
|
|
66
66
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
1
2
|
/* eslint-disable node/no-deprecated-api */
|
|
2
3
|
var buffer = require('buffer')
|
|
3
4
|
var Buffer = buffer.Buffer
|
|
@@ -20,6 +21,8 @@ function SafeBuffer (arg, encodingOrOffset, length) {
|
|
|
20
21
|
return Buffer(arg, encodingOrOffset, length)
|
|
21
22
|
}
|
|
22
23
|
|
|
24
|
+
SafeBuffer.prototype = Object.create(Buffer.prototype)
|
|
25
|
+
|
|
23
26
|
// Copy static methods from Buffer
|
|
24
27
|
copyProps(Buffer, SafeBuffer)
|
|
25
28
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "safe-buffer",
|
|
3
3
|
"description": "Safer Node.js Buffer API",
|
|
4
|
-
"version": "5.1
|
|
4
|
+
"version": "5.2.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Feross Aboukhadijeh",
|
|
7
7
|
"email": "feross@feross.org",
|
|
8
|
-
"url": "
|
|
8
|
+
"url": "https://feross.org"
|
|
9
9
|
},
|
|
10
10
|
"bugs": {
|
|
11
11
|
"url": "https://github.com/feross/safe-buffer/issues"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"standard": "*",
|
|
15
|
-
"tape": "^
|
|
15
|
+
"tape": "^5.0.0"
|
|
16
16
|
},
|
|
17
17
|
"homepage": "https://github.com/feross/safe-buffer",
|
|
18
18
|
"keywords": [
|
|
@@ -33,5 +33,19 @@
|
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"test": "standard && tape test/*.js"
|
|
36
|
-
}
|
|
36
|
+
},
|
|
37
|
+
"funding": [
|
|
38
|
+
{
|
|
39
|
+
"type": "github",
|
|
40
|
+
"url": "https://github.com/sponsors/feross"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"type": "patreon",
|
|
44
|
+
"url": "https://www.patreon.com/feross"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "consulting",
|
|
48
|
+
"url": "https://feross.org/support"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
37
51
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
2
1
|
/* eslint-disable node/no-deprecated-api */
|
|
3
2
|
var buffer = require('buffer')
|
|
4
3
|
var Buffer = buffer.Buffer
|
|
@@ -21,8 +20,6 @@ function SafeBuffer (arg, encodingOrOffset, length) {
|
|
|
21
20
|
return Buffer(arg, encodingOrOffset, length)
|
|
22
21
|
}
|
|
23
22
|
|
|
24
|
-
SafeBuffer.prototype = Object.create(Buffer.prototype)
|
|
25
|
-
|
|
26
23
|
// Copy static methods from Buffer
|
|
27
24
|
copyProps(Buffer, SafeBuffer)
|
|
28
25
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "safe-buffer",
|
|
3
3
|
"description": "Safer Node.js Buffer API",
|
|
4
|
-
"version": "5.2
|
|
4
|
+
"version": "5.1.2",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Feross Aboukhadijeh",
|
|
7
7
|
"email": "feross@feross.org",
|
|
8
|
-
"url": "
|
|
8
|
+
"url": "http://feross.org"
|
|
9
9
|
},
|
|
10
10
|
"bugs": {
|
|
11
11
|
"url": "https://github.com/feross/safe-buffer/issues"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"standard": "*",
|
|
15
|
-
"tape": "^
|
|
15
|
+
"tape": "^4.0.0"
|
|
16
16
|
},
|
|
17
17
|
"homepage": "https://github.com/feross/safe-buffer",
|
|
18
18
|
"keywords": [
|
|
@@ -33,19 +33,5 @@
|
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"test": "standard && tape test/*.js"
|
|
36
|
-
}
|
|
37
|
-
"funding": [
|
|
38
|
-
{
|
|
39
|
-
"type": "github",
|
|
40
|
-
"url": "https://github.com/sponsors/feross"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"type": "patreon",
|
|
44
|
-
"url": "https://www.patreon.com/feross"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"type": "consulting",
|
|
48
|
-
"url": "https://feross.org/support"
|
|
49
|
-
}
|
|
50
|
-
]
|
|
36
|
+
}
|
|
51
37
|
}
|
package/package.json
CHANGED
|
@@ -50,24 +50,24 @@
|
|
|
50
50
|
"eslint-plugin-import": "^2.31.0",
|
|
51
51
|
"jest": "^27",
|
|
52
52
|
"jest-junit": "^16",
|
|
53
|
-
"jsii": "5.
|
|
54
|
-
"jsii-diff": "^1.
|
|
53
|
+
"jsii": "5.7.x",
|
|
54
|
+
"jsii-diff": "^1.112.0",
|
|
55
55
|
"jsii-docgen": "^10.5.0",
|
|
56
|
-
"jsii-pacmak": "^1.
|
|
57
|
-
"jsii-rosetta": "5.
|
|
58
|
-
"projen": "0.
|
|
56
|
+
"jsii-pacmak": "^1.112.0",
|
|
57
|
+
"jsii-rosetta": "5.7.x",
|
|
58
|
+
"projen": "0.92.6",
|
|
59
59
|
"ts-jest": "^27",
|
|
60
60
|
"typescript": "^5"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@aws-cdk/aws-lambda": "^1.
|
|
63
|
+
"@aws-cdk/aws-lambda": "^1.204.0",
|
|
64
64
|
"@aws-cdk/core": "^1.204.0",
|
|
65
65
|
"constructs": "^3.2.27"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@aws-cdk/aws-iam": "^1.
|
|
69
|
-
"@aws-cdk/aws-lambda": "^1.
|
|
70
|
-
"@aws-cdk/aws-s3": "^1.
|
|
68
|
+
"@aws-cdk/aws-iam": "^1.204.0",
|
|
69
|
+
"@aws-cdk/aws-lambda": "^1.204.0",
|
|
70
|
+
"@aws-cdk/aws-s3": "^1.204.0",
|
|
71
71
|
"@aws-cdk/core": "^1.204.0",
|
|
72
72
|
"case": "^1.6.3",
|
|
73
73
|
"sync-request": "^6.1.0"
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"publishConfig": {
|
|
92
92
|
"access": "public"
|
|
93
93
|
},
|
|
94
|
-
"version": "1.0.
|
|
94
|
+
"version": "1.0.1188",
|
|
95
95
|
"jest": {
|
|
96
96
|
"coverageProvider": "v8",
|
|
97
97
|
"testMatch": [
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "safe-buffer",
|
|
3
|
-
"description": "Safer Node.js Buffer API",
|
|
4
|
-
"version": "5.1.2",
|
|
5
|
-
"author": {
|
|
6
|
-
"name": "Feross Aboukhadijeh",
|
|
7
|
-
"email": "feross@feross.org",
|
|
8
|
-
"url": "http://feross.org"
|
|
9
|
-
},
|
|
10
|
-
"bugs": {
|
|
11
|
-
"url": "https://github.com/feross/safe-buffer/issues"
|
|
12
|
-
},
|
|
13
|
-
"devDependencies": {
|
|
14
|
-
"standard": "*",
|
|
15
|
-
"tape": "^4.0.0"
|
|
16
|
-
},
|
|
17
|
-
"homepage": "https://github.com/feross/safe-buffer",
|
|
18
|
-
"keywords": [
|
|
19
|
-
"buffer",
|
|
20
|
-
"buffer allocate",
|
|
21
|
-
"node security",
|
|
22
|
-
"safe",
|
|
23
|
-
"safe-buffer",
|
|
24
|
-
"security",
|
|
25
|
-
"uninitialized"
|
|
26
|
-
],
|
|
27
|
-
"license": "MIT",
|
|
28
|
-
"main": "index.js",
|
|
29
|
-
"types": "index.d.ts",
|
|
30
|
-
"repository": {
|
|
31
|
-
"type": "git",
|
|
32
|
-
"url": "git://github.com/feross/safe-buffer.git"
|
|
33
|
-
},
|
|
34
|
-
"scripts": {
|
|
35
|
-
"test": "standard && tape test/*.js"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) Feross Aboukhadijeh
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|