@vercel/python-analysis 0.11.1 → 0.12.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.
Files changed (30) hide show
  1. package/dist/index.cjs +21 -2
  2. package/dist/index.d.ts +2 -2
  3. package/dist/index.js +18 -2
  4. package/dist/manifest/pyproject/schema.d.ts +13 -1
  5. package/dist/manifest/pyproject/schema.zod.d.ts +159 -0
  6. package/dist/manifest/pyproject/types.d.ts +19 -0
  7. package/dist/wasm/interfaces/wasi-cli-environment.d.ts +1 -1
  8. package/dist/wasm/interfaces/wasi-cli-exit.d.ts +1 -1
  9. package/dist/wasm/interfaces/wasi-cli-stderr.d.ts +1 -1
  10. package/dist/wasm/interfaces/wasi-cli-stdin.d.ts +1 -1
  11. package/dist/wasm/interfaces/wasi-cli-stdout.d.ts +1 -1
  12. package/dist/wasm/interfaces/wasi-cli-terminal-input.d.ts +1 -1
  13. package/dist/wasm/interfaces/wasi-cli-terminal-output.d.ts +1 -1
  14. package/dist/wasm/interfaces/wasi-cli-terminal-stderr.d.ts +1 -1
  15. package/dist/wasm/interfaces/wasi-cli-terminal-stdin.d.ts +1 -1
  16. package/dist/wasm/interfaces/wasi-cli-terminal-stdout.d.ts +1 -1
  17. package/dist/wasm/interfaces/wasi-clocks-monotonic-clock.d.ts +4 -0
  18. package/dist/wasm/interfaces/wasi-clocks-wall-clock.d.ts +1 -1
  19. package/dist/wasm/interfaces/wasi-filesystem-preopens.d.ts +1 -1
  20. package/dist/wasm/interfaces/wasi-filesystem-types.d.ts +1 -1
  21. package/dist/wasm/interfaces/wasi-io-error.d.ts +1 -1
  22. package/dist/wasm/interfaces/wasi-io-poll.d.ts +2 -1
  23. package/dist/wasm/interfaces/wasi-io-streams.d.ts +1 -1
  24. package/dist/wasm/interfaces/wasi-random-insecure-seed.d.ts +1 -1
  25. package/dist/wasm/vercel_python_analysis.core.wasm +0 -0
  26. package/dist/wasm/vercel_python_analysis.core2.wasm +0 -0
  27. package/dist/wasm/vercel_python_analysis.core3.wasm +0 -0
  28. package/dist/wasm/vercel_python_analysis.d.ts +36 -34
  29. package/dist/wasm/vercel_python_analysis.js +200 -127
  30. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -48,6 +48,9 @@ __export(src_exports, {
48
48
  PyProjectProjectSchema: () => PyProjectProjectSchema,
49
49
  PyProjectTomlSchema: () => PyProjectTomlSchema,
50
50
  PyProjectToolSectionSchema: () => PyProjectToolSectionSchema,
51
+ PyProjectToolVercelFastapiSectionSchema: () => PyProjectToolVercelFastapiSectionSchema,
52
+ PyProjectToolVercelFastapiStaticSectionSchema: () => PyProjectToolVercelFastapiStaticSectionSchema,
53
+ PyProjectToolVercelSectionSchema: () => PyProjectToolVercelSectionSchema,
51
54
  PythonAnalysisError: () => PythonAnalysisError,
52
55
  PythonBuild: () => PythonBuild,
53
56
  PythonConfigKind: () => PythonConfigKind,
@@ -1008,8 +1011,18 @@ var dependencyGroupEntrySchema = import_zod4.z.union([
1008
1011
  var pyProjectDependencyGroupsSchema = import_zod4.z.record(
1009
1012
  import_zod4.z.array(dependencyGroupEntrySchema)
1010
1013
  );
1014
+ var pyProjectToolVercelFastapiStaticSectionSchema = import_zod4.z.object({
1015
+ cdn: import_zod4.z.boolean().optional()
1016
+ });
1017
+ var pyProjectToolVercelFastapiSectionSchema = import_zod4.z.object({
1018
+ static: pyProjectToolVercelFastapiStaticSectionSchema.optional()
1019
+ });
1020
+ var pyProjectToolVercelSectionSchema = import_zod4.z.object({
1021
+ fastapi: pyProjectToolVercelFastapiSectionSchema.optional()
1022
+ });
1011
1023
  var pyProjectToolSectionSchema = import_zod4.z.object({
1012
- uv: uvConfigSchema.optional()
1024
+ uv: uvConfigSchema.optional(),
1025
+ vercel: pyProjectToolVercelSectionSchema.optional()
1013
1026
  });
1014
1027
  var pyProjectTomlSchema = import_zod4.z.object({
1015
1028
  project: pyProjectProjectSchema.optional(),
@@ -1027,8 +1040,11 @@ var LicenseObjectSchema = licenseObjectSchema.passthrough();
1027
1040
  var LicenseSchema = licenseSchema;
1028
1041
  var PyProjectProjectSchema = pyProjectProjectSchema.passthrough();
1029
1042
  var PyProjectDependencyGroupsSchema = pyProjectDependencyGroupsSchema;
1043
+ var PyProjectToolVercelSectionSchema = pyProjectToolVercelSectionSchema;
1044
+ var PyProjectToolVercelFastapiSectionSchema = pyProjectToolVercelFastapiSectionSchema;
1045
+ var PyProjectToolVercelFastapiStaticSectionSchema = pyProjectToolVercelFastapiStaticSectionSchema;
1030
1046
  var PyProjectToolSectionSchema = pyProjectToolSectionSchema.passthrough();
1031
- var PyProjectTomlSchema = pyProjectTomlSchema.passthrough();
1047
+ var PyProjectTomlSchema = pyProjectTomlSchema.extend({ tool: PyProjectToolSectionSchema.optional() }).passthrough();
1032
1048
 
1033
1049
  // src/manifest/requirements-txt-parser.ts
1034
1050
  var import_posix2 = require("path/posix");
@@ -2401,6 +2417,9 @@ var HashDigestSchema = hashDigestSchema;
2401
2417
  PyProjectProjectSchema,
2402
2418
  PyProjectTomlSchema,
2403
2419
  PyProjectToolSectionSchema,
2420
+ PyProjectToolVercelFastapiSectionSchema,
2421
+ PyProjectToolVercelFastapiStaticSectionSchema,
2422
+ PyProjectToolVercelSectionSchema,
2404
2423
  PythonAnalysisError,
2405
2424
  PythonBuild,
2406
2425
  PythonConfigKind,
package/dist/index.d.ts CHANGED
@@ -18,8 +18,8 @@ export { evaluateMarker, isWheelCompatible, } from './manifest/wheel-compat';
18
18
  export type { PythonSelectionResult, PythonVersionSelectionResult, } from './manifest/python-selector';
19
19
  export { selectPython, selectPythonVersion } from './manifest/python-selector';
20
20
  export { PythonAnalysisError } from './util/error';
21
- export { LicenseObjectSchema, LicenseSchema, PersonSchema, PyProjectBuildSystemSchema, PyProjectDependencyGroupsSchema, PyProjectProjectSchema, PyProjectToolSectionSchema, PyProjectTomlSchema, ReadmeObjectSchema, ReadmeSchema, } from './manifest/pyproject/schema';
22
- export type { DependencyGroupEntry, DependencyGroupInclude, License, LicenseObject, Person, PyProjectBuildSystem, PyProjectDependencyGroups, PyProjectProject, PyProjectToml, PyProjectToolSection, Readme, ReadmeObject, } from './manifest/pyproject/types';
21
+ export { LicenseObjectSchema, LicenseSchema, PersonSchema, PyProjectBuildSystemSchema, PyProjectDependencyGroupsSchema, PyProjectProjectSchema, PyProjectToolSectionSchema, PyProjectTomlSchema, ReadmeObjectSchema, ReadmeSchema, PyProjectToolVercelFastapiSectionSchema, PyProjectToolVercelFastapiStaticSectionSchema, PyProjectToolVercelSectionSchema, } from './manifest/pyproject/schema';
22
+ export type { DependencyGroupEntry, DependencyGroupInclude, License, LicenseObject, Person, PyProjectBuildSystem, PyProjectDependencyGroups, PyProjectProject, PyProjectToml, PyProjectToolSection, Readme, ReadmeObject, PyProjectToolVercelFastapiSection, PyProjectToolVercelFastapiStaticSection, PyProjectToolVercelSection, } from './manifest/pyproject/types';
23
23
  export { UvConfigSchema, UvConfigWorkspaceSchema, UvIndexEntrySchema, } from './manifest/uv-config/schema';
24
24
  export type { UvConfig, UvConfigWorkspace, UvIndexEntry, } from './manifest/uv-config/types';
25
25
  export { PipfileDependencyDetailSchema, PipfileDependencySchema, PipfileLikeSchema, PipfileLockLikeSchema, PipfileLockMetaSchema, PipfileSourceSchema, } from './manifest/pipfile/schema';
package/dist/index.js CHANGED
@@ -927,8 +927,18 @@ var dependencyGroupEntrySchema = z4.union([
927
927
  var pyProjectDependencyGroupsSchema = z4.record(
928
928
  z4.array(dependencyGroupEntrySchema)
929
929
  );
930
+ var pyProjectToolVercelFastapiStaticSectionSchema = z4.object({
931
+ cdn: z4.boolean().optional()
932
+ });
933
+ var pyProjectToolVercelFastapiSectionSchema = z4.object({
934
+ static: pyProjectToolVercelFastapiStaticSectionSchema.optional()
935
+ });
936
+ var pyProjectToolVercelSectionSchema = z4.object({
937
+ fastapi: pyProjectToolVercelFastapiSectionSchema.optional()
938
+ });
930
939
  var pyProjectToolSectionSchema = z4.object({
931
- uv: uvConfigSchema.optional()
940
+ uv: uvConfigSchema.optional(),
941
+ vercel: pyProjectToolVercelSectionSchema.optional()
932
942
  });
933
943
  var pyProjectTomlSchema = z4.object({
934
944
  project: pyProjectProjectSchema.optional(),
@@ -946,8 +956,11 @@ var LicenseObjectSchema = licenseObjectSchema.passthrough();
946
956
  var LicenseSchema = licenseSchema;
947
957
  var PyProjectProjectSchema = pyProjectProjectSchema.passthrough();
948
958
  var PyProjectDependencyGroupsSchema = pyProjectDependencyGroupsSchema;
959
+ var PyProjectToolVercelSectionSchema = pyProjectToolVercelSectionSchema;
960
+ var PyProjectToolVercelFastapiSectionSchema = pyProjectToolVercelFastapiSectionSchema;
961
+ var PyProjectToolVercelFastapiStaticSectionSchema = pyProjectToolVercelFastapiStaticSectionSchema;
949
962
  var PyProjectToolSectionSchema = pyProjectToolSectionSchema.passthrough();
950
- var PyProjectTomlSchema = pyProjectTomlSchema.passthrough();
963
+ var PyProjectTomlSchema = pyProjectTomlSchema.extend({ tool: PyProjectToolSectionSchema.optional() }).passthrough();
951
964
 
952
965
  // src/manifest/requirements-txt-parser.ts
953
966
  import { isAbsolute, join as join3, relative } from "path/posix";
@@ -2319,6 +2332,9 @@ export {
2319
2332
  PyProjectProjectSchema,
2320
2333
  PyProjectTomlSchema,
2321
2334
  PyProjectToolSectionSchema,
2335
+ PyProjectToolVercelFastapiSectionSchema,
2336
+ PyProjectToolVercelFastapiStaticSectionSchema,
2337
+ PyProjectToolVercelSectionSchema,
2322
2338
  PythonAnalysisError,
2323
2339
  PythonBuild,
2324
2340
  PythonConfigKind,
@@ -7,7 +7,7 @@
7
7
  * @module pyproject/schema
8
8
  */
9
9
  import type { z } from 'zod';
10
- import type { License, LicenseObject, Person, PyProjectBuildSystem, PyProjectDependencyGroups, PyProjectProject, PyProjectToml, PyProjectToolSection, Readme, ReadmeObject } from './types';
10
+ import type { License, LicenseObject, Person, PyProjectBuildSystem, PyProjectDependencyGroups, PyProjectProject, PyProjectToml, PyProjectToolSection, Readme, ReadmeObject, PyProjectToolVercelFastapiSection, PyProjectToolVercelFastapiStaticSection, PyProjectToolVercelSection } from './types';
11
11
  /**
12
12
  * Schema for [build-system] per PEP 518.
13
13
  */
@@ -40,6 +40,18 @@ export declare const PyProjectProjectSchema: z.ZodType<PyProjectProject>;
40
40
  * Schema for [dependency-groups].
41
41
  */
42
42
  export declare const PyProjectDependencyGroupsSchema: z.ZodType<PyProjectDependencyGroups>;
43
+ /**
44
+ * Schema for [tool.vercel] section.
45
+ */
46
+ export declare const PyProjectToolVercelSectionSchema: z.ZodType<PyProjectToolVercelSection>;
47
+ /**
48
+ * Schema for [tool.vercel.fastapi] section.
49
+ */
50
+ export declare const PyProjectToolVercelFastapiSectionSchema: z.ZodType<PyProjectToolVercelFastapiSection>;
51
+ /**
52
+ * Schema for [tool.vercel.fastapi.static] section.
53
+ */
54
+ export declare const PyProjectToolVercelFastapiStaticSectionSchema: z.ZodType<PyProjectToolVercelFastapiStaticSection>;
43
55
  /**
44
56
  * Schema for [tool.FOO] section.
45
57
  */
@@ -195,6 +195,61 @@ export declare const pyProjectDependencyGroupsSchema: z.ZodRecord<z.ZodString, z
195
195
  }, {
196
196
  'include-group': string;
197
197
  }>]>, "many">>;
198
+ export declare const pyProjectToolVercelFastapiStaticSectionSchema: z.ZodObject<{
199
+ cdn: z.ZodOptional<z.ZodBoolean>;
200
+ }, "strip", z.ZodTypeAny, {
201
+ cdn?: boolean | undefined;
202
+ }, {
203
+ cdn?: boolean | undefined;
204
+ }>;
205
+ export declare const pyProjectToolVercelFastapiSectionSchema: z.ZodObject<{
206
+ static: z.ZodOptional<z.ZodObject<{
207
+ cdn: z.ZodOptional<z.ZodBoolean>;
208
+ }, "strip", z.ZodTypeAny, {
209
+ cdn?: boolean | undefined;
210
+ }, {
211
+ cdn?: boolean | undefined;
212
+ }>>;
213
+ }, "strip", z.ZodTypeAny, {
214
+ static?: {
215
+ cdn?: boolean | undefined;
216
+ } | undefined;
217
+ }, {
218
+ static?: {
219
+ cdn?: boolean | undefined;
220
+ } | undefined;
221
+ }>;
222
+ export declare const pyProjectToolVercelSectionSchema: z.ZodObject<{
223
+ fastapi: z.ZodOptional<z.ZodObject<{
224
+ static: z.ZodOptional<z.ZodObject<{
225
+ cdn: z.ZodOptional<z.ZodBoolean>;
226
+ }, "strip", z.ZodTypeAny, {
227
+ cdn?: boolean | undefined;
228
+ }, {
229
+ cdn?: boolean | undefined;
230
+ }>>;
231
+ }, "strip", z.ZodTypeAny, {
232
+ static?: {
233
+ cdn?: boolean | undefined;
234
+ } | undefined;
235
+ }, {
236
+ static?: {
237
+ cdn?: boolean | undefined;
238
+ } | undefined;
239
+ }>>;
240
+ }, "strip", z.ZodTypeAny, {
241
+ fastapi?: {
242
+ static?: {
243
+ cdn?: boolean | undefined;
244
+ } | undefined;
245
+ } | undefined;
246
+ }, {
247
+ fastapi?: {
248
+ static?: {
249
+ cdn?: boolean | undefined;
250
+ } | undefined;
251
+ } | undefined;
252
+ }>;
198
253
  export declare const pyProjectToolSectionSchema: z.ZodObject<{
199
254
  uv: z.ZodOptional<z.ZodObject<{
200
255
  sources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -317,6 +372,37 @@ export declare const pyProjectToolSectionSchema: z.ZodObject<{
317
372
  } | undefined;
318
373
  'dev-dependencies'?: string[] | undefined;
319
374
  }>>;
375
+ vercel: z.ZodOptional<z.ZodObject<{
376
+ fastapi: z.ZodOptional<z.ZodObject<{
377
+ static: z.ZodOptional<z.ZodObject<{
378
+ cdn: z.ZodOptional<z.ZodBoolean>;
379
+ }, "strip", z.ZodTypeAny, {
380
+ cdn?: boolean | undefined;
381
+ }, {
382
+ cdn?: boolean | undefined;
383
+ }>>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ static?: {
386
+ cdn?: boolean | undefined;
387
+ } | undefined;
388
+ }, {
389
+ static?: {
390
+ cdn?: boolean | undefined;
391
+ } | undefined;
392
+ }>>;
393
+ }, "strip", z.ZodTypeAny, {
394
+ fastapi?: {
395
+ static?: {
396
+ cdn?: boolean | undefined;
397
+ } | undefined;
398
+ } | undefined;
399
+ }, {
400
+ fastapi?: {
401
+ static?: {
402
+ cdn?: boolean | undefined;
403
+ } | undefined;
404
+ } | undefined;
405
+ }>>;
320
406
  }, "strip", z.ZodTypeAny, {
321
407
  uv?: {
322
408
  sources?: Record<string, {
@@ -345,6 +431,13 @@ export declare const pyProjectToolSectionSchema: z.ZodObject<{
345
431
  } | undefined;
346
432
  'dev-dependencies'?: string[] | undefined;
347
433
  } | undefined;
434
+ vercel?: {
435
+ fastapi?: {
436
+ static?: {
437
+ cdn?: boolean | undefined;
438
+ } | undefined;
439
+ } | undefined;
440
+ } | undefined;
348
441
  }, {
349
442
  uv?: {
350
443
  sources?: Record<string, {
@@ -373,6 +466,13 @@ export declare const pyProjectToolSectionSchema: z.ZodObject<{
373
466
  } | undefined;
374
467
  'dev-dependencies'?: string[] | undefined;
375
468
  } | undefined;
469
+ vercel?: {
470
+ fastapi?: {
471
+ static?: {
472
+ cdn?: boolean | undefined;
473
+ } | undefined;
474
+ } | undefined;
475
+ } | undefined;
376
476
  }>;
377
477
  export declare const pyProjectTomlSchema: z.ZodObject<{
378
478
  project: z.ZodOptional<z.ZodObject<{
@@ -629,6 +729,37 @@ export declare const pyProjectTomlSchema: z.ZodObject<{
629
729
  } | undefined;
630
730
  'dev-dependencies'?: string[] | undefined;
631
731
  }>>;
732
+ vercel: z.ZodOptional<z.ZodObject<{
733
+ fastapi: z.ZodOptional<z.ZodObject<{
734
+ static: z.ZodOptional<z.ZodObject<{
735
+ cdn: z.ZodOptional<z.ZodBoolean>;
736
+ }, "strip", z.ZodTypeAny, {
737
+ cdn?: boolean | undefined;
738
+ }, {
739
+ cdn?: boolean | undefined;
740
+ }>>;
741
+ }, "strip", z.ZodTypeAny, {
742
+ static?: {
743
+ cdn?: boolean | undefined;
744
+ } | undefined;
745
+ }, {
746
+ static?: {
747
+ cdn?: boolean | undefined;
748
+ } | undefined;
749
+ }>>;
750
+ }, "strip", z.ZodTypeAny, {
751
+ fastapi?: {
752
+ static?: {
753
+ cdn?: boolean | undefined;
754
+ } | undefined;
755
+ } | undefined;
756
+ }, {
757
+ fastapi?: {
758
+ static?: {
759
+ cdn?: boolean | undefined;
760
+ } | undefined;
761
+ } | undefined;
762
+ }>>;
632
763
  }, "strip", z.ZodTypeAny, {
633
764
  uv?: {
634
765
  sources?: Record<string, {
@@ -657,6 +788,13 @@ export declare const pyProjectTomlSchema: z.ZodObject<{
657
788
  } | undefined;
658
789
  'dev-dependencies'?: string[] | undefined;
659
790
  } | undefined;
791
+ vercel?: {
792
+ fastapi?: {
793
+ static?: {
794
+ cdn?: boolean | undefined;
795
+ } | undefined;
796
+ } | undefined;
797
+ } | undefined;
660
798
  }, {
661
799
  uv?: {
662
800
  sources?: Record<string, {
@@ -685,6 +823,13 @@ export declare const pyProjectTomlSchema: z.ZodObject<{
685
823
  } | undefined;
686
824
  'dev-dependencies'?: string[] | undefined;
687
825
  } | undefined;
826
+ vercel?: {
827
+ fastapi?: {
828
+ static?: {
829
+ cdn?: boolean | undefined;
830
+ } | undefined;
831
+ } | undefined;
832
+ } | undefined;
688
833
  }>>;
689
834
  }, "strip", z.ZodTypeAny, {
690
835
  project?: {
@@ -753,6 +898,13 @@ export declare const pyProjectTomlSchema: z.ZodObject<{
753
898
  } | undefined;
754
899
  'dev-dependencies'?: string[] | undefined;
755
900
  } | undefined;
901
+ vercel?: {
902
+ fastapi?: {
903
+ static?: {
904
+ cdn?: boolean | undefined;
905
+ } | undefined;
906
+ } | undefined;
907
+ } | undefined;
756
908
  } | undefined;
757
909
  }, {
758
910
  project?: {
@@ -821,5 +973,12 @@ export declare const pyProjectTomlSchema: z.ZodObject<{
821
973
  } | undefined;
822
974
  'dev-dependencies'?: string[] | undefined;
823
975
  } | undefined;
976
+ vercel?: {
977
+ fastapi?: {
978
+ static?: {
979
+ cdn?: boolean | undefined;
980
+ } | undefined;
981
+ } | undefined;
982
+ } | undefined;
824
983
  } | undefined;
825
984
  }>;
@@ -84,12 +84,31 @@ export type DependencyGroupEntry = string | DependencyGroupInclude;
84
84
  * [dependency-groups] per PEP 735.
85
85
  */
86
86
  export type PyProjectDependencyGroups = Record<string, DependencyGroupEntry[]>;
87
+ /**
88
+ * [tool.vercel] section.
89
+ */
90
+ export interface PyProjectToolVercelSection {
91
+ fastapi?: PyProjectToolVercelFastapiSection;
92
+ }
93
+ /**
94
+ * [tool.vercel.fastapi] section.
95
+ */
96
+ export interface PyProjectToolVercelFastapiSection {
97
+ static?: PyProjectToolVercelFastapiStaticSection;
98
+ }
99
+ /**
100
+ * [tool.vercel.fastapi.static] section.
101
+ */
102
+ export interface PyProjectToolVercelFastapiStaticSection {
103
+ cdn?: boolean;
104
+ }
87
105
  /**
88
106
  * [tool.FOO] section.
89
107
  * @passthrough
90
108
  */
91
109
  export interface PyProjectToolSection {
92
110
  uv?: UvConfig;
111
+ vercel?: PyProjectToolVercelSection;
93
112
  }
94
113
  /**
95
114
  * A pyproject.toml file.
@@ -1,2 +1,2 @@
1
- /** @module Interface wasi:cli/environment@0.2.6 **/
1
+ /** @module Interface wasi:cli/environment@0.2.9 **/
2
2
  export function getEnvironment(): Array<[string, string]>;
@@ -1,3 +1,3 @@
1
- /** @module Interface wasi:cli/exit@0.2.6 **/
1
+ /** @module Interface wasi:cli/exit@0.2.9 **/
2
2
  export function exit(status: Result<void, void>): void;
3
3
  export type Result<T, E> = { tag: 'ok', val: T } | { tag: 'err', val: E };
@@ -1,3 +1,3 @@
1
- /** @module Interface wasi:cli/stderr@0.2.6 **/
1
+ /** @module Interface wasi:cli/stderr@0.2.9 **/
2
2
  export function getStderr(): OutputStream;
3
3
  export type OutputStream = import('./wasi-io-streams.js').OutputStream;
@@ -1,3 +1,3 @@
1
- /** @module Interface wasi:cli/stdin@0.2.6 **/
1
+ /** @module Interface wasi:cli/stdin@0.2.9 **/
2
2
  export function getStdin(): InputStream;
3
3
  export type InputStream = import('./wasi-io-streams.js').InputStream;
@@ -1,3 +1,3 @@
1
- /** @module Interface wasi:cli/stdout@0.2.6 **/
1
+ /** @module Interface wasi:cli/stdout@0.2.9 **/
2
2
  export function getStdout(): OutputStream;
3
3
  export type OutputStream = import('./wasi-io-streams.js').OutputStream;
@@ -1,4 +1,4 @@
1
- /** @module Interface wasi:cli/terminal-input@0.2.6 **/
1
+ /** @module Interface wasi:cli/terminal-input@0.2.9 **/
2
2
 
3
3
  export class TerminalInput {
4
4
  /**
@@ -1,4 +1,4 @@
1
- /** @module Interface wasi:cli/terminal-output@0.2.6 **/
1
+ /** @module Interface wasi:cli/terminal-output@0.2.9 **/
2
2
 
3
3
  export class TerminalOutput {
4
4
  /**
@@ -1,3 +1,3 @@
1
- /** @module Interface wasi:cli/terminal-stderr@0.2.6 **/
1
+ /** @module Interface wasi:cli/terminal-stderr@0.2.9 **/
2
2
  export function getTerminalStderr(): TerminalOutput | undefined;
3
3
  export type TerminalOutput = import('./wasi-cli-terminal-output.js').TerminalOutput;
@@ -1,3 +1,3 @@
1
- /** @module Interface wasi:cli/terminal-stdin@0.2.6 **/
1
+ /** @module Interface wasi:cli/terminal-stdin@0.2.9 **/
2
2
  export function getTerminalStdin(): TerminalInput | undefined;
3
3
  export type TerminalInput = import('./wasi-cli-terminal-input.js').TerminalInput;
@@ -1,3 +1,3 @@
1
- /** @module Interface wasi:cli/terminal-stdout@0.2.6 **/
1
+ /** @module Interface wasi:cli/terminal-stdout@0.2.9 **/
2
2
  export function getTerminalStdout(): TerminalOutput | undefined;
3
3
  export type TerminalOutput = import('./wasi-cli-terminal-output.js').TerminalOutput;
@@ -0,0 +1,4 @@
1
+ /** @module Interface wasi:clocks/monotonic-clock@0.2.9 **/
2
+ export function subscribeDuration(when: Duration): Pollable;
3
+ export type Duration = bigint;
4
+ export type Pollable = import('./wasi-io-poll.js').Pollable;
@@ -1,4 +1,4 @@
1
- /** @module Interface wasi:clocks/wall-clock@0.2.6 **/
1
+ /** @module Interface wasi:clocks/wall-clock@0.2.9 **/
2
2
  export interface Datetime {
3
3
  seconds: bigint,
4
4
  nanoseconds: number,
@@ -1,3 +1,3 @@
1
- /** @module Interface wasi:filesystem/preopens@0.2.6 **/
1
+ /** @module Interface wasi:filesystem/preopens@0.2.9 **/
2
2
  export function getDirectories(): Array<[Descriptor, string]>;
3
3
  export type Descriptor = import('./wasi-filesystem-types.js').Descriptor;
@@ -1,4 +1,4 @@
1
- /** @module Interface wasi:filesystem/types@0.2.6 **/
1
+ /** @module Interface wasi:filesystem/types@0.2.9 **/
2
2
  export type Filesize = bigint;
3
3
  export type InputStream = import('./wasi-io-streams.js').InputStream;
4
4
  /**
@@ -1,4 +1,4 @@
1
- /** @module Interface wasi:io/error@0.2.6 **/
1
+ /** @module Interface wasi:io/error@0.2.9 **/
2
2
 
3
3
  export class Error {
4
4
  /**
@@ -1,4 +1,5 @@
1
- /** @module Interface wasi:io/poll@0.2.6 **/
1
+ /** @module Interface wasi:io/poll@0.2.9 **/
2
+ export function poll(in_: Array<Pollable>): Uint32Array;
2
3
 
3
4
  export class Pollable {
4
5
  /**
@@ -1,4 +1,4 @@
1
- /** @module Interface wasi:io/streams@0.2.6 **/
1
+ /** @module Interface wasi:io/streams@0.2.9 **/
2
2
  export type Error = import('./wasi-io-error.js').Error;
3
3
  export type StreamError = StreamErrorLastOperationFailed | StreamErrorClosed;
4
4
  export interface StreamErrorLastOperationFailed {
@@ -1,2 +1,2 @@
1
- /** @module Interface wasi:random/insecure-seed@0.2.6 **/
1
+ /** @module Interface wasi:random/insecure-seed@0.2.9 **/
2
2
  export function insecureSeed(): [bigint, bigint];
@@ -78,42 +78,44 @@ export interface ParsedRequirementsTxt {
78
78
  noIndex: boolean,
79
79
  }
80
80
  import type * as VercelPythonAnalysisHostUtils from './interfaces/vercel-python-analysis-host-utils.js'; // vercel:python-analysis/host-utils
81
- import type * as WasiCliEnvironment from './interfaces/wasi-cli-environment.js'; // wasi:cli/environment@0.2.6
82
- import type * as WasiCliExit from './interfaces/wasi-cli-exit.js'; // wasi:cli/exit@0.2.6
83
- import type * as WasiCliStderr from './interfaces/wasi-cli-stderr.js'; // wasi:cli/stderr@0.2.6
84
- import type * as WasiCliStdin from './interfaces/wasi-cli-stdin.js'; // wasi:cli/stdin@0.2.6
85
- import type * as WasiCliStdout from './interfaces/wasi-cli-stdout.js'; // wasi:cli/stdout@0.2.6
86
- import type * as WasiCliTerminalInput from './interfaces/wasi-cli-terminal-input.js'; // wasi:cli/terminal-input@0.2.6
87
- import type * as WasiCliTerminalOutput from './interfaces/wasi-cli-terminal-output.js'; // wasi:cli/terminal-output@0.2.6
88
- import type * as WasiCliTerminalStderr from './interfaces/wasi-cli-terminal-stderr.js'; // wasi:cli/terminal-stderr@0.2.6
89
- import type * as WasiCliTerminalStdin from './interfaces/wasi-cli-terminal-stdin.js'; // wasi:cli/terminal-stdin@0.2.6
90
- import type * as WasiCliTerminalStdout from './interfaces/wasi-cli-terminal-stdout.js'; // wasi:cli/terminal-stdout@0.2.6
91
- import type * as WasiClocksWallClock from './interfaces/wasi-clocks-wall-clock.js'; // wasi:clocks/wall-clock@0.2.6
92
- import type * as WasiFilesystemPreopens from './interfaces/wasi-filesystem-preopens.js'; // wasi:filesystem/preopens@0.2.6
93
- import type * as WasiFilesystemTypes from './interfaces/wasi-filesystem-types.js'; // wasi:filesystem/types@0.2.6
94
- import type * as WasiIoError from './interfaces/wasi-io-error.js'; // wasi:io/error@0.2.6
95
- import type * as WasiIoPoll from './interfaces/wasi-io-poll.js'; // wasi:io/poll@0.2.6
96
- import type * as WasiIoStreams from './interfaces/wasi-io-streams.js'; // wasi:io/streams@0.2.6
97
- import type * as WasiRandomInsecureSeed from './interfaces/wasi-random-insecure-seed.js'; // wasi:random/insecure-seed@0.2.6
81
+ import type * as WasiCliEnvironment from './interfaces/wasi-cli-environment.js'; // wasi:cli/environment@0.2.9
82
+ import type * as WasiCliExit from './interfaces/wasi-cli-exit.js'; // wasi:cli/exit@0.2.9
83
+ import type * as WasiCliStderr from './interfaces/wasi-cli-stderr.js'; // wasi:cli/stderr@0.2.9
84
+ import type * as WasiCliStdin from './interfaces/wasi-cli-stdin.js'; // wasi:cli/stdin@0.2.9
85
+ import type * as WasiCliStdout from './interfaces/wasi-cli-stdout.js'; // wasi:cli/stdout@0.2.9
86
+ import type * as WasiCliTerminalInput from './interfaces/wasi-cli-terminal-input.js'; // wasi:cli/terminal-input@0.2.9
87
+ import type * as WasiCliTerminalOutput from './interfaces/wasi-cli-terminal-output.js'; // wasi:cli/terminal-output@0.2.9
88
+ import type * as WasiCliTerminalStderr from './interfaces/wasi-cli-terminal-stderr.js'; // wasi:cli/terminal-stderr@0.2.9
89
+ import type * as WasiCliTerminalStdin from './interfaces/wasi-cli-terminal-stdin.js'; // wasi:cli/terminal-stdin@0.2.9
90
+ import type * as WasiCliTerminalStdout from './interfaces/wasi-cli-terminal-stdout.js'; // wasi:cli/terminal-stdout@0.2.9
91
+ import type * as WasiClocksMonotonicClock from './interfaces/wasi-clocks-monotonic-clock.js'; // wasi:clocks/monotonic-clock@0.2.9
92
+ import type * as WasiClocksWallClock from './interfaces/wasi-clocks-wall-clock.js'; // wasi:clocks/wall-clock@0.2.9
93
+ import type * as WasiFilesystemPreopens from './interfaces/wasi-filesystem-preopens.js'; // wasi:filesystem/preopens@0.2.9
94
+ import type * as WasiFilesystemTypes from './interfaces/wasi-filesystem-types.js'; // wasi:filesystem/types@0.2.9
95
+ import type * as WasiIoError from './interfaces/wasi-io-error.js'; // wasi:io/error@0.2.9
96
+ import type * as WasiIoPoll from './interfaces/wasi-io-poll.js'; // wasi:io/poll@0.2.9
97
+ import type * as WasiIoStreams from './interfaces/wasi-io-streams.js'; // wasi:io/streams@0.2.9
98
+ import type * as WasiRandomInsecureSeed from './interfaces/wasi-random-insecure-seed.js'; // wasi:random/insecure-seed@0.2.9
98
99
  export interface ImportObject {
99
100
  'vercel:python-analysis/host-utils': typeof VercelPythonAnalysisHostUtils,
100
- 'wasi:cli/environment@0.2.6': typeof WasiCliEnvironment,
101
- 'wasi:cli/exit@0.2.6': typeof WasiCliExit,
102
- 'wasi:cli/stderr@0.2.6': typeof WasiCliStderr,
103
- 'wasi:cli/stdin@0.2.6': typeof WasiCliStdin,
104
- 'wasi:cli/stdout@0.2.6': typeof WasiCliStdout,
105
- 'wasi:cli/terminal-input@0.2.6': typeof WasiCliTerminalInput,
106
- 'wasi:cli/terminal-output@0.2.6': typeof WasiCliTerminalOutput,
107
- 'wasi:cli/terminal-stderr@0.2.6': typeof WasiCliTerminalStderr,
108
- 'wasi:cli/terminal-stdin@0.2.6': typeof WasiCliTerminalStdin,
109
- 'wasi:cli/terminal-stdout@0.2.6': typeof WasiCliTerminalStdout,
110
- 'wasi:clocks/wall-clock@0.2.6': typeof WasiClocksWallClock,
111
- 'wasi:filesystem/preopens@0.2.6': typeof WasiFilesystemPreopens,
112
- 'wasi:filesystem/types@0.2.6': typeof WasiFilesystemTypes,
113
- 'wasi:io/error@0.2.6': typeof WasiIoError,
114
- 'wasi:io/poll@0.2.6': typeof WasiIoPoll,
115
- 'wasi:io/streams@0.2.6': typeof WasiIoStreams,
116
- 'wasi:random/insecure-seed@0.2.6': typeof WasiRandomInsecureSeed,
101
+ 'wasi:cli/environment@0.2.9': typeof WasiCliEnvironment,
102
+ 'wasi:cli/exit@0.2.9': typeof WasiCliExit,
103
+ 'wasi:cli/stderr@0.2.9': typeof WasiCliStderr,
104
+ 'wasi:cli/stdin@0.2.9': typeof WasiCliStdin,
105
+ 'wasi:cli/stdout@0.2.9': typeof WasiCliStdout,
106
+ 'wasi:cli/terminal-input@0.2.9': typeof WasiCliTerminalInput,
107
+ 'wasi:cli/terminal-output@0.2.9': typeof WasiCliTerminalOutput,
108
+ 'wasi:cli/terminal-stderr@0.2.9': typeof WasiCliTerminalStderr,
109
+ 'wasi:cli/terminal-stdin@0.2.9': typeof WasiCliTerminalStdin,
110
+ 'wasi:cli/terminal-stdout@0.2.9': typeof WasiCliTerminalStdout,
111
+ 'wasi:clocks/monotonic-clock@0.2.9': typeof WasiClocksMonotonicClock,
112
+ 'wasi:clocks/wall-clock@0.2.9': typeof WasiClocksWallClock,
113
+ 'wasi:filesystem/preopens@0.2.9': typeof WasiFilesystemPreopens,
114
+ 'wasi:filesystem/types@0.2.9': typeof WasiFilesystemTypes,
115
+ 'wasi:io/error@0.2.9': typeof WasiIoError,
116
+ 'wasi:io/poll@0.2.9': typeof WasiIoPoll,
117
+ 'wasi:io/streams@0.2.9': typeof WasiIoStreams,
118
+ 'wasi:random/insecure-seed@0.2.9': typeof WasiRandomInsecureSeed,
117
119
  }
118
120
  export interface Root {
119
121
  findAppOrHandler(source: string): string | undefined,