@volar/typescript 1.7.5 → 1.7.6

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/out/sys.js +2 -0
  2. package/package.json +4 -4
package/out/sys.js CHANGED
@@ -273,6 +273,8 @@ function createSys(ctx, ts, env, dtsHost) {
273
273
  }
274
274
  }
275
275
  function onReadDirectoryResult(dir, result) {
276
+ // See https://github.com/microsoft/TypeScript/blob/e1a9290051a3b0cbdfbadc3adbcc155a4641522a/src/compiler/sys.ts#L1853-L1857
277
+ result = result.filter(([name]) => name !== '.' && name !== '..');
276
278
  let updated = false;
277
279
  for (const [name, fileType] of result) {
278
280
  if (fileType === 1 || fileType === 64) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volar/typescript",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "main": "out/index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -13,10 +13,10 @@
13
13
  "directory": "packages/typescript"
14
14
  },
15
15
  "dependencies": {
16
- "@volar/language-core": "1.7.5"
16
+ "@volar/language-core": "1.7.6"
17
17
  },
18
18
  "devDependencies": {
19
- "@volar/language-service": "1.7.5"
19
+ "@volar/language-service": "1.7.6"
20
20
  },
21
- "gitHead": "57fa4f05df4c593aa4a7b15c159f864d407bd1ac"
21
+ "gitHead": "b2dbe05318c06658ae97a65f9bc6d1badc55a81b"
22
22
  }