cdk-ecr-deployment
Advanced tools
Comparing version 0.0.79 to 0.0.80
@@ -71,3 +71,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
DockerImageName[_a] = { fqn: "cdk-ecr-deployment.DockerImageName", version: "0.0.79" }; | ||
DockerImageName[_a] = { fqn: "cdk-ecr-deployment.DockerImageName", version: "0.0.80" }; | ||
/** | ||
@@ -98,3 +98,3 @@ * @stability stable | ||
_b = JSII_RTTI_SYMBOL_1; | ||
S3ArchiveName[_b] = { fqn: "cdk-ecr-deployment.S3ArchiveName", version: "0.0.79" }; | ||
S3ArchiveName[_b] = { fqn: "cdk-ecr-deployment.S3ArchiveName", version: "0.0.80" }; | ||
/** | ||
@@ -182,3 +182,3 @@ * @stability stable | ||
_c = JSII_RTTI_SYMBOL_1; | ||
ECRDeployment[_c] = { fqn: "cdk-ecr-deployment.ECRDeployment", version: "0.0.79" }; | ||
ECRDeployment[_c] = { fqn: "cdk-ecr-deployment.ECRDeployment", version: "0.0.80" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxxRUFBcUU7QUFDckUsc0NBQXNDO0FBR3RDLCtDQUErQztBQUMvQyw2QkFBNkI7QUFFN0Isd0NBQXdDO0FBQ3hDLDhDQUE4QztBQUM5QyxxQ0FBcUM7QUFHckMsOERBQThEO0FBQzlELHdDQUEwRTtBQWlDMUUsU0FBUyxPQUFPO0lBQ2QsSUFBSSxDQUFDLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxFQUFFLElBQUksT0FBTyxDQUFDLEdBQUcsQ0FBQyxrQkFBa0IsQ0FBQyxFQUFFO1FBQ3ZELElBQUk7WUFDRixPQUFPLENBQUMsR0FBRyxDQUFDLDRCQUE0QixDQUFDL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ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgZGVzdDogSUltYWdlTmFtZTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgbWVtb3J5TGltaXQ/OiBudW1iZXI7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSByb2xlPzogaWFtLklSb2xlO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgdnBjPzogZWMyLklWcGM7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IHZwY1N1Ym5ldHM/OiBlYzIuU3VibmV0U2VsZWN0aW9uO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgZW52aXJvbm1lbnQ/OiB7IFtrZXk6IHN0cmluZ106IHN0cmluZyB9O1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIElJbWFnZU5hbWUge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSB1cmk6IHN0cmluZztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIGNyZWRzPzogc3RyaW5nO1xufVxuXG5mdW5jdGlvbiBnZXRDb2RlKCk6IGxhbWJkYS5Bc3NldENvZGUge1xuICBpZiAoIShwcm9jZXNzLmVudi5DSSB8fCBwcm9jZXNzLmVudi5OT19QUkVCVUlMVF9MQU1CREEpKSB7XG4gICAgdHJ5IHtcbiAgICAgIGNvbnNvbGUubG9nKCdUcnkgdG8gZ2V0IHByZWJ1aWx0IGxhbWJkYScpO1xuXG4gICAgICBjb25zdCBpbnN0YWxsU2NyaXB0ID0gcGF0aC5qb2luKF9fZGlybmFtZSwgJy4uL2xhbWJkYS9pbnN0YWxsLmpzJyk7XG4gICAgICBjb25zdCBwcmVidWlsdFBhdGggPSBwYXRoLmpvaW4oX19kaXJuYW1lLCAnLi4vbGFtYmRhL291dCcpO1xuICAgICAgY2hpbGRfcHJvY2Vzcy5leGVjU3luYyhgJHtwcm9jZXNzLmFyZ3YwfSAke2luc3RhbGxTY3JpcHR9ICR7cHJlYnVpbHRQYXRofWApO1xuXG4gICAgICByZXR1cm4gbGFtYmRhLkNvZGUuZnJvbUFzc2V0KHByZWJ1aWx0UGF0aCk7XG4gICAgfSBjYXRjaCAoZXJyKSB7XG4gICAgICBjb25zb2xlLndhcm4oYENhbiBub3QgZ2V0IHByZWJ1aWx0IGxhbWJkYTogJHtlcnJ9YCk7XG4gICAgfVxuICB9XG5cbiAgY29u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udW1iZXIpIHtcbiAgICBsZXQgdXVpZCA9ICdiZDA3YzkzMC1lZGI5LTQxMTItYTIwZi0wM2YwOTZmNTM2NjYnO1xuXG4gICAgLy8gaWYgdXNlciBzcGVjaWZ5IGEgY3VzdG9tIG1lbW9yeSBsaW1pdCwgZGVmaW5lIGFub3RoZXIgc2luZ2xldG9uIGhhbmRsZXJcbiAgICAvLyB3aXRoIHRoaXMgY29uZmlndXJhdGlvbi4gb3RoZXJ3aXNlLCBpdCB3b24ndCBiZSBwb3NzaWJsZSB0byB1c2UgbXVsdGlwbGVcbiAgICAvLyBjb25maWd1cmF0aW9ucyBzaW5jZSB3ZSBoYXZlIGEgc2luZ2xldG9uLlxuICAgIGlmIChtZW1vcnlMaW1pdCkge1xuICAgICAgaWYgKGNkay5Ub2tlbi5pc1VucmVzb2x2ZWQobWVtb3J5TGltaXQpKSB7XG4gICAgICAgIHRocm93IG5ldyBFcnJvcignQ2FuXFwndCB1c2UgdG9rZW5zIHdoZW4gc3BlY2lmeWluZyBcIm1lbW9yeUxpbWl0XCIgc2luY2Ugd2UgdXNlIGl0IHRvIGlkZW50aWZ5IHRoZSBzaW5nbGV0b24gY3VzdG9tIHJlc291cmNlIGhhbmRsZXInKTtcbiAgICAgIH1cblxuICAgICAgdXVpZCArPSBgLSR7bWVtb3J5TGltaXQudG9TdHJpbmcoKX1NaUJgO1xuICAgIH1cblxuICAgIHJldHVybiB1dWlkO1xuICB9XG59XG4iXX0= |
@@ -169,6 +169,6 @@ /** | ||
*/ | ||
bind(port?: number, address?: string, callback?: () => void): void; | ||
bind(port?: number, callback?: () => void): void; | ||
bind(callback?: () => void): void; | ||
bind(options: BindOptions, callback?: () => void): void; | ||
bind(port?: number, address?: string, callback?: () => void): this; | ||
bind(port?: number, callback?: () => void): this; | ||
bind(callback?: () => void): this; | ||
bind(options: BindOptions, callback?: () => void): this; | ||
/** | ||
@@ -180,3 +180,3 @@ * Close the underlying socket and stop listening for data on it. If a callback is | ||
*/ | ||
close(callback?: () => void): void; | ||
close(callback?: () => void): this; | ||
/** | ||
@@ -419,3 +419,3 @@ * Associates the `dgram.Socket` to a remote address and port. Every | ||
*/ | ||
setMulticastLoopback(flag: boolean): void; | ||
setMulticastLoopback(flag: boolean): boolean; | ||
/** | ||
@@ -433,3 +433,3 @@ * Sets the `IP_MULTICAST_TTL` socket option. While TTL generally stands for | ||
*/ | ||
setMulticastTTL(ttl: number): void; | ||
setMulticastTTL(ttl: number): number; | ||
/** | ||
@@ -464,3 +464,3 @@ * Sets the `SO_RCVBUF` socket option. Sets the maximum socket receive buffer | ||
*/ | ||
setTTL(ttl: number): void; | ||
setTTL(ttl: number): number; | ||
/** | ||
@@ -467,0 +467,0 @@ * By default, binding a socket will cause it to block the Node.js process from |
@@ -40,2 +40,3 @@ /** | ||
* ``` | ||
* @since v15.1.0, v14.17.0 | ||
* @param name The channel name | ||
@@ -55,2 +56,3 @@ * @return If there are active subscribers | ||
* ``` | ||
* @since v15.1.0, v14.17.0 | ||
* @param name The channel name | ||
@@ -68,2 +70,3 @@ * @return The named channel object | ||
* with `new Channel(name)` is not supported. | ||
* @since v15.1.0, v14.17.0 | ||
*/ | ||
@@ -88,2 +91,3 @@ class Channel { | ||
* ``` | ||
* @since v15.1.0, v14.17.0 | ||
*/ | ||
@@ -106,2 +110,3 @@ readonly hasSubscribers: boolean; | ||
* ``` | ||
* @since v15.1.0, v14.17.0 | ||
* @param onMessage The handler to receive channel messages | ||
@@ -126,2 +131,3 @@ */ | ||
* ``` | ||
* @since v15.1.0, v14.17.0 | ||
* @param onMessage The previous subscribed handler to remove | ||
@@ -128,0 +134,0 @@ */ |
@@ -34,2 +34,4 @@ /** | ||
CopyOptions, | ||
ReadStream, | ||
WriteStream, | ||
} from 'node:fs'; | ||
@@ -63,2 +65,16 @@ interface FileChangeInfo<T extends string | Buffer> { | ||
} | ||
interface CreateReadStreamOptions { | ||
encoding?: BufferEncoding | null | undefined; | ||
autoClose?: boolean | undefined; | ||
emitClose?: boolean | undefined; | ||
start?: number | undefined; | ||
end?: number | undefined; | ||
highWaterMark?: number | undefined; | ||
} | ||
interface CreateWriteStreamOptions { | ||
encoding?: BufferEncoding | null | undefined; | ||
autoClose?: boolean | undefined; | ||
emitClose?: boolean | undefined; | ||
start?: number | undefined; | ||
} | ||
// TODO: Add `EventEmitter` close | ||
@@ -96,2 +112,73 @@ interface FileHandle { | ||
/** | ||
* Unlike the 16 kb default `highWaterMark` for a `stream.Readable`, the stream | ||
* returned by this method has a default `highWaterMark` of 64 kb. | ||
* | ||
* `options` can include `start` and `end` values to read a range of bytes from | ||
* the file instead of the entire file. Both `start` and `end` are inclusive and | ||
* start counting at 0, allowed values are in the | ||
* \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. If `start` is | ||
* omitted or `undefined`, `filehandle.createReadStream()` reads sequentially from | ||
* the current file position. The `encoding` can be any one of those accepted by `Buffer`. | ||
* | ||
* If the `FileHandle` points to a character device that only supports blocking | ||
* reads (such as keyboard or sound card), read operations do not finish until data | ||
* is available. This can prevent the process from exiting and the stream from | ||
* closing naturally. | ||
* | ||
* By default, the stream will emit a `'close'` event after it has been | ||
* destroyed. Set the `emitClose` option to `false` to change this behavior. | ||
* | ||
* ```js | ||
* import { open } from 'fs/promises'; | ||
* | ||
* const fd = await open('/dev/input/event0'); | ||
* // Create a stream from some character device. | ||
* const stream = fd.createReadStream(); | ||
* setTimeout(() => { | ||
* stream.close(); // This may not close the stream. | ||
* // Artificially marking end-of-stream, as if the underlying resource had | ||
* // indicated end-of-file by itself, allows the stream to close. | ||
* // This does not cancel pending read operations, and if there is such an | ||
* // operation, the process may still not be able to exit successfully | ||
* // until it finishes. | ||
* stream.push(null); | ||
* stream.read(0); | ||
* }, 100); | ||
* ``` | ||
* | ||
* If `autoClose` is false, then the file descriptor won't be closed, even if | ||
* there's an error. It is the application's responsibility to close it and make | ||
* sure there's no file descriptor leak. If `autoClose` is set to true (default | ||
* behavior), on `'error'` or `'end'` the file descriptor will be closed | ||
* automatically. | ||
* | ||
* An example to read the last 10 bytes of a file which is 100 bytes long: | ||
* | ||
* ```js | ||
* import { open } from 'fs/promises'; | ||
* | ||
* const fd = await open('sample.txt'); | ||
* fd.createReadStream({ start: 90, end: 99 }); | ||
* ``` | ||
* @since v16.11.0 | ||
*/ | ||
createReadStream(options?: CreateReadStreamOptions): ReadStream; | ||
/** | ||
* `options` may also include a `start` option to allow writing data at some | ||
* position past the beginning of the file, allowed values are in the | ||
* \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. Modifying a file rather than replacing | ||
* it may require the `flags` `open` option to be set to `r+` rather than the | ||
* default `r`. The `encoding` can be any one of those accepted by `Buffer`. | ||
* | ||
* If `autoClose` is set to true (default behavior) on `'error'` or `'finish'`the file descriptor will be closed automatically. If `autoClose` is false, | ||
* then the file descriptor won't be closed, even if there's an error. | ||
* It is the application's responsibility to close it and make sure there's no | ||
* file descriptor leak. | ||
* | ||
* By default, the stream will emit a `'close'` event after it has been | ||
* destroyed. Set the `emitClose` option to `false` to change this behavior. | ||
* @since v16.11.0 | ||
*/ | ||
createWriteStream(options?: CreateWriteStreamOptions): WriteStream; | ||
/** | ||
* Forces all currently queued I/O operations associated with the file to the | ||
@@ -934,3 +1021,3 @@ * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. | ||
*/ | ||
function opendir(path: string, options?: OpenDirOptions): Promise<Dir>; | ||
function opendir(path: PathLike, options?: OpenDirOptions): Promise<Dir>; | ||
/** | ||
@@ -937,0 +1024,0 @@ * Returns an async iterator that watches for changes on `filename`, where `filename`is either a file or a directory. |
@@ -190,5 +190,5 @@ /** | ||
* | ||
* A value of `null` will disable the limit. | ||
* A value of `0` will disable the limit. | ||
* | ||
* When limit is reach it will set `Connection` header value to `closed`, | ||
* When the limit is reached it will set the `Connection` header value to `close`, | ||
* but will not actually close the connection, subsequent requests sent | ||
@@ -195,0 +195,0 @@ * after the limit is reached will get `503 Service Unavailable` as a response. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for non-npm package Node.js 16.10 | ||
// Type definitions for non-npm package Node.js 16.11 | ||
// Project: https://nodejs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Microsoft TypeScript <https://github.com/Microsoft> |
{ | ||
"name": "@types/node", | ||
"version": "16.10.3", | ||
"version": "16.11.0", | ||
"description": "TypeScript definitions for Node.js", | ||
@@ -228,4 +228,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "6b890401c9e8ed8ad1296e2cfeef65f2ba29feb793d490917f614c65e7f33f07", | ||
"typesPublisherContentHash": "827f2ca6e5d8c037066cca1f4ed1235b83dec1ca8f49b34c8c2b6f477c8f9d6b", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 05 Oct 2021 20:31:28 GMT | ||
* Last updated: Thu, 14 Oct 2021 18:01:22 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require` |
@@ -169,6 +169,6 @@ /** | ||
*/ | ||
bind(port?: number, address?: string, callback?: () => void): void; | ||
bind(port?: number, callback?: () => void): void; | ||
bind(callback?: () => void): void; | ||
bind(options: BindOptions, callback?: () => void): void; | ||
bind(port?: number, address?: string, callback?: () => void): this; | ||
bind(port?: number, callback?: () => void): this; | ||
bind(callback?: () => void): this; | ||
bind(options: BindOptions, callback?: () => void): this; | ||
/** | ||
@@ -180,3 +180,3 @@ * Close the underlying socket and stop listening for data on it. If a callback is | ||
*/ | ||
close(callback?: () => void): void; | ||
close(callback?: () => void): this; | ||
/** | ||
@@ -419,3 +419,3 @@ * Associates the `dgram.Socket` to a remote address and port. Every | ||
*/ | ||
setMulticastLoopback(flag: boolean): void; | ||
setMulticastLoopback(flag: boolean): boolean; | ||
/** | ||
@@ -433,3 +433,3 @@ * Sets the `IP_MULTICAST_TTL` socket option. While TTL generally stands for | ||
*/ | ||
setMulticastTTL(ttl: number): void; | ||
setMulticastTTL(ttl: number): number; | ||
/** | ||
@@ -464,3 +464,3 @@ * Sets the `SO_RCVBUF` socket option. Sets the maximum socket receive buffer | ||
*/ | ||
setTTL(ttl: number): void; | ||
setTTL(ttl: number): number; | ||
/** | ||
@@ -467,0 +467,0 @@ * By default, binding a socket will cause it to block the Node.js process from |
@@ -40,2 +40,3 @@ /** | ||
* ``` | ||
* @since v15.1.0, v14.17.0 | ||
* @param name The channel name | ||
@@ -55,2 +56,3 @@ * @return If there are active subscribers | ||
* ``` | ||
* @since v15.1.0, v14.17.0 | ||
* @param name The channel name | ||
@@ -68,2 +70,3 @@ * @return The named channel object | ||
* with `new Channel(name)` is not supported. | ||
* @since v15.1.0, v14.17.0 | ||
*/ | ||
@@ -88,2 +91,3 @@ class Channel { | ||
* ``` | ||
* @since v15.1.0, v14.17.0 | ||
*/ | ||
@@ -106,2 +110,3 @@ readonly hasSubscribers: boolean; | ||
* ``` | ||
* @since v15.1.0, v14.17.0 | ||
* @param onMessage The handler to receive channel messages | ||
@@ -126,2 +131,3 @@ */ | ||
* ``` | ||
* @since v15.1.0, v14.17.0 | ||
* @param onMessage The previous subscribed handler to remove | ||
@@ -128,0 +134,0 @@ */ |
@@ -34,2 +34,4 @@ /** | ||
CopyOptions, | ||
ReadStream, | ||
WriteStream, | ||
} from 'node:fs'; | ||
@@ -63,2 +65,16 @@ interface FileChangeInfo<T extends string | Buffer> { | ||
} | ||
interface CreateReadStreamOptions { | ||
encoding?: BufferEncoding | null | undefined; | ||
autoClose?: boolean | undefined; | ||
emitClose?: boolean | undefined; | ||
start?: number | undefined; | ||
end?: number | undefined; | ||
highWaterMark?: number | undefined; | ||
} | ||
interface CreateWriteStreamOptions { | ||
encoding?: BufferEncoding | null | undefined; | ||
autoClose?: boolean | undefined; | ||
emitClose?: boolean | undefined; | ||
start?: number | undefined; | ||
} | ||
// TODO: Add `EventEmitter` close | ||
@@ -96,2 +112,73 @@ interface FileHandle { | ||
/** | ||
* Unlike the 16 kb default `highWaterMark` for a `stream.Readable`, the stream | ||
* returned by this method has a default `highWaterMark` of 64 kb. | ||
* | ||
* `options` can include `start` and `end` values to read a range of bytes from | ||
* the file instead of the entire file. Both `start` and `end` are inclusive and | ||
* start counting at 0, allowed values are in the | ||
* \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. If `start` is | ||
* omitted or `undefined`, `filehandle.createReadStream()` reads sequentially from | ||
* the current file position. The `encoding` can be any one of those accepted by `Buffer`. | ||
* | ||
* If the `FileHandle` points to a character device that only supports blocking | ||
* reads (such as keyboard or sound card), read operations do not finish until data | ||
* is available. This can prevent the process from exiting and the stream from | ||
* closing naturally. | ||
* | ||
* By default, the stream will emit a `'close'` event after it has been | ||
* destroyed. Set the `emitClose` option to `false` to change this behavior. | ||
* | ||
* ```js | ||
* import { open } from 'fs/promises'; | ||
* | ||
* const fd = await open('/dev/input/event0'); | ||
* // Create a stream from some character device. | ||
* const stream = fd.createReadStream(); | ||
* setTimeout(() => { | ||
* stream.close(); // This may not close the stream. | ||
* // Artificially marking end-of-stream, as if the underlying resource had | ||
* // indicated end-of-file by itself, allows the stream to close. | ||
* // This does not cancel pending read operations, and if there is such an | ||
* // operation, the process may still not be able to exit successfully | ||
* // until it finishes. | ||
* stream.push(null); | ||
* stream.read(0); | ||
* }, 100); | ||
* ``` | ||
* | ||
* If `autoClose` is false, then the file descriptor won't be closed, even if | ||
* there's an error. It is the application's responsibility to close it and make | ||
* sure there's no file descriptor leak. If `autoClose` is set to true (default | ||
* behavior), on `'error'` or `'end'` the file descriptor will be closed | ||
* automatically. | ||
* | ||
* An example to read the last 10 bytes of a file which is 100 bytes long: | ||
* | ||
* ```js | ||
* import { open } from 'fs/promises'; | ||
* | ||
* const fd = await open('sample.txt'); | ||
* fd.createReadStream({ start: 90, end: 99 }); | ||
* ``` | ||
* @since v16.11.0 | ||
*/ | ||
createReadStream(options?: CreateReadStreamOptions): ReadStream; | ||
/** | ||
* `options` may also include a `start` option to allow writing data at some | ||
* position past the beginning of the file, allowed values are in the | ||
* \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. Modifying a file rather than replacing | ||
* it may require the `flags` `open` option to be set to `r+` rather than the | ||
* default `r`. The `encoding` can be any one of those accepted by `Buffer`. | ||
* | ||
* If `autoClose` is set to true (default behavior) on `'error'` or `'finish'`the file descriptor will be closed automatically. If `autoClose` is false, | ||
* then the file descriptor won't be closed, even if there's an error. | ||
* It is the application's responsibility to close it and make sure there's no | ||
* file descriptor leak. | ||
* | ||
* By default, the stream will emit a `'close'` event after it has been | ||
* destroyed. Set the `emitClose` option to `false` to change this behavior. | ||
* @since v16.11.0 | ||
*/ | ||
createWriteStream(options?: CreateWriteStreamOptions): WriteStream; | ||
/** | ||
* Forces all currently queued I/O operations associated with the file to the | ||
@@ -934,3 +1021,3 @@ * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. | ||
*/ | ||
function opendir(path: string, options?: OpenDirOptions): Promise<Dir>; | ||
function opendir(path: PathLike, options?: OpenDirOptions): Promise<Dir>; | ||
/** | ||
@@ -937,0 +1024,0 @@ * Returns an async iterator that watches for changes on `filename`, where `filename`is either a file or a directory. |
@@ -190,5 +190,5 @@ /** | ||
* | ||
* A value of `null` will disable the limit. | ||
* A value of `0` will disable the limit. | ||
* | ||
* When limit is reach it will set `Connection` header value to `closed`, | ||
* When the limit is reached it will set the `Connection` header value to `close`, | ||
* but will not actually close the connection, subsequent requests sent | ||
@@ -195,0 +195,0 @@ * after the limit is reached will get `503 Service Unavailable` as a response. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for non-npm package Node.js 16.10 | ||
// Type definitions for non-npm package Node.js 16.11 | ||
// Project: https://nodejs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Microsoft TypeScript <https://github.com/Microsoft> |
{ | ||
"name": "@types/node", | ||
"version": "16.10.3", | ||
"version": "16.11.0", | ||
"description": "TypeScript definitions for Node.js", | ||
@@ -228,4 +228,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "6b890401c9e8ed8ad1296e2cfeef65f2ba29feb793d490917f614c65e7f33f07", | ||
"typesPublisherContentHash": "827f2ca6e5d8c037066cca1f4ed1235b83dec1ca8f49b34c8c2b6f477c8f9d6b", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 05 Oct 2021 20:31:28 GMT | ||
* Last updated: Thu, 14 Oct 2021 18:01:22 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require` |
@@ -169,6 +169,6 @@ /** | ||
*/ | ||
bind(port?: number, address?: string, callback?: () => void): void; | ||
bind(port?: number, callback?: () => void): void; | ||
bind(callback?: () => void): void; | ||
bind(options: BindOptions, callback?: () => void): void; | ||
bind(port?: number, address?: string, callback?: () => void): this; | ||
bind(port?: number, callback?: () => void): this; | ||
bind(callback?: () => void): this; | ||
bind(options: BindOptions, callback?: () => void): this; | ||
/** | ||
@@ -180,3 +180,3 @@ * Close the underlying socket and stop listening for data on it. If a callback is | ||
*/ | ||
close(callback?: () => void): void; | ||
close(callback?: () => void): this; | ||
/** | ||
@@ -419,3 +419,3 @@ * Associates the `dgram.Socket` to a remote address and port. Every | ||
*/ | ||
setMulticastLoopback(flag: boolean): void; | ||
setMulticastLoopback(flag: boolean): boolean; | ||
/** | ||
@@ -433,3 +433,3 @@ * Sets the `IP_MULTICAST_TTL` socket option. While TTL generally stands for | ||
*/ | ||
setMulticastTTL(ttl: number): void; | ||
setMulticastTTL(ttl: number): number; | ||
/** | ||
@@ -464,3 +464,3 @@ * Sets the `SO_RCVBUF` socket option. Sets the maximum socket receive buffer | ||
*/ | ||
setTTL(ttl: number): void; | ||
setTTL(ttl: number): number; | ||
/** | ||
@@ -467,0 +467,0 @@ * By default, binding a socket will cause it to block the Node.js process from |
@@ -40,2 +40,3 @@ /** | ||
* ``` | ||
* @since v15.1.0, v14.17.0 | ||
* @param name The channel name | ||
@@ -55,2 +56,3 @@ * @return If there are active subscribers | ||
* ``` | ||
* @since v15.1.0, v14.17.0 | ||
* @param name The channel name | ||
@@ -68,2 +70,3 @@ * @return The named channel object | ||
* with `new Channel(name)` is not supported. | ||
* @since v15.1.0, v14.17.0 | ||
*/ | ||
@@ -88,2 +91,3 @@ class Channel { | ||
* ``` | ||
* @since v15.1.0, v14.17.0 | ||
*/ | ||
@@ -106,2 +110,3 @@ readonly hasSubscribers: boolean; | ||
* ``` | ||
* @since v15.1.0, v14.17.0 | ||
* @param onMessage The handler to receive channel messages | ||
@@ -126,2 +131,3 @@ */ | ||
* ``` | ||
* @since v15.1.0, v14.17.0 | ||
* @param onMessage The previous subscribed handler to remove | ||
@@ -128,0 +134,0 @@ */ |
@@ -34,2 +34,4 @@ /** | ||
CopyOptions, | ||
ReadStream, | ||
WriteStream, | ||
} from 'node:fs'; | ||
@@ -63,2 +65,16 @@ interface FileChangeInfo<T extends string | Buffer> { | ||
} | ||
interface CreateReadStreamOptions { | ||
encoding?: BufferEncoding | null | undefined; | ||
autoClose?: boolean | undefined; | ||
emitClose?: boolean | undefined; | ||
start?: number | undefined; | ||
end?: number | undefined; | ||
highWaterMark?: number | undefined; | ||
} | ||
interface CreateWriteStreamOptions { | ||
encoding?: BufferEncoding | null | undefined; | ||
autoClose?: boolean | undefined; | ||
emitClose?: boolean | undefined; | ||
start?: number | undefined; | ||
} | ||
// TODO: Add `EventEmitter` close | ||
@@ -96,2 +112,73 @@ interface FileHandle { | ||
/** | ||
* Unlike the 16 kb default `highWaterMark` for a `stream.Readable`, the stream | ||
* returned by this method has a default `highWaterMark` of 64 kb. | ||
* | ||
* `options` can include `start` and `end` values to read a range of bytes from | ||
* the file instead of the entire file. Both `start` and `end` are inclusive and | ||
* start counting at 0, allowed values are in the | ||
* \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. If `start` is | ||
* omitted or `undefined`, `filehandle.createReadStream()` reads sequentially from | ||
* the current file position. The `encoding` can be any one of those accepted by `Buffer`. | ||
* | ||
* If the `FileHandle` points to a character device that only supports blocking | ||
* reads (such as keyboard or sound card), read operations do not finish until data | ||
* is available. This can prevent the process from exiting and the stream from | ||
* closing naturally. | ||
* | ||
* By default, the stream will emit a `'close'` event after it has been | ||
* destroyed. Set the `emitClose` option to `false` to change this behavior. | ||
* | ||
* ```js | ||
* import { open } from 'fs/promises'; | ||
* | ||
* const fd = await open('/dev/input/event0'); | ||
* // Create a stream from some character device. | ||
* const stream = fd.createReadStream(); | ||
* setTimeout(() => { | ||
* stream.close(); // This may not close the stream. | ||
* // Artificially marking end-of-stream, as if the underlying resource had | ||
* // indicated end-of-file by itself, allows the stream to close. | ||
* // This does not cancel pending read operations, and if there is such an | ||
* // operation, the process may still not be able to exit successfully | ||
* // until it finishes. | ||
* stream.push(null); | ||
* stream.read(0); | ||
* }, 100); | ||
* ``` | ||
* | ||
* If `autoClose` is false, then the file descriptor won't be closed, even if | ||
* there's an error. It is the application's responsibility to close it and make | ||
* sure there's no file descriptor leak. If `autoClose` is set to true (default | ||
* behavior), on `'error'` or `'end'` the file descriptor will be closed | ||
* automatically. | ||
* | ||
* An example to read the last 10 bytes of a file which is 100 bytes long: | ||
* | ||
* ```js | ||
* import { open } from 'fs/promises'; | ||
* | ||
* const fd = await open('sample.txt'); | ||
* fd.createReadStream({ start: 90, end: 99 }); | ||
* ``` | ||
* @since v16.11.0 | ||
*/ | ||
createReadStream(options?: CreateReadStreamOptions): ReadStream; | ||
/** | ||
* `options` may also include a `start` option to allow writing data at some | ||
* position past the beginning of the file, allowed values are in the | ||
* \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. Modifying a file rather than replacing | ||
* it may require the `flags` `open` option to be set to `r+` rather than the | ||
* default `r`. The `encoding` can be any one of those accepted by `Buffer`. | ||
* | ||
* If `autoClose` is set to true (default behavior) on `'error'` or `'finish'`the file descriptor will be closed automatically. If `autoClose` is false, | ||
* then the file descriptor won't be closed, even if there's an error. | ||
* It is the application's responsibility to close it and make sure there's no | ||
* file descriptor leak. | ||
* | ||
* By default, the stream will emit a `'close'` event after it has been | ||
* destroyed. Set the `emitClose` option to `false` to change this behavior. | ||
* @since v16.11.0 | ||
*/ | ||
createWriteStream(options?: CreateWriteStreamOptions): WriteStream; | ||
/** | ||
* Forces all currently queued I/O operations associated with the file to the | ||
@@ -934,3 +1021,3 @@ * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. | ||
*/ | ||
function opendir(path: string, options?: OpenDirOptions): Promise<Dir>; | ||
function opendir(path: PathLike, options?: OpenDirOptions): Promise<Dir>; | ||
/** | ||
@@ -937,0 +1024,0 @@ * Returns an async iterator that watches for changes on `filename`, where `filename`is either a file or a directory. |
@@ -190,5 +190,5 @@ /** | ||
* | ||
* A value of `null` will disable the limit. | ||
* A value of `0` will disable the limit. | ||
* | ||
* When limit is reach it will set `Connection` header value to `closed`, | ||
* When the limit is reached it will set the `Connection` header value to `close`, | ||
* but will not actually close the connection, subsequent requests sent | ||
@@ -195,0 +195,0 @@ * after the limit is reached will get `503 Service Unavailable` as a response. |
@@ -1,2 +0,2 @@ | ||
// Type definitions for non-npm package Node.js 16.10 | ||
// Type definitions for non-npm package Node.js 16.11 | ||
// Project: https://nodejs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Microsoft TypeScript <https://github.com/Microsoft> |
{ | ||
"name": "@types/node", | ||
"version": "16.10.3", | ||
"version": "16.11.0", | ||
"description": "TypeScript definitions for Node.js", | ||
@@ -228,4 +228,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "6b890401c9e8ed8ad1296e2cfeef65f2ba29feb793d490917f614c65e7f33f07", | ||
"typesPublisherContentHash": "827f2ca6e5d8c037066cca1f4ed1235b83dec1ca8f49b34c8c2b6f477c8f9d6b", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 05 Oct 2021 20:31:28 GMT | ||
* Last updated: Thu, 14 Oct 2021 18:01:22 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require` |
@@ -38,4 +38,4 @@ { | ||
"@aws-cdk/assert": "^1.95.2", | ||
"@aws-cdk/aws-ecr": "^1.126.0", | ||
"@aws-cdk/aws-ecr-assets": "^1.126.0", | ||
"@aws-cdk/aws-ecr": "^1.128.0", | ||
"@aws-cdk/aws-ecr-assets": "^1.128.0", | ||
"@types/jest": "^27.0.2", | ||
@@ -48,9 +48,9 @@ "@types/node": "^14.17.0", | ||
"eslint-import-resolver-typescript": "^2.5.0", | ||
"eslint-plugin-import": "^2.24.2", | ||
"jest": "^27.2.4", | ||
"eslint-plugin-import": "^2.25.2", | ||
"jest": "^27.2.5", | ||
"jest-junit": "^12", | ||
"jsii": "^1.38.0", | ||
"jsii-diff": "^1.38.0", | ||
"jsii": "^1.39.0", | ||
"jsii-diff": "^1.39.0", | ||
"jsii-docgen": "^1.8.110", | ||
"jsii-pacmak": "^1.38.0", | ||
"jsii-pacmak": "^1.39.0", | ||
"json-schema": "^0.3.0", | ||
@@ -60,17 +60,17 @@ "npm-check-updates": "^11", | ||
"standard-version": "^9", | ||
"ts-jest": "^27.0.5", | ||
"typescript": "^4.4.3" | ||
"ts-jest": "^27.0.7", | ||
"typescript": "^4.4.4" | ||
}, | ||
"peerDependencies": { | ||
"@aws-cdk/aws-ec2": "^1.126.0", | ||
"@aws-cdk/aws-iam": "^1.126.0", | ||
"@aws-cdk/aws-lambda": "^1.126.0", | ||
"@aws-cdk/core": "^1.126.0", | ||
"@aws-cdk/aws-ec2": "^1.128.0", | ||
"@aws-cdk/aws-iam": "^1.128.0", | ||
"@aws-cdk/aws-lambda": "^1.128.0", | ||
"@aws-cdk/core": "^1.128.0", | ||
"constructs": "^3.2.27" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-ec2": "^1.126.0", | ||
"@aws-cdk/aws-iam": "^1.126.0", | ||
"@aws-cdk/aws-lambda": "^1.126.0", | ||
"@aws-cdk/core": "^1.126.0", | ||
"@aws-cdk/aws-ec2": "^1.128.0", | ||
"@aws-cdk/aws-iam": "^1.128.0", | ||
"@aws-cdk/aws-lambda": "^1.128.0", | ||
"@aws-cdk/core": "^1.128.0", | ||
"got": "^11.8.2" | ||
@@ -86,3 +86,3 @@ }, | ||
"license": "Apache-2.0", | ||
"version": "0.0.79", | ||
"version": "0.0.80", | ||
"jest": { | ||
@@ -89,0 +89,0 @@ "testMatch": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5805379
118668
16
Updated@aws-cdk/aws-ec2@^1.128.0
Updated@aws-cdk/aws-iam@^1.128.0
Updated@aws-cdk/aws-lambda@^1.128.0
Updated@aws-cdk/core@^1.128.0