@vercel/python-analysis 0.15.0 → 0.15.1
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.
|
@@ -1,6 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export interface Pep440Constraint {
|
|
2
|
+
operator: string;
|
|
3
|
+
prefix: string;
|
|
4
|
+
version: string;
|
|
5
|
+
}
|
|
6
|
+
export interface Pep440Version {
|
|
7
|
+
public: string;
|
|
8
|
+
base_version: string;
|
|
9
|
+
is_prerelease: boolean;
|
|
10
|
+
is_devrelease: boolean;
|
|
11
|
+
is_postrelease: boolean;
|
|
12
|
+
epoch: number;
|
|
13
|
+
release: number[];
|
|
14
|
+
pre: (string | number)[];
|
|
15
|
+
post: (string | number)[];
|
|
16
|
+
dev: (string | number)[];
|
|
17
|
+
local: string | null;
|
|
18
|
+
}
|
|
19
|
+
export declare function parsePep440Version(version: string): Pep440Version | null;
|
|
20
|
+
export declare function parsePep440Constraint(ranges: string): Pep440Constraint[];
|
|
21
|
+
export declare function pep440Satisfies(version: string, specifier: string): boolean;
|
|
5
22
|
export declare function pep440ConstraintFromVersion(v: Pep440Version): Pep440Constraint[];
|
|
6
23
|
export declare function unparsePep440Version(v: Pep440Version): string;
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/python-analysis",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"main": "./dist/index.cjs",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -30,7 +30,6 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@bytecodealliance/preview2-shim": "0.17.6",
|
|
33
|
-
"@renovatebot/pep440": "4.2.1",
|
|
34
33
|
"fs-extra": "11.1.1",
|
|
35
34
|
"js-yaml": "4.1.1",
|
|
36
35
|
"minimatch": "10.1.1",
|
|
@@ -39,6 +38,7 @@
|
|
|
39
38
|
},
|
|
40
39
|
"devDependencies": {
|
|
41
40
|
"@bytecodealliance/jco-transpile": "0.1.1",
|
|
41
|
+
"@renovatebot/pep440": "4.2.1",
|
|
42
42
|
"@types/fs-extra": "11.0.4",
|
|
43
43
|
"@types/js-yaml": "4.0.9",
|
|
44
44
|
"@types/node": "20.11.0",
|