@codingame/monaco-vscode-textmate-service-override 32.0.2 → 34.0.0

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,22 +1,22 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-textmate-service-override",
3
- "version": "32.0.2",
3
+ "version": "34.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - textmate service-override",
6
6
  "keywords": [],
7
+ "license": "MIT",
7
8
  "author": {
8
9
  "name": "CodinGame",
9
10
  "url": "http://www.codingame.com"
10
11
  },
11
- "license": "MIT",
12
12
  "repository": {
13
13
  "type": "git",
14
14
  "url": "git+ssh://git@github.com/CodinGame/monaco-vscode-api.git"
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "32.0.2",
19
- "@codingame/monaco-vscode-files-service-override": "32.0.2"
18
+ "@codingame/monaco-vscode-api": "34.0.0",
19
+ "@codingame/monaco-vscode-files-service-override": "34.0.0"
20
20
  },
21
21
  "main": "index.js",
22
22
  "module": "index.js",
@@ -197,7 +197,7 @@ let TextMateTokenizationFeature = class TextMateTokenizationFeature extends Disp
197
197
  }
198
198
  startDebugMode(printFn, onStop) {
199
199
  if (this._debugMode) {
200
- this._notificationService.error(( localize(16918, "Already Logging.")));
200
+ this._notificationService.error(( localize(17265, "Already Logging.")));
201
201
  return;
202
202
  }
203
203
  this._debugModePrintFunc = printFn;
@@ -205,15 +205,15 @@ let TextMateTokenizationFeature = class TextMateTokenizationFeature extends Disp
205
205
  if (this._debugMode) {
206
206
  this._progressService.withProgress({
207
207
  location: ProgressLocation.Notification,
208
- buttons: [( localize(16919, "Stop"))]
208
+ buttons: [( localize(17266, "Stop"))]
209
209
  }, progress => {
210
210
  progress.report({
211
- message: ( localize(16920, "Preparing to log TM Grammar parsing. Press Stop when finished."))
211
+ message: ( localize(17267, "Preparing to log TM Grammar parsing. Press Stop when finished."))
212
212
  });
213
213
  return this._getVSCodeOniguruma().then(vscodeOniguruma => {
214
214
  vscodeOniguruma.setDefaultDebugCall(true);
215
215
  progress.report({
216
- message: ( localize(16921, "Now logging TM Grammar parsing. Press Stop when finished."))
216
+ message: ( localize(17268, "Now logging TM Grammar parsing. Press Stop when finished."))
217
217
  });
218
218
  return ( new Promise((resolve, reject) => {}));
219
219
  });
@@ -421,7 +421,7 @@ function equalsTokenRules(a, b) {
421
421
  function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _languageService) {
422
422
  if (syntax.language && ((typeof syntax.language !== "string") || !_languageService.isRegisteredLanguageId(syntax.language))) {
423
423
  collector.error(( localize(
424
- 16922,
424
+ 17269,
425
425
  "Unknown language in `contributes.{0}.language`. Provided value: {1}",
426
426
  grammarsExtPoint.name,
427
427
  String(syntax.language)
@@ -430,7 +430,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
430
430
  }
431
431
  if (!syntax.scopeName || (typeof syntax.scopeName !== "string")) {
432
432
  collector.error(( localize(
433
- 16923,
433
+ 17270,
434
434
  "Expected string in `contributes.{0}.scopeName`. Provided value: {1}",
435
435
  grammarsExtPoint.name,
436
436
  String(syntax.scopeName)
@@ -439,7 +439,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
439
439
  }
440
440
  if (!syntax.path || (typeof syntax.path !== "string")) {
441
441
  collector.error(( localize(
442
- 16924,
442
+ 17271,
443
443
  "Expected string in `contributes.{0}.path`. Provided value: {1}",
444
444
  grammarsExtPoint.name,
445
445
  String(syntax.path)
@@ -448,7 +448,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
448
448
  }
449
449
  if (syntax.injectTo && (!Array.isArray(syntax.injectTo) || ( syntax.injectTo.some(scope => typeof scope !== "string")))) {
450
450
  collector.error(( localize(
451
- 16925,
451
+ 17272,
452
452
  "Invalid value in `contributes.{0}.injectTo`. Must be an array of language scope names. Provided value: {1}",
453
453
  grammarsExtPoint.name,
454
454
  JSON.stringify(syntax.injectTo)
@@ -457,7 +457,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
457
457
  }
458
458
  if (syntax.embeddedLanguages && !isObject(syntax.embeddedLanguages)) {
459
459
  collector.error(( localize(
460
- 16926,
460
+ 17273,
461
461
  "Invalid value in `contributes.{0}.embeddedLanguages`. Must be an object map from scope name to language. Provided value: {1}",
462
462
  grammarsExtPoint.name,
463
463
  JSON.stringify(syntax.embeddedLanguages)
@@ -466,7 +466,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
466
466
  }
467
467
  if (syntax.tokenTypes && !isObject(syntax.tokenTypes)) {
468
468
  collector.error(( localize(
469
- 16927,
469
+ 17274,
470
470
  "Invalid value in `contributes.{0}.tokenTypes`. Must be an object map from scope name to token type. Provided value: {1}",
471
471
  grammarsExtPoint.name,
472
472
  JSON.stringify(syntax.tokenTypes)
@@ -476,7 +476,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
476
476
  const grammarLocation = joinPath(extensionLocation, syntax.path);
477
477
  if (!isEqualOrParent(grammarLocation, extensionLocation)) {
478
478
  collector.warn(( localize(
479
- 16928,
479
+ 17275,
480
480
  "Expected `contributes.{0}.path` ({1}) to be included inside extension's folder ({2}). This might make the extension non-portable.",
481
481
  grammarsExtPoint.name,
482
482
  grammarLocation.path,