renovate 40.0.0-next.1 → 40.0.0-next.11
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/dist/config/decrypt/legacy.js +0 -1
- package/dist/config/decrypt/legacy.js.map +1 -1
- package/dist/config/decrypt.js +2 -2
- package/dist/config/decrypt.js.map +1 -1
- package/dist/config/migrate-validate.js +3 -2
- package/dist/config/migrate-validate.js.map +1 -1
- package/dist/config/migration.js +2 -1
- package/dist/config/migration.js.map +1 -1
- package/dist/config/options/index.js +2 -2
- package/dist/config/options/index.js.map +1 -1
- package/dist/config/parse.js +2 -2
- package/dist/config/parse.js.map +1 -1
- package/dist/config/presets/gitea/index.js +0 -1
- package/dist/config/presets/gitea/index.js.map +1 -1
- package/dist/config/presets/github/index.js +0 -1
- package/dist/config/presets/github/index.js.map +1 -1
- package/dist/config/presets/http/index.js +0 -1
- package/dist/config/presets/http/index.js.map +1 -1
- package/dist/config/presets/index.js +0 -7
- package/dist/config/presets/index.js.map +1 -1
- package/dist/config/presets/internal/index.js +1 -3
- package/dist/config/presets/internal/index.js.map +1 -1
- package/dist/config/schema.d.ts +2 -2
- package/dist/config/validation.js +2 -4
- package/dist/config/validation.js.map +1 -1
- package/dist/config-validator.js +0 -1
- package/dist/config-validator.js.map +1 -1
- package/dist/constants/category.js +0 -1
- package/dist/constants/category.js.map +1 -1
- package/dist/instrumentation/index.js +5 -3
- package/dist/instrumentation/index.js.map +1 -1
- package/dist/logger/cmd-serializer.js +0 -1
- package/dist/logger/cmd-serializer.js.map +1 -1
- package/dist/logger/config-serializer.js +0 -1
- package/dist/logger/config-serializer.js.map +1 -1
- package/dist/logger/index.js +0 -3
- package/dist/logger/index.js.map +1 -1
- package/dist/logger/once.js +4 -2
- package/dist/logger/once.js.map +1 -1
- package/dist/logger/pretty-stdout.js +0 -1
- package/dist/logger/pretty-stdout.js.map +1 -1
- package/dist/logger/renovate-logger.js +1 -1
- package/dist/logger/renovate-logger.js.map +1 -1
- package/dist/logger/utils.js +5 -10
- package/dist/logger/utils.js.map +1 -1
- package/dist/modules/datasource/custom/schema.d.ts +5 -5
- package/dist/modules/datasource/deno/schema.d.ts +8 -8
- package/dist/modules/datasource/docker/index.js +4 -2
- package/dist/modules/datasource/docker/index.js.map +1 -1
- package/dist/modules/datasource/docker/schema.d.ts +32 -32
- package/dist/modules/datasource/galaxy/schema.d.ts +1 -1
- package/dist/modules/datasource/galaxy-collection/schema.d.ts +3 -3
- package/dist/modules/datasource/gitea-releases/schema.d.ts +4 -4
- package/dist/modules/datasource/gitea-tags/schema.d.ts +4 -4
- package/dist/modules/datasource/hex/schema.d.ts +11 -11
- package/dist/modules/datasource/packagist/schema.d.ts +30 -30
- package/dist/modules/datasource/unity3d/index.d.ts +4 -1
- package/dist/modules/datasource/unity3d/index.js +36 -42
- package/dist/modules/datasource/unity3d/index.js.map +1 -1
- package/dist/modules/datasource/unity3d/schema.d.ts +47 -0
- package/dist/modules/datasource/unity3d/schema.js +17 -0
- package/dist/modules/datasource/unity3d/schema.js.map +1 -0
- package/dist/modules/manager/argocd/schema.d.ts +10 -10
- package/dist/modules/manager/azure-pipelines/schema.d.ts +10 -10
- package/dist/modules/manager/batect/schema.d.ts +6 -6
- package/dist/modules/manager/bazel/rules/docker.d.ts +9 -9
- package/dist/modules/manager/bazel/rules/git.d.ts +10 -10
- package/dist/modules/manager/bazel/rules/go.d.ts +5 -5
- package/dist/modules/manager/bazel/rules/oci.d.ts +3 -3
- package/dist/modules/manager/bazel-module/parser/fragments.d.ts +40 -40
- package/dist/modules/manager/bazel-module/parser/maven.d.ts +27 -27
- package/dist/modules/manager/bazel-module/parser/oci.d.ts +17 -17
- package/dist/modules/manager/bazel-module/rules.d.ts +40 -40
- package/dist/modules/manager/cargo/schema.d.ts +100 -100
- package/dist/modules/manager/circleci/schema.d.ts +6 -6
- package/dist/modules/manager/composer/schema.d.ts +40 -40
- package/dist/modules/manager/crossplane/schema.d.ts +2 -2
- package/dist/modules/manager/custom/jsonata/index.js +4 -0
- package/dist/modules/manager/custom/jsonata/index.js.map +1 -1
- package/dist/modules/manager/custom/jsonata/schema.d.ts +7 -7
- package/dist/modules/manager/fingerprint.generated.js +67 -67
- package/dist/modules/manager/fingerprint.generated.js.map +1 -1
- package/dist/modules/manager/fleet/schema.d.ts +12 -12
- package/dist/modules/manager/flux/schema.d.ts +50 -50
- package/dist/modules/manager/glasskube/schema.d.ts +8 -8
- package/dist/modules/manager/nix/schema.d.ts +24 -24
- package/dist/modules/manager/npm/schema.d.ts +13 -13
- package/dist/modules/manager/nuget/schema.d.ts +8 -8
- package/dist/modules/manager/ocb/schema.d.ts +6 -6
- package/dist/modules/manager/pep621/schema.d.ts +55 -55
- package/dist/modules/manager/pep621/utils.js +2 -1
- package/dist/modules/manager/pep621/utils.js.map +1 -1
- package/dist/modules/manager/poetry/artifacts.js +2 -1
- package/dist/modules/manager/poetry/artifacts.js.map +1 -1
- package/dist/modules/manager/poetry/extract.js +2 -1
- package/dist/modules/manager/poetry/extract.js.map +1 -1
- package/dist/modules/manager/poetry/schema.d.ts +48 -48
- package/dist/modules/manager/sveltos/schema.d.ts +12 -12
- package/dist/modules/manager/vendir/schema.d.ts +27 -27
- package/dist/modules/platform/api.d.ts +1 -1
- package/dist/modules/platform/bitbucket/index.d.ts +1 -0
- package/dist/modules/platform/bitbucket/index.js +5 -0
- package/dist/modules/platform/bitbucket/index.js.map +1 -1
- package/dist/modules/platform/bitbucket/schema.d.ts +17 -17
- package/dist/modules/platform/bitbucket-server/index.d.ts +1 -1
- package/dist/modules/platform/bitbucket-server/index.js.map +1 -1
- package/dist/modules/platform/gitea/index.d.ts +1 -0
- package/dist/modules/platform/gitea/index.js +11 -0
- package/dist/modules/platform/gitea/index.js.map +1 -1
- package/dist/modules/platform/gitea/schema.d.ts +8 -8
- package/dist/modules/platform/github/issue.d.ts +12 -12
- package/dist/modules/platform/github/schema.d.ts +65 -65
- package/dist/modules/platform/gitlab/index.d.ts +1 -0
- package/dist/modules/platform/gitlab/index.js +9 -0
- package/dist/modules/platform/gitlab/index.js.map +1 -1
- package/dist/modules/platform/scm.d.ts +1 -1
- package/dist/proxy.js +2 -1
- package/dist/proxy.js.map +1 -1
- package/dist/renovate.js +2 -2
- package/dist/renovate.js.map +1 -1
- package/dist/util/cache/package/redis.js +0 -1
- package/dist/util/cache/package/redis.js.map +1 -1
- package/dist/util/cache/repository/impl/base.d.ts +1 -1
- package/dist/util/exec/containerbase.js +11 -11
- package/dist/util/exec/containerbase.js.map +1 -1
- package/dist/util/github/graphql/query-adapters/releases-query-adapter.d.ts +5 -5
- package/dist/util/http/cache/schema.d.ts +2 -2
- package/dist/util/http/legacy.js +4 -1
- package/dist/util/http/legacy.js.map +1 -1
- package/dist/util/string.d.ts +15 -0
- package/dist/util/string.js +75 -0
- package/dist/util/string.js.map +1 -1
- package/dist/util/yaml.js +2 -6
- package/dist/util/yaml.js.map +1 -1
- package/dist/workers/repository/cache.js +0 -1
- package/dist/workers/repository/cache.js.map +1 -1
- package/package.json +19 -24
- package/renovate-schema.json +2 -1
@@ -6,15 +6,15 @@ export declare const ReleaseSchema: z.ZodObject<{
|
|
6
6
|
prerelease: z.ZodBoolean;
|
7
7
|
published_at: z.ZodCatch<z.ZodNullable<z.ZodEffects<z.ZodUnknown, import("../../../util/timestamp").Timestamp, unknown>>>;
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
9
|
+
prerelease: boolean;
|
9
10
|
name: string;
|
10
11
|
body: string;
|
11
|
-
prerelease: boolean;
|
12
12
|
tag_name: string;
|
13
13
|
published_at: import("../../../util/timestamp").Timestamp | null;
|
14
14
|
}, {
|
15
|
+
prerelease: boolean;
|
15
16
|
name: string;
|
16
17
|
body: string;
|
17
|
-
prerelease: boolean;
|
18
18
|
tag_name: string;
|
19
19
|
published_at?: unknown;
|
20
20
|
}>;
|
@@ -25,15 +25,15 @@ export declare const ReleasesSchema: z.ZodArray<z.ZodObject<{
|
|
25
25
|
prerelease: z.ZodBoolean;
|
26
26
|
published_at: z.ZodCatch<z.ZodNullable<z.ZodEffects<z.ZodUnknown, import("../../../util/timestamp").Timestamp, unknown>>>;
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
28
|
+
prerelease: boolean;
|
28
29
|
name: string;
|
29
30
|
body: string;
|
30
|
-
prerelease: boolean;
|
31
31
|
tag_name: string;
|
32
32
|
published_at: import("../../../util/timestamp").Timestamp | null;
|
33
33
|
}, {
|
34
|
+
prerelease: boolean;
|
34
35
|
name: string;
|
35
36
|
body: string;
|
36
|
-
prerelease: boolean;
|
37
37
|
tag_name: string;
|
38
38
|
published_at?: unknown;
|
39
39
|
}>, "many">;
|
@@ -26,17 +26,17 @@ export declare const TagSchema: z.ZodObject<{
|
|
26
26
|
created?: unknown;
|
27
27
|
}>;
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
29
|
-
name: string;
|
30
29
|
commit: {
|
31
30
|
created: import("../../../util/timestamp").Timestamp | null;
|
32
31
|
sha: string;
|
33
32
|
};
|
34
|
-
}, {
|
35
33
|
name: string;
|
34
|
+
}, {
|
36
35
|
commit: {
|
37
36
|
sha: string;
|
38
37
|
created?: unknown;
|
39
38
|
};
|
39
|
+
name: string;
|
40
40
|
}>;
|
41
41
|
export declare const TagsSchema: z.ZodArray<z.ZodObject<{
|
42
42
|
name: z.ZodString;
|
@@ -51,15 +51,15 @@ export declare const TagsSchema: z.ZodArray<z.ZodObject<{
|
|
51
51
|
created?: unknown;
|
52
52
|
}>;
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
54
|
-
name: string;
|
55
54
|
commit: {
|
56
55
|
created: import("../../../util/timestamp").Timestamp | null;
|
57
56
|
sha: string;
|
58
57
|
};
|
59
|
-
}, {
|
60
58
|
name: string;
|
59
|
+
}, {
|
61
60
|
commit: {
|
62
61
|
sha: string;
|
63
62
|
created?: unknown;
|
64
63
|
};
|
64
|
+
name: string;
|
65
65
|
}>, "many">;
|
@@ -30,41 +30,41 @@ export declare const HexRelease: z.ZodEffects<z.ZodObject<{
|
|
30
30
|
message: z.ZodNullable<z.ZodString>;
|
31
31
|
reason: z.ZodString;
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
33
|
-
reason: string;
|
34
33
|
message: string | null;
|
35
|
-
}, {
|
36
34
|
reason: string;
|
35
|
+
}, {
|
37
36
|
message: string | null;
|
37
|
+
reason: string;
|
38
38
|
}>>>;
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
40
|
+
releases: {
|
41
|
+
version: string;
|
42
|
+
inserted_at: import("../../../util/timestamp").Timestamp | null;
|
43
|
+
}[];
|
40
44
|
meta: {
|
41
45
|
links: {
|
42
46
|
github: string;
|
43
47
|
};
|
44
48
|
} | null;
|
45
|
-
releases: {
|
46
|
-
version: string;
|
47
|
-
inserted_at: import("../../../util/timestamp").Timestamp | null;
|
48
|
-
}[];
|
49
49
|
html_url?: string | undefined;
|
50
50
|
retirements?: Record<string, {
|
51
|
-
reason: string;
|
52
51
|
message: string | null;
|
52
|
+
reason: string;
|
53
53
|
}> | undefined;
|
54
54
|
}, {
|
55
55
|
releases: any[];
|
56
|
-
meta?: unknown;
|
57
56
|
html_url?: string | undefined;
|
57
|
+
meta?: unknown;
|
58
58
|
retirements?: Record<string, {
|
59
|
-
reason: string;
|
60
59
|
message: string | null;
|
60
|
+
reason: string;
|
61
61
|
}> | undefined;
|
62
62
|
}>, ReleaseResult, {
|
63
63
|
releases: any[];
|
64
|
-
meta?: unknown;
|
65
64
|
html_url?: string | undefined;
|
65
|
+
meta?: unknown;
|
66
66
|
retirements?: Record<string, {
|
67
|
-
reason: string;
|
68
67
|
message: string | null;
|
68
|
+
reason: string;
|
69
69
|
}> | undefined;
|
70
70
|
}>;
|
@@ -22,52 +22,52 @@ export declare const ComposerRelease: z.ZodObject<{
|
|
22
22
|
}>>>;
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
24
24
|
time: import("../../../util/timestamp").Timestamp | null;
|
25
|
+
version: string;
|
25
26
|
source: {
|
26
27
|
url: string;
|
27
28
|
} | null;
|
29
|
+
homepage: string | null;
|
28
30
|
require: {
|
29
31
|
php: string;
|
30
32
|
} | null;
|
31
|
-
version: string;
|
32
|
-
homepage: string | null;
|
33
33
|
}, {
|
34
34
|
version: string;
|
35
35
|
time?: unknown;
|
36
36
|
source?: unknown;
|
37
|
-
require?: unknown;
|
38
37
|
homepage?: unknown;
|
38
|
+
require?: unknown;
|
39
39
|
}>;
|
40
40
|
export type ComposerRelease = z.infer<typeof ComposerRelease>;
|
41
41
|
export declare const ComposerReleases: z.ZodCatch<z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">, Record<string, unknown>[], Record<string, unknown>[]>, z.ZodEffects<z.ZodArray<z.ZodAny, "many">, {
|
42
42
|
time: import("../../../util/timestamp").Timestamp | null;
|
43
|
+
version: string;
|
43
44
|
source: {
|
44
45
|
url: string;
|
45
46
|
} | null;
|
47
|
+
homepage: string | null;
|
46
48
|
require: {
|
47
49
|
php: string;
|
48
50
|
} | null;
|
49
|
-
version: string;
|
50
|
-
homepage: string | null;
|
51
51
|
}[], any[]>>, z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, {
|
52
52
|
time: import("../../../util/timestamp").Timestamp | null;
|
53
|
+
version: string;
|
53
54
|
source: {
|
54
55
|
url: string;
|
55
56
|
} | null;
|
57
|
+
homepage: string | null;
|
56
58
|
require: {
|
57
59
|
php: string;
|
58
60
|
} | null;
|
59
|
-
version: string;
|
60
|
-
homepage: string | null;
|
61
61
|
}>, Record<string, any>>, {
|
62
62
|
time: import("../../../util/timestamp").Timestamp | null;
|
63
|
+
version: string;
|
63
64
|
source: {
|
64
65
|
url: string;
|
65
66
|
} | null;
|
67
|
+
homepage: string | null;
|
66
68
|
require: {
|
67
69
|
php: string;
|
68
70
|
} | null;
|
69
|
-
version: string;
|
70
|
-
homepage: string | null;
|
71
71
|
}[], Record<string, any>>]>>;
|
72
72
|
export type ComposerReleases = z.infer<typeof ComposerReleases>;
|
73
73
|
export declare const ComposerPackagesResponse: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
@@ -96,14 +96,14 @@ export declare const ComposerPackagesResponse: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
96
96
|
};
|
97
97
|
}>, {
|
98
98
|
time: import("../../../util/timestamp").Timestamp | null;
|
99
|
+
version: string;
|
99
100
|
source: {
|
100
101
|
url: string;
|
101
102
|
} | null;
|
103
|
+
homepage: string | null;
|
102
104
|
require: {
|
103
105
|
php: string;
|
104
106
|
} | null;
|
105
|
-
version: string;
|
106
|
-
homepage: string | null;
|
107
107
|
}[], {
|
108
108
|
packageName: string;
|
109
109
|
packagesResponse: {
|
@@ -168,26 +168,26 @@ export type RegistryFile = z.infer<typeof RegistryFile>;
|
|
168
168
|
export declare const PackagesResponse: z.ZodObject<{
|
169
169
|
packages: z.ZodCatch<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, {
|
170
170
|
time: import("../../../util/timestamp").Timestamp | null;
|
171
|
+
version: string;
|
171
172
|
source: {
|
172
173
|
url: string;
|
173
174
|
} | null;
|
175
|
+
homepage: string | null;
|
174
176
|
require: {
|
175
177
|
php: string;
|
176
178
|
} | null;
|
177
|
-
version: string;
|
178
|
-
homepage: string | null;
|
179
179
|
}[]>, Record<string, any>>>;
|
180
180
|
}, "strip", z.ZodTypeAny, {
|
181
181
|
packages: Record<string, {
|
182
182
|
time: import("../../../util/timestamp").Timestamp | null;
|
183
|
+
version: string;
|
183
184
|
source: {
|
184
185
|
url: string;
|
185
186
|
} | null;
|
187
|
+
homepage: string | null;
|
186
188
|
require: {
|
187
189
|
php: string;
|
188
190
|
} | null;
|
189
|
-
version: string;
|
190
|
-
homepage: string | null;
|
191
191
|
}[]>;
|
192
192
|
}, {
|
193
193
|
packages?: unknown;
|
@@ -196,14 +196,14 @@ export type PackagesResponse = z.infer<typeof PackagesResponse>;
|
|
196
196
|
export declare const PackagistFile: z.ZodObject<z.objectUtil.extendShape<{
|
197
197
|
packages: z.ZodCatch<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, {
|
198
198
|
time: import("../../../util/timestamp").Timestamp | null;
|
199
|
+
version: string;
|
199
200
|
source: {
|
200
201
|
url: string;
|
201
202
|
} | null;
|
203
|
+
homepage: string | null;
|
202
204
|
require: {
|
203
205
|
php: string;
|
204
206
|
} | null;
|
205
|
-
version: string;
|
206
|
-
homepage: string | null;
|
207
207
|
}[]>, Record<string, any>>>;
|
208
208
|
}, {
|
209
209
|
providers: z.ZodCatch<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, {
|
@@ -216,14 +216,14 @@ export declare const PackagistFile: z.ZodObject<z.objectUtil.extendShape<{
|
|
216
216
|
}>, "strip", z.ZodTypeAny, {
|
217
217
|
packages: Record<string, {
|
218
218
|
time: import("../../../util/timestamp").Timestamp | null;
|
219
|
+
version: string;
|
219
220
|
source: {
|
220
221
|
url: string;
|
221
222
|
} | null;
|
223
|
+
homepage: string | null;
|
222
224
|
require: {
|
223
225
|
php: string;
|
224
226
|
} | null;
|
225
|
-
version: string;
|
226
|
-
homepage: string | null;
|
227
227
|
}[]>;
|
228
228
|
providers: {
|
229
229
|
[k: string]: string | null;
|
@@ -236,14 +236,14 @@ export type PackagistFile = z.infer<typeof PackagistFile>;
|
|
236
236
|
export declare const RegistryMeta: z.ZodEffects<z.ZodPipeline<z.ZodCatch<z.ZodRecord<z.ZodString, z.ZodUnknown>>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
237
237
|
packages: z.ZodCatch<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, {
|
238
238
|
time: import("../../../util/timestamp").Timestamp | null;
|
239
|
+
version: string;
|
239
240
|
source: {
|
240
241
|
url: string;
|
241
242
|
} | null;
|
243
|
+
homepage: string | null;
|
242
244
|
require: {
|
243
245
|
php: string;
|
244
246
|
} | null;
|
245
|
-
version: string;
|
246
|
-
homepage: string | null;
|
247
247
|
}[]>, Record<string, any>>>;
|
248
248
|
}, {
|
249
249
|
providers: z.ZodCatch<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, {
|
@@ -275,21 +275,21 @@ export declare const RegistryMeta: z.ZodEffects<z.ZodPipeline<z.ZodCatch<z.ZodRe
|
|
275
275
|
"metadata-url": z.ZodCatch<z.ZodNullable<z.ZodString>>;
|
276
276
|
"available-packages": z.ZodCatch<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
277
277
|
}>, "strip", z.ZodTypeAny, {
|
278
|
-
includes: {
|
279
|
-
key: string;
|
280
|
-
hash: string | null;
|
281
|
-
}[];
|
282
278
|
packages: Record<string, {
|
283
279
|
time: import("../../../util/timestamp").Timestamp | null;
|
280
|
+
version: string;
|
284
281
|
source: {
|
285
282
|
url: string;
|
286
283
|
} | null;
|
284
|
+
homepage: string | null;
|
287
285
|
require: {
|
288
286
|
php: string;
|
289
287
|
} | null;
|
290
|
-
version: string;
|
291
|
-
homepage: string | null;
|
292
288
|
}[]>;
|
289
|
+
includes: {
|
290
|
+
key: string;
|
291
|
+
hash: string | null;
|
292
|
+
}[];
|
293
293
|
providers: {
|
294
294
|
[k: string]: string | null;
|
295
295
|
};
|
@@ -302,8 +302,8 @@ export declare const RegistryMeta: z.ZodEffects<z.ZodPipeline<z.ZodCatch<z.ZodRe
|
|
302
302
|
"metadata-url": string | null;
|
303
303
|
"available-packages": string[] | null;
|
304
304
|
}, {
|
305
|
-
includes?: unknown;
|
306
305
|
packages?: unknown;
|
306
|
+
includes?: unknown;
|
307
307
|
providers?: unknown;
|
308
308
|
"provider-includes"?: unknown;
|
309
309
|
"providers-lazy-url"?: unknown;
|
@@ -313,14 +313,14 @@ export declare const RegistryMeta: z.ZodEffects<z.ZodPipeline<z.ZodCatch<z.ZodRe
|
|
313
313
|
}>>, {
|
314
314
|
packages: Record<string, {
|
315
315
|
time: import("../../../util/timestamp").Timestamp | null;
|
316
|
+
version: string;
|
316
317
|
source: {
|
317
318
|
url: string;
|
318
319
|
} | null;
|
320
|
+
homepage: string | null;
|
319
321
|
require: {
|
320
322
|
php: string;
|
321
323
|
} | null;
|
322
|
-
version: string;
|
323
|
-
homepage: string | null;
|
324
324
|
}[]>;
|
325
325
|
includesFiles: {
|
326
326
|
key: string;
|
@@ -1,15 +1,18 @@
|
|
1
1
|
import { Datasource } from '../datasource';
|
2
2
|
import type { GetReleasesConfig, ReleaseResult } from '../types';
|
3
3
|
export declare class Unity3dDatasource extends Datasource {
|
4
|
+
static readonly baseUrl = "https://services.api.unity.com/unity/editor/release/v1/releases";
|
4
5
|
static readonly homepage = "https://unity.com/";
|
5
6
|
static readonly streams: Record<string, string>;
|
7
|
+
static readonly legacyStreams: Record<string, string>;
|
6
8
|
static readonly id = "unity3d";
|
7
9
|
readonly defaultRegistryUrls: string[];
|
8
10
|
readonly defaultVersioning = "unity3d";
|
9
11
|
readonly registryStrategy = "merge";
|
10
12
|
readonly releaseTimestampSupport = true;
|
11
|
-
readonly releaseTimestampNote = "The release timestamp is determined from the `
|
13
|
+
readonly releaseTimestampNote = "The release timestamp is determined from the `releaseDate` field in the results.";
|
12
14
|
constructor();
|
15
|
+
translateStream(registryUrl: string): string;
|
13
16
|
getByStream(registryUrl: string | undefined, withHash: boolean): Promise<ReleaseResult | null>;
|
14
17
|
getReleases({ packageName, registryUrl, }: GetReleasesConfig): Promise<ReleaseResult | null>;
|
15
18
|
}
|
@@ -2,69 +2,63 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.Unity3dDatasource = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
|
-
const xmldoc_1 = require("xmldoc");
|
6
|
-
const logger_1 = require("../../../logger");
|
7
5
|
const decorator_1 = require("../../../util/cache/package/decorator");
|
8
6
|
const timestamp_1 = require("../../../util/timestamp");
|
9
7
|
const Unity3dVersioning = tslib_1.__importStar(require("../../versioning/unity3d"));
|
10
8
|
const datasource_1 = require("../datasource");
|
9
|
+
const schema_1 = require("./schema");
|
11
10
|
class Unity3dDatasource extends datasource_1.Datasource {
|
11
|
+
static baseUrl = 'https://services.api.unity.com/unity/editor/release/v1/releases';
|
12
12
|
static homepage = 'https://unity.com/';
|
13
13
|
static streams = {
|
14
|
+
lts: `${Unity3dDatasource.baseUrl}?stream=LTS`,
|
15
|
+
tech: `${Unity3dDatasource.baseUrl}?stream=TECH`,
|
16
|
+
alpha: `${Unity3dDatasource.baseUrl}?stream=ALPHA`,
|
17
|
+
beta: `${Unity3dDatasource.baseUrl}?stream=BETA`,
|
18
|
+
};
|
19
|
+
static legacyStreams = {
|
14
20
|
lts: `${Unity3dDatasource.homepage}releases/editor/lts-releases.xml`,
|
15
21
|
stable: `${Unity3dDatasource.homepage}releases/editor/releases.xml`,
|
16
22
|
beta: `${Unity3dDatasource.homepage}releases/editor/beta/latest.xml`,
|
17
23
|
};
|
18
24
|
static id = 'unity3d';
|
19
|
-
defaultRegistryUrls = [
|
20
|
-
Unity3dDatasource.streams.stable,
|
21
|
-
Unity3dDatasource.streams.lts,
|
22
|
-
];
|
25
|
+
defaultRegistryUrls = [Unity3dDatasource.streams.lts];
|
23
26
|
defaultVersioning = Unity3dVersioning.id;
|
24
27
|
registryStrategy = 'merge';
|
25
28
|
releaseTimestampSupport = true;
|
26
|
-
releaseTimestampNote = 'The release timestamp is determined from the `
|
29
|
+
releaseTimestampNote = 'The release timestamp is determined from the `releaseDate` field in the results.';
|
27
30
|
constructor() {
|
28
31
|
super(Unity3dDatasource.id);
|
29
32
|
}
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
catch (err) {
|
38
|
-
logger_1.logger.error({ err, registryUrl }, 'Failed to request releases from Unity3d datasource');
|
39
|
-
return null;
|
40
|
-
}
|
41
|
-
if (!channel) {
|
42
|
-
return {
|
43
|
-
releases: [],
|
44
|
-
homepage: Unity3dDatasource.homepage,
|
45
|
-
registryUrl,
|
46
|
-
};
|
33
|
+
translateStream(registryUrl) {
|
34
|
+
const legacyKey = Object.keys(Unity3dDatasource.legacyStreams).find((key) => Unity3dDatasource.legacyStreams[key] === registryUrl);
|
35
|
+
if (legacyKey) {
|
36
|
+
if (legacyKey === 'stable') {
|
37
|
+
return Unity3dDatasource.streams.lts;
|
38
|
+
}
|
39
|
+
return Unity3dDatasource.streams[legacyKey];
|
47
40
|
}
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
releaseTimestamp: (0, timestamp_1.asTimestamp)(itemNode.childNamed('pubDate')?.val),
|
56
|
-
changelogUrl: itemNode.childNamed('link')?.val,
|
57
|
-
isStable: registryUrl !== Unity3dDatasource.streams.beta,
|
58
|
-
registryUrl,
|
59
|
-
};
|
60
|
-
return release;
|
61
|
-
})
|
62
|
-
.filter((release) => !!release);
|
63
|
-
return {
|
64
|
-
releases,
|
41
|
+
return registryUrl;
|
42
|
+
}
|
43
|
+
async getByStream(registryUrl, withHash) {
|
44
|
+
const translatedRegistryUrl = this.translateStream(registryUrl);
|
45
|
+
const response = await this.http.getJson(translatedRegistryUrl, schema_1.UnityReleasesJSON);
|
46
|
+
const result = {
|
47
|
+
releases: [],
|
65
48
|
homepage: Unity3dDatasource.homepage,
|
66
|
-
registryUrl,
|
49
|
+
registryUrl: translatedRegistryUrl,
|
67
50
|
};
|
51
|
+
for (const release of response.body.results) {
|
52
|
+
result.releases.push({
|
53
|
+
version: withHash
|
54
|
+
? `${release.version} (${release.shortRevision})`
|
55
|
+
: release.version,
|
56
|
+
releaseTimestamp: (0, timestamp_1.asTimestamp)(release.releaseDate),
|
57
|
+
changelogUrl: release.releaseNotes.url,
|
58
|
+
isStable: translatedRegistryUrl === Unity3dDatasource.streams.lts,
|
59
|
+
});
|
60
|
+
}
|
61
|
+
return result;
|
68
62
|
}
|
69
63
|
async getReleases({ packageName, registryUrl, }) {
|
70
64
|
return await this.getByStream(registryUrl, packageName === 'm_EditorVersionWithRevision');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/datasource/unity3d/index.ts"],"names":[],"mappings":";;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/datasource/unity3d/index.ts"],"names":[],"mappings":"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","sourcesContent":["import { cache } from '../../../util/cache/package/decorator';\nimport { asTimestamp } from '../../../util/timestamp';\nimport * as Unity3dVersioning from '../../versioning/unity3d';\nimport { Datasource } from '../datasource';\nimport type { GetReleasesConfig, ReleaseResult } from '../types';\nimport { UnityReleasesJSON } from './schema';\n\nexport class Unity3dDatasource extends Datasource {\n static readonly baseUrl =\n 'https://services.api.unity.com/unity/editor/release/v1/releases';\n static readonly homepage = 'https://unity.com/';\n static readonly streams: Record<string, string> = {\n lts: `${Unity3dDatasource.baseUrl}?stream=LTS`,\n tech: `${Unity3dDatasource.baseUrl}?stream=TECH`,\n alpha: `${Unity3dDatasource.baseUrl}?stream=ALPHA`,\n beta: `${Unity3dDatasource.baseUrl}?stream=BETA`,\n };\n static readonly legacyStreams: Record<string, string> = {\n lts: `${Unity3dDatasource.homepage}releases/editor/lts-releases.xml`,\n stable: `${Unity3dDatasource.homepage}releases/editor/releases.xml`,\n beta: `${Unity3dDatasource.homepage}releases/editor/beta/latest.xml`,\n };\n\n static readonly id = 'unity3d';\n\n override readonly defaultRegistryUrls = [Unity3dDatasource.streams.lts];\n\n override readonly defaultVersioning = Unity3dVersioning.id;\n\n override readonly registryStrategy = 'merge';\n\n override readonly releaseTimestampSupport = true;\n override readonly releaseTimestampNote =\n 'The release timestamp is determined from the `releaseDate` field in the results.';\n\n constructor() {\n super(Unity3dDatasource.id);\n }\n\n translateStream(registryUrl: string): string {\n const legacyKey = Object.keys(Unity3dDatasource.legacyStreams).find(\n (key) => Unity3dDatasource.legacyStreams[key] === registryUrl,\n );\n\n if (legacyKey) {\n if (legacyKey === 'stable') {\n return Unity3dDatasource.streams.lts;\n }\n\n return Unity3dDatasource.streams[legacyKey];\n }\n\n return registryUrl;\n }\n\n async getByStream(\n registryUrl: string | undefined,\n withHash: boolean,\n ): Promise<ReleaseResult | null> {\n const translatedRegistryUrl = this.translateStream(registryUrl!);\n\n const response = await this.http.getJson(\n translatedRegistryUrl,\n UnityReleasesJSON,\n );\n\n const result: ReleaseResult = {\n releases: [],\n homepage: Unity3dDatasource.homepage,\n registryUrl: translatedRegistryUrl,\n };\n\n for (const release of response.body.results) {\n result.releases.push({\n version: withHash\n ? `${release.version} (${release.shortRevision})`\n : release.version,\n releaseTimestamp: asTimestamp(release.releaseDate),\n changelogUrl: release.releaseNotes.url,\n isStable: translatedRegistryUrl === Unity3dDatasource.streams.lts,\n });\n }\n\n return result;\n }\n\n @cache({\n namespace: `datasource-${Unity3dDatasource.id}`,\n key: ({ registryUrl, packageName }: GetReleasesConfig) =>\n `${registryUrl}:${packageName}`,\n })\n async getReleases({\n packageName,\n registryUrl,\n }: GetReleasesConfig): Promise<ReleaseResult | null> {\n return await this.getByStream(\n registryUrl,\n packageName === 'm_EditorVersionWithRevision',\n );\n }\n}\n"]}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const UnityReleasesJSON: z.ZodObject<{
|
3
|
+
results: z.ZodArray<z.ZodObject<{
|
4
|
+
version: z.ZodString;
|
5
|
+
releaseDate: z.ZodString;
|
6
|
+
releaseNotes: z.ZodObject<{
|
7
|
+
url: z.ZodString;
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
9
|
+
url: string;
|
10
|
+
}, {
|
11
|
+
url: string;
|
12
|
+
}>;
|
13
|
+
shortRevision: z.ZodString;
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
15
|
+
version: string;
|
16
|
+
releaseDate: string;
|
17
|
+
releaseNotes: {
|
18
|
+
url: string;
|
19
|
+
};
|
20
|
+
shortRevision: string;
|
21
|
+
}, {
|
22
|
+
version: string;
|
23
|
+
releaseDate: string;
|
24
|
+
releaseNotes: {
|
25
|
+
url: string;
|
26
|
+
};
|
27
|
+
shortRevision: string;
|
28
|
+
}>, "many">;
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
30
|
+
results: {
|
31
|
+
version: string;
|
32
|
+
releaseDate: string;
|
33
|
+
releaseNotes: {
|
34
|
+
url: string;
|
35
|
+
};
|
36
|
+
shortRevision: string;
|
37
|
+
}[];
|
38
|
+
}, {
|
39
|
+
results: {
|
40
|
+
version: string;
|
41
|
+
releaseDate: string;
|
42
|
+
releaseNotes: {
|
43
|
+
url: string;
|
44
|
+
};
|
45
|
+
shortRevision: string;
|
46
|
+
}[];
|
47
|
+
}>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UnityReleasesJSON = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const UnityReleaseNote = zod_1.z.object({
|
6
|
+
url: zod_1.z.string(),
|
7
|
+
});
|
8
|
+
const UnityRelease = zod_1.z.object({
|
9
|
+
version: zod_1.z.string(),
|
10
|
+
releaseDate: zod_1.z.string(),
|
11
|
+
releaseNotes: UnityReleaseNote,
|
12
|
+
shortRevision: zod_1.z.string(),
|
13
|
+
});
|
14
|
+
exports.UnityReleasesJSON = zod_1.z.object({
|
15
|
+
results: UnityRelease.array(),
|
16
|
+
});
|
17
|
+
//# sourceMappingURL=schema.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../lib/modules/datasource/unity3d/schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChC,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,YAAY,EAAE,gBAAgB;IAC9B,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAC;AAEU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,YAAY,CAAC,KAAK,EAAE;CAC9B,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\nconst UnityReleaseNote = z.object({\n url: z.string(),\n});\n\nconst UnityRelease = z.object({\n version: z.string(),\n releaseDate: z.string(),\n releaseNotes: UnityReleaseNote,\n shortRevision: z.string(),\n});\n\nexport const UnityReleasesJSON = z.object({\n results: UnityRelease.array(),\n});\n"]}
|
@@ -172,8 +172,8 @@ export declare const Application: z.ZodObject<z.objectUtil.extendShape<{
|
|
172
172
|
sources?: any[] | undefined;
|
173
173
|
}>;
|
174
174
|
}>, "strip", z.ZodTypeAny, {
|
175
|
-
kind: "Application";
|
176
175
|
apiVersion: string;
|
176
|
+
kind: "Application";
|
177
177
|
spec: {
|
178
178
|
source?: {
|
179
179
|
repoURL: string;
|
@@ -193,8 +193,8 @@ export declare const Application: z.ZodObject<z.objectUtil.extendShape<{
|
|
193
193
|
}[] | undefined;
|
194
194
|
};
|
195
195
|
}, {
|
196
|
-
kind: "Application";
|
197
196
|
apiVersion: string;
|
197
|
+
kind: "Application";
|
198
198
|
spec: {
|
199
199
|
source?: {
|
200
200
|
repoURL: string;
|
@@ -345,8 +345,8 @@ export declare const ApplicationSet: z.ZodObject<z.objectUtil.extendShape<{
|
|
345
345
|
};
|
346
346
|
}>;
|
347
347
|
}>, "strip", z.ZodTypeAny, {
|
348
|
-
kind: "ApplicationSet";
|
349
348
|
apiVersion: string;
|
349
|
+
kind: "ApplicationSet";
|
350
350
|
spec: {
|
351
351
|
template: {
|
352
352
|
spec: {
|
@@ -370,8 +370,8 @@ export declare const ApplicationSet: z.ZodObject<z.objectUtil.extendShape<{
|
|
370
370
|
};
|
371
371
|
};
|
372
372
|
}, {
|
373
|
-
kind: "ApplicationSet";
|
374
373
|
apiVersion: string;
|
374
|
+
kind: "ApplicationSet";
|
375
375
|
spec: {
|
376
376
|
template: {
|
377
377
|
spec: {
|
@@ -456,8 +456,8 @@ export declare const ApplicationDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
456
456
|
sources?: any[] | undefined;
|
457
457
|
}>;
|
458
458
|
}>, "strip", z.ZodTypeAny, {
|
459
|
-
kind: "Application";
|
460
459
|
apiVersion: string;
|
460
|
+
kind: "Application";
|
461
461
|
spec: {
|
462
462
|
source?: {
|
463
463
|
repoURL: string;
|
@@ -477,8 +477,8 @@ export declare const ApplicationDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
477
477
|
}[] | undefined;
|
478
478
|
};
|
479
479
|
}, {
|
480
|
-
kind: "Application";
|
481
480
|
apiVersion: string;
|
481
|
+
kind: "Application";
|
482
482
|
spec: {
|
483
483
|
source?: {
|
484
484
|
repoURL: string;
|
@@ -628,8 +628,8 @@ export declare const ApplicationDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
628
628
|
};
|
629
629
|
}>;
|
630
630
|
}>, "strip", z.ZodTypeAny, {
|
631
|
-
kind: "ApplicationSet";
|
632
631
|
apiVersion: string;
|
632
|
+
kind: "ApplicationSet";
|
633
633
|
spec: {
|
634
634
|
template: {
|
635
635
|
spec: {
|
@@ -653,8 +653,8 @@ export declare const ApplicationDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
653
653
|
};
|
654
654
|
};
|
655
655
|
}, {
|
656
|
-
kind: "ApplicationSet";
|
657
656
|
apiVersion: string;
|
657
|
+
kind: "ApplicationSet";
|
658
658
|
spec: {
|
659
659
|
template: {
|
660
660
|
spec: {
|
@@ -673,8 +673,8 @@ export declare const ApplicationDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
673
673
|
}>]>;
|
674
674
|
export type ApplicationDefinition = z.infer<typeof ApplicationDefinition>;
|
675
675
|
export declare const ApplicationDefinitionSchema: z.ZodPipeline<z.ZodEffects<z.ZodString, import("type-fest").JsonArray, string>, z.ZodEffects<z.ZodArray<z.ZodAny, "many">, ({
|
676
|
-
kind: "Application";
|
677
676
|
apiVersion: string;
|
677
|
+
kind: "Application";
|
678
678
|
spec: {
|
679
679
|
source?: {
|
680
680
|
repoURL: string;
|
@@ -694,8 +694,8 @@ export declare const ApplicationDefinitionSchema: z.ZodPipeline<z.ZodEffects<z.Z
|
|
694
694
|
}[] | undefined;
|
695
695
|
};
|
696
696
|
} | {
|
697
|
-
kind: "ApplicationSet";
|
698
697
|
apiVersion: string;
|
698
|
+
kind: "ApplicationSet";
|
699
699
|
spec: {
|
700
700
|
template: {
|
701
701
|
spec: {
|