debt - some assorted changes (#250807)

* debt - some assorted fixes

* fix ci

* remove duplicate dependency
This commit is contained in:
Benjamin Pasero 2025-06-06 10:32:05 +02:00 committed by GitHub
parent 0a63b0345d
commit f69a03948e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 13 additions and 60 deletions

View File

@ -163,20 +163,6 @@ const RULES = [
'@types/node' // no node.js
]
},
// Common: vs/workbench/api/common/extHostExtensionService.ts
{
target: '**/vs/workbench/api/common/extHostExtensionService.ts',
allowedTypes: [
...CORE_TYPES,
// Safe access to global
'global'
],
disallowedTypes: NATIVE_TYPES,
disallowedDefinitions: [
'lib.dom.d.ts', // no DOM
'@types/node' // no node.js
]
},
// Common: vs/base/parts/sandbox/electron-sandbox/preload{,-aux}.ts
{
target: '**/vs/base/parts/sandbox/electron-sandbox/preload{,-aux}.ts',
@ -214,15 +200,6 @@ const RULES = [
'@types/node' // no node.js
]
},
// Browser (editor contrib)
{
target: '**/src/vs/editor/contrib/**',
allowedTypes: CORE_TYPES,
disallowedTypes: NATIVE_TYPES,
disallowedDefinitions: [
'@types/node' // no node.js
]
},
// node.js
{
target: '**/vs/**/node/**',

View File

@ -172,22 +172,6 @@ const RULES: IRule[] = [
]
},
// Common: vs/workbench/api/common/extHostExtensionService.ts
{
target: '**/vs/workbench/api/common/extHostExtensionService.ts',
allowedTypes: [
...CORE_TYPES,
// Safe access to global
'global'
],
disallowedTypes: NATIVE_TYPES,
disallowedDefinitions: [
'lib.dom.d.ts', // no DOM
'@types/node' // no node.js
]
},
// Common: vs/base/parts/sandbox/electron-sandbox/preload{,-aux}.ts
{
target: '**/vs/base/parts/sandbox/electron-sandbox/preload{,-aux}.ts',
@ -229,16 +213,6 @@ const RULES: IRule[] = [
]
},
// Browser (editor contrib)
{
target: '**/src/vs/editor/contrib/**',
allowedTypes: CORE_TYPES,
disallowedTypes: NATIVE_TYPES,
disallowedDefinitions: [
'@types/node' // no node.js
]
},
// node.js
{
target: '**/vs/**/node/**',

3
package-lock.json generated
View File

@ -41,7 +41,7 @@
"https-proxy-agent": "^7.0.2",
"jschardet": "3.1.4",
"kerberos": "2.1.1",
"minimist": "^1.2.6",
"minimist": "^1.2.8",
"native-is-elevated": "0.7.0",
"native-keymap": "^3.3.5",
"native-watchdog": "^1.4.1",
@ -131,7 +131,6 @@
"merge-options": "^1.0.1",
"mime": "^1.4.1",
"minimatch": "^3.0.4",
"minimist": "^1.2.6",
"mocha": "^10.8.2",
"mocha-junit-reporter": "^2.2.1",
"mocha-multi-reporters": "^1.5.1",

View File

@ -1,7 +1,7 @@
{
"name": "code-oss-dev",
"version": "1.102.0",
"distro": "0110618df4664082ca0cb597c5f9bf66aeed2e35",
"distro": "1f9299d1fbccfb501bade57b42c8d343c1e4b5a5",
"author": {
"name": "Microsoft Corporation"
},
@ -100,7 +100,7 @@
"https-proxy-agent": "^7.0.2",
"jschardet": "3.1.4",
"kerberos": "2.1.1",
"minimist": "^1.2.6",
"minimist": "^1.2.8",
"native-is-elevated": "0.7.0",
"native-keymap": "^3.3.5",
"native-watchdog": "^1.4.1",
@ -190,7 +190,6 @@
"merge-options": "^1.0.1",
"mime": "^1.4.1",
"minimatch": "^3.0.4",
"minimist": "^1.2.6",
"mocha": "^10.8.2",
"mocha-junit-reporter": "^2.2.1",
"mocha-multi-reporters": "^1.5.1",

View File

@ -35,7 +35,7 @@
"https-proxy-agent": "^7.0.2",
"jschardet": "3.1.4",
"kerberos": "2.1.1",
"minimist": "^1.2.6",
"minimist": "^1.2.8",
"native-watchdog": "^1.4.1",
"node-pty": "^1.1.0-beta33",
"tas-client-umd": "0.2.0",
@ -1041,9 +1041,13 @@
}
},
"node_modules/minimist": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
"integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q=="
"version": "1.2.8",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
"integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/mkdirp": {
"version": "1.0.4",

View File

@ -30,7 +30,7 @@
"https-proxy-agent": "^7.0.2",
"jschardet": "3.1.4",
"kerberos": "2.1.1",
"minimist": "^1.2.6",
"minimist": "^1.2.8",
"native-watchdog": "^1.4.1",
"node-pty": "^1.1.0-beta33",
"tas-client-umd": "0.2.0",

View File

@ -60,7 +60,7 @@ else {
// Running out of sources
if (Object.keys(product).length === 0) {
Object.assign(product, {
version: '1.95.0-dev',
version: '1.102.0-dev',
nameShort: 'Code - OSS Dev',
nameLong: 'Code - OSS Dev',
applicationName: 'code-oss',