Skip to content

Commit ff6dbb2

Browse files
committed
Update VS Code to 1.92.1
1 parent 461d4cb commit ff6dbb2

20 files changed

+106
-64
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ Code v99.99.999
2222

2323
## Unreleased
2424

25+
Code v1.92.1
26+
27+
### Changed
28+
29+
- Updated to Code 1.92.1.
30+
2531
## [4.91.0](https://github.com/coder/code-server/releases/tag/v4.91.0) - 2024-07-10
2632

2733
Code v1.91.0

lib/vscode

Submodule vscode updated 969 files

patches/base-path.diff

+32-21
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ Index: code-server/lib/vscode/src/vs/code/browser/workbench/workbench.html
8686
<link data-name="vs/workbench/workbench.web.main" rel="stylesheet" href="{{WORKBENCH_WEB_BASE_URL}}/out/vs/workbench/workbench.web.main.css">
8787

8888
</head>
89-
@@ -38,7 +38,7 @@
90-
<script src="{{WORKBENCH_WEB_BASE_URL}}/out/vs/loader.js"></script>
91-
<script src="{{WORKBENCH_WEB_BASE_URL}}/out/vs/webPackagePaths.js"></script>
89+
@@ -40,7 +40,7 @@
9290
<script>
91+
92+
// Packages
9393
- const baseUrl = new URL('{{WORKBENCH_WEB_BASE_URL}}', window.location.origin).toString();
9494
+ const baseUrl = new URL('{{WORKBENCH_WEB_BASE_URL}}', window.location).toString();
9595
Object.keys(self.webPackagePaths).map(function (key, index) {
@@ -111,7 +111,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
111111
===================================================================
112112
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
113113
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
114-
@@ -270,16 +270,15 @@ export class WebClientServer {
114+
@@ -269,16 +269,15 @@ export class WebClientServer {
115115
return void res.end();
116116
}
117117

@@ -133,7 +133,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
133133
);
134134
if (!remoteAuthority) {
135135
return serveError(req, res, 400, `Bad request.`);
136-
@@ -306,8 +305,12 @@ export class WebClientServer {
136+
@@ -305,8 +304,12 @@ export class WebClientServer {
137137
scopes: [['user:email'], ['repo']]
138138
} : undefined;
139139

@@ -146,29 +146,48 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
146146
embedderIdentifier: 'server-distro',
147147
extensionsGallery: this._webExtensionResourceUrlTemplate && this._productService.extensionsGallery ? {
148148
...this._productService.extensionsGallery,
149-
@@ -343,8 +346,10 @@ export class WebClientServer {
149+
@@ -335,7 +338,7 @@ export class WebClientServer {
150+
folderUri: resolveWorkspaceURI(this._environmentService.args['default-folder']),
151+
workspaceUri: resolveWorkspaceURI(this._environmentService.args['default-workspace']),
152+
productConfiguration,
153+
- callbackRoute: this._callbackRoute
154+
+ callbackRoute: vscodeBase + this._callbackRoute
155+
};
156+
157+
const cookies = cookie.parse(req.headers.cookie || '');
158+
@@ -343,7 +346,7 @@ export class WebClientServer {
159+
let WORKBENCH_NLS_BASE_URL: string | undefined;
160+
let WORKBENCH_NLS_URL: string;
161+
if (!locale.startsWith('en') && this._productService.nlsCoreBaseUrl) {
162+
- WORKBENCH_NLS_BASE_URL = this._productService.nlsCoreBaseUrl;
163+
+ WORKBENCH_NLS_BASE_URL = vscodeBase + this._productService.nlsCoreBaseUrl;
164+
WORKBENCH_NLS_URL = `${WORKBENCH_NLS_BASE_URL}${this._productService.commit}/${this._productService.version}/${locale}/nls.messages.js`;
165+
} else {
166+
WORKBENCH_NLS_URL = ''; // fallback will apply
167+
@@ -352,9 +355,11 @@ export class WebClientServer {
150168
const values: { [key: string]: string } = {
151169
WORKBENCH_WEB_CONFIGURATION: asJSON(workbenchWebConfiguration),
152170
WORKBENCH_AUTH_SESSION: authSessionInfo ? asJSON(authSessionInfo) : '',
153171
- WORKBENCH_WEB_BASE_URL: this._staticRoute,
154-
- WORKBENCH_NLS_BASE_URL: nlsBaseUrl ? `${nlsBaseUrl}${!nlsBaseUrl.endsWith('/') ? '/' : ''}${this._productService.commit}/${this._productService.version}/` : '',
155172
+ WORKBENCH_WEB_BASE_URL: vscodeBase + this._staticRoute,
156-
+ WORKBENCH_NLS_BASE_URL: vscodeBase + (nlsBaseUrl ? `${nlsBaseUrl}${!nlsBaseUrl.endsWith('/') ? '/' : ''}${this._productService.commit}/${this._productService.version}/` : ''),
173+
WORKBENCH_NLS_URL,
174+
- WORKBENCH_NLS_FALLBACK_URL: `${this._staticRoute}/out/nls.messages.js`
175+
+ WORKBENCH_NLS_FALLBACK_URL: `${vscodeBase}${this._staticRoute}/out/nls.messages.js`,
157176
+ BASE: base,
158177
+ VS_BASE: vscodeBase,
159178
};
160179

161180
if (useTestResolver) {
162-
@@ -371,7 +376,7 @@ export class WebClientServer {
181+
@@ -381,7 +386,7 @@ export class WebClientServer {
163182
'default-src \'self\';',
164183
'img-src \'self\' https: data: blob:;',
165184
'media-src \'self\';',
166-
- `script-src 'self' 'unsafe-eval' ${this._getScriptCspHashes(data).join(' ')} '${webWorkerExtensionHostIframeScriptSHA}' ${useTestResolver ? '' : `http://${remoteAuthority}`};`, // the sha is the same as in src/vs/workbench/services/extensions/worker/webWorkerExtensionHostIframe.html
167-
+ `script-src 'self' 'unsafe-eval' ${this._getScriptCspHashes(data).join(' ')} '${webWorkerExtensionHostIframeScriptSHA}' ${useTestResolver ? '' : ''};`, // the sha is the same as in src/vs/workbench/services/extensions/worker/webWorkerExtensionHostIframe.html
185+
- `script-src 'self' 'unsafe-eval' ${WORKBENCH_NLS_BASE_URL ?? ''} ${this._getScriptCspHashes(data).join(' ')} '${webWorkerExtensionHostIframeScriptSHA}' ${useTestResolver ? '' : `http://${remoteAuthority}`};`, // the sha is the same as in src/vs/workbench/services/extensions/worker/webWorkerExtensionHostIframe.html
186+
+ `script-src 'self' 'unsafe-eval' ${WORKBENCH_NLS_BASE_URL ?? ''} ${this._getScriptCspHashes(data).join(' ')} '${webWorkerExtensionHostIframeScriptSHA}' ${useTestResolver ? '' : ``};`, // the sha is the same as in src/vs/workbench/services/extensions/worker/webWorkerExtensionHostIframe.html
168187
'child-src \'self\';',
169188
`frame-src 'self' https://*.vscode-cdn.net data:;`,
170189
'worker-src \'self\' data: blob:;',
171-
@@ -444,3 +449,70 @@ export class WebClientServer {
190+
@@ -454,3 +459,70 @@ export class WebClientServer {
172191
return void res.end(data);
173192
}
174193
}
@@ -298,15 +317,7 @@ Index: code-server/lib/vscode/src/vs/platform/extensionResourceLoader/common/ext
298317
===================================================================
299318
--- code-server.orig/lib/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.ts
300319
+++ code-server/lib/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.ts
301-
@@ -16,7 +16,6 @@ import { getServiceMachineId } from 'vs/
302-
import { IStorageService } from 'vs/platform/storage/common/storage';
303-
import { TelemetryLevel } from 'vs/platform/telemetry/common/telemetry';
304-
import { getTelemetryLevel, supportsTelemetry } from 'vs/platform/telemetry/common/telemetryUtils';
305-
-import { RemoteAuthorities } from 'vs/base/common/network';
306-
import { TargetPlatform } from 'vs/platform/extensions/common/extensions';
307-
308-
const WEB_EXTENSION_RESOURCE_END_POINT_SEGMENT = '/web-extension-resource/';
309-
@@ -99,7 +98,7 @@ export abstract class AbstractExtensionR
320+
@@ -98,7 +98,7 @@ export abstract class AbstractExtensionR
310321
: version,
311322
path: 'extension'
312323
}));

patches/clipboard.diff

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@ Index: code-server/lib/vscode/src/vs/server/node/server.cli.ts
102102
===================================================================
103103
--- code-server.orig/lib/vscode/src/vs/server/node/server.cli.ts
104104
+++ code-server/lib/vscode/src/vs/server/node/server.cli.ts
105-
@@ -76,6 +76,7 @@ const isSupportedForPipe = (optionId: ke
105+
@@ -75,6 +75,7 @@ const isSupportedForPipe = (optionId: ke
106106
case 'verbose':
107107
case 'remote':
108108
case 'locate-shell-integration-path':
109109
+ case 'stdin-to-clipboard':
110110
return true;
111111
default:
112112
return false;
113-
@@ -293,6 +294,23 @@ export async function main(desc: Product
113+
@@ -292,6 +293,23 @@ export async function main(desc: Product
114114
}
115115
}
116116
} else {

patches/disable-builtin-ext-update.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extens
77
===================================================================
88
--- code-server.orig/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
99
+++ code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
10-
@@ -287,6 +287,10 @@ export class Extension implements IExten
10+
@@ -299,6 +299,10 @@ export class Extension implements IExten
1111
if (this.type === ExtensionType.System && this.productService.quality === 'stable') {
1212
return false;
1313
}

patches/external-file-actions.diff

+3-3
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
112112
===================================================================
113113
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
114114
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
115-
@@ -334,6 +334,8 @@ export class WebClientServer {
115+
@@ -333,6 +333,8 @@ export class WebClientServer {
116116
serverBasePath: this._basePath,
117117
webviewEndpoint: vscodeBase + this._staticRoute + '/out/vs/workbench/contrib/webview/browser/pre',
118118
userDataPath: this._environmentService.userDataPath,
@@ -167,8 +167,8 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/files/browser/fileActions
167167
import { AutoSaveAfterShortDelayContext } from 'vs/workbench/services/filesConfiguration/common/filesConfigurationService';
168168
import { WorkbenchListDoubleSelection } from 'vs/platform/list/browser/listService';
169169
import { Schemas } from 'vs/base/common/network';
170-
-import { DirtyWorkingCopiesContext, EnterMultiRootWorkspaceSupportContext, HasWebFileSystemAccess, WorkbenchStateContext, WorkspaceFolderCountContext, SidebarFocusContext, ActiveEditorCanRevertContext, ActiveEditorContext, ResourceContextKey, ActiveEditorAvailableEditorIdsContext, MultipleEditorsSelectedInGroupContext, TwoEditorsSelectedInGroupContext } from 'vs/workbench/common/contextkeys';
171-
+import { DirtyWorkingCopiesContext, EnterMultiRootWorkspaceSupportContext, HasWebFileSystemAccess, WorkbenchStateContext, WorkspaceFolderCountContext, SidebarFocusContext, ActiveEditorCanRevertContext, ActiveEditorContext, ResourceContextKey, ActiveEditorAvailableEditorIdsContext, MultipleEditorsSelectedInGroupContext, TwoEditorsSelectedInGroupContext, IsEnabledFileDownloads, IsEnabledFileUploads } from 'vs/workbench/common/contextkeys';
170+
-import { DirtyWorkingCopiesContext, EnterMultiRootWorkspaceSupportContext, HasWebFileSystemAccess, WorkbenchStateContext, WorkspaceFolderCountContext, SidebarFocusContext, ActiveEditorCanRevertContext, ActiveEditorContext, ResourceContextKey, ActiveEditorAvailableEditorIdsContext, MultipleEditorsSelectedInGroupContext, TwoEditorsSelectedInGroupContext, SelectedEditorsInGroupFileOrUntitledResourceContextKey } from 'vs/workbench/common/contextkeys';
171+
+import { IsEnabledFileDownloads, IsEnabledFileUploads, DirtyWorkingCopiesContext, EnterMultiRootWorkspaceSupportContext, HasWebFileSystemAccess, WorkbenchStateContext, WorkspaceFolderCountContext, SidebarFocusContext, ActiveEditorCanRevertContext, ActiveEditorContext, ResourceContextKey, ActiveEditorAvailableEditorIdsContext, MultipleEditorsSelectedInGroupContext, TwoEditorsSelectedInGroupContext, SelectedEditorsInGroupFileOrUntitledResourceContextKey } from 'vs/workbench/common/contextkeys';
172172
import { IsWebContext } from 'vs/platform/contextkey/common/contextkeys';
173173
import { ServicesAccessor } from 'vs/platform/instantiation/common/instantiation';
174174
import { ThemeIcon } from 'vs/base/common/themables';

patches/getting-started.diff

+5-5
Original file line numberDiff line numberDiff line change
@@ -181,18 +181,18 @@ Index: code-server/lib/vscode/src/vs/server/node/serverEnvironmentService.ts
181181
===================================================================
182182
--- code-server.orig/lib/vscode/src/vs/server/node/serverEnvironmentService.ts
183183
+++ code-server/lib/vscode/src/vs/server/node/serverEnvironmentService.ts
184-
@@ -19,6 +19,7 @@ export const serverOptions: OptionDescri
184+
@@ -18,6 +18,7 @@ export const serverOptions: OptionDescri
185+
'auth': { type: 'string' },
185186
'disable-file-downloads': { type: 'boolean' },
186187
'disable-file-uploads': { type: 'boolean' },
187-
'locale': { type: 'string' },
188188
+ 'disable-getting-started-override': { type: 'boolean' },
189189

190190
/* ----- server setup ----- */
191191

192-
@@ -105,6 +106,7 @@ export interface ServerParsedArgs {
192+
@@ -103,6 +104,7 @@ export interface ServerParsedArgs {
193+
'auth'?: string;
193194
'disable-file-downloads'?: boolean;
194195
'disable-file-uploads'?: boolean;
195-
'locale'?: string
196196
+ 'disable-getting-started-override'?: boolean,
197197

198198
/* ----- server setup ----- */
@@ -201,7 +201,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
201201
===================================================================
202202
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
203203
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
204-
@@ -339,6 +339,7 @@ export class WebClientServer {
204+
@@ -337,6 +337,7 @@ export class WebClientServer {
205205
userDataPath: this._environmentService.userDataPath,
206206
isEnabledFileDownloads: !this._environmentService.args['disable-file-downloads'],
207207
isEnabledFileUploads: !this._environmentService.args['disable-file-uploads'],

patches/integration.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
264264
===================================================================
265265
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
266266
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
267-
@@ -307,6 +307,7 @@ export class WebClientServer {
267+
@@ -306,6 +306,7 @@ export class WebClientServer {
268268
} : undefined;
269269

270270
const productConfiguration = {

patches/keepalive.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ Index: code-server/lib/vscode/src/vs/platform/request/node/proxy.ts
1212
+ keepAlive: true,
1313
};
1414

15-
return requestURL.protocol === 'http:'
15+
if (requestURL.protocol === 'http:') {

patches/local-storage.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
1818
===================================================================
1919
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
2020
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
21-
@@ -329,6 +329,7 @@ export class WebClientServer {
21+
@@ -328,6 +328,7 @@ export class WebClientServer {
2222
remoteAuthority,
2323
serverBasePath: this._basePath,
2424
webviewEndpoint: vscodeBase + this._staticRoute + '/out/vs/workbench/contrib/webview/browser/pre',

patches/logout.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
4040
===================================================================
4141
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
4242
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
43-
@@ -312,6 +312,7 @@ export class WebClientServer {
43+
@@ -311,6 +311,7 @@ export class WebClientServer {
4444
codeServerVersion: this._productService.codeServerVersion,
4545
rootEndpoint: base,
4646
updateEndpoint: !this._environmentService.args['disable-update-check'] ? base + '/update/check' : undefined,

patches/marketplace.diff

+11-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
4040
===================================================================
4141
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
4242
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
43-
@@ -114,7 +114,7 @@ export class WebClientServer {
43+
@@ -113,7 +113,7 @@ export class WebClientServer {
4444

4545
this._staticRoute = `${serverRootPath}/static`;
4646
this._callbackRoute = `${serverRootPath}/callback`;
@@ -49,7 +49,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
4949
}
5050

5151
/**
52-
@@ -312,14 +312,7 @@ export class WebClientServer {
52+
@@ -311,14 +311,7 @@ export class WebClientServer {
5353
codeServerVersion: this._productService.codeServerVersion,
5454
rootEndpoint: base,
5555
embedderIdentifier: 'server-distro',
@@ -69,7 +69,15 @@ Index: code-server/lib/vscode/src/vs/platform/extensionResourceLoader/common/ext
6969
===================================================================
7070
--- code-server.orig/lib/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.ts
7171
+++ code-server/lib/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.ts
72-
@@ -140,9 +140,9 @@ export abstract class AbstractExtensionR
72+
@@ -15,7 +15,6 @@ import { getServiceMachineId } from 'vs/
73+
import { IStorageService } from 'vs/platform/storage/common/storage';
74+
import { TelemetryLevel } from 'vs/platform/telemetry/common/telemetry';
75+
import { getTelemetryLevel, supportsTelemetry } from 'vs/platform/telemetry/common/telemetryUtils';
76+
-import { RemoteAuthorities } from 'vs/base/common/network';
77+
import { TargetPlatform } from 'vs/platform/extensions/common/extensions';
78+
79+
const WEB_EXTENSION_RESOURCE_END_POINT_SEGMENT = '/web-extension-resource/';
80+
@@ -140,9 +139,9 @@ export abstract class AbstractExtensionR
7381
}
7482

7583
protected _isWebExtensionResourceEndPoint(uri: URI): boolean {

patches/proxy-uri.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
7171
===================================================================
7272
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
7373
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
74-
@@ -313,6 +313,7 @@ export class WebClientServer {
74+
@@ -312,6 +312,7 @@ export class WebClientServer {
7575
rootEndpoint: base,
7676
updateEndpoint: !this._environmentService.args['disable-update-check'] ? base + '/update/check' : undefined,
7777
logoutEndpoint: this._environmentService.args['auth'] && this._environmentService.args['auth'] !== "none" ? base + '/logout' : undefined,

patches/series

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ service-worker.diff
1515
sourcemaps.diff
1616
external-file-actions.diff
1717
telemetry.diff
18-
display-language.diff
1918
cli-window-open.diff
2019
getting-started.diff
2120
safari.diff

patches/service-worker.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
5454
===================================================================
5555
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
5656
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
57-
@@ -314,6 +314,10 @@ export class WebClientServer {
57+
@@ -313,6 +313,10 @@ export class WebClientServer {
5858
updateEndpoint: !this._environmentService.args['disable-update-check'] ? base + '/update/check' : undefined,
5959
logoutEndpoint: this._environmentService.args['auth'] && this._environmentService.args['auth'] !== "none" ? base + '/logout' : undefined,
6060
proxyEndpointTemplate: process.env.VSCODE_PROXY_URI ?? base + '/proxy/{{port}}/',

patches/sourcemaps.diff

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Index: code-server/lib/vscode/build/gulpfile.reh.js
1010
===================================================================
1111
--- code-server.orig/lib/vscode/build/gulpfile.reh.js
1212
+++ code-server/lib/vscode/build/gulpfile.reh.js
13-
@@ -237,8 +237,7 @@ function packageTask(type, platform, arc
13+
@@ -243,8 +243,7 @@ function packageTask(type, platform, arc
1414

1515
const src = gulp.src(sourceFolderName + '/**', { base: '.' })
1616
.pipe(rename(function (path) { path.dirname = path.dirname.replace(new RegExp('^' + sourceFolderName), 'out'); }))
@@ -20,7 +20,7 @@ Index: code-server/lib/vscode/build/gulpfile.reh.js
2020

2121
const workspaceExtensionPoints = ['debuggers', 'jsonValidation'];
2222
const isUIExtension = (manifest) => {
23-
@@ -277,9 +276,9 @@ function packageTask(type, platform, arc
23+
@@ -283,9 +282,9 @@ function packageTask(type, platform, arc
2424
.map(name => `.build/extensions/${name}/**`);
2525

2626
const extensions = gulp.src(extensionPaths, { base: '.build', dot: true });
@@ -32,7 +32,7 @@ Index: code-server/lib/vscode/build/gulpfile.reh.js
3232

3333
let version = packageJson.version;
3434
const quality = product.quality;
35-
@@ -440,7 +439,7 @@ function tweakProductForServerWeb(produc
35+
@@ -459,7 +458,7 @@ function tweakProductForServerWeb(produc
3636
const minifyTask = task.define(`minify-vscode-${type}`, task.series(
3737
optimizeTask,
3838
util.rimraf(`out-vscode-${type}-min`),

patches/store-socket.diff

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Index: code-server/lib/vscode/src/vs/workbench/api/node/extHostExtensionService.
3030
import { ExtHostConsoleForwarder } from 'vs/workbench/api/node/extHostConsoleForwarder';
3131
+import { IExtHostWorkspace } from '../common/extHostWorkspace';
3232
import { ExtHostDiskFileSystemProvider } from 'vs/workbench/api/node/extHostDiskFileSystemProvider';
33-
34-
class NodeModuleRequireInterceptor extends RequireInterceptor {
35-
@@ -83,6 +84,52 @@ export class ExtHostExtensionService ext
33+
// ESM-uncomment-begin
34+
// import { createRequire } from 'node:module';
35+
@@ -87,6 +88,52 @@ export class ExtHostExtensionService ext
3636
await interceptor.install();
3737
performance.mark('code/extHost/didInitAPI');
3838

0 commit comments

Comments
 (0)