From c7de0922426b5bc35bdf2062b80e7ec5abd274f1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Apr 2022 21:14:59 +0900 Subject: [PATCH] Bump @types/node from 17.0.25 to 17.0.26 (#147) * Bump @types/node from 17.0.25 to 17.0.26 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.25 to 17.0.26. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * npm ci Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: jiro4989 --- node_modules/.package-lock.json | 6 ++--- node_modules/@types/node/README.md | 2 +- node_modules/@types/node/crypto.d.ts | 32 +++++++++++++++++++++++---- node_modules/@types/node/package.json | 4 ++-- package-lock.json | 14 ++++++------ package.json | 2 +- 6 files changed, 42 insertions(+), 18 deletions(-) diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 4cbf16cd4..2d42c9d24 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -2192,9 +2192,9 @@ } }, "node_modules/@types/node": { - "version": "17.0.25", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.25.tgz", - "integrity": "sha512-wANk6fBrUwdpY4isjWrKTufkrXdu1D2YHCot2fD/DfWxF5sMrVSA+KN7ydckvaTCh0HiqX9IVl0L5/ZoXg5M7w==", + "version": "17.0.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.26.tgz", + "integrity": "sha512-z/FG/6DUO7pnze3AE3TBGIjGGKkvCcGcWINe1C7cADY8hKLJPDYpzsNE37uExQ4md5RFtTCvg+M8Mu1Enyeg2A==", "dev": true }, "node_modules/@types/normalize-package-data": { diff --git a/node_modules/@types/node/README.md b/node_modules/@types/node/README.md index 2533247d0..d1cadfa7e 100755 --- a/node_modules/@types/node/README.md +++ b/node_modules/@types/node/README.md @@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/). Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node. ### Additional Details - * Last updated: Mon, 18 Apr 2022 16:31:18 GMT + * Last updated: Sun, 24 Apr 2022 21:01:37 GMT * Dependencies: none * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require` diff --git a/node_modules/@types/node/crypto.d.ts b/node_modules/@types/node/crypto.d.ts index 4dff48808..6e512ec5e 100755 --- a/node_modules/@types/node/crypto.d.ts +++ b/node_modules/@types/node/crypto.d.ts @@ -646,6 +646,7 @@ declare module 'crypto' { } type CipherCCMTypes = 'aes-128-ccm' | 'aes-192-ccm' | 'aes-256-ccm' | 'chacha20-poly1305'; type CipherGCMTypes = 'aes-128-gcm' | 'aes-192-gcm' | 'aes-256-gcm'; + type CipherOCBTypes = 'aes-128-ocb' | 'aes-192-ocb' | 'aes-256-ocb'; type BinaryLike = string | NodeJS.ArrayBufferView; type CipherKey = BinaryLike | KeyObject; interface CipherCCMOptions extends stream.TransformOptions { @@ -654,6 +655,9 @@ declare module 'crypto' { interface CipherGCMOptions extends stream.TransformOptions { authTagLength?: number | undefined; } + interface CipherOCBOptions extends stream.TransformOptions { + authTagLength: number; + } /** * Creates and returns a `Cipher` object that uses the given `algorithm` and`password`. * @@ -720,8 +724,9 @@ declare module 'crypto' { * @since v0.1.94 * @param options `stream.transform` options */ - function createCipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike | null, options: CipherCCMOptions): CipherCCM; - function createCipheriv(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike | null, options?: CipherGCMOptions): CipherGCM; + function createCipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike, options: CipherCCMOptions): CipherCCM; + function createCipheriv(algorithm: CipherOCBTypes, key: CipherKey, iv: BinaryLike, options: CipherOCBOptions): CipherOCB; + function createCipheriv(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike, options?: CipherGCMOptions): CipherGCM; function createCipheriv(algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: stream.TransformOptions): Cipher; /** * Instances of the `Cipher` class are used to encrypt data. The class can be @@ -907,6 +912,15 @@ declare module 'crypto' { ): this; getAuthTag(): Buffer; } + interface CipherOCB extends Cipher { + setAAD( + buffer: NodeJS.ArrayBufferView, + options?: { + plaintextLength: number; + } + ): this; + getAuthTag(): Buffer; + } /** * Creates and returns a `Decipher` object that uses the given `algorithm` and`password` (key). * @@ -961,8 +975,9 @@ declare module 'crypto' { * @since v0.1.94 * @param options `stream.transform` options */ - function createDecipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike | null, options: CipherCCMOptions): DecipherCCM; - function createDecipheriv(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike | null, options?: CipherGCMOptions): DecipherGCM; + function createDecipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike, options: CipherCCMOptions): DecipherCCM; + function createDecipheriv(algorithm: CipherOCBTypes, key: CipherKey, iv: BinaryLike, options: CipherOCBOptions): DecipherOCB; + function createDecipheriv(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike, options?: CipherGCMOptions): DecipherGCM; function createDecipheriv(algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: stream.TransformOptions): Decipher; /** * Instances of the `Decipher` class are used to decrypt data. The class can be @@ -1133,6 +1148,15 @@ declare module 'crypto' { } ): this; } + interface DecipherOCB extends Decipher { + setAuthTag(buffer: NodeJS.ArrayBufferView): this; + setAAD( + buffer: NodeJS.ArrayBufferView, + options?: { + plaintextLength: number; + } + ): this; + } interface PrivateKeyInput { key: string | Buffer; format?: KeyFormat | undefined; diff --git a/node_modules/@types/node/package.json b/node_modules/@types/node/package.json index 9f6d54469..5039212bc 100755 --- a/node_modules/@types/node/package.json +++ b/node_modules/@types/node/package.json @@ -1,6 +1,6 @@ { "name": "@types/node", - "version": "17.0.25", + "version": "17.0.26", "description": "TypeScript definitions for Node.js", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", "license": "MIT", @@ -215,6 +215,6 @@ }, "scripts": {}, "dependencies": {}, - "typesPublisherContentHash": "825e787f0a7c6fde372f102a7e96d0c64b5cb4ff7c07557941bedf371f097b76", + "typesPublisherContentHash": "532e2a9be1446f8b4aff478a81907e04d5c3f722dd7b24bdffa7da895c7f5a1c", "typeScriptVersion": "3.9" } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index ef20b1d10..839080e2c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "@actions/tool-cache": "^1.7.2", "@types/jest": "^27.4.1", "@types/nock": "^11.1.0", - "@types/node": "^17.0.25", + "@types/node": "^17.0.26", "@types/semver": "^7.3.9", "ansi-regex": "^6.0.1", "husky": "^7.0.4", @@ -2229,9 +2229,9 @@ } }, "node_modules/@types/node": { - "version": "17.0.25", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.25.tgz", - "integrity": "sha512-wANk6fBrUwdpY4isjWrKTufkrXdu1D2YHCot2fD/DfWxF5sMrVSA+KN7ydckvaTCh0HiqX9IVl0L5/ZoXg5M7w==", + "version": "17.0.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.26.tgz", + "integrity": "sha512-z/FG/6DUO7pnze3AE3TBGIjGGKkvCcGcWINe1C7cADY8hKLJPDYpzsNE37uExQ4md5RFtTCvg+M8Mu1Enyeg2A==", "dev": true }, "node_modules/@types/normalize-package-data": { @@ -11336,9 +11336,9 @@ } }, "@types/node": { - "version": "17.0.25", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.25.tgz", - "integrity": "sha512-wANk6fBrUwdpY4isjWrKTufkrXdu1D2YHCot2fD/DfWxF5sMrVSA+KN7ydckvaTCh0HiqX9IVl0L5/ZoXg5M7w==", + "version": "17.0.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.26.tgz", + "integrity": "sha512-z/FG/6DUO7pnze3AE3TBGIjGGKkvCcGcWINe1C7cADY8hKLJPDYpzsNE37uExQ4md5RFtTCvg+M8Mu1Enyeg2A==", "dev": true }, "@types/normalize-package-data": { diff --git a/package.json b/package.json index 381995f3c..6524d4d9d 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@actions/tool-cache": "^1.7.2", "@types/jest": "^27.4.1", "@types/nock": "^11.1.0", - "@types/node": "^17.0.25", + "@types/node": "^17.0.26", "@types/semver": "^7.3.9", "ansi-regex": "^6.0.1", "husky": "^7.0.4",