renovate 40.11.18 → 40.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.
@@ -475,6 +475,7 @@
475
475
  "panda-css": "https://github.com/chakra-ui/panda",
476
476
  "parcel": "https://github.com/parcel-bundler/parcel",
477
477
  "payloadcms": "https://github.com/payloadcms/payload",
478
+ "pdfme": "https://github.com/pdfme/pdfme",
478
479
  "percy-cli": "https://github.com/percy/cli",
479
480
  "picassojs": "https://github.com/qlik-oss/picasso.js",
480
481
  "pixijs": [
@@ -130,33 +130,14 @@ export declare const OciImageIndexManifest: z.ZodObject<{
130
130
  schemaVersion: z.ZodLiteral<2>;
131
131
  } & {
132
132
  mediaType: z.ZodLiteral<"application/vnd.oci.image.index.v1+json">;
133
- manifests: z.ZodArray<z.ZodObject<{
134
- digest: z.ZodString;
135
- size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
136
- } & {
137
- mediaType: z.ZodEnum<["application/vnd.oci.image.manifest.v1+json", "application/vnd.oci.image.index.v1+json"]>;
138
- platform: z.ZodOptional<z.ZodNullable<z.ZodObject<{
139
- architecture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
140
- }, "strip", z.ZodTypeAny, {
141
- architecture?: string | null | undefined;
142
- }, {
143
- architecture?: string | null | undefined;
144
- }>>>;
145
- }, "strip", z.ZodTypeAny, {
133
+ manifests: z.ZodEffects<z.ZodArray<z.ZodAny, "many">, {
146
134
  digest: string;
147
135
  mediaType: "application/vnd.oci.image.manifest.v1+json" | "application/vnd.oci.image.index.v1+json";
148
136
  platform?: {
149
137
  architecture?: string | null | undefined;
150
138
  } | null | undefined;
151
139
  size?: number | null | undefined;
152
- }, {
153
- digest: string;
154
- mediaType: "application/vnd.oci.image.manifest.v1+json" | "application/vnd.oci.image.index.v1+json";
155
- platform?: {
156
- architecture?: string | null | undefined;
157
- } | null | undefined;
158
- size?: number | null | undefined;
159
- }>, "many">;
140
+ }[], any[]>;
160
141
  annotations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
161
142
  }, "strip", z.ZodTypeAny, {
162
143
  schemaVersion: 2;
@@ -173,14 +154,7 @@ export declare const OciImageIndexManifest: z.ZodObject<{
173
154
  }, {
174
155
  schemaVersion: 2;
175
156
  mediaType: "application/vnd.oci.image.index.v1+json";
176
- manifests: {
177
- digest: string;
178
- mediaType: "application/vnd.oci.image.manifest.v1+json" | "application/vnd.oci.image.index.v1+json";
179
- platform?: {
180
- architecture?: string | null | undefined;
181
- } | null | undefined;
182
- size?: number | null | undefined;
183
- }[];
157
+ manifests: any[];
184
158
  annotations?: Record<string, string> | null | undefined;
185
159
  }>;
186
160
  /**
@@ -424,33 +398,14 @@ export declare const Manifest: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
424
398
  schemaVersion: z.ZodLiteral<2>;
425
399
  } & {
426
400
  mediaType: z.ZodLiteral<"application/vnd.oci.image.index.v1+json">;
427
- manifests: z.ZodArray<z.ZodObject<{
428
- digest: z.ZodString;
429
- size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
430
- } & {
431
- mediaType: z.ZodEnum<["application/vnd.oci.image.manifest.v1+json", "application/vnd.oci.image.index.v1+json"]>;
432
- platform: z.ZodOptional<z.ZodNullable<z.ZodObject<{
433
- architecture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
434
- }, "strip", z.ZodTypeAny, {
435
- architecture?: string | null | undefined;
436
- }, {
437
- architecture?: string | null | undefined;
438
- }>>>;
439
- }, "strip", z.ZodTypeAny, {
401
+ manifests: z.ZodEffects<z.ZodArray<z.ZodAny, "many">, {
440
402
  digest: string;
441
403
  mediaType: "application/vnd.oci.image.manifest.v1+json" | "application/vnd.oci.image.index.v1+json";
442
404
  platform?: {
443
405
  architecture?: string | null | undefined;
444
406
  } | null | undefined;
445
407
  size?: number | null | undefined;
446
- }, {
447
- digest: string;
448
- mediaType: "application/vnd.oci.image.manifest.v1+json" | "application/vnd.oci.image.index.v1+json";
449
- platform?: {
450
- architecture?: string | null | undefined;
451
- } | null | undefined;
452
- size?: number | null | undefined;
453
- }>, "many">;
408
+ }[], any[]>;
454
409
  annotations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
455
410
  }, "strip", z.ZodTypeAny, {
456
411
  schemaVersion: 2;
@@ -467,14 +422,7 @@ export declare const Manifest: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
467
422
  }, {
468
423
  schemaVersion: 2;
469
424
  mediaType: "application/vnd.oci.image.index.v1+json";
470
- manifests: {
471
- digest: string;
472
- mediaType: "application/vnd.oci.image.manifest.v1+json" | "application/vnd.oci.image.index.v1+json";
473
- platform?: {
474
- architecture?: string | null | undefined;
475
- } | null | undefined;
476
- size?: number | null | undefined;
477
- }[];
425
+ manifests: any[];
478
426
  annotations?: Record<string, string> | null | undefined;
479
427
  }>]>>;
480
428
  export type Manifest = z.infer<typeof Manifest>;
@@ -621,33 +569,14 @@ export declare const ManifestJson: z.ZodPipeline<z.ZodEffects<z.ZodString, strin
621
569
  schemaVersion: z.ZodLiteral<2>;
622
570
  } & {
623
571
  mediaType: z.ZodLiteral<"application/vnd.oci.image.index.v1+json">;
624
- manifests: z.ZodArray<z.ZodObject<{
625
- digest: z.ZodString;
626
- size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
627
- } & {
628
- mediaType: z.ZodEnum<["application/vnd.oci.image.manifest.v1+json", "application/vnd.oci.image.index.v1+json"]>;
629
- platform: z.ZodOptional<z.ZodNullable<z.ZodObject<{
630
- architecture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
631
- }, "strip", z.ZodTypeAny, {
632
- architecture?: string | null | undefined;
633
- }, {
634
- architecture?: string | null | undefined;
635
- }>>>;
636
- }, "strip", z.ZodTypeAny, {
637
- digest: string;
638
- mediaType: "application/vnd.oci.image.manifest.v1+json" | "application/vnd.oci.image.index.v1+json";
639
- platform?: {
640
- architecture?: string | null | undefined;
641
- } | null | undefined;
642
- size?: number | null | undefined;
643
- }, {
572
+ manifests: z.ZodEffects<z.ZodArray<z.ZodAny, "many">, {
644
573
  digest: string;
645
574
  mediaType: "application/vnd.oci.image.manifest.v1+json" | "application/vnd.oci.image.index.v1+json";
646
575
  platform?: {
647
576
  architecture?: string | null | undefined;
648
577
  } | null | undefined;
649
578
  size?: number | null | undefined;
650
- }>, "many">;
579
+ }[], any[]>;
651
580
  annotations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
652
581
  }, "strip", z.ZodTypeAny, {
653
582
  schemaVersion: 2;
@@ -664,14 +593,7 @@ export declare const ManifestJson: z.ZodPipeline<z.ZodEffects<z.ZodString, strin
664
593
  }, {
665
594
  schemaVersion: 2;
666
595
  mediaType: "application/vnd.oci.image.index.v1+json";
667
- manifests: {
668
- digest: string;
669
- mediaType: "application/vnd.oci.image.manifest.v1+json" | "application/vnd.oci.image.index.v1+json";
670
- platform?: {
671
- architecture?: string | null | undefined;
672
- } | null | undefined;
673
- size?: number | null | undefined;
674
- }[];
596
+ manifests: any[];
675
597
  annotations?: Record<string, string> | null | undefined;
676
598
  }>]>>>;
677
599
  export declare const DockerHubTag: z.ZodObject<{
@@ -76,7 +76,7 @@ exports.OciImageManifest = exports.ManifestObject.extend({
76
76
  */
77
77
  exports.OciImageIndexManifest = exports.ManifestObject.extend({
78
78
  mediaType: zod_1.z.literal('application/vnd.oci.image.index.v1+json'),
79
- manifests: zod_1.z.array(exports.Descriptor.extend({
79
+ manifests: (0, schema_utils_1.LooseArray)(exports.Descriptor.extend({
80
80
  mediaType: zod_1.z.enum([
81
81
  'application/vnd.oci.image.manifest.v1+json',
82
82
  'application/vnd.oci.image.index.v1+json',
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../lib/modules/datasource/docker/schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAAyC;AACzC,6DAA8D;AAE9D,gBAAgB;AAEhB;;GAEG;AAC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C,QAAQ,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;IAC7D,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;CAC1C,CAAC,CAAC;AAGU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;IACvC,OAAO,EAAE,IAAA,yBAAU,EAAC,oBAAY,EAAE;QAChC,wCAAwC;QACxC,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;YACrB,eAAM,CAAC,KAAK,CACV,EAAE,KAAK,EAAE,EACT,mDAAmD,CACpD,CAAC;QACJ,CAAC;KACF,CAAC;CACH,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { logger } from '../../../logger';\nimport { Json, LooseArray } from '../../../util/schema-utils';\n\n// OCI manifests\n\n/**\n * OCI manifest object\n */\nexport const ManifestObject = z.object({\n schemaVersion: z.literal(2),\n mediaType: z.string().nullish(),\n});\n\n/**\n * Oci descriptor\n * https://github.com/opencontainers/image-spec/blob/main/descriptor.md\n */\nexport const Descriptor = z.object({\n mediaType: z.string(),\n digest: z.string(),\n size: z.number().int().gte(0).nullish(),\n});\n/**\n * OCI platform properties\n * https://github.com/opencontainers/image-spec/blob/main/image-index.md\n */\nconst OciPlatform = z\n .object({\n architecture: z.string().nullish(),\n })\n .nullish();\n\n/**\n * OCI Image Configuration.\n *\n * Compatible with old docker configiguration.\n * https://github.com/opencontainers/image-spec/blob/main/config.md\n */\nexport const OciImageConfig = z.object({\n // This is required by the spec, but probably not present in the wild.\n architecture: z.string().nullish(),\n config: z.object({ Labels: z.record(z.string()).nullish() }).nullish(),\n});\nexport type OciImageConfig = z.infer<typeof OciImageConfig>;\n\n/**\n * OCI Helm Configuration\n * https://helm.sh/docs/topics/charts/#the-chartyaml-file\n */\nexport const OciHelmConfig = z.object({\n name: z.string(),\n version: z.string(),\n home: z.string().nullish(),\n sources: z.array(z.string()).nullish(),\n});\nexport type OciHelmConfig = z.infer<typeof OciHelmConfig>;\n\n/**\n * OCI Image Manifest\n * The same structure as docker image manifest, but mediaType is not required and is not present in the wild.\n * https://github.com/opencontainers/image-spec/blob/main/manifest.md\n */\nexport const OciImageManifest = ManifestObject.extend({\n mediaType: z.literal('application/vnd.oci.image.manifest.v1+json'),\n config: Descriptor.extend({\n mediaType: z.enum([\n 'application/vnd.oci.image.config.v1+json',\n 'application/vnd.cncf.helm.config.v1+json',\n 'application/vnd.devcontainers',\n 'application/vnd.oci.empty.v1+json',\n 'application/vnd.cncf.flux.config.v1+json',\n ]),\n }),\n annotations: z.record(z.string()).nullish(),\n});\nexport type OciImageManifest = z.infer<typeof OciImageManifest>;\n\n/**\n * OCI Image List\n * mediaType is not required.\n * https://github.com/opencontainers/image-spec/blob/main/image-index.md\n */\nexport const OciImageIndexManifest = ManifestObject.extend({\n mediaType: z.literal('application/vnd.oci.image.index.v1+json'),\n manifests: z.array(\n Descriptor.extend({\n mediaType: z.enum([\n 'application/vnd.oci.image.manifest.v1+json',\n 'application/vnd.oci.image.index.v1+json',\n ]),\n platform: OciPlatform,\n }),\n ),\n annotations: z.record(z.string()).nullish(),\n});\n\n// Old Docker manifests\n\n/**\n * Image Manifest\n * https://docs.docker.com/registry/spec/manifest-v2-2/#image-manifest\n */\nexport const DistributionManifest = ManifestObject.extend({\n mediaType: z.literal('application/vnd.docker.distribution.manifest.v2+json'),\n config: Descriptor.extend({\n mediaType: z.literal('application/vnd.docker.container.image.v1+json'),\n }),\n});\nexport type DistributionManifest = z.infer<typeof DistributionManifest>;\n\n/**\n * Manifest List\n * https://docs.docker.com/registry/spec/manifest-v2-2/#manifest-list\n */\nexport const DistributionListManifest = ManifestObject.extend({\n mediaType: z.literal(\n 'application/vnd.docker.distribution.manifest.list.v2+json',\n ),\n manifests: z.array(\n Descriptor.extend({\n mediaType: z.literal(\n 'application/vnd.docker.distribution.manifest.v2+json',\n ),\n platform: OciPlatform,\n }),\n ),\n});\n\n// Combined manifests\nexport const Manifest = ManifestObject.passthrough()\n .transform((value, ctx) => {\n if (value.mediaType === undefined) {\n if ('config' in value) {\n value.mediaType = 'application/vnd.oci.image.manifest.v1+json';\n } else if ('manifests' in value) {\n value.mediaType = 'application/vnd.oci.image.index.v1+json';\n } else {\n ctx.addIssue({\n code: 'custom',\n message: 'Invalid manifest, missing mediaType.',\n });\n return z.NEVER;\n }\n }\n return value;\n })\n .pipe(\n z.discriminatedUnion('mediaType', [\n DistributionManifest,\n DistributionListManifest,\n OciImageManifest,\n OciImageIndexManifest,\n ]),\n );\n\nexport type Manifest = z.infer<typeof Manifest>;\nexport const ManifestJson = Json.pipe(Manifest);\n\nexport const DockerHubTag = z.object({\n id: z.number(),\n last_updated: z.string().datetime(),\n name: z.string(),\n tag_last_pushed: z.string().datetime().nullable().catch(null),\n digest: z.string().nullable().catch(null),\n});\nexport type DockerHubTag = z.infer<typeof DockerHubTag>;\n\nexport const DockerHubTagsPage = z.object({\n count: z.number(),\n next: z.string().nullable().catch(null),\n results: LooseArray(DockerHubTag, {\n /* v8 ignore next 6 -- TODO: add test */\n onError: ({ error }) => {\n logger.debug(\n { error },\n 'Docker: Failed to parse some tags from Docker Hub',\n );\n },\n }),\n});\n"]}
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../lib/modules/datasource/docker/schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAAyC;AACzC,6DAA8D;AAE9D,gBAAgB;AAEhB;;GAEG;AACU,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,aAAa,EAAE,OAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;CAChC,CAAC,CAAC;AAEH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C,CAAC,MAAM,CAAC;IACxC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;IACvC,OAAO,EAAE,IAAA,yBAAU,EAAC,oBAAY,EAAE;QAChC,wCAAwC;QACxC,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;YACrB,eAAM,CAAC,KAAK,CACV,EAAE,KAAK,EAAE,EACT,mDAAmD,CACpD,CAAC;QACJ,CAAC;KACF,CAAC;CACH,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { logger } from '../../../logger';\nimport { Json, LooseArray } from '../../../util/schema-utils';\n\n// OCI manifests\n\n/**\n * OCI manifest object\n */\nexport const ManifestObject = z.object({\n schemaVersion: z.literal(2),\n mediaType: z.string().nullish(),\n});\n\n/**\n * Oci descriptor\n * https://github.com/opencontainers/image-spec/blob/main/descriptor.md\n */\nexport const Descriptor = z.object({\n mediaType: z.string(),\n digest: z.string(),\n size: z.number().int().gte(0).nullish(),\n});\n/**\n * OCI platform properties\n * https://github.com/opencontainers/image-spec/blob/main/image-index.md\n */\nconst OciPlatform = z\n .object({\n architecture: z.string().nullish(),\n })\n .nullish();\n\n/**\n * OCI Image Configuration.\n *\n * Compatible with old docker configiguration.\n * https://github.com/opencontainers/image-spec/blob/main/config.md\n */\nexport const OciImageConfig = z.object({\n // This is required by the spec, but probably not present in the wild.\n architecture: z.string().nullish(),\n config: z.object({ Labels: z.record(z.string()).nullish() }).nullish(),\n});\nexport type OciImageConfig = z.infer<typeof OciImageConfig>;\n\n/**\n * OCI Helm Configuration\n * https://helm.sh/docs/topics/charts/#the-chartyaml-file\n */\nexport const OciHelmConfig = z.object({\n name: z.string(),\n version: z.string(),\n home: z.string().nullish(),\n sources: z.array(z.string()).nullish(),\n});\nexport type OciHelmConfig = z.infer<typeof OciHelmConfig>;\n\n/**\n * OCI Image Manifest\n * The same structure as docker image manifest, but mediaType is not required and is not present in the wild.\n * https://github.com/opencontainers/image-spec/blob/main/manifest.md\n */\nexport const OciImageManifest = ManifestObject.extend({\n mediaType: z.literal('application/vnd.oci.image.manifest.v1+json'),\n config: Descriptor.extend({\n mediaType: z.enum([\n 'application/vnd.oci.image.config.v1+json',\n 'application/vnd.cncf.helm.config.v1+json',\n 'application/vnd.devcontainers',\n 'application/vnd.oci.empty.v1+json',\n 'application/vnd.cncf.flux.config.v1+json',\n ]),\n }),\n annotations: z.record(z.string()).nullish(),\n});\nexport type OciImageManifest = z.infer<typeof OciImageManifest>;\n\n/**\n * OCI Image List\n * mediaType is not required.\n * https://github.com/opencontainers/image-spec/blob/main/image-index.md\n */\nexport const OciImageIndexManifest = ManifestObject.extend({\n mediaType: z.literal('application/vnd.oci.image.index.v1+json'),\n manifests: LooseArray(\n Descriptor.extend({\n mediaType: z.enum([\n 'application/vnd.oci.image.manifest.v1+json',\n 'application/vnd.oci.image.index.v1+json',\n ]),\n platform: OciPlatform,\n }),\n ),\n annotations: z.record(z.string()).nullish(),\n});\n\n// Old Docker manifests\n\n/**\n * Image Manifest\n * https://docs.docker.com/registry/spec/manifest-v2-2/#image-manifest\n */\nexport const DistributionManifest = ManifestObject.extend({\n mediaType: z.literal('application/vnd.docker.distribution.manifest.v2+json'),\n config: Descriptor.extend({\n mediaType: z.literal('application/vnd.docker.container.image.v1+json'),\n }),\n});\nexport type DistributionManifest = z.infer<typeof DistributionManifest>;\n\n/**\n * Manifest List\n * https://docs.docker.com/registry/spec/manifest-v2-2/#manifest-list\n */\nexport const DistributionListManifest = ManifestObject.extend({\n mediaType: z.literal(\n 'application/vnd.docker.distribution.manifest.list.v2+json',\n ),\n manifests: z.array(\n Descriptor.extend({\n mediaType: z.literal(\n 'application/vnd.docker.distribution.manifest.v2+json',\n ),\n platform: OciPlatform,\n }),\n ),\n});\n\n// Combined manifests\nexport const Manifest = ManifestObject.passthrough()\n .transform((value, ctx) => {\n if (value.mediaType === undefined) {\n if ('config' in value) {\n value.mediaType = 'application/vnd.oci.image.manifest.v1+json';\n } else if ('manifests' in value) {\n value.mediaType = 'application/vnd.oci.image.index.v1+json';\n } else {\n ctx.addIssue({\n code: 'custom',\n message: 'Invalid manifest, missing mediaType.',\n });\n return z.NEVER;\n }\n }\n return value;\n })\n .pipe(\n z.discriminatedUnion('mediaType', [\n DistributionManifest,\n DistributionListManifest,\n OciImageManifest,\n OciImageIndexManifest,\n ]),\n );\n\nexport type Manifest = z.infer<typeof Manifest>;\nexport const ManifestJson = Json.pipe(Manifest);\n\nexport const DockerHubTag = z.object({\n id: z.number(),\n last_updated: z.string().datetime(),\n name: z.string(),\n tag_last_pushed: z.string().datetime().nullable().catch(null),\n digest: z.string().nullable().catch(null),\n});\nexport type DockerHubTag = z.infer<typeof DockerHubTag>;\n\nexport const DockerHubTagsPage = z.object({\n count: z.number(),\n next: z.string().nullable().catch(null),\n results: LooseArray(DockerHubTag, {\n /* v8 ignore next 6 -- TODO: add test */\n onError: ({ error }) => {\n logger.debug(\n { error },\n 'Docker: Failed to parse some tags from Docker Hub',\n );\n },\n }),\n});\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "renovate",
3
3
  "description": "Automated dependency updates. Flexible so you don't need to be.",
4
- "version": "40.11.18",
4
+ "version": "40.12.0",
5
5
  "type": "commonjs",
6
6
  "bin": {
7
7
  "renovate": "dist/renovate.js",
@@ -242,7 +242,7 @@
242
242
  "prettier": "3.5.3",
243
243
  "protobufjs": "7.5.0",
244
244
  "punycode": "2.3.1",
245
- "redis": "4.7.0",
245
+ "redis": "4.7.1",
246
246
  "remark": "13.0.0",
247
247
  "remark-github": "10.1.0",
248
248
  "safe-stable-stringify": "2.5.0",
@@ -303,7 +303,7 @@
303
303
  "@types/mdast": "3.0.15",
304
304
  "@types/moo": "0.5.10",
305
305
  "@types/ms": "2.1.0",
306
- "@types/node": "22.15.16",
306
+ "@types/node": "22.15.17",
307
307
  "@types/parse-link-header": "2.0.3",
308
308
  "@types/punycode": "2.1.4",
309
309
  "@types/semver": "7.7.0",