Skip to content

Commit 4203809

Browse files
committed
build: cut v19.2.2 version of language service
* See changelog.
1 parent 3986db5 commit 4203809

File tree

7 files changed

+32
-27
lines changed

7 files changed

+32
-27
lines changed

.aspect/rules/external_repository_action_cache/npm_translate_lock_LTE4Nzc1MDcwNjU=

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Input hashes for repository rule npm_translate_lock(name = "npm", pnpm_lock = "//:pnpm-lock.yaml").
33
# This file should be checked into version control along with the pnpm-lock.yaml file.
44
.npmrc=974837034
5-
pnpm-lock.yaml=-60247795
6-
yarn.lock=1176905511
7-
package.json=-552185186
5+
pnpm-lock.yaml=1040688408
6+
yarn.lock=83759813
7+
package.json=1158114097
88
pnpm-workspace.yaml=1711114604

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 19.2.2
2+
This release upgrades `@angular/language-service` to v19.2.4.
3+
4+
* Bumps `@angular/language-server` to use the latest language-service version of Angular.
5+
* [fix: report more accurate diagnostic for invalid import](https://github.com/angular/angular/commit/aa8ea7a5b227913e3f15270dac48479481c47f9a)
6+
17
# 19.2.1
28
This release upgrades `@angular/language-service` to v19.2.2.
39

client/src/tests/embedded_support_spec.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,66 +8,66 @@
88
import * as vscode from 'vscode';
99
import {DocumentUri, TextDocument} from 'vscode-languageserver-textdocument';
1010

11-
import {isNotTypescriptOrInsideComponentDecorator} from '../embedded_support';
11+
import {isNotTypescriptOrSupportedDecoratorField} from '../embedded_support';
1212

1313
describe('embedded language support', () => {
1414
describe('isInsideAngularContext', () => {
1515
it('empty file', () => {
16-
test('¦', isNotTypescriptOrInsideComponentDecorator, false);
16+
test('¦', isNotTypescriptOrSupportedDecoratorField, false);
1717
});
1818

1919
it('just after template', () => {
2020
test(
21-
`const foo = {template: '<div></div>'¦}`, isNotTypescriptOrInsideComponentDecorator,
21+
`const foo = {template: '<div></div>'¦}`, isNotTypescriptOrSupportedDecoratorField,
2222
false);
2323
});
2424

2525
it('inside template', () => {
2626
test(
27-
`const foo = {template: '<div>¦</div>'}`, isNotTypescriptOrInsideComponentDecorator,
27+
`const foo = {template: '<div>¦</div>'}`, isNotTypescriptOrSupportedDecoratorField,
2828
true);
2929
});
3030

3131
it('just after templateUrl', () => {
3232
test(
33-
`const foo = {templateUrl: './abc.html'¦}`, isNotTypescriptOrInsideComponentDecorator,
33+
`const foo = {templateUrl: './abc.html'¦}`, isNotTypescriptOrSupportedDecoratorField,
3434
false);
3535
});
3636

3737
it('inside templateUrl', () => {
3838
test(
39-
`const foo = {templateUrl: './abc¦.html'}`, isNotTypescriptOrInsideComponentDecorator,
39+
`const foo = {templateUrl: './abc¦.html'}`, isNotTypescriptOrSupportedDecoratorField,
4040
true);
4141
});
4242

4343
it('just after styleUrls', () => {
4444
test(
45-
`const foo = {styleUrls: ['./abc.css']¦}`, isNotTypescriptOrInsideComponentDecorator,
45+
`const foo = {styleUrls: ['./abc.css']¦}`, isNotTypescriptOrSupportedDecoratorField,
4646
false);
4747
});
4848

4949
it('inside first item of styleUrls', () => {
5050
test(
5151
`const foo = {styleUrls: ['./abc.c¦ss', 'def.css']}`,
52-
isNotTypescriptOrInsideComponentDecorator, true);
52+
isNotTypescriptOrSupportedDecoratorField, true);
5353
});
5454

5555
it('inside second item of styleUrls', () => {
5656
test(
5757
`const foo = {styleUrls: ['./abc.css', 'def¦.css']}`,
58-
isNotTypescriptOrInsideComponentDecorator, true);
58+
isNotTypescriptOrSupportedDecoratorField, true);
5959
});
6060

6161
it('inside second item of styleUrls, when first is complicated function', () => {
6262
test(
6363
`const foo = {styleUrls: [getCss({strict: true, dirs: ['apple', 'banana']}), 'def¦.css']}`,
64-
isNotTypescriptOrInsideComponentDecorator, true);
64+
isNotTypescriptOrSupportedDecoratorField, true);
6565
});
6666

6767
it('inside non-string item of styleUrls', () => {
6868
test(
6969
`const foo = {styleUrls: [getCss({strict: true¦, dirs: ['apple', 'banana']}), 'def.css']}`,
70-
isNotTypescriptOrInsideComponentDecorator, false);
70+
isNotTypescriptOrSupportedDecoratorField, false);
7171
});
7272
});
7373
});

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "ng-template",
33
"displayName": "Angular Language Service",
44
"description": "Editor services for Angular templates",
5-
"version": "19.2.1",
5+
"version": "19.2.2",
66
"publisher": "Angular",
77
"icon": "angular.png",
88
"license": "MIT",
@@ -269,7 +269,7 @@
269269
"test:legacy-syntaxes": "yarn compile:syntaxes-test && yarn build:syntaxes && jasmine dist/syntaxes/test/driver.js"
270270
},
271271
"dependencies": {
272-
"@angular/language-service": "^19.2.2",
272+
"@angular/language-service": "19.2.4",
273273
"typescript": "5.8.1-rc",
274274
"vscode-html-languageservice": "^4.2.5",
275275
"vscode-jsonrpc": "6.0.0",

pnpm-lock.yaml

Lines changed: 5 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"ngserver": "./bin/ngserver"
1616
},
1717
"dependencies": {
18-
"@angular/language-service": "19.2.0",
18+
"@angular/language-service": "19.2.4",
1919
"vscode-html-languageservice": "^4.2.5",
2020
"vscode-jsonrpc": "6.0.0",
2121
"vscode-languageserver": "7.0.0",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@
173173
uuid "^8.3.2"
174174
yargs "^17.0.0"
175175

176-
"@angular/language-service@^19.2.2":
177-
version "19.2.2"
178-
resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-19.2.2.tgz#862bc38a4511ec1f131c38a1e48bdb8d31f00502"
179-
integrity sha512-QWGE0+T9W6Abu1JpEuEywM89PP0ROy/qLORxrNeEiQxObzTvseqvzjREIV7dEh9wfc4A58OvG3E88TZHt30TuA==
176+
"@angular/[email protected].4":
177+
version "19.2.4"
178+
resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-19.2.4.tgz#4eabce16cabefa041f07abeec23eec098e1780b4"
179+
integrity sha512-bSLgjQYKyoUHUoD/SEQAmaQAFF2kVVFEBa8oXAFMjLov49CNybLuwgJI4Y11mjOnq6IONjnKLdKFvdrJhQn73g==
180180

181181
"@assemblyscript/loader@^0.10.1":
182182
version "0.10.1"

0 commit comments

Comments
 (0)