From 9bedf1684512af887a83392bd70d57ce64221850 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 13 Sep 2024 13:52:19 -0400 Subject: [PATCH 1/8] fix: use a local comparison Signed-off-by: Vincent Biret --- vscode/microsoft-kiota/src/openApiTreeProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vscode/microsoft-kiota/src/openApiTreeProvider.ts b/vscode/microsoft-kiota/src/openApiTreeProvider.ts index bf25c636d0..4fc8483009 100644 --- a/vscode/microsoft-kiota/src/openApiTreeProvider.ts +++ b/vscode/microsoft-kiota/src/openApiTreeProvider.ts @@ -292,7 +292,7 @@ export class OpenApiTreeProvider implements vscode.TreeDataProvider x !== '').map(x => x.trim().toLowerCase()).sort(); + this.tokenizedFilter = filterText.length === 0 ? [] : filterText.split(' ').filter(x => x !== '').map(x => x.trim().toLowerCase()).sort((a, b) => a.localeCompare(b)); this.refreshView(); } public get filter(): string { From e63566f650afa124067f54b945a59ae595fdf7f4 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 13 Sep 2024 13:52:36 -0400 Subject: [PATCH 2/8] fix: removes ineffective try catch blocks Signed-off-by: Vincent Biret --- vscode/microsoft-kiota/src/generateClient.ts | 58 +++++++++---------- vscode/microsoft-kiota/src/generatePlugin.ts | 44 +++++++------- vscode/microsoft-kiota/src/getKiotaVersion.ts | 30 +++++----- .../src/getLanguageInformation.ts | 44 ++++++-------- .../src/migrateFromLockFile.ts | 24 ++++---- .../microsoft-kiota/src/searchDescription.ts | 32 +++++----- vscode/microsoft-kiota/src/updateClients.ts | 28 ++++----- 7 files changed, 114 insertions(+), 146 deletions(-) diff --git a/vscode/microsoft-kiota/src/generateClient.ts b/vscode/microsoft-kiota/src/generateClient.ts index ea0be0813b..5638d3b8b9 100644 --- a/vscode/microsoft-kiota/src/generateClient.ts +++ b/vscode/microsoft-kiota/src/generateClient.ts @@ -24,35 +24,31 @@ export function generateClient(context: vscode.ExtensionContext, operation: ConsumerOperation, workingDirectory: string = getWorkspaceJsonDirectory() ): Promise { - try { - return connectToKiota(context, async (connection) => { - const request = new rpc.RequestType1( - "Generate" - ); - return await connection.sendRequest( - request, - { - cleanOutput: cleanOutput, - clearCache: clearCache, - clientClassName: clientClassName, - clientNamespaceName: clientNamespaceName, - deserializers: deserializers, - disabledValidationRules: disableValidationRules, - excludeBackwardCompatible: excludeBackwardCompatible, - excludePatterns: excludeFilters, - includeAdditionalData: includeAdditionalData, - includePatterns: includeFilters, - language: language, - openAPIFilePath: descriptionPath, - outputPath: output, - serializers: serializers, - structuredMimeTypes: structuredMimeTypes, - usesBackingStore: usesBackingStore, - operation: operation - } as GenerationConfiguration, - ); - }, workingDirectory); - } catch (error) { - return Promise.resolve(undefined); - } + return connectToKiota(context, async (connection) => { + const request = new rpc.RequestType1( + "Generate" + ); + return await connection.sendRequest( + request, + { + cleanOutput: cleanOutput, + clearCache: clearCache, + clientClassName: clientClassName, + clientNamespaceName: clientNamespaceName, + deserializers: deserializers, + disabledValidationRules: disableValidationRules, + excludeBackwardCompatible: excludeBackwardCompatible, + excludePatterns: excludeFilters, + includeAdditionalData: includeAdditionalData, + includePatterns: includeFilters, + language: language, + openAPIFilePath: descriptionPath, + outputPath: output, + serializers: serializers, + structuredMimeTypes: structuredMimeTypes, + usesBackingStore: usesBackingStore, + operation: operation + } as GenerationConfiguration, + ); + }, workingDirectory); }; diff --git a/vscode/microsoft-kiota/src/generatePlugin.ts b/vscode/microsoft-kiota/src/generatePlugin.ts index 134515ae55..caa57d2bce 100644 --- a/vscode/microsoft-kiota/src/generatePlugin.ts +++ b/vscode/microsoft-kiota/src/generatePlugin.ts @@ -16,28 +16,24 @@ export function generatePlugin(context: vscode.ExtensionContext, disableValidationRules: string[], operation: ConsumerOperation, workingDirectory: string = getWorkspaceJsonDirectory()): Promise { - try { - return connectToKiota(context, async (connection) => { - const request = new rpc.RequestType1( - "GeneratePlugin" - ); - return await connection.sendRequest( - request, - { - pluginTypes: pluginTypes, - cleanOutput: cleanOutput, - clearCache: clearCache, - clientClassName: clientClassName, - disabledValidationRules: disableValidationRules, - excludePatterns: excludeFilters, - includePatterns: includeFilters, - openAPIFilePath: descriptionPath, - outputPath: output, - operation: operation - } as GenerationConfiguration, - ); - }, workingDirectory); - } catch (error) { - return Promise.resolve(undefined); - } + return connectToKiota(context, async (connection) => { + const request = new rpc.RequestType1( + "GeneratePlugin" + ); + return await connection.sendRequest( + request, + { + pluginTypes: pluginTypes, + cleanOutput: cleanOutput, + clearCache: clearCache, + clientClassName: clientClassName, + disabledValidationRules: disableValidationRules, + excludePatterns: excludeFilters, + includePatterns: includeFilters, + openAPIFilePath: descriptionPath, + outputPath: output, + operation: operation + } as GenerationConfiguration, + ); + }, workingDirectory); }; diff --git a/vscode/microsoft-kiota/src/getKiotaVersion.ts b/vscode/microsoft-kiota/src/getKiotaVersion.ts index 7e6f3c3852..2a09e6bc98 100644 --- a/vscode/microsoft-kiota/src/getKiotaVersion.ts +++ b/vscode/microsoft-kiota/src/getKiotaVersion.ts @@ -3,22 +3,18 @@ import * as rpc from "vscode-jsonrpc/node"; import * as vscode from "vscode"; export function getKiotaVersion(context: vscode.ExtensionContext, kiotaOutputChannel: vscode.LogOutputChannel): Promise { - try { - return connectToKiota(context, async (connection) => { - const request = new rpc.RequestType0("GetVersion"); - const result = await connection.sendRequest(request); - if (result) { - const version = result.split("+")[0]; - if (version) { - kiotaOutputChannel.info(`kiota: ${version}`); - return version; - } + return connectToKiota(context, async (connection) => { + const request = new rpc.RequestType0("GetVersion"); + const result = await connection.sendRequest(request); + if (result) { + const version = result.split("+")[0]; + if (version) { + kiotaOutputChannel.info(`kiota: ${version}`); + return version; } - kiotaOutputChannel.error(`kiota: ${vscode.l10n.t('not found')}`); - kiotaOutputChannel.show(); - return undefined; - }); - } catch (error) { - return Promise.resolve(undefined); - } + } + kiotaOutputChannel.error(`kiota: ${vscode.l10n.t('not found')}`); + kiotaOutputChannel.show(); + return undefined; + }); }; \ No newline at end of file diff --git a/vscode/microsoft-kiota/src/getLanguageInformation.ts b/vscode/microsoft-kiota/src/getLanguageInformation.ts index 9717f16f5e..eec21808f6 100644 --- a/vscode/microsoft-kiota/src/getLanguageInformation.ts +++ b/vscode/microsoft-kiota/src/getLanguageInformation.ts @@ -15,33 +15,25 @@ export async function getLanguageInformation(context: vscode.ExtensionContext): }; function getLanguageInformationInternal(context: vscode.ExtensionContext): Promise { - try { - return connectToKiota(context, async (connection) => { - const request = new rpc.RequestType0( - "Info" - ); - return await connection.sendRequest( - request, - ); - }); - } catch (error) { - return Promise.resolve(undefined); - } + return connectToKiota(context, async (connection) => { + const request = new rpc.RequestType0( + "Info" + ); + return await connection.sendRequest( + request, + ); + }); }; export function getLanguageInformationForDescription(context: vscode.ExtensionContext, descriptionUrl: string, clearCache: boolean): Promise { - try { - return connectToKiota(context, async (connection) => { - const request = new rpc.RequestType2( - "InfoForDescription" - ); - return await connection.sendRequest( - request, - descriptionUrl, - clearCache - ); - }); - } catch (error) { - return Promise.resolve(undefined); - } + return connectToKiota(context, async (connection) => { + const request = new rpc.RequestType2( + "InfoForDescription" + ); + return await connection.sendRequest( + request, + descriptionUrl, + clearCache + ); + }); }; \ No newline at end of file diff --git a/vscode/microsoft-kiota/src/migrateFromLockFile.ts b/vscode/microsoft-kiota/src/migrateFromLockFile.ts index c1c1d3acdf..893412f557 100644 --- a/vscode/microsoft-kiota/src/migrateFromLockFile.ts +++ b/vscode/microsoft-kiota/src/migrateFromLockFile.ts @@ -5,20 +5,16 @@ import { KIOTA_LOCK_FILE } from "./constants"; import { getWorkspaceJsonPath, handleMigration } from "./util"; export function migrateFromLockFile(context: vscode.ExtensionContext, lockFileDirectory: string): Promise { - try { - return connectToKiota(context, async (connection) => { - const request = new rpc.RequestType1( - "MigrateFromLockFile" - ); - const result = await connection.sendRequest( - request, - lockFileDirectory - ); - return result; - }); - } catch (error) { - return Promise.resolve(undefined); - } + return connectToKiota(context, async (connection) => { + const request = new rpc.RequestType1( + "MigrateFromLockFile" + ); + const result = await connection.sendRequest( + request, + lockFileDirectory + ); + return result; + }); }; export async function checkForLockFileAndPrompt(context: vscode.ExtensionContext) { diff --git a/vscode/microsoft-kiota/src/searchDescription.ts b/vscode/microsoft-kiota/src/searchDescription.ts index 6fe76032ba..e69d9afc6a 100644 --- a/vscode/microsoft-kiota/src/searchDescription.ts +++ b/vscode/microsoft-kiota/src/searchDescription.ts @@ -3,22 +3,18 @@ import * as rpc from "vscode-jsonrpc/node"; import * as vscode from "vscode"; export function searchDescription(context: vscode.ExtensionContext, searchTerm: string, clearCache: boolean): Promise | undefined> { - try { - return connectToKiota>(context, async (connection) => { - const request = new rpc.RequestType2( - "Search" - ); - const result = await connection.sendRequest( - request, - searchTerm, - clearCache, - ); - if (result) { - return result.results; - } - return undefined; - }); - } catch (error) { - return Promise.resolve(undefined); - } + return connectToKiota>(context, async (connection) => { + const request = new rpc.RequestType2( + "Search" + ); + const result = await connection.sendRequest( + request, + searchTerm, + clearCache, + ); + if (result) { + return result.results; + } + return undefined; + }); }; \ No newline at end of file diff --git a/vscode/microsoft-kiota/src/updateClients.ts b/vscode/microsoft-kiota/src/updateClients.ts index d47f158f1f..6d34476f1b 100644 --- a/vscode/microsoft-kiota/src/updateClients.ts +++ b/vscode/microsoft-kiota/src/updateClients.ts @@ -3,20 +3,16 @@ import * as rpc from "vscode-jsonrpc/node"; import * as vscode from "vscode"; export function updateClients(context: vscode.ExtensionContext, cleanOutput: boolean, clearCache: boolean): Promise { - try { - return connectToKiota(context, async (connection) => { - const request = new rpc.RequestType3( - "Update" - ); - const result = await connection.sendRequest( - request, - vscode.workspace.workspaceFolders![0].uri.fsPath, - cleanOutput, - clearCache, - ); - return result; - }); - } catch (error) { - return Promise.resolve(undefined); - } + return connectToKiota(context, async (connection) => { + const request = new rpc.RequestType3( + "Update" + ); + const result = await connection.sendRequest( + request, + vscode.workspace.workspaceFolders![0].uri.fsPath, + cleanOutput, + clearCache, + ); + return result; + }); }; \ No newline at end of file From f8c2191e8f6843d8092014f14c4add711675feb7 Mon Sep 17 00:00:00 2001 From: thewahome Date: Mon, 30 Sep 2024 10:01:53 +0300 Subject: [PATCH 3/8] show user the error message --- vscode/microsoft-kiota/src/kiotaInterop.ts | 46 +++++++-------- .../src/openApiTreeProvider.ts | 58 +++++++++---------- 2 files changed, 50 insertions(+), 54 deletions(-) diff --git a/vscode/microsoft-kiota/src/kiotaInterop.ts b/vscode/microsoft-kiota/src/kiotaInterop.ts index 2bb530d143..433b720c00 100644 --- a/vscode/microsoft-kiota/src/kiotaInterop.ts +++ b/vscode/microsoft-kiota/src/kiotaInterop.ts @@ -25,7 +25,7 @@ export async function connectToKiota(context: vscode.ExtensionContext, callba } catch (error) { const errorMessage = (error as { data?: { message: string } })?.data?.message || 'An unknown error occurred'; - throw new Error(errorMessage); + vscode.window.showErrorMessage(errorMessage); } finally { connection.dispose(); childProcess.kill(); @@ -197,30 +197,30 @@ export function maturityLevelToString(level: MaturityLevel): string { } } export enum DependencyType { - abstractions, - serialization, - authentication, - http, - bundle, - additional, + abstractions, + serialization, + authentication, + http, + bundle, + additional, } export function dependencyTypeToString(type: DependencyType): string { - switch (type) { - case DependencyType.abstractions: - return "abstractions"; - case DependencyType.serialization: - return "serialization"; - case DependencyType.authentication: - return "authentication"; - case DependencyType.http: - return "http"; - case DependencyType.bundle: - return "bundle"; - case DependencyType.additional: - return "additional"; - default: - throw new Error("unknown type"); - } + switch (type) { + case DependencyType.abstractions: + return "abstractions"; + case DependencyType.serialization: + return "serialization"; + case DependencyType.authentication: + return "authentication"; + case DependencyType.http: + return "http"; + case DependencyType.bundle: + return "bundle"; + case DependencyType.additional: + return "additional"; + default: + throw new Error("unknown type"); + } } export interface ConfigurationFile { version: string; diff --git a/vscode/microsoft-kiota/src/openApiTreeProvider.ts b/vscode/microsoft-kiota/src/openApiTreeProvider.ts index 4fc8483009..d8cb256d63 100644 --- a/vscode/microsoft-kiota/src/openApiTreeProvider.ts +++ b/vscode/microsoft-kiota/src/openApiTreeProvider.ts @@ -320,40 +320,36 @@ export class OpenApiTreeProvider implements vscode.TreeDataProvider { - const request = new rpc.RequestType('Show'); - return await connection.sendRequest(request, { - includeFilters: this.includeFilters, - excludeFilters: this.excludeFilters, - descriptionPath: this.descriptionUrl, - clearCache - }); + const result = await connectToKiota(this.context, async (connection) => { + const request = new rpc.RequestType('Show'); + return await connection.sendRequest(request, { + includeFilters: this.includeFilters, + excludeFilters: this.excludeFilters, + descriptionPath: this.descriptionUrl, + clearCache }); - if (result) { - this.apiTitle = result.apiTitle; - if (result.rootNode) { - if (this.includeFilters.length === 0) { - this.setAllSelected(result.rootNode, false); - } - this.rawRootNode = result.rootNode; - if (clientNameOrPluginName) { - this.rawRootNode = createKiotaOpenApiNode( - clientNameOrPluginName, - '/', - [this.rawRootNode], - false, - false, - undefined, - clientNameOrPluginName - ); - } - await updateTreeViewIcons(treeViewId, true, false); + }); + if (result) { + this.apiTitle = result.apiTitle; + if (result.rootNode) { + if (this.includeFilters.length === 0) { + this.setAllSelected(result.rootNode, false); + } + this.rawRootNode = result.rootNode; + if (clientNameOrPluginName) { + this.rawRootNode = createKiotaOpenApiNode( + clientNameOrPluginName, + '/', + [this.rawRootNode], + false, + false, + undefined, + clientNameOrPluginName + ); } - void vscode.window.showInformationMessage(vscode.l10n.t('You can now select the required endpoints from {0}', this.apiTitle!)); + await updateTreeViewIcons(treeViewId, true, false); } - } catch (err) { - vscode.window.showErrorMessage((err as Error)?.message || 'An unknown error occurred'); + void vscode.window.showInformationMessage(vscode.l10n.t('You can now select the required endpoints from {0}', this.apiTitle!)); } } getCollapsedState(node: KiotaOpenApiNode): vscode.TreeItemCollapsibleState { From 9246eda4e7df4645cae4888fc9d1798aa155e3d7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 08:39:38 +0000 Subject: [PATCH 4/8] chore(deps-dev): bump yarl from 1.13.0 to 1.13.1 in /it/python Bumps [yarl](https://github.com/aio-libs/yarl) from 1.13.0 to 1.13.1. - [Release notes](https://github.com/aio-libs/yarl/releases) - [Changelog](https://github.com/aio-libs/yarl/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/yarl/compare/v1.13.0...v1.13.1) --- updated-dependencies: - dependency-name: yarl dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- it/python/requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it/python/requirements-dev.txt b/it/python/requirements-dev.txt index f46fb0d638..85976960ce 100644 --- a/it/python/requirements-dev.txt +++ b/it/python/requirements-dev.txt @@ -136,5 +136,5 @@ sniffio==1.3.1 ; python_version >= '3.7' uritemplate==4.1.1 ; python_version >= '3.6' -yarl==1.13.0 ; python_version >= '3.7' +yarl==1.13.1 ; python_version >= '3.7' From 71f3974c2f6d5f62e72f6f12a6d2d85341531cf7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 08:39:52 +0000 Subject: [PATCH 5/8] chore(deps-dev): bump aiohttp from 3.10.6 to 3.10.8 in /it/python Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.10.6 to 3.10.8. - [Release notes](https://github.com/aio-libs/aiohttp/releases) - [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/aiohttp/compare/v3.10.6...v3.10.8) --- updated-dependencies: - dependency-name: aiohttp dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- it/python/requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it/python/requirements-dev.txt b/it/python/requirements-dev.txt index f46fb0d638..d7dfcb29f5 100644 --- a/it/python/requirements-dev.txt +++ b/it/python/requirements-dev.txt @@ -66,7 +66,7 @@ yapf==0.40.2 zipp==3.20.2 ; python_version >= '3.7' -aiohttp==3.10.6 ; python_version >= '3.6' +aiohttp==3.10.8 ; python_version >= '3.6' aiosignal==1.3.1 ; python_version >= '3.7' From 090a274ba9b8db29afc270e89cd0b1a615a3671b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 08:58:09 +0000 Subject: [PATCH 6/8] chore(deps-dev): bump @types/node in /vscode/microsoft-kiota Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.7.3 to 22.7.4. - [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] --- vscode/microsoft-kiota/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vscode/microsoft-kiota/package-lock.json b/vscode/microsoft-kiota/package-lock.json index 2518e1a39b..1651d63e98 100644 --- a/vscode/microsoft-kiota/package-lock.json +++ b/vscode/microsoft-kiota/package-lock.json @@ -531,9 +531,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "22.7.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.3.tgz", - "integrity": "sha512-qXKfhXXqGTyBskvWEzJZPUxSslAiLaB6JGP1ic/XTH9ctGgzdgYguuLP1C601aRTSDNlLb0jbKqXjZ48GNraSA==", + "version": "22.7.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.4.tgz", + "integrity": "sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg==", "dev": true, "dependencies": { "undici-types": "~6.19.2" From aac802218240f3e2c043eef4aa69b96f9ebdfe0c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 08:59:51 +0000 Subject: [PATCH 7/8] chore(deps): bump docker/build-push-action from 6.7.0 to 6.8.0 Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.7.0 to 6.8.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v6.7.0...v6.8.0) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/docker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6eff961bac..d37c59a418 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -25,7 +25,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Build image - uses: docker/build-push-action@v6.7.0 + uses: docker/build-push-action@v6.8.0 with: push: false platforms: linux/amd64,linux/arm64/v8,linux/arm/v7 @@ -94,7 +94,7 @@ jobs: run: echo "date=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT - name: Push to GitHub Packages - Nightly if: contains(github.ref, env.PREVIEW_BRANCH) - uses: docker/build-push-action@v6.7.0 + uses: docker/build-push-action@v6.8.0 with: push: true platforms: linux/amd64,linux/arm64/v8,linux/arm/v7 @@ -104,7 +104,7 @@ jobs: # we can't get the sequence number from ADO so we default it back to github run number - name: Push to GitHub Packages - Release if: contains(github.ref, 'refs/tags/v') - uses: docker/build-push-action@v6.7.0 + uses: docker/build-push-action@v6.8.0 with: push: true platforms: linux/amd64,linux/arm64/v8,linux/arm/v7 From 2a9468a7f6fa0debfe8dd6b9daaaaa0602ba7796 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 09:02:05 +0000 Subject: [PATCH 8/8] chore(deps-dev): bump @types/node in /it/typescript Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.7.3 to 22.7.4. - [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] --- it/typescript/package-lock.json | 8 ++++---- it/typescript/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/it/typescript/package-lock.json b/it/typescript/package-lock.json index b9de495d80..43c7237b26 100644 --- a/it/typescript/package-lock.json +++ b/it/typescript/package-lock.json @@ -23,7 +23,7 @@ "devDependencies": { "@es-exec/esbuild-plugin-start": "^0.0.5", "@stylistic/eslint-plugin-ts": "^2.8.0", - "@types/node": "^22.7.3", + "@types/node": "^22.7.4", "@typescript-eslint/eslint-plugin": "^8.7.0", "@typescript-eslint/parser": "^8.7.0", "esbuild": "^0.24.0", @@ -948,9 +948,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "22.7.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.3.tgz", - "integrity": "sha512-qXKfhXXqGTyBskvWEzJZPUxSslAiLaB6JGP1ic/XTH9ctGgzdgYguuLP1C601aRTSDNlLb0jbKqXjZ48GNraSA==", + "version": "22.7.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.4.tgz", + "integrity": "sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg==", "dev": true, "dependencies": { "undici-types": "~6.19.2" diff --git a/it/typescript/package.json b/it/typescript/package.json index 5f1acaa57b..238d3192f2 100644 --- a/it/typescript/package.json +++ b/it/typescript/package.json @@ -20,7 +20,7 @@ "devDependencies": { "@es-exec/esbuild-plugin-start": "^0.0.5", "@stylistic/eslint-plugin-ts": "^2.8.0", - "@types/node": "^22.7.3", + "@types/node": "^22.7.4", "@typescript-eslint/eslint-plugin": "^8.7.0", "@typescript-eslint/parser": "^8.7.0", "esbuild": "^0.24.0",