@codingame/monaco-vscode-workspace-trust-service-override 2.1.4 → 2.2.0-next.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-workspace-trust-service-override",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0-next.2",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@2.
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@2.2.0-next.2",
|
|
22
22
|
"vscode-marked": "npm:marked@=3.0.2"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -36,7 +36,7 @@ import { WORKSPACE_TRUST_SETTING_TAG } from 'vscode/vscode/vs/workbench/contrib/
|
|
|
36
36
|
import { IPreferencesService } from 'vscode/vscode/vs/workbench/services/preferences/common/preferences';
|
|
37
37
|
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label';
|
|
38
38
|
import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService';
|
|
39
|
-
import { WorkspaceTrustContext, MANAGE_TRUST_COMMAND_ID } from '
|
|
39
|
+
import { WorkspaceTrustContext, MANAGE_TRUST_COMMAND_ID } from 'vscode/vscode/vs/workbench/contrib/workspace/common/workspace';
|
|
40
40
|
import { isWeb } from 'vscode/vscode/vs/base/common/platform';
|
|
41
41
|
import { IRemoteAgentService } from 'vscode/vscode/vs/workbench/services/remote/common/remoteAgentService';
|
|
42
42
|
import { securityConfigurationNodeBase } from 'vscode/vscode/vs/workbench/common/configuration';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
2
|
-
import { RawContextKey } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
3
|
-
|
|
4
|
-
const WorkspaceTrustContext = {
|
|
5
|
-
IsEnabled: ( new RawContextKey('isWorkspaceTrustEnabled', false, ( localizeWithPath(
|
|
6
|
-
'vs/workbench/contrib/workspace/common/workspace',
|
|
7
|
-
'workspaceTrustEnabledCtx',
|
|
8
|
-
"Whether the workspace trust feature is enabled."
|
|
9
|
-
)))),
|
|
10
|
-
IsTrusted: ( new RawContextKey('isWorkspaceTrusted', false, ( localizeWithPath(
|
|
11
|
-
'vs/workbench/contrib/workspace/common/workspace',
|
|
12
|
-
'workspaceTrustedCtx',
|
|
13
|
-
"Whether the current workspace has been trusted by the user."
|
|
14
|
-
))))
|
|
15
|
-
};
|
|
16
|
-
const MANAGE_TRUST_COMMAND_ID = 'workbench.trust.manage';
|
|
17
|
-
|
|
18
|
-
export { MANAGE_TRUST_COMMAND_ID, WorkspaceTrustContext };
|