@opensumi/ide-extension 3.8.3-next-1741752385.0 → 3.8.3-next-1741763277.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/worker-host.js +7 -7
- package/package.json +35 -35
package/lib/worker-host.js
CHANGED
|
@@ -51525,7 +51525,7 @@ class LengthFieldBasedFrameDecoder {
|
|
|
51525
51525
|
if (this.buffers.byteLength > 0) {
|
|
51526
51526
|
hasMoreData = true;
|
|
51527
51527
|
// 异步继续处理,避免阻塞
|
|
51528
|
-
await new Promise((resolve) => setImmediate(resolve));
|
|
51528
|
+
await new Promise((resolve) => (0, ide_core_common_1.setImmediate)(resolve));
|
|
51529
51529
|
iterations = 0; // 重置迭代计数器
|
|
51530
51530
|
}
|
|
51531
51531
|
} while (hasMoreData);
|
|
@@ -65948,7 +65948,7 @@ Color.transparent = new Color(new RGBA(0, 0, 0, 0));
|
|
|
65948
65948
|
CSS.formatHex = formatHex;
|
|
65949
65949
|
/**
|
|
65950
65950
|
* Formats the color as #RRGGBBAA
|
|
65951
|
-
* If 'compact' is set, colors without
|
|
65951
|
+
* If 'compact' is set, colors without transparency will be printed as #RRGGBB
|
|
65952
65952
|
*/
|
|
65953
65953
|
function formatHexA(color, compact = false) {
|
|
65954
65954
|
if (compact && color.rgba.a === 1) {
|
|
@@ -66424,22 +66424,22 @@ exports.TokenStyle = TokenStyle;
|
|
|
66424
66424
|
})(TokenStyle || (exports.TokenStyle = TokenStyle = {}));
|
|
66425
66425
|
const noMatch = (_scope) => -1;
|
|
66426
66426
|
exports.noMatch = noMatch;
|
|
66427
|
-
function nameMatcher(
|
|
66427
|
+
function nameMatcher(identifiers, scope) {
|
|
66428
66428
|
function findInIdents(s, lastIndent) {
|
|
66429
66429
|
for (let i = lastIndent - 1; i >= 0; i--) {
|
|
66430
|
-
if (scopesAreMatching(s,
|
|
66430
|
+
if (scopesAreMatching(s, identifiers[i])) {
|
|
66431
66431
|
return i;
|
|
66432
66432
|
}
|
|
66433
66433
|
}
|
|
66434
66434
|
return -1;
|
|
66435
66435
|
}
|
|
66436
|
-
if (scope.length <
|
|
66436
|
+
if (scope.length < identifiers.length) {
|
|
66437
66437
|
return -1;
|
|
66438
66438
|
}
|
|
66439
66439
|
let lastScopeIndex = scope.length - 1;
|
|
66440
|
-
let lastIdentifierIndex = findInIdents(scope[lastScopeIndex--],
|
|
66440
|
+
let lastIdentifierIndex = findInIdents(scope[lastScopeIndex--], identifiers.length);
|
|
66441
66441
|
if (lastIdentifierIndex >= 0) {
|
|
66442
|
-
const score = (lastIdentifierIndex + 1) * 0x10000 +
|
|
66442
|
+
const score = (lastIdentifierIndex + 1) * 0x10000 + identifiers[lastIdentifierIndex].length;
|
|
66443
66443
|
while (lastScopeIndex >= 0) {
|
|
66444
66444
|
lastIdentifierIndex = findInIdents(scope[lastScopeIndex--], lastIdentifierIndex);
|
|
66445
66445
|
if (lastIdentifierIndex === -1) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-extension",
|
|
3
|
-
"version": "3.8.3-next-
|
|
3
|
+
"version": "3.8.3-next-1741763277.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"lib",
|
|
6
6
|
"hosted"
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@opensumi/events": "^1.0.0",
|
|
26
|
-
"@opensumi/ide-connection": "3.8.3-next-
|
|
27
|
-
"@opensumi/ide-core-browser": "3.8.3-next-
|
|
28
|
-
"@opensumi/ide-core-node": "3.8.3-next-
|
|
29
|
-
"@opensumi/ide-debug": "3.8.3-next-
|
|
30
|
-
"@opensumi/ide-file-search": "3.8.3-next-
|
|
31
|
-
"@opensumi/ide-file-service": "3.8.3-next-
|
|
32
|
-
"@opensumi/ide-logs": "3.8.3-next-
|
|
33
|
-
"@opensumi/ide-markdown": "3.8.3-next-
|
|
34
|
-
"@opensumi/ide-task": "3.8.3-next-
|
|
35
|
-
"@opensumi/ide-terminal-next": "3.8.3-next-
|
|
36
|
-
"@opensumi/ide-utils": "3.8.3-next-
|
|
37
|
-
"@opensumi/ide-webview": "3.8.3-next-
|
|
26
|
+
"@opensumi/ide-connection": "3.8.3-next-1741763277.0",
|
|
27
|
+
"@opensumi/ide-core-browser": "3.8.3-next-1741763277.0",
|
|
28
|
+
"@opensumi/ide-core-node": "3.8.3-next-1741763277.0",
|
|
29
|
+
"@opensumi/ide-debug": "3.8.3-next-1741763277.0",
|
|
30
|
+
"@opensumi/ide-file-search": "3.8.3-next-1741763277.0",
|
|
31
|
+
"@opensumi/ide-file-service": "3.8.3-next-1741763277.0",
|
|
32
|
+
"@opensumi/ide-logs": "3.8.3-next-1741763277.0",
|
|
33
|
+
"@opensumi/ide-markdown": "3.8.3-next-1741763277.0",
|
|
34
|
+
"@opensumi/ide-task": "3.8.3-next-1741763277.0",
|
|
35
|
+
"@opensumi/ide-terminal-next": "3.8.3-next-1741763277.0",
|
|
36
|
+
"@opensumi/ide-utils": "3.8.3-next-1741763277.0",
|
|
37
|
+
"@opensumi/ide-webview": "3.8.3-next-1741763277.0",
|
|
38
38
|
"address": "^1.1.2",
|
|
39
39
|
"glob-to-regexp": "0.4.1",
|
|
40
40
|
"is-running": "^2.1.0",
|
|
@@ -45,28 +45,28 @@
|
|
|
45
45
|
"v8-inspect-profiler": "^0.1.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@opensumi/ide-ai-native": "3.8.3-next-
|
|
49
|
-
"@opensumi/ide-comments": "3.8.3-next-
|
|
50
|
-
"@opensumi/ide-components": "3.8.3-next-
|
|
48
|
+
"@opensumi/ide-ai-native": "3.8.3-next-1741763277.0",
|
|
49
|
+
"@opensumi/ide-comments": "3.8.3-next-1741763277.0",
|
|
50
|
+
"@opensumi/ide-components": "3.8.3-next-1741763277.0",
|
|
51
51
|
"@opensumi/ide-core-browser": "workspace:*",
|
|
52
|
-
"@opensumi/ide-core-common": "3.8.3-next-
|
|
53
|
-
"@opensumi/ide-decoration": "3.8.3-next-
|
|
54
|
-
"@opensumi/ide-dev-tool": "3.8.3-next-
|
|
55
|
-
"@opensumi/ide-editor": "3.8.3-next-
|
|
56
|
-
"@opensumi/ide-extension-storage": "3.8.3-next-
|
|
57
|
-
"@opensumi/ide-file-tree-next": "3.8.3-next-
|
|
58
|
-
"@opensumi/ide-i18n": "3.8.3-next-
|
|
59
|
-
"@opensumi/ide-main-layout": "3.8.3-next-
|
|
60
|
-
"@opensumi/ide-monaco": "3.8.3-next-
|
|
61
|
-
"@opensumi/ide-output": "3.8.3-next-
|
|
62
|
-
"@opensumi/ide-overlay": "3.8.3-next-
|
|
63
|
-
"@opensumi/ide-quick-open": "3.8.3-next-
|
|
64
|
-
"@opensumi/ide-scm": "3.8.3-next-
|
|
65
|
-
"@opensumi/ide-testing": "3.8.3-next-
|
|
66
|
-
"@opensumi/ide-theme": "3.8.3-next-
|
|
67
|
-
"@opensumi/ide-toolbar": "3.8.3-next-
|
|
68
|
-
"@opensumi/ide-workspace": "3.8.3-next-
|
|
69
|
-
"@opensumi/ide-workspace-edit": "3.8.3-next-
|
|
52
|
+
"@opensumi/ide-core-common": "3.8.3-next-1741763277.0",
|
|
53
|
+
"@opensumi/ide-decoration": "3.8.3-next-1741763277.0",
|
|
54
|
+
"@opensumi/ide-dev-tool": "3.8.3-next-1741763277.0",
|
|
55
|
+
"@opensumi/ide-editor": "3.8.3-next-1741763277.0",
|
|
56
|
+
"@opensumi/ide-extension-storage": "3.8.3-next-1741763277.0",
|
|
57
|
+
"@opensumi/ide-file-tree-next": "3.8.3-next-1741763277.0",
|
|
58
|
+
"@opensumi/ide-i18n": "3.8.3-next-1741763277.0",
|
|
59
|
+
"@opensumi/ide-main-layout": "3.8.3-next-1741763277.0",
|
|
60
|
+
"@opensumi/ide-monaco": "3.8.3-next-1741763277.0",
|
|
61
|
+
"@opensumi/ide-output": "3.8.3-next-1741763277.0",
|
|
62
|
+
"@opensumi/ide-overlay": "3.8.3-next-1741763277.0",
|
|
63
|
+
"@opensumi/ide-quick-open": "3.8.3-next-1741763277.0",
|
|
64
|
+
"@opensumi/ide-scm": "3.8.3-next-1741763277.0",
|
|
65
|
+
"@opensumi/ide-testing": "3.8.3-next-1741763277.0",
|
|
66
|
+
"@opensumi/ide-theme": "3.8.3-next-1741763277.0",
|
|
67
|
+
"@opensumi/ide-toolbar": "3.8.3-next-1741763277.0",
|
|
68
|
+
"@opensumi/ide-workspace": "3.8.3-next-1741763277.0",
|
|
69
|
+
"@opensumi/ide-workspace-edit": "3.8.3-next-1741763277.0"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "6afdbd5e463833caf6ff7b389f5bd4e59996ae9f"
|
|
72
72
|
}
|