@codingame/monaco-vscode-quickaccess-service-override 38.0.2 → 38.0.3
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-quickaccess-service-override",
|
|
3
|
-
"version": "38.0.
|
|
3
|
+
"version": "38.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - quickaccess service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "38.0.
|
|
18
|
+
"@codingame/monaco-vscode-api": "38.0.3"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -113,10 +113,10 @@ let ViewQuickAccessProvider = class ViewQuickAccessProvider extends PickerQuickA
|
|
|
113
113
|
let aIndex = visiblePaneCompositeIds.findIndex(id => a.id === id);
|
|
114
114
|
let bIndex = visiblePaneCompositeIds.findIndex(id => b.id === id);
|
|
115
115
|
if (aIndex < 0) {
|
|
116
|
-
aIndex = paneComposites.indexOf(a) + visiblePaneCompositeIds.length;
|
|
116
|
+
aIndex = ( paneComposites.indexOf(a)) + visiblePaneCompositeIds.length;
|
|
117
117
|
}
|
|
118
118
|
if (bIndex < 0) {
|
|
119
|
-
bIndex = paneComposites.indexOf(b) + visiblePaneCompositeIds.length;
|
|
119
|
+
bIndex = ( paneComposites.indexOf(b)) + visiblePaneCompositeIds.length;
|
|
120
120
|
}
|
|
121
121
|
return aIndex - bIndex;
|
|
122
122
|
});
|
|
@@ -82,7 +82,7 @@ let TrustedDomainsFileSystemProvider = class TrustedDomainsFileSystemProvider {
|
|
|
82
82
|
defaultTrustedDomains,
|
|
83
83
|
trustedDomains
|
|
84
84
|
} = await this.instantiationService.invokeFunction(readTrustedDomains);
|
|
85
|
-
if (!trustedDomainsContent || trustedDomainsContent.indexOf(CONFIG_HELP_TEXT_PRE) === -1 || trustedDomainsContent.indexOf(CONFIG_HELP_TEXT_AFTER) === -1 || trustedDomainsContent.indexOf(configuring ?? "") === -1 || ( [...defaultTrustedDomains, ...trustedDomains].some(d => !assertReturnsDefined(trustedDomainsContent).includes(d)))) {
|
|
85
|
+
if (!trustedDomainsContent || ( trustedDomainsContent.indexOf(CONFIG_HELP_TEXT_PRE)) === -1 || ( trustedDomainsContent.indexOf(CONFIG_HELP_TEXT_AFTER)) === -1 || ( trustedDomainsContent.indexOf(configuring ?? "")) === -1 || ( [...defaultTrustedDomains, ...trustedDomains].some(d => !assertReturnsDefined(trustedDomainsContent).includes(d)))) {
|
|
86
86
|
trustedDomainsContent = computeTrustedDomainContent(defaultTrustedDomains, trustedDomains, configuring);
|
|
87
87
|
}
|
|
88
88
|
const buffer = VSBuffer.fromString(trustedDomainsContent).buffer;
|
|
@@ -125,7 +125,7 @@ let OpenerValidatorContributions = class OpenerValidatorContributions {
|
|
|
125
125
|
this._quickInputService,
|
|
126
126
|
this._storageService,
|
|
127
127
|
this._editorService);
|
|
128
|
-
if (pickedDomains.indexOf("*") !== -1) {
|
|
128
|
+
if (( pickedDomains.indexOf("*")) !== -1) {
|
|
129
129
|
return true;
|
|
130
130
|
}
|
|
131
131
|
if (isURLDomainTrusted(resourceUri, pickedDomains)) {
|