renovate 41.13.1 → 41.15.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/dist/data/monorepo.json +3 -0
- package/dist/modules/datasource/unity3d/index.d.ts +1 -0
- package/dist/modules/datasource/unity3d/index.js +16 -10
- package/dist/modules/datasource/unity3d/index.js.map +1 -1
- package/dist/modules/datasource/unity3d/schema.d.ts +4 -0
- package/dist/modules/datasource/unity3d/schema.js +1 -0
- package/dist/modules/datasource/unity3d/schema.js.map +1 -1
- package/package.json +1 -1
package/dist/data/monorepo.json
CHANGED
@@ -324,6 +324,7 @@
|
|
324
324
|
"formatjs": "https://github.com/formatjs/formatjs",
|
325
325
|
"framework7": "https://github.com/framework7io/framework7",
|
326
326
|
"funogram": "https://github.com/Dolfik1/Funogram",
|
327
|
+
"fusioncache": "https://github.com/ZiggyCreatures/FusionCache",
|
327
328
|
"gatsby": "https://github.com/gatsbyjs/gatsby",
|
328
329
|
"gitbeaker": "https://github.com/jdalrymple/gitbeaker",
|
329
330
|
"github-workflows-kt": "https://github.com/typesafegithub/github-workflows-kt",
|
@@ -447,6 +448,7 @@
|
|
447
448
|
"https://github.com/vercel/next.js"
|
448
449
|
],
|
449
450
|
"nextra": "https://github.com/shuding/nextra",
|
451
|
+
"ngx-cookie-service": "https://github.com/stevermeister/ngx-cookie-service",
|
450
452
|
"ngx-formly": "https://github.com/ngx-formly/ngx-formly",
|
451
453
|
"ngxs-store": "https://github.com/ngxs/store",
|
452
454
|
"nivo": "https://github.com/plouc/nivo",
|
@@ -582,6 +584,7 @@
|
|
582
584
|
"swashbuckle-aspnetcore": "https://github.com/domaindrivendev/Swashbuckle.AspNetCore",
|
583
585
|
"system.io.abstractions": "https://github.com/System-IO-Abstractions/System.IO.Abstractions/",
|
584
586
|
"tailwindcss": "https://github.com/tailwindlabs/tailwindcss",
|
587
|
+
"taiga-ui": "https://github.com/taiga-family/taiga-ui",
|
585
588
|
"tamagui": "https://github.com/tamagui/tamagui",
|
586
589
|
"tanstack-form": "https://github.com/TanStack/form",
|
587
590
|
"tanstack-query": "https://github.com/TanStack/query",
|
@@ -5,6 +5,7 @@ export declare class Unity3dDatasource extends Datasource {
|
|
5
5
|
static readonly homepage = "https://unity.com/";
|
6
6
|
static readonly streams: Record<string, string>;
|
7
7
|
static readonly legacyStreams: Record<string, string>;
|
8
|
+
static readonly limit: number;
|
8
9
|
static readonly id = "unity3d";
|
9
10
|
readonly defaultRegistryUrls: string[];
|
10
11
|
readonly defaultVersioning = "unity3d";
|
@@ -21,6 +21,7 @@ class Unity3dDatasource extends datasource_1.Datasource {
|
|
21
21
|
stable: `${Unity3dDatasource.homepage}releases/editor/releases.xml`,
|
22
22
|
beta: `${Unity3dDatasource.homepage}releases/editor/beta/latest.xml`,
|
23
23
|
};
|
24
|
+
static limit = 25;
|
24
25
|
static id = 'unity3d';
|
25
26
|
defaultRegistryUrls = [Unity3dDatasource.streams.lts];
|
26
27
|
defaultVersioning = Unity3dVersioning.id;
|
@@ -42,21 +43,26 @@ class Unity3dDatasource extends datasource_1.Datasource {
|
|
42
43
|
}
|
43
44
|
async getByStream(registryUrl, withHash) {
|
44
45
|
const translatedRegistryUrl = this.translateStream(registryUrl);
|
45
|
-
const
|
46
|
+
const isStable = translatedRegistryUrl === Unity3dDatasource.streams.lts;
|
47
|
+
let total = null;
|
46
48
|
const result = {
|
47
49
|
releases: [],
|
48
50
|
homepage: Unity3dDatasource.homepage,
|
49
51
|
registryUrl: translatedRegistryUrl,
|
50
52
|
};
|
51
|
-
for (
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
:
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
53
|
+
for (let offset = 0; total === null || offset < total; offset += Unity3dDatasource.limit) {
|
54
|
+
const response = await this.http.getJson(`${translatedRegistryUrl}&limit=${Unity3dDatasource.limit}&offset=${offset}`, schema_1.UnityReleasesJSON);
|
55
|
+
for (const release of response.body.results) {
|
56
|
+
result.releases.push({
|
57
|
+
version: withHash
|
58
|
+
? `${release.version} (${release.shortRevision})`
|
59
|
+
: release.version,
|
60
|
+
releaseTimestamp: (0, timestamp_1.asTimestamp)(release.releaseDate),
|
61
|
+
changelogUrl: release.releaseNotes.url,
|
62
|
+
isStable,
|
63
|
+
});
|
64
|
+
}
|
65
|
+
total ??= response.body.total;
|
60
66
|
}
|
61
67
|
return result;
|
62
68
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/datasource/unity3d/index.ts"],"names":[],"mappings":";;;;AAAA,qEAA8D;AAC9D,uDAAsD;AACtD,oFAA8D;AAC9D,8CAA2C;AAE3C,qCAA6C;AAE7C,MAAa,iBAAkB,SAAQ,uBAAU;IAC/C,MAAM,CAAU,OAAO,GACrB,iEAAiE,CAAC;IACpE,MAAM,CAAU,QAAQ,GAAG,oBAAoB,CAAC;IAChD,MAAM,CAAU,OAAO,GAA2B;QAChD,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,aAAa;QAC9C,IAAI,EAAE,GAAG,iBAAiB,CAAC,OAAO,cAAc;QAChD,KAAK,EAAE,GAAG,iBAAiB,CAAC,OAAO,eAAe;QAClD,IAAI,EAAE,GAAG,iBAAiB,CAAC,OAAO,cAAc;KACjD,CAAC;IACF,MAAM,CAAU,aAAa,GAA2B;QACtD,GAAG,EAAE,GAAG,iBAAiB,CAAC,QAAQ,kCAAkC;QACpE,MAAM,EAAE,GAAG,iBAAiB,CAAC,QAAQ,8BAA8B;QACnE,IAAI,EAAE,GAAG,iBAAiB,CAAC,QAAQ,iCAAiC;KACrE,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/modules/datasource/unity3d/index.ts"],"names":[],"mappings":";;;;AAAA,qEAA8D;AAC9D,uDAAsD;AACtD,oFAA8D;AAC9D,8CAA2C;AAE3C,qCAA6C;AAE7C,MAAa,iBAAkB,SAAQ,uBAAU;IAC/C,M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CAAC,KAAK,CAAC;QAChC,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAOK,AAAN,KAAK,CAAC,WAAW,CAAC,EAChB,WAAW,EACX,WAAW,GACO;QAClB,OAAO,MAAM,IAAI,CAAC,WAAW,CAC3B,WAAW,EACX,WAAW,KAAK,6BAA6B,CAC9C,CAAC;IACJ,CAAC;;AA1GH,8CA2GC;AATO;IALL,IAAA,iBAAK,EAAC;QACL,SAAS,EAAE,cAAc,iBAAiB,CAAC,EAAE,EAAE;QAC/C,GAAG,EAAE,CAAC,EAAE,WAAW,EAAE,WAAW,EAAqB,EAAE,EAAE,CACvD,GAAG,WAAW,IAAI,WAAW,EAAE;KAClC,CAAC;oDASD","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 static readonly limit: number = 25;\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 isStable: boolean =\n translatedRegistryUrl === Unity3dDatasource.streams.lts;\n\n let total: number | null = null;\n\n const result: ReleaseResult = {\n releases: [],\n homepage: Unity3dDatasource.homepage,\n registryUrl: translatedRegistryUrl,\n };\n\n for (\n let offset = 0;\n total === null || offset < total;\n offset += Unity3dDatasource.limit\n ) {\n const response = await this.http.getJson(\n `${translatedRegistryUrl}&limit=${Unity3dDatasource.limit}&offset=${offset}`,\n UnityReleasesJSON,\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,\n });\n }\n\n total ??= response.body.total;\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"]}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { z } from 'zod';
|
2
2
|
export declare const UnityReleasesJSON: z.ZodObject<{
|
3
|
+
total: z.ZodNumber;
|
3
4
|
results: z.ZodArray<z.ZodObject<{
|
4
5
|
version: z.ZodString;
|
5
6
|
releaseDate: z.ZodString;
|
@@ -35,6 +36,7 @@ export declare const UnityReleasesJSON: z.ZodObject<{
|
|
35
36
|
releaseDate: string;
|
36
37
|
shortRevision: string;
|
37
38
|
}[];
|
39
|
+
total: number;
|
38
40
|
}, {
|
39
41
|
results: {
|
40
42
|
version: string;
|
@@ -44,4 +46,6 @@ export declare const UnityReleasesJSON: z.ZodObject<{
|
|
44
46
|
releaseDate: string;
|
45
47
|
shortRevision: string;
|
46
48
|
}[];
|
49
|
+
total: number;
|
47
50
|
}>;
|
51
|
+
export type UnityReleasesJSON = z.infer<typeof UnityReleasesJSON>;
|
@@ -1 +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"]}
|
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,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,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 total: z.number(),\n results: UnityRelease.array(),\n});\nexport type UnityReleasesJSON = z.infer<typeof UnityReleasesJSON>;\n"]}
|