Skip to content

Commit b29f17c

Browse files
authored
Merge pull request #734 from CodinGame/vscode-1.106.0
Vscode 1.106.0
2 parents 66334dc + 09dad77 commit b29f17c

File tree

78 files changed

+2623
-1907
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+2623
-1907
lines changed

demo/package-lock.json

Lines changed: 648 additions & 588 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/package.json

Lines changed: 39 additions & 35 deletions
Large diffs are not rendered by default.

package-lock.json

Lines changed: 394 additions & 419 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -30,42 +30,42 @@
3030
},
3131
"config": {
3232
"vscode": {
33-
"version": "1.105.0",
34-
"ref": "1.105.0",
35-
"commit": "03c265b1adee71ac88f833e065f7bb956b60550a"
33+
"version": "1.106.0",
34+
"ref": "1.106.0",
35+
"commit": "ac4cbdf48759c7d8c3eb91ffe6bb04316e263c57"
3636
},
3737
"monaco": {
3838
"ref": "v0.54.0",
3939
"version": "0.54.0"
4040
}
4141
},
4242
"devDependencies": {
43-
"@babel/core": "^7.28.4",
43+
"@babel/core": "^7.28.5",
4444
"@babel/plugin-proposal-class-properties": "^7.18.6",
4545
"@babel/plugin-proposal-decorators": "^7.28.0",
46-
"@babel/preset-env": "^7.28.3",
47-
"@babel/preset-typescript": "^7.27.1",
46+
"@babel/preset-env": "^7.28.5",
47+
"@babel/preset-typescript": "^7.28.5",
4848
"@codingame/commitlint-config-codingame": "^1.1.1",
4949
"@codingame/semantic-release-config-github": "^2.1.0",
5050
"@codingame/tsconfig": "^1.1.1",
5151
"@commitlint/cli": "^19.8.1",
52-
"@rollup/plugin-commonjs": "^28.0.6",
52+
"@rollup/plugin-commonjs": "^29.0.0",
5353
"@rollup/plugin-dynamic-import-vars": "^2.1.5",
5454
"@rollup/plugin-json": "^6.1.0",
55-
"@rollup/plugin-node-resolve": "^16.0.2",
56-
"@rollup/plugin-replace": "^6.0.2",
57-
"@rollup/plugin-typescript": "^12.1.4",
55+
"@rollup/plugin-node-resolve": "^16.0.3",
56+
"@rollup/plugin-replace": "^6.0.3",
57+
"@rollup/plugin-typescript": "^12.3.0",
5858
"@types/mime-types": "^3.0.1",
5959
"@types/node": "22.x",
6060
"@types/postcss-url": "^10.0.4",
6161
"@types/vscode-semver": "npm:@types/semver@=5.5.0",
62-
"@types/yargs": "^17.0.33",
62+
"@types/yargs": "^17.0.34",
6363
"@types/yauzl": "^2.10.3",
6464
"acorn": "^8.15.0",
6565
"chalk": "^5.6.2",
6666
"change-case": "^5.4.4",
6767
"change-package-name": "^1.0.5",
68-
"eslint": "^9.37.0",
68+
"eslint": "^9.39.1",
6969
"fast-glob": "^3.3.3",
7070
"graceful-fs": "^4.2.11",
7171
"js-cleanup": "^1.2.0",
@@ -74,67 +74,67 @@
7474
"postcss-url": "^10.1.3",
7575
"prettier": "^3.6.2",
7676
"recast": "^0.23.11",
77-
"rollup": "^4.52.4",
77+
"rollup": "^4.53.2",
7878
"rollup-plugin-copy": "^3.5.0",
7979
"rollup-plugin-dts": "^6.2.3",
8080
"semantic-release": "24.2.9",
8181
"tsx": "^4.20.6",
82-
"type-fest": "^5.0.1",
82+
"type-fest": "^5.2.0",
8383
"typescript": "^5.9.3",
84-
"typescript-eslint": "^8.46.0",
84+
"typescript-eslint": "^8.46.4",
8585
"uuid": "^13.0.0",
8686
"vscode-semver": "npm:semver@=5.5.0",
8787
"yargs": "^18.0.0",
88-
"zx": "^8.8.4"
88+
"zx": "^8.8.5"
8989
},
9090
"dependencies": {
9191
"@microsoft/1ds-core-js": "^3.2.13",
9292
"@microsoft/1ds-post-js": "^3.2.13",
9393
"@parcel/watcher": "parcel-bundler/watcher#1ca032aa8339260a8a3bcf825c3a1a71e3e43542",
9494
"@rollup/pluginutils": "^5.3.0",
95-
"@vscode/iconv-lite-umd": "0.7.0",
96-
"@vscode/proxy-agent": "^0.35.0",
95+
"@vscode/iconv-lite-umd": "0.7.1",
96+
"@vscode/proxy-agent": "^0.36.0",
9797
"@vscode/ripgrep": "^1.15.13",
9898
"@vscode/spdlog": "^0.15.2",
99-
"@vscode/tree-sitter-wasm": "^0.1.4",
99+
"@vscode/tree-sitter-wasm": "^0.2.0",
100100
"@vscode/vscode-languagedetection": "npm:@codingame/[email protected]",
101101
"@vscode/windows-process-tree": "^0.6.0",
102102
"@vscode/windows-registry": "^1.1.0",
103-
"@xterm/addon-clipboard": "^0.2.0-beta.102",
104-
"@xterm/addon-image": "^0.9.0-beta.119",
105-
"@xterm/addon-ligatures": "^0.10.0-beta.119",
106-
"@xterm/addon-progress": "^0.2.0-beta.25",
107-
"@xterm/addon-search": "^0.16.0-beta.119",
108-
"@xterm/addon-serialize": "^0.14.0-beta.119",
109-
"@xterm/addon-unicode11": "^0.9.0-beta.119",
110-
"@xterm/addon-webgl": "^0.19.0-beta.119",
111-
"@xterm/headless": "^5.6.0-beta.119",
112-
"@xterm/xterm": "^5.6.0-beta.119",
103+
"@xterm/addon-clipboard": "^0.2.0-beta.119",
104+
"@xterm/addon-image": "^0.9.0-beta.136",
105+
"@xterm/addon-ligatures": "^0.10.0-beta.136",
106+
"@xterm/addon-progress": "^0.2.0-beta.42",
107+
"@xterm/addon-search": "^0.16.0-beta.136",
108+
"@xterm/addon-serialize": "^0.14.0-beta.136",
109+
"@xterm/addon-unicode11": "^0.9.0-beta.136",
110+
"@xterm/addon-webgl": "^0.19.0-beta.136",
111+
"@xterm/headless": "^5.6.0-beta.136",
112+
"@xterm/xterm": "^5.6.0-beta.136",
113113
"cookie": "^0.7.2",
114114
"css-url-parser": "^1.1.4",
115-
"dompurify": "^3.2.7",
115+
"dompurify": "^3.3.0",
116116
"jschardet": "3.1.4",
117117
"katex": "^0.16.22",
118118
"kerberos": "2.1.1",
119119
"keytar": "^7.9.0",
120120
"marked": "~14.0.0",
121-
"memfs": "^4.49.0",
121+
"memfs": "^4.51.0",
122122
"mime-types": "^3.0.1",
123123
"node-pty": "1.1.0-beta35",
124124
"semver": "^5.7.2",
125125
"tas-client-umd": "0.2.0",
126126
"thenby": "^1.3.4",
127127
"vscode-oniguruma": "1.7.0",
128128
"vscode-regexpp": "^3.1.0",
129-
"vscode-textmate": "9.2.0",
129+
"vscode-textmate": "^9.2.1",
130130
"yauzl": "^3.0.0",
131131
"yazl": "^2.4.3"
132132
},
133133
"overrides": {
134134
"typescript": "$typescript",
135135
"rollup": "$rollup",
136136
"recast": "$recast",
137-
"@xterm/xterm": "^5.6.0-beta.119",
137+
"@xterm/xterm": "^5.6.0-beta.136",
138138
"cross-spawn": "7.0.6"
139139
},
140140
"volta": {

rollup/plugins/rollup-subpackage-plugin.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ export interface Options {
158158
subpackages: SubPackage[],
159159
getModule: (path: string) => SubPackageModule | undefined
160160
) => Promise<void>
161+
162+
ignoreDependencies?: string[]
161163
}
162164

163165
interface GroupSet {
@@ -190,7 +192,8 @@ export default ({
190192
getManifest,
191193
getInterPackageImport = (path, groupName) => `${groupName.alias ?? groupName.name}/${path}`,
192194
finalize,
193-
stage = 'writeBundle'
195+
stage = 'writeBundle',
196+
ignoreDependencies
194197
}: Options): Plugin => ({
195198
name: 'subpackages',
196199
[stage]: async function (
@@ -523,6 +526,9 @@ export default ({
523526
version = packageDetails.version
524527
}
525528
} else {
529+
if (ignoreDependencies != null && ignoreDependencies.includes(name)) {
530+
return []
531+
}
526532
try {
527533
const installedVersion = getInstalledVersion(name)
528534
if (installedVersion == null) {

rollup/tools/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const VSCODE_DIR = nodePath.resolve(BASE_DIR, 'vscode')
2424
export const VSCODE_SRC_DIR = nodePath.resolve(VSCODE_DIR, 'src')
2525
export const OVERRIDE_PATH = nodePath.resolve(BASE_DIR, 'src/override')
2626

27-
const externals = Object.keys({ ...pkg.dependencies })
27+
const externals = [...Object.keys({ ...pkg.dependencies }), 'trusted-types']
2828
export const external = (source: string, importer?: string): boolean => {
2929
if (source === 'monaco-editor' || source === `${MAIN_PACKAGE_NAME}/css`) {
3030
return true

rollup/tools/configuredSubpackagePlugin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const EDITOR_API_EXPOSE_MODULES = [
5959
'vs/editor/common/services/editorBaseApi',
6060
'vs/editor/common/standalone/standaloneEnums',
6161
'vs/editor/browser/controller/mouseTarget',
62-
'vs/editor/common/core/range',
62+
'vs/editor/common/core/range'
6363
]
6464

6565
const ALLOWED_MAIN_DEPENDENCIES = new Set([
@@ -79,6 +79,7 @@ const workerGroups: Record<string, string> = {
7979

8080
export function configuredSubpackagePlugin(): rollup.Plugin {
8181
return subpackagePlugin({
82+
ignoreDependencies: ['trusted-types' /** only the types are used */],
8283
getEntryGroups(entrypoints, options) {
8384
const serviceOverrideDir = nodePath.resolve(options.dir!, 'service-override')
8485
const workersDir = nodePath.resolve(options.dir!, 'workers')

src/contributions.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import 'vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty'
2020
import 'vs/workbench/contrib/codeActions/browser/codeActions.contribution'
2121
import 'vs/workbench/contrib/list/browser/list.contribution'
2222
import 'vs/workbench/contrib/codeEditor/browser/editorFeatures'
23-
import 'vs/workbench/contrib/contextmenu/browser/contextmenu.contribution'
2423
import 'vs/workbench/browser/actions/textInputActions'
2524
import 'vs/workbench/browser/actions/developerActions'
2625
import 'vs/workbench/contrib/dropOrPasteInto/browser/dropOrPasteInto.contribution'

src/editor.api.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ export interface IWebWorkerOptions {
5353
/**
5454
* An object that can be used by the web worker to make calls back to the main thread.
5555
*/
56-
host?: unknown
56+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
57+
host?: Record<string, Function>
5758
/**
5859
* Keep idle models.
5960
* Defaults to false, which means that idle models will stop syncing after a while.

src/extension.api.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,14 +340,13 @@ const api: typeof vscode = {
340340
// eslint-disable-next-line @typescript-eslint/no-explicit-any
341341
LanguageModelChatMessage2: <any>extHostTypes.LanguageModelChatMessage2,
342342
LanguageModelDataPart: extHostTypes.LanguageModelDataPart,
343-
ChatImageMimeType: extHostTypes.ChatImageMimeType,
344343
McpStdioServerDefinition: extHostTypes.McpStdioServerDefinition,
345344
SettingsSearchResultKind: extHostTypes.SettingsSearchResultKind,
346345
ChatResponseExtensionsPart: extHostTypes.ChatResponseExtensionsPart,
347346
ChatRequestEditedFileEventKind: extHostTypes.ChatRequestEditedFileEventKind,
348347
ChatRequestTurn2: extHostTypes.ChatRequestTurn,
349348
InlineCompletionEndOfLifeReasonKind: extHostTypes.InlineCompletionEndOfLifeReasonKind,
350-
LanguageModelToolResultPart2: extHostTypes.LanguageModelToolResultPart2,
349+
LanguageModelToolResultPart2: extHostTypes.LanguageModelToolResultPart,
351350
LanguageModelToolResult2: extHostTypes.LanguageModelToolResult2,
352351
McpHttpServerDefinition: extHostTypes.McpHttpServerDefinition,
353352
AISearchKeyword: searchExtTypes.AISearchKeyword,
@@ -367,7 +366,12 @@ const api: typeof vscode = {
367366
ChatSessionStatus: extHostTypes.ChatSessionStatus,
368367
InlineCompletionDisplayLocationKind: extHostTypes.InlineCompletionDisplayLocationKind,
369368
LanguageModelThinkingPart: extHostTypes.LanguageModelThinkingPart,
370-
LanguageModelPartAudience: extHostTypes.LanguageModelPartAudience
369+
LanguageModelPartAudience: extHostTypes.LanguageModelPartAudience,
370+
ChatResponseExternalEditPart: extHostTypes.ChatResponseExternalEditPart,
371+
McpToolAvailability: extHostTypes.McpToolAvailability,
372+
McpStdioServerDefinition2: extHostTypes.McpStdioServerDefinition,
373+
McpHttpServerDefinition2: extHostTypes.McpHttpServerDefinition,
374+
TerminalCompletionItem: extHostTypes.TerminalCompletionItem
371375
}
372376

373377
// @ts-expect-error the syntax will be transformed by a typescript transformer in the rollup config

0 commit comments

Comments
 (0)