renovate 44.8.0 → 44.8.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.
|
@@ -23,40 +23,61 @@ declare const NpmResponseVersion: z.ZodObject<{
|
|
|
23
23
|
}, z.core.$strip>>;
|
|
24
24
|
}, z.core.$strip>;
|
|
25
25
|
type NpmResponseVersion = z.infer<typeof NpmResponseVersion>;
|
|
26
|
-
declare const CachedPackument: z.
|
|
27
|
-
versions
|
|
28
|
-
repository
|
|
26
|
+
declare const CachedPackument: z.ZodType<{
|
|
27
|
+
versions?: Record<string, {
|
|
28
|
+
repository?: string | {
|
|
29
29
|
url?: string | undefined;
|
|
30
30
|
directory?: string | undefined;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}, z.core.$strip>>;
|
|
48
|
-
}, z.core.$strip>>>;
|
|
49
|
-
repository: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodType<{
|
|
31
|
+
} | undefined;
|
|
32
|
+
homepage?: string | undefined;
|
|
33
|
+
deprecated?: string | boolean | undefined;
|
|
34
|
+
gitHead?: string | undefined;
|
|
35
|
+
dependencies?: Record<string, string> | undefined;
|
|
36
|
+
devDependencies?: Record<string, string> | undefined;
|
|
37
|
+
engines?: {
|
|
38
|
+
node?: string | undefined;
|
|
39
|
+
} | undefined;
|
|
40
|
+
dist?: {
|
|
41
|
+
attestations?: {
|
|
42
|
+
url?: string | undefined;
|
|
43
|
+
} | undefined;
|
|
44
|
+
} | undefined;
|
|
45
|
+
}> | undefined;
|
|
46
|
+
repository?: string | {
|
|
50
47
|
url?: string | undefined;
|
|
51
48
|
directory?: string | undefined;
|
|
52
|
-
}
|
|
49
|
+
} | undefined;
|
|
50
|
+
homepage?: string | undefined;
|
|
51
|
+
time?: Record<string, string> | undefined;
|
|
52
|
+
'dist-tags'?: Record<string, string> | undefined;
|
|
53
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
54
|
+
versions?: Record<string, {
|
|
55
|
+
repository?: string | {
|
|
56
|
+
url?: string | undefined;
|
|
57
|
+
directory?: string | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
homepage?: string | undefined;
|
|
60
|
+
deprecated?: string | boolean | undefined;
|
|
61
|
+
gitHead?: string | undefined;
|
|
62
|
+
dependencies?: Record<string, string> | undefined;
|
|
63
|
+
devDependencies?: Record<string, string> | undefined;
|
|
64
|
+
engines?: {
|
|
65
|
+
node?: string | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
dist?: {
|
|
68
|
+
attestations?: {
|
|
69
|
+
url?: string | undefined;
|
|
70
|
+
} | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
}> | undefined;
|
|
73
|
+
repository?: string | {
|
|
53
74
|
url?: string | undefined;
|
|
54
75
|
directory?: string | undefined;
|
|
55
|
-
}
|
|
56
|
-
homepage
|
|
57
|
-
time
|
|
58
|
-
'dist-tags'
|
|
59
|
-
},
|
|
76
|
+
} | undefined;
|
|
77
|
+
homepage?: string | undefined;
|
|
78
|
+
time?: Record<string, string> | undefined;
|
|
79
|
+
'dist-tags'?: Record<string, string> | undefined;
|
|
80
|
+
}, unknown>>;
|
|
60
81
|
declare const NpmResponse: z.ZodObject<{
|
|
61
82
|
_id: z.ZodOptional<z.ZodString>;
|
|
62
83
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -18,13 +18,13 @@ const NpmResponseVersion = z.object({
|
|
|
18
18
|
engines: z.object({ node: z.string().optional() }).optional().catch(void 0),
|
|
19
19
|
dist: Distribution.optional()
|
|
20
20
|
});
|
|
21
|
-
const CachedPackument = z.object({
|
|
21
|
+
const CachedPackument = DeepNullish(z.object({
|
|
22
22
|
versions: z.record(z.string(), NpmResponseVersion).optional(),
|
|
23
23
|
repository: Repository.optional(),
|
|
24
24
|
homepage: z.string().optional(),
|
|
25
25
|
time: LooseRecord(z.string()).optional(),
|
|
26
26
|
"dist-tags": z.record(z.string(), z.string()).optional()
|
|
27
|
-
});
|
|
27
|
+
}));
|
|
28
28
|
/**
|
|
29
29
|
* Full NpmResponse schema — used when fetching from the npm registry.
|
|
30
30
|
* Lenient: only validates fields Renovate actually reads.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","names":[],"sources":["../../../../lib/modules/datasource/npm/schema.ts"],"sourcesContent":["import { z } from 'zod/v4';\nimport { DeepNullish, LooseRecord } from '../../../util/schema-utils/index.ts';\n\nconst Repository = z.union([\n z.string(),\n DeepNullish(\n z.object({\n url: z.string().optional(),\n directory: z.string().optional(),\n }),\n ),\n]);\n\nconst RepositoryNpmResponse = z\n .unknown()\n .transform((val) => (Array.isArray(val) ? val[0] : val))\n .pipe(Repository);\n\nconst Attestations = z.object({\n url: z.string().optional(),\n});\n\nconst Distribution = z.object({\n attestations: Attestations.optional(),\n});\n\nexport const NpmResponseVersion = z.object({\n repository: RepositoryNpmResponse.optional(),\n homepage: z.string().optional().catch(undefined),\n deprecated: z.union([z.string(), z.boolean()]).optional(),\n gitHead: z.string().optional(),\n // `LooseRecord` drops non-string entries i.e. pre-1.0 npm's nested a full dependency tree under `devDependencies`\n // (e.g. `{ \"foo\": { \"version\": \"1.0.0\" } }`) instead of a version string.\n dependencies: LooseRecord(z.string()).optional(),\n devDependencies: LooseRecord(z.string()).optional(),\n engines: z\n .object({ node: z.string().optional() })\n .optional()\n .catch(undefined),\n dist: Distribution.optional(),\n});\nexport type NpmResponseVersion = z.infer<typeof NpmResponseVersion>;\n\nexport const CachedPackument = z.object({\n
|
|
1
|
+
{"version":3,"file":"schema.js","names":[],"sources":["../../../../lib/modules/datasource/npm/schema.ts"],"sourcesContent":["import { z } from 'zod/v4';\nimport { DeepNullish, LooseRecord } from '../../../util/schema-utils/index.ts';\n\nconst Repository = z.union([\n z.string(),\n DeepNullish(\n z.object({\n url: z.string().optional(),\n directory: z.string().optional(),\n }),\n ),\n]);\n\nconst RepositoryNpmResponse = z\n .unknown()\n .transform((val) => (Array.isArray(val) ? val[0] : val))\n .pipe(Repository);\n\nconst Attestations = z.object({\n url: z.string().optional(),\n});\n\nconst Distribution = z.object({\n attestations: Attestations.optional(),\n});\n\nexport const NpmResponseVersion = z.object({\n repository: RepositoryNpmResponse.optional(),\n homepage: z.string().optional().catch(undefined),\n deprecated: z.union([z.string(), z.boolean()]).optional(),\n gitHead: z.string().optional(),\n // `LooseRecord` drops non-string entries i.e. pre-1.0 npm's nested a full dependency tree under `devDependencies`\n // (e.g. `{ \"foo\": { \"version\": \"1.0.0\" } }`) instead of a version string.\n dependencies: LooseRecord(z.string()).optional(),\n devDependencies: LooseRecord(z.string()).optional(),\n engines: z\n .object({ node: z.string().optional() })\n .optional()\n .catch(undefined),\n dist: Distribution.optional(),\n});\nexport type NpmResponseVersion = z.infer<typeof NpmResponseVersion>;\n\nexport const CachedPackument = DeepNullish(\n z.object({\n versions: z.record(z.string(), NpmResponseVersion).optional(),\n repository: Repository.optional(),\n homepage: z.string().optional(),\n // `LooseRecord` drops non-string entries (e.g. Artifactory's\n // `\"unpublished\": null`) instead of invalidating the whole packument.\n time: LooseRecord(z.string()).optional(),\n 'dist-tags': z.record(z.string(), z.string()).optional(),\n }),\n);\n\n/**\n * Full NpmResponse schema — used when fetching from the npm registry.\n * Lenient: only validates fields Renovate actually reads.\n * Uses loose() on the version objects to preserve extra fields\n * (e.g. 'renovate-config' used by config/presets/npm/index.ts).\n */\nconst NpmResponseVersionLoose = NpmResponseVersion.loose();\n\nexport const NpmResponse = z.object({\n _id: z.string().optional(),\n name: z.string().optional(),\n versions: z.record(z.string(), NpmResponseVersionLoose).optional(),\n repository: RepositoryNpmResponse.optional(),\n homepage: z.string().optional(),\n time: LooseRecord(z.string()).optional(),\n 'dist-tags': z.record(z.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C,SAAS;CAG9B,MAAM,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS;CACvC,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS;AACzD,CAAC,CACH;;;;;;;AAQA,MAAM,0BAA0B,mBAAmB,MAAM;AAEzD,MAAa,cAAc,EAAE,OAAO;CAClC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS;CACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAY,sBAAsB,SAAS;CAC3C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS;CAC9B,MAAM,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS;CACvC,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS;AACzD,CAAC"}
|
package/package.json
CHANGED
package/renovate-schema.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "https://docs.renovatebot.com/renovate-schema.json",
|
|
3
|
-
"title": "JSON schema for Renovate 44.8.
|
|
3
|
+
"title": "JSON schema for Renovate 44.8.1 config files (https://renovatebot.com/)",
|
|
4
4
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
-
"x-renovate-version": "44.8.
|
|
5
|
+
"x-renovate-version": "44.8.1",
|
|
6
6
|
"allowComments": true,
|
|
7
7
|
"type": "object",
|
|
8
8
|
"definitions": {
|