vscode-json-languageservice
Advanced tools
Comparing version 3.11.0 to 4.0.0
@@ -0,1 +1,6 @@ | ||
4.0.0 / 2020-12-14 | ||
================ | ||
* Update to `vscode-languageserver-types@3.16` | ||
* Removed deprecated `findColorSymbols` | ||
3.11.0 / 2020-11-30 | ||
@@ -2,0 +7,0 @@ ================ |
@@ -19,4 +19,2 @@ import { Thenable, ASTNode, Color, ColorInformation, ColorPresentation, LanguageServiceParams, LanguageSettings, DocumentLanguageSettings, FoldingRange, JSONSchema, SelectionRange, FoldingRangesContext, DocumentSymbolsContext, ColorInformationContext as DocumentColorsContext, TextDocument, Position, CompletionItem, CompletionList, Hover, Range, SymbolInformation, Diagnostic, TextEdit, FormattingOptions, DocumentSymbol, DefinitionLink, MatchingSchema } from './jsonLanguageTypes'; | ||
findDocumentSymbols2(document: TextDocument, doc: JSONDocument, context?: DocumentSymbolsContext): DocumentSymbol[]; | ||
/** deprecated, use findDocumentColors instead */ | ||
findColorSymbols(document: TextDocument, doc: JSONDocument): Thenable<Range[]>; | ||
findDocumentColors(document: TextDocument, doc: JSONDocument, context?: DocumentColorsContext): Thenable<ColorInformation[]>; | ||
@@ -23,0 +21,0 @@ getColorPresentations(document: TextDocument, doc: JSONDocument, color: Color, range: Range): ColorPresentation[]; |
@@ -45,3 +45,2 @@ /*--------------------------------------------------------------------------------------------- | ||
findDocumentSymbols2: jsonDocumentSymbols.findDocumentSymbols2.bind(jsonDocumentSymbols), | ||
findColorSymbols: function (d, s) { return jsonDocumentSymbols.findDocumentColors(d, s).then(function (s) { return s.map(function (s) { return s.range; }); }); }, | ||
findDocumentColors: jsonDocumentSymbols.findDocumentColors.bind(jsonDocumentSymbols), | ||
@@ -48,0 +47,0 @@ getColorPresentations: jsonDocumentSymbols.getColorPresentations.bind(jsonDocumentSymbols), |
@@ -19,4 +19,2 @@ import { Thenable, ASTNode, Color, ColorInformation, ColorPresentation, LanguageServiceParams, LanguageSettings, DocumentLanguageSettings, FoldingRange, JSONSchema, SelectionRange, FoldingRangesContext, DocumentSymbolsContext, ColorInformationContext as DocumentColorsContext, TextDocument, Position, CompletionItem, CompletionList, Hover, Range, SymbolInformation, Diagnostic, TextEdit, FormattingOptions, DocumentSymbol, DefinitionLink, MatchingSchema } from './jsonLanguageTypes'; | ||
findDocumentSymbols2(document: TextDocument, doc: JSONDocument, context?: DocumentSymbolsContext): DocumentSymbol[]; | ||
/** deprecated, use findDocumentColors instead */ | ||
findColorSymbols(document: TextDocument, doc: JSONDocument): Thenable<Range[]>; | ||
findDocumentColors(document: TextDocument, doc: JSONDocument, context?: DocumentColorsContext): Thenable<ColorInformation[]>; | ||
@@ -23,0 +21,0 @@ getColorPresentations(document: TextDocument, doc: JSONDocument, color: Color, range: Range): ColorPresentation[]; |
@@ -67,3 +67,2 @@ /*--------------------------------------------------------------------------------------------- | ||
findDocumentSymbols2: jsonDocumentSymbols.findDocumentSymbols2.bind(jsonDocumentSymbols), | ||
findColorSymbols: function (d, s) { return jsonDocumentSymbols.findDocumentColors(d, s).then(function (s) { return s.map(function (s) { return s.range; }); }); }, | ||
findDocumentColors: jsonDocumentSymbols.findDocumentColors.bind(jsonDocumentSymbols), | ||
@@ -70,0 +69,0 @@ getColorPresentations: jsonDocumentSymbols.getColorPresentations.bind(jsonDocumentSymbols), |
{ | ||
"name": "vscode-json-languageservice", | ||
"version": "3.11.0", | ||
"version": "4.0.0", | ||
"description": "Language service for JSON", | ||
@@ -30,3 +30,3 @@ "main": "./lib/umd/jsonLanguageService.js", | ||
"vscode-languageserver-textdocument": "^1.0.1", | ||
"vscode-languageserver-types": "3.16.0-next.2", | ||
"vscode-languageserver-types": "^3.16.0", | ||
"vscode-nls": "^5.0.0", | ||
@@ -33,0 +33,0 @@ "vscode-uri": "^2.1.2" |
478657
9720
+ Addedvscode-languageserver-types@3.17.5(transitive)
- Removedvscode-languageserver-types@3.16.0-next.2(transitive)