@vercel/python-analysis 0.13.1 → 0.13.2
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/package.json +5 -6
- package/dist/wasm/host-utils.d.ts +0 -22
- package/dist/wasm/load.d.ts +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/python-analysis",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"main": "./dist/index.cjs",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -43,15 +43,14 @@
|
|
|
43
43
|
"@types/js-yaml": "4.0.9",
|
|
44
44
|
"@types/node": "20.11.0",
|
|
45
45
|
"ts-to-zod": "^3",
|
|
46
|
-
"vitest": "
|
|
46
|
+
"vitest": "4.1.10"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
|
-
"build": "
|
|
49
|
+
"build": "node scripts/build.mjs",
|
|
50
50
|
"build:wasm": "node scripts/build-wasm.mjs",
|
|
51
51
|
"generate:schemas": "ts-to-zod --all",
|
|
52
52
|
"test": "vitest run --config ../../vitest.config.mts",
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"type-check": "tsc --noEmit"
|
|
53
|
+
"type-check": "tsc --noEmit",
|
|
54
|
+
"test-unit": "vitest run --config ../../vitest.config.mts"
|
|
56
55
|
}
|
|
57
56
|
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Host-side implementation of the `vercel:python-analysis/host-utils` WIT interface.
|
|
3
|
-
*/
|
|
4
|
-
import { AsyncLocalStorage } from 'node:async_hooks';
|
|
5
|
-
/**
|
|
6
|
-
* Function type for reading referenced requirement files.
|
|
7
|
-
*/
|
|
8
|
-
export type ReadFileFn = (path: string) => string | null;
|
|
9
|
-
export interface ReadFileContext {
|
|
10
|
-
readFile: ReadFileFn;
|
|
11
|
-
workingDir?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const readFileStorage: AsyncLocalStorage<ReadFileContext>;
|
|
14
|
-
export declare function createHostUtils(): {
|
|
15
|
-
readFile(path: string): string;
|
|
16
|
-
domainToAscii(domain: string): string;
|
|
17
|
-
domainToUnicode(domain: string): [string, boolean];
|
|
18
|
-
nfcNormalize(s: string): string;
|
|
19
|
-
nfdNormalize(s: string): string;
|
|
20
|
-
nfkcNormalize(s: string): string;
|
|
21
|
-
nfkdNormalize(s: string): string;
|
|
22
|
-
};
|
package/dist/wasm/load.d.ts
DELETED