Skip to content

Commit 669955f

Browse files
author
Akos Kitta
committed
chore: updated to Theia 1.37.0-next
- Updated `@theia/*` to `1.37.0-next.22`. - Fixed all `yarn audit` security vulnerabilities. - Updated to `[email protected]`: - `contextIsolation` is `true`, - `nodeIntegration` is `false`, and the - `webpack` target is moved from `electron-renderer` to `web`. - Updated to `[email protected]`. - Updated the `eslint` plugins. - Added the new `Light High Contrast` theme to the IDE2. - High contrast themes use Theia APIs for style adjustments. - Support for ESM modules: `"moduleResolution": "node16"`. Signed-off-by: Akos Kitta <[email protected]>
1 parent 8f8b46f commit 669955f

File tree

4 files changed

+817
-110
lines changed

4 files changed

+817
-110
lines changed

arduino-ide-extension/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"ps-tree": "^1.2.0",
9595
"query-string": "^7.0.1",
9696
"react-disable": "^0.1.1",
97-
"react-markdown": "^8.0.0",
97+
"react-markdown": "^6.0.3",
9898
"react-perfect-scrollbar": "^1.5.8",
9999
"react-select": "^5.6.0",
100100
"react-tabs": "^3.1.2",

arduino-ide-extension/src/browser/contributions/open-sketch-external.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { injectable } from '@theia/core/shared/inversify';
22
import URI from '@theia/core/lib/common/uri';
3+
import { CommandService } from '@theia/core/lib/common/command';
34
import { ArduinoMenus } from '../menu/arduino-menus';
45
import {
56
SketchContribution,
@@ -14,7 +15,7 @@ import { nls } from '@theia/core/lib/common/nls';
1415
export class OpenSketchExternal extends SketchContribution {
1516
override registerCommands(registry: CommandRegistry): void {
1617
registry.registerCommand(OpenSketchExternal.Commands.OPEN_EXTERNAL, {
17-
execute: () => this.openExternal(),
18+
execute: () => this.openExternal(registry),
1819
});
1920
}
2021

@@ -33,7 +34,7 @@ export class OpenSketchExternal extends SketchContribution {
3334
});
3435
}
3536

36-
protected async openExternal(): Promise<void> {
37+
protected async openExternal(commandService: CommandService): Promise<void> {
3738
const uri = await this.sketchServiceClient.currentSketchFile();
3839
if (uri) {
3940
const exists = await this.fileService.exists(new URI(uri));

arduino-ide-extension/src/browser/dialogs/ide-updater/ide-updater-component.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { ProgressInfo, UpdateInfo } from '../../../common/protocol/ide-updater';
66
import ProgressBar from '../../components/ProgressBar';
77

88
const ReactMarkdown = React.lazy<React.ComponentType<Options>>(
9-
// @ts-expect-error see above
109
() => import('react-markdown')
1110
);
1211

0 commit comments

Comments
 (0)