@ark/attest 0.51.0 → 0.53.0
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.
- package/out/config.js +7 -0
- package/package.json +11 -7
package/out/config.js
CHANGED
|
@@ -106,6 +106,13 @@ const parseTsVersions = (aliases) => {
|
|
|
106
106
|
};
|
|
107
107
|
let cachedConfig;
|
|
108
108
|
export const getConfig = () => parseConfig();
|
|
109
|
+
// workaround for a bug in Node 25 that creates localStorage as an empty proxy,
|
|
110
|
+
// leading to @typescript/vfs eventually throwing when it sees that it is not
|
|
111
|
+
// undefined and tries to call `getItem`:
|
|
112
|
+
// https://github.com/nodejs/node/issues/60303
|
|
113
|
+
// this can be removed once the bug is addressed in Node
|
|
114
|
+
if (!globalThis.localStorage?.getItem)
|
|
115
|
+
globalThis.localStorage = undefined;
|
|
109
116
|
export const ensureCacheDirs = () => {
|
|
110
117
|
cachedConfig ??= getConfig();
|
|
111
118
|
ensureDir(cachedConfig.cacheDir);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ark/attest",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.53.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "David Blass",
|
|
@@ -20,9 +20,13 @@
|
|
|
20
20
|
"ark-ts": "./index.ts",
|
|
21
21
|
"default": "./out/index.js"
|
|
22
22
|
},
|
|
23
|
-
"./internal
|
|
24
|
-
"ark-ts": "
|
|
25
|
-
"default": "./out
|
|
23
|
+
"./internal/*.ts": {
|
|
24
|
+
"ark-ts": "./*.ts",
|
|
25
|
+
"default": "./out/*.js"
|
|
26
|
+
},
|
|
27
|
+
"./internal/*.js": {
|
|
28
|
+
"ark-ts": "./*.ts",
|
|
29
|
+
"default": "./out/*.js"
|
|
26
30
|
}
|
|
27
31
|
},
|
|
28
32
|
"files": [
|
|
@@ -36,9 +40,9 @@
|
|
|
36
40
|
"@typescript/analyze-trace": "0.10.1",
|
|
37
41
|
"@typescript/vfs": "1.6.1",
|
|
38
42
|
"prettier": "3.6.2",
|
|
39
|
-
"@ark/fs": "0.
|
|
40
|
-
"
|
|
41
|
-
"
|
|
43
|
+
"@ark/fs": "0.53.0",
|
|
44
|
+
"@ark/util": "0.53.0",
|
|
45
|
+
"arktype": "2.1.25"
|
|
42
46
|
},
|
|
43
47
|
"devDependencies": {
|
|
44
48
|
"typescript": "5.9.3"
|