@angular/language-server 22.0.0-rc.1 → 22.0.0-rc.3

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 +2 -12
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -309386,24 +309386,14 @@ var require_session = __commonJS({
309386
309386
  if (!project.hasRoots() || project.isNonTsProject()) {
309387
309387
  return null;
309388
309388
  }
309389
- const angularCore = project.getFileNames().find(isAngularCore);
309390
- if (angularCore === void 0 && project.getExcludedFiles().some(isAngularCore)) {
309389
+ const angularCore = project.getFileNames().find(utils_1.isAngularCore);
309390
+ if (angularCore === void 0 && project.getExcludedFiles().some(utils_1.isAngularCore)) {
309391
309391
  this.info(`Please check your tsconfig.json to make sure 'node_modules' directory is not excluded.`);
309392
309392
  }
309393
309393
  return angularCore !== null && angularCore !== void 0 ? angularCore : null;
309394
309394
  }
309395
309395
  };
309396
309396
  exports2.Session = Session;
309397
- function isAngularCore(path) {
309398
- return isExternalAngularCore(path) || isInternalAngularCore(path);
309399
- }
309400
- function isExternalAngularCore(path) {
309401
- return /@angular\/core\/.+\.d\.ts$/.test(path);
309402
- }
309403
- function isInternalAngularCore(path) {
309404
- return path.endsWith("angular2/rc/packages/core/index.d.ts") || // angular/angular repository direct sources
309405
- path.includes("angular/packages/core/src");
309406
- }
309407
309397
  function isTypeScriptFile(path) {
309408
309398
  return path.endsWith(".ts");
309409
309399
  }
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.0.0-rc.1",
4
+ "version": "22.0.0-rc.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/angular/angular.git",
@@ -10,14 +10,14 @@
10
10
  "author": "Angular",
11
11
  "license": "MIT",
12
12
  "engines": {
13
- "node": "^22.22.0 || ^24.13.1 || >=26.0.0"
13
+ "node": "^22.22.3 || ^24.15.0 || >=26.0.0"
14
14
  },
15
15
  "main": "./index.js",
16
16
  "bin": {
17
17
  "ngserver": "./bin/ngserver"
18
18
  },
19
19
  "dependencies": {
20
- "@angular/language-service": "22.0.0-rc.1",
20
+ "@angular/language-service": "22.0.0-rc.3",
21
21
  "typescript": "6.0.3"
22
22
  },
23
23
  "devDependencies": {