mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
chore: update to electron 17 (#143223)
* chore: bump electron@17.0.0 * Revert "chore: revert to electron@13 (#143851)" This reverts commitdf645f1450. * chore: bump electron@17.1.0 * Revert "ci: fix build with latest node-gyp" This reverts commitc3e948aa30. * chore: revert ci changes for node v16 * chore: update yarn.lock * chore: bump electron@17.1.1
This commit is contained in:
@@ -53,6 +53,21 @@ const CORE_TYPES = [
|
||||
'trimLeft',
|
||||
'trimRight',
|
||||
'queueMicrotask',
|
||||
'Array',
|
||||
'Uint8Array',
|
||||
'Uint16Array',
|
||||
'Uint32Array',
|
||||
'Int8Array',
|
||||
'Int16Array',
|
||||
'Int32Array',
|
||||
'Float32Array',
|
||||
'Float64Array',
|
||||
'Uint8ClampedArray',
|
||||
'BigUint64Array',
|
||||
'BigInt64Array',
|
||||
'btoa',
|
||||
'atob',
|
||||
'AbortSignal',
|
||||
'MessageChannel',
|
||||
'MessagePort'
|
||||
];
|
||||
@@ -145,6 +160,9 @@ const RULES = [
|
||||
target: '**/vs/**/browser/**',
|
||||
allowedTypes: CORE_TYPES,
|
||||
disallowedTypes: NATIVE_TYPES,
|
||||
allowedDefinitions: [
|
||||
'@types/node/stream/consumers.d.ts' // node.js started to duplicate types from lib.dom.d.ts so we have to account for that
|
||||
],
|
||||
disallowedDefinitions: [
|
||||
'@types/node' // no node.js
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user