@theia/plugin-ext 1.75.0-next.25 → 1.75.0-next.28
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/common/errors.d.ts +1 -14
- package/lib/common/errors.d.ts.map +1 -1
- package/lib/common/errors.js +3 -16
- package/lib/common/errors.js.map +1 -1
- package/lib/common/plugin-protocol.d.ts +44 -719
- package/lib/common/plugin-protocol.d.ts.map +1 -1
- package/lib/common/plugin-protocol.js +11 -34
- package/lib/common/plugin-protocol.js.map +1 -1
- package/lib/hosted/browser/worker/plugin-manifest-loader.d.ts.map +1 -1
- package/lib/hosted/browser/worker/plugin-manifest-loader.js +5 -36
- package/lib/hosted/browser/worker/plugin-manifest-loader.js.map +1 -1
- package/lib/hosted/browser/worker/worker-main.js +2 -1
- package/lib/hosted/browser/worker/worker-main.js.map +1 -1
- package/lib/hosted/node/hosted-plugin-localization-service.d.ts.map +1 -1
- package/lib/hosted/node/hosted-plugin-localization-service.js +4 -68
- package/lib/hosted/node/hosted-plugin-localization-service.js.map +1 -1
- package/lib/hosted/node/plugin-host-rpc.d.ts.map +1 -1
- package/lib/hosted/node/plugin-host-rpc.js +2 -2
- package/lib/hosted/node/plugin-host-rpc.js.map +1 -1
- package/lib/hosted/node/plugin-reader.d.ts.map +1 -1
- package/lib/hosted/node/plugin-reader.js +4 -3
- package/lib/hosted/node/plugin-reader.js.map +1 -1
- package/lib/hosted/node/scanners/grammars-reader.d.ts +3 -2
- package/lib/hosted/node/scanners/grammars-reader.d.ts.map +1 -1
- package/lib/hosted/node/scanners/grammars-reader.js +5 -23
- package/lib/hosted/node/scanners/grammars-reader.js.map +1 -1
- package/lib/hosted/node/scanners/scanner-theia.d.ts +37 -72
- package/lib/hosted/node/scanners/scanner-theia.d.ts.map +1 -1
- package/lib/hosted/node/scanners/scanner-theia.js +114 -854
- package/lib/hosted/node/scanners/scanner-theia.js.map +1 -1
- package/lib/hosted/node/scanners/scanner-theia.spec.js +4 -4
- package/lib/hosted/node/scanners/scanner-theia.spec.js.map +1 -1
- package/lib/main/browser/plugin-contribution-handler.js +1 -1
- package/lib/main/browser/plugin-contribution-handler.js.map +1 -1
- package/lib/main/browser/plugin-icon-service.d.ts.map +1 -1
- package/lib/main/browser/plugin-icon-service.js +2 -1
- package/lib/main/browser/plugin-icon-service.js.map +1 -1
- package/lib/main/browser/plugin-icon-theme-service.d.ts.map +1 -1
- package/lib/main/browser/plugin-icon-theme-service.js +2 -1
- package/lib/main/browser/plugin-icon-theme-service.js.map +1 -1
- package/lib/main/browser/plugin-shared-style.d.ts.map +1 -1
- package/lib/main/browser/plugin-shared-style.js +2 -1
- package/lib/main/browser/plugin-shared-style.js.map +1 -1
- package/package.json +31 -30
- package/src/common/errors.ts +1 -25
- package/src/common/plugin-protocol.ts +194 -719
- package/src/hosted/browser/worker/plugin-manifest-loader.ts +8 -41
- package/src/hosted/browser/worker/worker-main.ts +2 -1
- package/src/hosted/node/hosted-plugin-localization-service.ts +3 -82
- package/src/hosted/node/plugin-host-rpc.ts +3 -3
- package/src/hosted/node/plugin-reader.ts +4 -3
- package/src/hosted/node/scanners/grammars-reader.ts +14 -23
- package/src/hosted/node/scanners/scanner-theia.spec.ts +4 -4
- package/src/hosted/node/scanners/scanner-theia.ts +200 -972
- package/src/main/browser/plugin-contribution-handler.ts +1 -1
- package/src/main/browser/plugin-icon-service.ts +2 -1
- package/src/main/browser/plugin-icon-theme-service.ts +2 -1
- package/src/main/browser/plugin-shared-style.ts +2 -1
- package/lib/hosted/node/plugin-activation-events.d.ts +0 -7
- package/lib/hosted/node/plugin-activation-events.d.ts.map +0 -1
- package/lib/hosted/node/plugin-activation-events.js +0 -95
- package/lib/hosted/node/plugin-activation-events.js.map +0 -1
- package/lib/hosted/node/plugin-manifest-loader.d.ts +0 -3
- package/lib/hosted/node/plugin-manifest-loader.d.ts.map +0 -1
- package/lib/hosted/node/plugin-manifest-loader.js +0 -34
- package/lib/hosted/node/plugin-manifest-loader.js.map +0 -1
- package/lib/main/node/errors.spec.d.ts +0 -2
- package/lib/main/node/errors.spec.d.ts.map +0 -1
- package/lib/main/node/errors.spec.js +0 -36
- package/lib/main/node/errors.spec.js.map +0 -1
- package/src/hosted/node/plugin-activation-events.ts +0 -112
- package/src/hosted/node/plugin-manifest-loader.ts +0 -32
- package/src/main/node/errors.spec.ts +0 -37
package/package.json
CHANGED
|
@@ -1,39 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/plugin-ext",
|
|
3
|
-
"version": "1.75.0-next.
|
|
3
|
+
"version": "1.75.0-next.28+ba1005c0bf8",
|
|
4
4
|
"description": "Theia - Plugin Extension",
|
|
5
5
|
"main": "lib/common/index.js",
|
|
6
6
|
"typings": "lib/common/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@theia/ai-core": "1.75.0-next.
|
|
9
|
-
"@theia/ai-mcp": "1.75.0-next.
|
|
10
|
-
"@theia/bulk-edit": "1.75.0-next.
|
|
11
|
-
"@theia/callhierarchy": "1.75.0-next.
|
|
12
|
-
"@theia/console": "1.75.0-next.
|
|
13
|
-
"@theia/core": "1.75.0-next.
|
|
14
|
-
"@theia/debug": "1.75.0-next.
|
|
15
|
-
"@theia/editor": "1.75.0-next.
|
|
16
|
-
"@theia/editor-preview": "1.75.0-next.
|
|
17
|
-
"@theia/file-search": "1.75.0-next.
|
|
18
|
-
"@theia/filesystem": "1.75.0-next.
|
|
19
|
-
"@theia/markers": "1.75.0-next.
|
|
20
|
-
"@theia/messages": "1.75.0-next.
|
|
21
|
-
"@theia/monaco": "1.75.0-next.
|
|
8
|
+
"@theia/ai-core": "1.75.0-next.28+ba1005c0bf8",
|
|
9
|
+
"@theia/ai-mcp": "1.75.0-next.28+ba1005c0bf8",
|
|
10
|
+
"@theia/bulk-edit": "1.75.0-next.28+ba1005c0bf8",
|
|
11
|
+
"@theia/callhierarchy": "1.75.0-next.28+ba1005c0bf8",
|
|
12
|
+
"@theia/console": "1.75.0-next.28+ba1005c0bf8",
|
|
13
|
+
"@theia/core": "1.75.0-next.28+ba1005c0bf8",
|
|
14
|
+
"@theia/debug": "1.75.0-next.28+ba1005c0bf8",
|
|
15
|
+
"@theia/editor": "1.75.0-next.28+ba1005c0bf8",
|
|
16
|
+
"@theia/editor-preview": "1.75.0-next.28+ba1005c0bf8",
|
|
17
|
+
"@theia/file-search": "1.75.0-next.28+ba1005c0bf8",
|
|
18
|
+
"@theia/filesystem": "1.75.0-next.28+ba1005c0bf8",
|
|
19
|
+
"@theia/markers": "1.75.0-next.28+ba1005c0bf8",
|
|
20
|
+
"@theia/messages": "1.75.0-next.28+ba1005c0bf8",
|
|
21
|
+
"@theia/monaco": "1.75.0-next.28+ba1005c0bf8",
|
|
22
22
|
"@theia/monaco-editor-core": "1.108.201",
|
|
23
|
-
"@theia/navigator": "1.75.0-next.
|
|
24
|
-
"@theia/notebook": "1.75.0-next.
|
|
25
|
-
"@theia/output": "1.75.0-next.
|
|
26
|
-
"@theia/plugin": "1.75.0-next.
|
|
27
|
-
"@theia/
|
|
28
|
-
"@theia/
|
|
29
|
-
"@theia/
|
|
30
|
-
"@theia/
|
|
31
|
-
"@theia/
|
|
32
|
-
"@theia/
|
|
33
|
-
"@theia/
|
|
34
|
-
"@theia/
|
|
35
|
-
"@theia/
|
|
36
|
-
"@theia/
|
|
23
|
+
"@theia/navigator": "1.75.0-next.28+ba1005c0bf8",
|
|
24
|
+
"@theia/notebook": "1.75.0-next.28+ba1005c0bf8",
|
|
25
|
+
"@theia/output": "1.75.0-next.28+ba1005c0bf8",
|
|
26
|
+
"@theia/plugin": "1.75.0-next.28+ba1005c0bf8",
|
|
27
|
+
"@theia/plugin-utils": "1.75.0-next.28+ba1005c0bf8",
|
|
28
|
+
"@theia/preferences": "1.75.0-next.28+ba1005c0bf8",
|
|
29
|
+
"@theia/scm": "1.75.0-next.28+ba1005c0bf8",
|
|
30
|
+
"@theia/search-in-workspace": "1.75.0-next.28+ba1005c0bf8",
|
|
31
|
+
"@theia/task": "1.75.0-next.28+ba1005c0bf8",
|
|
32
|
+
"@theia/terminal": "1.75.0-next.28+ba1005c0bf8",
|
|
33
|
+
"@theia/test": "1.75.0-next.28+ba1005c0bf8",
|
|
34
|
+
"@theia/timeline": "1.75.0-next.28+ba1005c0bf8",
|
|
35
|
+
"@theia/typehierarchy": "1.75.0-next.28+ba1005c0bf8",
|
|
36
|
+
"@theia/variable-resolver": "1.75.0-next.28+ba1005c0bf8",
|
|
37
|
+
"@theia/workspace": "1.75.0-next.28+ba1005c0bf8",
|
|
37
38
|
"@types/mime": "^2.0.3",
|
|
38
39
|
"@vscode/debugprotocol": "^1.68.0",
|
|
39
40
|
"@vscode/proxy-agent": "^0.13.2",
|
|
@@ -98,5 +99,5 @@
|
|
|
98
99
|
"nyc": {
|
|
99
100
|
"extends": "../../configs/nyc.json"
|
|
100
101
|
},
|
|
101
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "ba1005c0bf87bd848c6ec51ce1b4e6bb06748e3c"
|
|
102
103
|
}
|
package/src/common/errors.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
15
|
// *****************************************************************************
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
export { isENOENT } from '@theia/plugin-utils/lib/common/utils';
|
|
18
18
|
|
|
19
19
|
export function illegalArgument(message?: string): Error {
|
|
20
20
|
if (message) {
|
|
@@ -37,27 +37,3 @@ export function disposed(what: string): Error {
|
|
|
37
37
|
result.name = 'DISPOSED';
|
|
38
38
|
return result;
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
interface Errno {
|
|
42
|
-
readonly code: string;
|
|
43
|
-
readonly errno: number
|
|
44
|
-
}
|
|
45
|
-
const ENOENT = 'ENOENT' as const;
|
|
46
|
-
|
|
47
|
-
type ErrnoException = Error & Errno;
|
|
48
|
-
function isErrnoException(arg: unknown): arg is ErrnoException {
|
|
49
|
-
return arg instanceof Error
|
|
50
|
-
&& isObject<Partial<Errno>>(arg)
|
|
51
|
-
&& typeof arg.code === 'string'
|
|
52
|
-
&& typeof arg.errno === 'number';
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* _(No such file or directory)_: Commonly raised by `fs` operations to indicate that a component of the specified pathname does not exist — no entity (file or directory) could be
|
|
57
|
-
* found by the given path.
|
|
58
|
-
*/
|
|
59
|
-
export function isENOENT(
|
|
60
|
-
arg: unknown
|
|
61
|
-
): arg is ErrnoException & Readonly<{ code: typeof ENOENT }> {
|
|
62
|
-
return isErrnoException(arg) && arg.code === ENOENT;
|
|
63
|
-
}
|