vscode-json-languageservice 5.3.3 → 5.3.4

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.
@@ -527,7 +527,7 @@ export class JSONCompletion {
527
527
  insertTextFormat: InsertTextFormat.Snippet
528
528
  };
529
529
  if (this.doesSupportsLabelDetails()) {
530
- completionItem.labelDetails = { detail: l10n.t('Default value') };
530
+ completionItem.labelDetails = { description: l10n.t('Default value') };
531
531
  }
532
532
  else {
533
533
  completionItem.detail = l10n.t('Default value');
@@ -539,7 +539,7 @@
539
539
  insertTextFormat: jsonLanguageTypes_1.InsertTextFormat.Snippet
540
540
  };
541
541
  if (this.doesSupportsLabelDetails()) {
542
- completionItem.labelDetails = { detail: l10n.t('Default value') };
542
+ completionItem.labelDetails = { description: l10n.t('Default value') };
543
543
  }
544
544
  else {
545
545
  completionItem.detail = l10n.t('Default value');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vscode-json-languageservice",
3
- "version": "5.3.3",
3
+ "version": "5.3.4",
4
4
  "description": "Language service for JSON",
5
5
  "main": "./lib/umd/jsonLanguageService.js",
6
6
  "typings": "./lib/umd/jsonLanguageService",
@@ -17,8 +17,8 @@
17
17
  "devDependencies": {
18
18
  "@types/mocha": "^10.0.1",
19
19
  "@types/node": "16.x",
20
- "@typescript-eslint/eslint-plugin": "^5.59.0",
21
- "@typescript-eslint/parser": "^5.59.0",
20
+ "@typescript-eslint/eslint-plugin": "^5.59.1",
21
+ "@typescript-eslint/parser": "^5.59.1",
22
22
  "eslint": "^8.39.0",
23
23
  "json-schema-test-suite": "https://github.com/json-schema-org/JSON-Schema-Test-Suite.git#69acf52990b004240839ae19b4bec8fb01d50876",
24
24
  "mocha": "^10.2.0",