@angular/language-server 22.3.0 → 22.4.0-next.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.
Files changed (2) hide show
  1. package/index.js +16 -16
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -287426,10 +287426,10 @@ var require_definitions = __commonJS({
287426
287426
  }
287427
287427
  });
287428
287428
 
287429
- // node_modules/.aspect_rules_js/vscode-languageserver-types@3.18.5/node_modules/vscode-languageserver-types/lib/esm/main.js
287429
+ // node_modules/.aspect_rules_js/vscode-languageserver-types@3.18.6/node_modules/vscode-languageserver-types/lib/esm/main.js
287430
287430
  var DocumentUri2, URI2, integer2, uinteger2, Position2, Range2, Location2, LocationLink2, Color2, ColorInformation2, ColorPresentation2, FoldingRangeKind2, FoldingRange2, DiagnosticRelatedInformation2, DiagnosticSeverity2, DiagnosticTag2, CodeDescription2, Diagnostic2, Command2, TextEdit2, ChangeAnnotation2, ChangeAnnotationIdentifier2, AnnotatedTextEdit2, TextDocumentEdit2, CreateFile2, RenameFile2, DeleteFile2, WorkspaceEdit2, SnippetTextEdit, TextDocumentIdentifier2, VersionedTextDocumentIdentifier2, OptionalVersionedTextDocumentIdentifier2, LanguageKind, TextDocumentItem2, MarkupKind2, MarkupContent2, CompletionItemKind2, InsertTextFormat2, CompletionItemTag2, InsertReplaceEdit2, InsertTextMode2, ApplyKind, CompletionItemLabelDetails2, CompletionItem2, CompletionList2, MarkedString2, Hover2, ParameterInformation2, SignatureInformation2, DocumentHighlightKind2, DocumentHighlight2, SymbolKind2, SymbolTag2, SymbolInformation2, WorkspaceSymbol2, DocumentSymbol2, CodeActionKind2, CodeActionTriggerKind2, CodeActionContext2, CodeActionTag, CodeAction2, CodeLens2, FormattingOptions2, DocumentLink2, SelectionRange2, SemanticTokenTypes2, SemanticTokenModifiers2, SemanticTokens2, InlineValueText2, InlineValueVariableLookup2, InlineValueEvaluatableExpression2, InlineValueContext2, InlayHintKind3, InlayHintLabelPart2, InlayHint2, StringValue2, InlineCompletionItem2, InlineCompletionList2, InlineCompletionTriggerKind2, SelectedCompletionInfo2, InlineCompletionContext2, WorkspaceFolder2, TextDocument3, FullTextDocument3, Is2;
287431
287431
  var init_main3 = __esm({
287432
- "node_modules/.aspect_rules_js/vscode-languageserver-types@3.18.5/node_modules/vscode-languageserver-types/lib/esm/main.js"() {
287432
+ "node_modules/.aspect_rules_js/vscode-languageserver-types@3.18.6/node_modules/vscode-languageserver-types/lib/esm/main.js"() {
287433
287433
  "use strict";
287434
287434
  (function(DocumentUri3) {
287435
287435
  function is(value) {
@@ -287602,7 +287602,7 @@ var init_main3 = __esm({
287602
287602
  DiagnosticRelatedInformation3.create = create;
287603
287603
  function is(value) {
287604
287604
  const candidate = value;
287605
- return Is2.defined(candidate) && Location2.is(candidate.location) && Is2.string(candidate.message);
287605
+ return Is2.objectLiteral(candidate) && Location2.is(candidate.location) && Is2.string(candidate.message);
287606
287606
  }
287607
287607
  DiagnosticRelatedInformation3.is = is;
287608
287608
  })(DiagnosticRelatedInformation2 || (DiagnosticRelatedInformation2 = {}));
@@ -287644,7 +287644,7 @@ var init_main3 = __esm({
287644
287644
  function is(value) {
287645
287645
  var _a3;
287646
287646
  const candidate = value;
287647
- return Is2.defined(candidate) && Range2.is(candidate.range) && (Is2.string(candidate.message) || MarkupContent2.is(candidate.message)) && (Is2.number(candidate.severity) || Is2.undefined(candidate.severity)) && (Is2.integer(candidate.code) || Is2.string(candidate.code) || Is2.undefined(candidate.code)) && (Is2.undefined(candidate.codeDescription) || Is2.string((_a3 = candidate.codeDescription) === null || _a3 === void 0 ? void 0 : _a3.href)) && (Is2.string(candidate.source) || Is2.undefined(candidate.source)) && (Is2.undefined(candidate.relatedInformation) || Is2.typedArray(candidate.relatedInformation, DiagnosticRelatedInformation2.is));
287647
+ return Is2.objectLiteral(candidate) && Range2.is(candidate.range) && (Is2.string(candidate.message) || MarkupContent2.is(candidate.message)) && (Is2.number(candidate.severity) || Is2.undefined(candidate.severity)) && (Is2.integer(candidate.code) || Is2.string(candidate.code) || Is2.undefined(candidate.code)) && (Is2.undefined(candidate.codeDescription) || Is2.string((_a3 = candidate.codeDescription) === null || _a3 === void 0 ? void 0 : _a3.href)) && (Is2.string(candidate.source) || Is2.undefined(candidate.source)) && (Is2.undefined(candidate.relatedInformation) || Is2.typedArray(candidate.relatedInformation, DiagnosticRelatedInformation2.is));
287648
287648
  }
287649
287649
  Diagnostic3.is = is;
287650
287650
  function is3_17(value) {
@@ -287673,7 +287673,7 @@ var init_main3 = __esm({
287673
287673
  Command3.create = create;
287674
287674
  function is(value) {
287675
287675
  const candidate = value;
287676
- return Is2.defined(candidate) && Is2.string(candidate.title) && (candidate.tooltip === void 0 || Is2.string(candidate.tooltip)) && Is2.string(candidate.command);
287676
+ return Is2.objectLiteral(candidate) && Is2.string(candidate.title) && (candidate.tooltip === void 0 || Is2.string(candidate.tooltip)) && Is2.string(candidate.command);
287677
287677
  }
287678
287678
  Command3.is = is;
287679
287679
  })(Command2 || (Command2 = {}));
@@ -287747,7 +287747,7 @@ var init_main3 = __esm({
287747
287747
  TextDocumentEdit3.create = create;
287748
287748
  function is(value) {
287749
287749
  const candidate = value;
287750
- return Is2.defined(candidate) && OptionalVersionedTextDocumentIdentifier2.is(candidate.textDocument) && Array.isArray(candidate.edits);
287750
+ return Is2.objectLiteral(candidate) && OptionalVersionedTextDocumentIdentifier2.is(candidate.textDocument) && Array.isArray(candidate.edits);
287751
287751
  }
287752
287752
  TextDocumentEdit3.is = is;
287753
287753
  })(TextDocumentEdit2 || (TextDocumentEdit2 = {}));
@@ -287842,7 +287842,7 @@ var init_main3 = __esm({
287842
287842
  TextDocumentIdentifier3.create = create;
287843
287843
  function is(value) {
287844
287844
  const candidate = value;
287845
- return Is2.defined(candidate) && Is2.string(candidate.uri);
287845
+ return Is2.objectLiteral(candidate) && Is2.string(candidate.uri);
287846
287846
  }
287847
287847
  TextDocumentIdentifier3.is = is;
287848
287848
  })(TextDocumentIdentifier2 || (TextDocumentIdentifier2 = {}));
@@ -287853,7 +287853,7 @@ var init_main3 = __esm({
287853
287853
  VersionedTextDocumentIdentifier3.create = create;
287854
287854
  function is(value) {
287855
287855
  const candidate = value;
287856
- return Is2.defined(candidate) && Is2.string(candidate.uri) && Is2.integer(candidate.version);
287856
+ return Is2.objectLiteral(candidate) && Is2.string(candidate.uri) && Is2.integer(candidate.version);
287857
287857
  }
287858
287858
  VersionedTextDocumentIdentifier3.is = is;
287859
287859
  })(VersionedTextDocumentIdentifier2 || (VersionedTextDocumentIdentifier2 = {}));
@@ -287864,7 +287864,7 @@ var init_main3 = __esm({
287864
287864
  OptionalVersionedTextDocumentIdentifier3.create = create;
287865
287865
  function is(value) {
287866
287866
  const candidate = value;
287867
- return Is2.defined(candidate) && Is2.string(candidate.uri) && (candidate.version === null || Is2.integer(candidate.version));
287867
+ return Is2.objectLiteral(candidate) && Is2.string(candidate.uri) && (candidate.version === null || Is2.integer(candidate.version));
287868
287868
  }
287869
287869
  OptionalVersionedTextDocumentIdentifier3.is = is;
287870
287870
  })(OptionalVersionedTextDocumentIdentifier2 || (OptionalVersionedTextDocumentIdentifier2 = {}));
@@ -287939,7 +287939,7 @@ var init_main3 = __esm({
287939
287939
  TextDocumentItem3.create = create;
287940
287940
  function is(value) {
287941
287941
  const candidate = value;
287942
- return Is2.defined(candidate) && Is2.string(candidate.uri) && Is2.string(candidate.languageId) && Is2.integer(candidate.version) && Is2.string(candidate.text);
287942
+ return Is2.objectLiteral(candidate) && Is2.string(candidate.uri) && Is2.string(candidate.languageId) && Is2.integer(candidate.version) && Is2.string(candidate.text);
287943
287943
  }
287944
287944
  TextDocumentItem3.is = is;
287945
287945
  })(TextDocumentItem2 || (TextDocumentItem2 = {}));
@@ -288188,7 +288188,7 @@ var init_main3 = __esm({
288188
288188
  CodeActionContext3.create = create;
288189
288189
  function is(value) {
288190
288190
  const candidate = value;
288191
- return Is2.defined(candidate) && Is2.typedArray(candidate.diagnostics, Diagnostic2.is) && (candidate.only === void 0 || Is2.typedArray(candidate.only, Is2.string)) && (candidate.triggerKind === void 0 || candidate.triggerKind === CodeActionTriggerKind2.Invoked || candidate.triggerKind === CodeActionTriggerKind2.Automatic);
288191
+ return Is2.objectLiteral(candidate) && Is2.typedArray(candidate.diagnostics, Diagnostic2.is) && (candidate.only === void 0 || Is2.typedArray(candidate.only, Is2.string)) && (candidate.triggerKind === void 0 || candidate.triggerKind === CodeActionTriggerKind2.Invoked || candidate.triggerKind === CodeActionTriggerKind2.Automatic);
288192
288192
  }
288193
288193
  CodeActionContext3.is = is;
288194
288194
  })(CodeActionContext2 || (CodeActionContext2 = {}));
@@ -288234,7 +288234,7 @@ var init_main3 = __esm({
288234
288234
  CodeLens3.create = create;
288235
288235
  function is(value) {
288236
288236
  const candidate = value;
288237
- return Is2.defined(candidate) && Range2.is(candidate.range) && (Is2.undefined(candidate.command) || Command2.is(candidate.command));
288237
+ return Is2.objectLiteral(candidate) && Range2.is(candidate.range) && (Is2.undefined(candidate.command) || Command2.is(candidate.command));
288238
288238
  }
288239
288239
  CodeLens3.is = is;
288240
288240
  })(CodeLens2 || (CodeLens2 = {}));
@@ -288245,7 +288245,7 @@ var init_main3 = __esm({
288245
288245
  FormattingOptions3.create = create;
288246
288246
  function is(value) {
288247
288247
  const candidate = value;
288248
- return Is2.defined(candidate) && Is2.uinteger(candidate.tabSize) && Is2.boolean(candidate.insertSpaces);
288248
+ return Is2.objectLiteral(candidate) && Is2.uinteger(candidate.tabSize) && Is2.boolean(candidate.insertSpaces);
288249
288249
  }
288250
288250
  FormattingOptions3.is = is;
288251
288251
  })(FormattingOptions2 || (FormattingOptions2 = {}));
@@ -288256,7 +288256,7 @@ var init_main3 = __esm({
288256
288256
  DocumentLink3.create = create;
288257
288257
  function is(value) {
288258
288258
  const candidate = value;
288259
- return Is2.defined(candidate) && Range2.is(candidate.range) && (Is2.undefined(candidate.target) || Is2.string(candidate.target));
288259
+ return Is2.objectLiteral(candidate) && Range2.is(candidate.range) && (Is2.undefined(candidate.target) || Is2.string(candidate.target));
288260
288260
  }
288261
288261
  DocumentLink3.is = is;
288262
288262
  })(DocumentLink2 || (DocumentLink2 = {}));
@@ -288356,7 +288356,7 @@ var init_main3 = __esm({
288356
288356
  InlineValueContext3.create = create;
288357
288357
  function is(value) {
288358
288358
  const candidate = value;
288359
- return Is2.defined(candidate) && Range2.is(value.stoppedLocation);
288359
+ return Is2.objectLiteral(candidate) && Range2.is(value.stoppedLocation);
288360
288360
  }
288361
288361
  InlineValueContext3.is = is;
288362
288362
  })(InlineValueContext2 || (InlineValueContext2 = {}));
@@ -288447,7 +288447,7 @@ var init_main3 = __esm({
288447
288447
  TextDocument4.create = create;
288448
288448
  function is(value) {
288449
288449
  const candidate = value;
288450
- return Is2.defined(candidate) && Is2.string(candidate.uri) && (Is2.undefined(candidate.languageId) || Is2.string(candidate.languageId)) && Is2.uinteger(candidate.lineCount) && Is2.func(candidate.getText) && Is2.func(candidate.positionAt) && Is2.func(candidate.offsetAt) ? true : false;
288450
+ return Is2.objectLiteral(candidate) && Is2.string(candidate.uri) && (Is2.undefined(candidate.languageId) || Is2.string(candidate.languageId)) && Is2.uinteger(candidate.lineCount) && Is2.func(candidate.getText) && Is2.func(candidate.positionAt) && Is2.func(candidate.offsetAt) ? true : false;
288451
288451
  }
288452
288452
  TextDocument4.is = is;
288453
288453
  function applyEdits(document, edits) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@angular/language-server",
3
3
  "description": "LSP server for Angular Language Service",
4
- "version": "22.3.0",
4
+ "version": "22.4.0-next.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/angular/angular.git",
@@ -17,7 +17,7 @@
17
17
  "ngserver": "./bin/ngserver"
18
18
  },
19
19
  "dependencies": {
20
- "@angular/language-service": "22.3.0",
20
+ "@angular/language-service": "22.4.0-next.0",
21
21
  "typescript": "6.0.3"
22
22
  },
23
23
  "devDependencies": {