@codingame/monaco-vscode-workspace-trust-service-override 1.83.7 → 1.83.8
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": "1.83.
|
|
3
|
+
"version": "1.83.8",
|
|
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@1.83.
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@1.83.8",
|
|
22
22
|
"monaco-editor": "0.44.0"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -721,6 +721,19 @@ WorkspaceTrustUXHandler = ( __decorate([
|
|
|
721
721
|
], WorkspaceTrustUXHandler));
|
|
722
722
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(WorkspaceTrustRequestHandler, 2 );
|
|
723
723
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(WorkspaceTrustUXHandler, 3 );
|
|
724
|
+
class WorkspaceTrustEditorInputSerializer {
|
|
725
|
+
canSerialize(editorInput) {
|
|
726
|
+
return true;
|
|
727
|
+
}
|
|
728
|
+
serialize(input) {
|
|
729
|
+
return '';
|
|
730
|
+
}
|
|
731
|
+
deserialize(instantiationService) {
|
|
732
|
+
return instantiationService.createInstance(WorkspaceTrustEditorInput);
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
( Registry.as(EditorExtensions.EditorFactory))
|
|
736
|
+
.registerEditorSerializer(WorkspaceTrustEditorInput.ID, WorkspaceTrustEditorInputSerializer);
|
|
724
737
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(WorkspaceTrustEditor, WorkspaceTrustEditor.ID, ( localizeWithPath(
|
|
725
738
|
'vs/workbench/contrib/workspace/browser/workspace.contribution',
|
|
726
739
|
'workspaceTrustEditor',
|