@angular/language-server 21.2.14 → 21.2.15

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 +2 -2
package/index.js CHANGED
@@ -296907,24 +296907,14 @@ var require_session = __commonJS({
296907
296907
  if (!project.hasRoots() || project.isNonTsProject()) {
296908
296908
  return null;
296909
296909
  }
296910
- const angularCore = project.getFileNames().find(isAngularCore);
296911
- if (angularCore === void 0 && project.getExcludedFiles().some(isAngularCore)) {
296910
+ const angularCore = project.getFileNames().find(utils_1.isAngularCore);
296911
+ if (angularCore === void 0 && project.getExcludedFiles().some(utils_1.isAngularCore)) {
296912
296912
  this.info(`Please check your tsconfig.json to make sure 'node_modules' directory is not excluded.`);
296913
296913
  }
296914
296914
  return angularCore !== null && angularCore !== void 0 ? angularCore : null;
296915
296915
  }
296916
296916
  };
296917
296917
  exports2.Session = Session;
296918
- function isAngularCore(path) {
296919
- return isExternalAngularCore(path) || isInternalAngularCore(path);
296920
- }
296921
- function isExternalAngularCore(path) {
296922
- return /@angular\/core\/.+\.d\.ts$/.test(path);
296923
- }
296924
- function isInternalAngularCore(path) {
296925
- return path.endsWith("angular2/rc/packages/core/index.d.ts") || // angular/angular repository direct sources
296926
- path.includes("angular/packages/core/src");
296927
- }
296928
296918
  function isTypeScriptFile(path) {
296929
296919
  return path.endsWith(".ts");
296930
296920
  }
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": "21.2.14",
4
+ "version": "21.2.15",
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": "21.2.14",
20
+ "@angular/language-service": "21.2.15",
21
21
  "typescript": "5.9.3"
22
22
  },
23
23
  "devDependencies": {