@codingame/monaco-vscode-keybindings-service-override 7.1.1 → 8.0.1
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-keybindings-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@
|
|
30
|
-
"@codingame/monaco-vscode-files-service-override": "
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@8.0.1",
|
|
30
|
+
"@codingame/monaco-vscode-files-service-override": "8.0.1"
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -505,7 +505,7 @@ var schema;
|
|
|
505
505
|
function isValidSubmenuItem(item, collector) {
|
|
506
506
|
if (typeof item.submenu !== 'string') {
|
|
507
507
|
collector.error(( localize(
|
|
508
|
-
|
|
508
|
+
8617,
|
|
509
509
|
"property `{0}` is mandatory and must be of type `string`",
|
|
510
510
|
'submenu'
|
|
511
511
|
)));
|
|
@@ -548,11 +548,11 @@ var schema;
|
|
|
548
548
|
return false;
|
|
549
549
|
}
|
|
550
550
|
if (typeof submenu.id !== 'string') {
|
|
551
|
-
collector.error(( localize(
|
|
551
|
+
collector.error(( localize(8617, "property `{0}` is mandatory and must be of type `string`", 'id')));
|
|
552
552
|
return false;
|
|
553
553
|
}
|
|
554
554
|
if (typeof submenu.label !== 'string') {
|
|
555
|
-
collector.error(( localize(
|
|
555
|
+
collector.error(( localize(8617, "property `{0}` is mandatory and must be of type `string`", 'label')));
|
|
556
556
|
return false;
|
|
557
557
|
}
|
|
558
558
|
return true;
|
|
@@ -595,11 +595,11 @@ var schema;
|
|
|
595
595
|
type: 'string'
|
|
596
596
|
},
|
|
597
597
|
when: {
|
|
598
|
-
description: ( localize(
|
|
598
|
+
description: ( localize(8623, 'Condition which must be true to show this item')),
|
|
599
599
|
type: 'string'
|
|
600
600
|
},
|
|
601
601
|
group: {
|
|
602
|
-
description: ( localize(
|
|
602
|
+
description: ( localize(8624, 'Group into which this item belongs')),
|
|
603
603
|
type: 'string'
|
|
604
604
|
}
|
|
605
605
|
}
|
|
@@ -671,7 +671,7 @@ var schema;
|
|
|
671
671
|
}
|
|
672
672
|
if (isFalsyOrWhitespace(command.command)) {
|
|
673
673
|
collector.error(( localize(
|
|
674
|
-
|
|
674
|
+
8617,
|
|
675
675
|
"property `{0}` is mandatory and must be of type `string`",
|
|
676
676
|
'command'
|
|
677
677
|
)));
|
|
@@ -685,7 +685,7 @@ var schema;
|
|
|
685
685
|
}
|
|
686
686
|
if (command.enablement && typeof command.enablement !== 'string') {
|
|
687
687
|
collector.error(( localize(
|
|
688
|
-
|
|
688
|
+
8618,
|
|
689
689
|
"property `{0}` can be omitted or must be of type `string`",
|
|
690
690
|
'precondition'
|
|
691
691
|
)));
|
|
@@ -727,7 +727,7 @@ var schema;
|
|
|
727
727
|
}
|
|
728
728
|
else if (typeof localized === 'string' && isFalsyOrWhitespace(localized)) {
|
|
729
729
|
collector.error(( localize(
|
|
730
|
-
|
|
730
|
+
8617,
|
|
731
731
|
"property `{0}` is mandatory and must be of type `string`",
|
|
732
732
|
propertyName
|
|
733
733
|
)));
|