@ark/attest 0.45.8 → 0.45.9

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/cache/ts.js +4 -2
  2. package/package.json +4 -4
package/out/cache/ts.js CHANGED
@@ -37,8 +37,10 @@ export class TsServer {
37
37
  getSourceFileOrThrow(path) {
38
38
  const tsPath = path.replaceAll(/\\/g, "/");
39
39
  const file = this.virtualEnv.getSourceFile(tsPath);
40
- if (!file)
41
- throwInternalError(`Could not find TS path ${path}`);
40
+ if (!file) {
41
+ throwInternalError(`TypeScript was unable to resolve expected file at ${path}.\n
42
+ Make sure it is included in your tsconfig.json.`);
43
+ }
42
44
  return file;
43
45
  }
44
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ark/attest",
3
- "version": "0.45.8",
3
+ "version": "0.45.9",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "David Blass",
@@ -36,9 +36,9 @@
36
36
  "@typescript/analyze-trace": "0.10.1",
37
37
  "@typescript/vfs": "1.6.1",
38
38
  "prettier": "3.5.3",
39
- "@ark/fs": "0.45.8",
40
- "@ark/util": "0.45.8",
41
- "arktype": "2.1.18"
39
+ "@ark/util": "0.45.9",
40
+ "arktype": "2.1.19",
41
+ "@ark/fs": "0.45.9"
42
42
  },
43
43
  "devDependencies": {
44
44
  "typescript": "5.8.2"