From 2eca39ad903136f76f3600167bb3dd7bc9bab1bc Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 8 Jan 2025 19:11:29 +0000
Subject: [PATCH 001/247] chore(deps): update dependency memfs to v4.15.3
(#33482)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
pnpm-lock.yaml | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package.json b/package.json
index 33f3dd4566e2e8..cd3329c1cfab47 100644
--- a/package.json
+++ b/package.json
@@ -336,7 +336,7 @@
"jest-mock-extended": "3.0.7",
"jest-snapshot": "29.7.0",
"markdownlint-cli2": "0.17.1",
- "memfs": "4.15.2",
+ "memfs": "4.15.3",
"nock": "13.5.6",
"npm-run-all2": "7.0.2",
"nyc": "17.1.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 34e9ccf661095a..5093e0b950c499 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -581,8 +581,8 @@ importers:
specifier: 0.17.1
version: 0.17.1
memfs:
- specifier: 4.15.2
- version: 4.15.2
+ specifier: 4.15.3
+ version: 4.15.3
nock:
specifier: 13.5.6
version: 13.5.6
@@ -4555,8 +4555,8 @@ packages:
mdurl@2.0.0:
resolution: {integrity: sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==}
- memfs@4.15.2:
- resolution: {integrity: sha512-n8/qP8AT6CtY6kxCPYgYVusT5rS6axaT66dD3tYi2lm+l1iMH7YYpmW8H/qL5bfV4YvInCCgUDAWIRvrNS7kbQ==}
+ memfs@4.15.3:
+ resolution: {integrity: sha512-vR/g1SgqvKJgAyYla+06G4p/EOcEmwhYuVb1yc1ixcKf8o/sh7Zngv63957ZSNd1xrZJoinmNyDf2LzuP8WJXw==}
engines: {node: '>= 4.0.0'}
memorystream@0.3.1:
@@ -11769,7 +11769,7 @@ snapshots:
mdurl@2.0.0: {}
- memfs@4.15.2:
+ memfs@4.15.3:
dependencies:
'@jsonjoy.com/json-pack': 1.1.1(tslib@2.8.1)
'@jsonjoy.com/util': 1.5.0(tslib@2.8.1)
From adede1d3098653a6c89b3f20ad389f5303d6fef9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 8 Jan 2025 19:16:59 +0000
Subject: [PATCH 002/247] chore(deps): update
otel/opentelemetry-collector-contrib docker tag to v0.117.0 (#33483)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
docs/usage/examples/opentelemetry.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/usage/examples/opentelemetry.md b/docs/usage/examples/opentelemetry.md
index ebbc5bea1a353b..504a7e0ef92e90 100644
--- a/docs/usage/examples/opentelemetry.md
+++ b/docs/usage/examples/opentelemetry.md
@@ -36,7 +36,7 @@ services:
otel-collector:
# Using the Contrib version to access the spanmetrics connector.
# If you don't need the spanmetrics connector, you can use the standard version
- image: otel/opentelemetry-collector-contrib:0.116.1
+ image: otel/opentelemetry-collector-contrib:0.117.0
volumes:
- ./otel-collector-config.yml:/etc/otelcol-contrib/config.yaml
ports:
From 6e8b70ed07a209aa5132c1c8268fc023985d4ff8 Mon Sep 17 00:00:00 2001
From: Johannes Feichtner <343448+Churro@users.noreply.github.com>
Date: Wed, 8 Jan 2025 23:14:44 +0100
Subject: [PATCH 003/247] fix(gradle): correct handling of heuristically
matched dependency triples (#33487)
---
lib/modules/manager/gradle/parser.spec.ts | 11 +++++++++++
lib/modules/manager/gradle/parser/handlers.ts | 18 +++++++++++++++++-
2 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/lib/modules/manager/gradle/parser.spec.ts b/lib/modules/manager/gradle/parser.spec.ts
index d234b041ed7504..cfc2e4f3152896 100644
--- a/lib/modules/manager/gradle/parser.spec.ts
+++ b/lib/modules/manager/gradle/parser.spec.ts
@@ -770,6 +770,17 @@ describe('modules/manager/gradle/parser', () => {
const { deps } = parseGradle(input);
expect(deps).toMatchObject([output].filter(is.truthy));
});
+
+ it('handles 3 independent dependencies mismatched as groupId, artifactId, version', () => {
+ const { deps } = parseGradle(
+ 'someConfig("foo:bar:1.2.3", "foo:baz:4.5.6", "foo:qux:7.8.9")',
+ );
+ expect(deps).toMatchObject([
+ { depName: 'foo:bar', currentValue: '1.2.3' },
+ { depName: 'foo:baz', currentValue: '4.5.6' },
+ { depName: 'foo:qux', currentValue: '7.8.9' },
+ ]);
+ });
});
describe('calculations', () => {
diff --git a/lib/modules/manager/gradle/parser/handlers.ts b/lib/modules/manager/gradle/parser/handlers.ts
index 229671b249eaed..4cb6fe719b1118 100644
--- a/lib/modules/manager/gradle/parser/handlers.ts
+++ b/lib/modules/manager/gradle/parser/handlers.ts
@@ -6,7 +6,7 @@ import { regEx } from '../../../../util/regex';
import type { PackageDependency } from '../../types';
import type { parseGradle as parseGradleCallback } from '../parser';
import type { Ctx, GradleManagerData } from '../types';
-import { parseDependencyString } from '../utils';
+import { isDependencyString, parseDependencyString } from '../utils';
import {
GRADLE_PLUGINS,
REGISTRY_URLS,
@@ -169,6 +169,22 @@ export function handleLongFormDep(ctx: Ctx): Ctx {
return ctx;
}
+ // Special handling: 3 independent dependencies mismatched as groupId, artifactId, version
+ if (
+ isDependencyString(groupId) &&
+ isDependencyString(artifactId) &&
+ isDependencyString(version)
+ ) {
+ ctx.tokenMap.templateStringTokens = groupIdTokens;
+ handleDepString(ctx);
+ ctx.tokenMap.templateStringTokens = artifactIdTokens;
+ handleDepString(ctx);
+ ctx.tokenMap.templateStringTokens = versionTokens;
+ handleDepString(ctx);
+
+ return ctx;
+ }
+
const dep = parseDependencyString([groupId, artifactId, version].join(':'));
if (!dep) {
return ctx;
From 6bb68782b866bc35c304781acc4db697b50d03ef Mon Sep 17 00:00:00 2001
From: Alessandro Vinciguerra <30745465+Arc676@users.noreply.github.com>
Date: Thu, 9 Jan 2025 08:21:56 +0100
Subject: [PATCH 004/247] feat: extract artifactory timestamps from columns
(#33187)
---
.../artifactory/__fixtures__/releases-as-files.html | 6 +++---
lib/modules/datasource/artifactory/index.ts | 5 ++++-
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/lib/modules/datasource/artifactory/__fixtures__/releases-as-files.html b/lib/modules/datasource/artifactory/__fixtures__/releases-as-files.html
index 2bdde583999c96..3d5bf59b799634 100644
--- a/lib/modules/datasource/artifactory/__fixtures__/releases-as-files.html
+++ b/lib/modules/datasource/artifactory/__fixtures__/releases-as-files.html
@@ -11,9 +11,9 @@
Index
..
1.0.0 21-Jul-2021 20:08 -
- 1.0.1 23-Aug-2021 20:03 -
- 1.0.2 21-Jul-2021 20:09 -
- 1.0.3 06-Feb-2021 09:54 -
+ 1.0.1 23-Aug-2021 20:03 12 MB
+ 1.0.2 21-Jul-2021 20:09 123.45 GB
+ 1.0.3 06-Feb-2021 09:54 9.0 KB
Artifactory Port 8080
diff --git a/lib/modules/datasource/artifactory/index.ts b/lib/modules/datasource/artifactory/index.ts
index e66ffb4ebaac59..77eff31975492b 100644
--- a/lib/modules/datasource/artifactory/index.ts
+++ b/lib/modules/datasource/artifactory/index.ts
@@ -114,6 +114,9 @@ export class ArtifactoryDatasource extends Datasource {
}
private static parseReleaseTimestamp(rawText: string): string {
- return rawText.trim().replace(regEx(/ ?-$/), '') + 'Z';
+ return (
+ rawText.split(regEx(/\s{2,}/)).filter((e) => !isNaN(Date.parse(e)))[0] +
+ 'Z'
+ );
}
}
From 6cf23f2bf18ca63d22f751e8ae6e9e77119ac66b Mon Sep 17 00:00:00 2001
From: Johannes Feichtner <343448+Churro@users.noreply.github.com>
Date: Thu, 9 Jan 2025 08:22:45 +0100
Subject: [PATCH 005/247] refactor(gradle): extract redundant functions and
remove snapshot (#33430)
---
.../gradle/__snapshots__/parser.spec.ts.snap | 103 ------------------
lib/modules/manager/gradle/parser.spec.ts | 101 ++++++++++++++++-
lib/modules/manager/gradle/parser/common.ts | 30 +++--
.../manager/gradle/parser/dependencies.ts | 15 +--
lib/modules/manager/gradle/parser/plugins.ts | 6 +-
.../manager/gradle/parser/registry-urls.ts | 45 ++++----
.../manager/gradle/parser/version-catalogs.ts | 10 +-
7 files changed, 150 insertions(+), 160 deletions(-)
delete mode 100644 lib/modules/manager/gradle/__snapshots__/parser.spec.ts.snap
diff --git a/lib/modules/manager/gradle/__snapshots__/parser.spec.ts.snap b/lib/modules/manager/gradle/__snapshots__/parser.spec.ts.snap
deleted file mode 100644
index 571951909582d3..00000000000000
--- a/lib/modules/manager/gradle/__snapshots__/parser.spec.ts.snap
+++ /dev/null
@@ -1,103 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`modules/manager/gradle/parser calculations parses fixture from "gradle" manager 1`] = `
-[
- {
- "currentValue": "1.5.2.RELEASE",
- "depName": "org.springframework.boot:spring-boot-gradle-plugin",
- "groupName": "springBootVersion",
- "managerData": {
- "fileReplacePosition": 53,
- "packageFile": "build.gradle",
- },
- },
- {
- "currentValue": "1.2.3",
- "depName": "com.github.jengelman.gradle.plugins:shadow",
- "managerData": {
- "fileReplacePosition": 417,
- "packageFile": "build.gradle",
- },
- },
- {
- "currentValue": "0.1",
- "depName": "com.fkorotkov:gradle-libraries-plugin",
- "managerData": {
- "fileReplacePosition": 481,
- "packageFile": "build.gradle",
- },
- },
- {
- "currentValue": "0.2.3",
- "depName": "gradle.plugin.se.patrikerdes:gradle-use-latest-versions-plugin",
- "managerData": {
- "fileReplacePosition": 568,
- "packageFile": "build.gradle",
- },
- },
- {
- "currentValue": "3.1.1",
- "depName": "org.apache.openjpa:openjpa",
- "managerData": {
- "fileReplacePosition": 621,
- "packageFile": "build.gradle",
- },
- },
- {
- "currentValue": "0.13.0",
- "depName": "com.gradle.publish:plugin-publish-plugin",
- "managerData": {
- "fileReplacePosition": 688,
- "packageFile": "build.gradle",
- },
- },
- {
- "currentValue": "6.0.9.RELEASE",
- "depName": "org.grails:gorm-hibernate5-spring-boot",
- "managerData": {
- "fileReplacePosition": 1882,
- "packageFile": "build.gradle",
- },
- },
- {
- "currentValue": "6.0.5",
- "depName": "mysql:mysql-connector-java",
- "managerData": {
- "fileReplacePosition": 1938,
- "packageFile": "build.gradle",
- },
- },
- {
- "currentValue": "1.0-groovy-2.4",
- "depName": "org.spockframework:spock-spring",
- "managerData": {
- "fileReplacePosition": 1996,
- "packageFile": "build.gradle",
- },
- },
- {
- "currentValue": "1.3",
- "depName": "org.hamcrest:hamcrest-core",
- "managerData": {
- "fileReplacePosition": 2101,
- "packageFile": "build.gradle",
- },
- },
- {
- "currentValue": "3.1",
- "depName": "cglib:cglib-nodep",
- "managerData": {
- "fileReplacePosition": 2189,
- "packageFile": "build.gradle",
- },
- },
- {
- "currentValue": "3.1.1",
- "depName": "org.apache.openjpa:openjpa",
- "managerData": {
- "fileReplacePosition": 2295,
- "packageFile": "build.gradle",
- },
- },
-]
-`;
diff --git a/lib/modules/manager/gradle/parser.spec.ts b/lib/modules/manager/gradle/parser.spec.ts
index cfc2e4f3152896..6e835a56d6be00 100644
--- a/lib/modules/manager/gradle/parser.spec.ts
+++ b/lib/modules/manager/gradle/parser.spec.ts
@@ -803,7 +803,106 @@ describe('modules/manager/gradle/parser', () => {
content.slice(managerData!.fileReplacePosition).indexOf(currentValue!),
);
expect(replacementIndices.every((idx) => idx === 0)).toBeTrue();
- expect(deps).toMatchSnapshot();
+ expect(deps).toMatchObject([
+ {
+ currentValue: '1.5.2.RELEASE',
+ depName: 'org.springframework.boot:spring-boot-gradle-plugin',
+ groupName: 'springBootVersion',
+ managerData: {
+ fileReplacePosition: 53,
+ packageFile: 'build.gradle',
+ },
+ },
+ {
+ currentValue: '1.2.3',
+ depName: 'com.github.jengelman.gradle.plugins:shadow',
+ managerData: {
+ fileReplacePosition: 417,
+ packageFile: 'build.gradle',
+ },
+ },
+ {
+ currentValue: '0.1',
+ depName: 'com.fkorotkov:gradle-libraries-plugin',
+ managerData: {
+ fileReplacePosition: 481,
+ packageFile: 'build.gradle',
+ },
+ },
+ {
+ currentValue: '0.2.3',
+ depName:
+ 'gradle.plugin.se.patrikerdes:gradle-use-latest-versions-plugin',
+ managerData: {
+ fileReplacePosition: 568,
+ packageFile: 'build.gradle',
+ },
+ },
+ {
+ currentValue: '3.1.1',
+ depName: 'org.apache.openjpa:openjpa',
+ managerData: {
+ fileReplacePosition: 621,
+ packageFile: 'build.gradle',
+ },
+ },
+ {
+ currentValue: '0.13.0',
+ depName: 'com.gradle.publish:plugin-publish-plugin',
+ managerData: {
+ fileReplacePosition: 688,
+ packageFile: 'build.gradle',
+ },
+ },
+ {
+ currentValue: '6.0.9.RELEASE',
+ depName: 'org.grails:gorm-hibernate5-spring-boot',
+ managerData: {
+ fileReplacePosition: 1882,
+ packageFile: 'build.gradle',
+ },
+ },
+ {
+ currentValue: '6.0.5',
+ depName: 'mysql:mysql-connector-java',
+ managerData: {
+ fileReplacePosition: 1938,
+ packageFile: 'build.gradle',
+ },
+ },
+ {
+ currentValue: '1.0-groovy-2.4',
+ depName: 'org.spockframework:spock-spring',
+ managerData: {
+ fileReplacePosition: 1996,
+ packageFile: 'build.gradle',
+ },
+ },
+ {
+ currentValue: '1.3',
+ depName: 'org.hamcrest:hamcrest-core',
+ managerData: {
+ fileReplacePosition: 2101,
+ packageFile: 'build.gradle',
+ },
+ },
+ {
+ currentValue: '3.1',
+ depName: 'cglib:cglib-nodep',
+ managerData: {
+ fileReplacePosition: 2189,
+ packageFile: 'build.gradle',
+ },
+ },
+ {
+ currentValue: '3.1.1',
+ depName: 'org.apache.openjpa:openjpa',
+ managerData: {
+ fileReplacePosition: 2295,
+ packageFile: 'build.gradle',
+ },
+ },
+ ]);
});
});
diff --git a/lib/modules/manager/gradle/parser/common.ts b/lib/modules/manager/gradle/parser/common.ts
index fffc610c0cac41..a008c30249da4c 100644
--- a/lib/modules/manager/gradle/parser/common.ts
+++ b/lib/modules/manager/gradle/parser/common.ts
@@ -321,14 +321,24 @@ export const qDotOrBraceExpr = (
matcher: q.QueryBuilder,
): q.QueryBuilder =>
q.sym(symValue).alt(
- q.alt(
- q.op('.').join(matcher),
- q.tree({
- type: 'wrapped-tree',
- maxDepth: 1,
- startsWith: '{',
- endsWith: '}',
- search: matcher,
- }),
- ),
+ q.op('.').join(matcher),
+ q.tree({
+ type: 'wrapped-tree',
+ maxDepth: 1,
+ startsWith: '{',
+ endsWith: '}',
+ search: matcher,
+ }),
);
+
+export const qGroupId = qValueMatcher.handler((ctx) =>
+ storeInTokenMap(ctx, 'groupId'),
+);
+
+export const qArtifactId = qValueMatcher.handler((ctx) =>
+ storeInTokenMap(ctx, 'artifactId'),
+);
+
+export const qVersion = qValueMatcher.handler((ctx) =>
+ storeInTokenMap(ctx, 'version'),
+);
diff --git a/lib/modules/manager/gradle/parser/dependencies.ts b/lib/modules/manager/gradle/parser/dependencies.ts
index 93e029da4037bf..e9fb2b1265fe66 100644
--- a/lib/modules/manager/gradle/parser/dependencies.ts
+++ b/lib/modules/manager/gradle/parser/dependencies.ts
@@ -4,9 +4,12 @@ import type { Ctx } from '../types';
import {
GRADLE_PLUGINS,
cleanupTempVars,
+ qArtifactId,
qDotOrBraceExpr,
+ qGroupId,
qTemplateString,
qValueMatcher,
+ qVersion,
storeInTokenMap,
storeVarToken,
} from './common';
@@ -17,18 +20,6 @@ import {
handleLongFormDep,
} from './handlers';
-const qGroupId = qValueMatcher.handler((ctx) =>
- storeInTokenMap(ctx, 'groupId'),
-);
-
-const qArtifactId = qValueMatcher.handler((ctx) =>
- storeInTokenMap(ctx, 'artifactId'),
-);
-
-const qVersion = qValueMatcher.handler((ctx) =>
- storeInTokenMap(ctx, 'version'),
-);
-
// "foo:bar:1.2.3"
// "foo:bar:$baz"
// "foo" + "${bar}" + baz
diff --git a/lib/modules/manager/gradle/parser/plugins.ts b/lib/modules/manager/gradle/parser/plugins.ts
index 5cf27b58c11891..aebb081067abe2 100644
--- a/lib/modules/manager/gradle/parser/plugins.ts
+++ b/lib/modules/manager/gradle/parser/plugins.ts
@@ -4,16 +4,12 @@ import type { Ctx } from '../types';
import {
cleanupTempVars,
qStringValue,
- qValueMatcher,
+ qVersion,
storeInTokenMap,
storeVarToken,
} from './common';
import { handlePlugin } from './handlers';
-const qVersion = qValueMatcher.handler((ctx) =>
- storeInTokenMap(ctx, 'version'),
-);
-
export const qPlugins = q
.sym(regEx(/^(?:id|kotlin)$/), storeVarToken)
.handler((ctx) => storeInTokenMap(ctx, 'methodName'))
diff --git a/lib/modules/manager/gradle/parser/registry-urls.ts b/lib/modules/manager/gradle/parser/registry-urls.ts
index 341dc37d547ec2..e684135f808852 100644
--- a/lib/modules/manager/gradle/parser/registry-urls.ts
+++ b/lib/modules/manager/gradle/parser/registry-urls.ts
@@ -32,6 +32,7 @@ const qUri = q
// mavenCentral { ... }
const qPredefinedRegistries = q
.sym(regEx(`^(?:${Object.keys(REGISTRY_URLS).join('|')})$`), storeVarToken)
+ .handler((ctx) => storeInTokenMap(ctx, 'registryUrl'))
.alt(
q.tree({
type: 'wrapped-tree',
@@ -45,10 +46,31 @@ const qPredefinedRegistries = q
endsWith: '}',
}),
)
- .handler((ctx) => storeInTokenMap(ctx, 'registryUrl'))
.handler(handlePredefinedRegistryUrl)
.handler(cleanupTempVars);
+// { url = "https://some.repo" }
+const qMavenArtifactRegistry = q.tree({
+ type: 'wrapped-tree',
+ maxDepth: 1,
+ startsWith: '{',
+ endsWith: '}',
+ search: q.alt(
+ q
+ .sym('name')
+ .opt(q.op('='))
+ .join(qValueMatcher)
+ .handler((ctx) => storeInTokenMap(ctx, 'name')),
+ q.sym('url').opt(q.op('=')).join(qUri),
+ q.sym('setUrl').tree({
+ maxDepth: 1,
+ startsWith: '(',
+ endsWith: ')',
+ search: q.begin().join(qUri).end(),
+ }),
+ ),
+});
+
// maven(url = uri("https://foo.bar/baz"))
// maven { name = some; url = "https://foo.bar/${name}" }
const qCustomRegistryUrl = q
@@ -61,26 +83,7 @@ const qCustomRegistryUrl = q
endsWith: ')',
search: q.begin().opt(q.sym('url').op('=')).join(qUri).end(),
}),
- q.tree({
- type: 'wrapped-tree',
- maxDepth: 1,
- startsWith: '{',
- endsWith: '}',
- search: q.alt(
- q
- .sym('name')
- .opt(q.op('='))
- .join(qValueMatcher)
- .handler((ctx) => storeInTokenMap(ctx, 'name')),
- q.sym('url').opt(q.op('=')).join(qUri),
- q.sym('setUrl').tree({
- maxDepth: 1,
- startsWith: '(',
- endsWith: ')',
- search: q.begin().join(qUri).end(),
- }),
- ),
- }),
+ qMavenArtifactRegistry,
)
.handler(handleCustomRegistryUrl)
.handler(cleanupTempVars);
diff --git a/lib/modules/manager/gradle/parser/version-catalogs.ts b/lib/modules/manager/gradle/parser/version-catalogs.ts
index 272688ee6084b1..c4c1259ccf424d 100644
--- a/lib/modules/manager/gradle/parser/version-catalogs.ts
+++ b/lib/modules/manager/gradle/parser/version-catalogs.ts
@@ -2,6 +2,8 @@ import { query as q } from 'good-enough-parser';
import type { Ctx } from '../types';
import {
cleanupTempVars,
+ qArtifactId,
+ qGroupId,
qStringValue,
qStringValueAsSymbol,
qValueMatcher,
@@ -10,14 +12,6 @@ import {
} from './common';
import { handleLibraryDep, handlePlugin } from './handlers';
-const qGroupId = qValueMatcher.handler((ctx) =>
- storeInTokenMap(ctx, 'groupId'),
-);
-
-const qArtifactId = qValueMatcher.handler((ctx) =>
- storeInTokenMap(ctx, 'artifactId'),
-);
-
const qVersionCatalogVersion = q
.op('.')
.alt(
From 84017e05cc275f54e38ed9aee3cff1f154ce4a80 Mon Sep 17 00:00:00 2001
From: Maxime Brunet
Date: Thu, 9 Jan 2025 10:35:47 +0000
Subject: [PATCH 006/247] refactor: refactor Google Auth util (#33486)
---
lib/modules/datasource/util.ts | 18 +++++++++++++-----
lib/modules/manager/pep621/processors/uv.ts | 11 ++++-------
lib/modules/manager/poetry/artifacts.ts | 11 ++++-------
3 files changed, 21 insertions(+), 19 deletions(-)
diff --git a/lib/modules/datasource/util.ts b/lib/modules/datasource/util.ts
index b418bb9bb7c560..e53566d786f63f 100644
--- a/lib/modules/datasource/util.ts
+++ b/lib/modules/datasource/util.ts
@@ -1,6 +1,7 @@
import is from '@sindresorhus/is';
import { GoogleAuth } from 'google-auth-library';
import { logger } from '../../logger';
+import type { HostRule } from '../../types';
import type { HttpResponse } from '../../util/http/types';
import { addSecretForSanitizing } from '../../util/sanitize';
@@ -12,7 +13,7 @@ export function isArtifactoryServer(
return is.string(res?.headers[JFROG_ARTIFACTORY_RES_HEADER]);
}
-export async function getGoogleAuthTokenRaw(): Promise {
+export async function getGoogleAuthHostRule(): Promise {
try {
const googleAuth: GoogleAuth = new GoogleAuth({
scopes: 'https://www.googleapis.com/auth/cloud-platform',
@@ -21,7 +22,10 @@ export async function getGoogleAuthTokenRaw(): Promise {
if (accessToken) {
// sanitize token
addSecretForSanitizing(accessToken);
- return accessToken;
+ return {
+ username: 'oauth2accesstoken',
+ password: accessToken,
+ };
} else {
logger.warn(
'Could not retrieve access token using google-auth-library getAccessToken',
@@ -38,9 +42,13 @@ export async function getGoogleAuthTokenRaw(): Promise {
}
export async function getGoogleAuthToken(): Promise {
- const accessToken = await getGoogleAuthTokenRaw();
- if (accessToken) {
- return Buffer.from(`oauth2accesstoken:${accessToken}`).toString('base64');
+ const rule = await getGoogleAuthHostRule();
+ if (rule) {
+ const token = Buffer.from(`${rule.username}:${rule.password}`).toString(
+ 'base64',
+ );
+ addSecretForSanitizing(token);
+ return token;
}
return null;
}
diff --git a/lib/modules/manager/pep621/processors/uv.ts b/lib/modules/manager/pep621/processors/uv.ts
index d7de0dc1195b32..637ef35df54f1f 100644
--- a/lib/modules/manager/pep621/processors/uv.ts
+++ b/lib/modules/manager/pep621/processors/uv.ts
@@ -11,7 +11,7 @@ import { find } from '../../../../util/host-rules';
import { Result } from '../../../../util/result';
import { parseUrl } from '../../../../util/url';
import { PypiDatasource } from '../../../datasource/pypi';
-import { getGoogleAuthTokenRaw } from '../../../datasource/util';
+import { getGoogleAuthHostRule } from '../../../datasource/util';
import type {
PackageDependency,
UpdateArtifact,
@@ -265,12 +265,9 @@ async function getUsernamePassword(
}
if (url.hostname.endsWith('.pkg.dev')) {
- const accessToken = await getGoogleAuthTokenRaw();
- if (accessToken) {
- return {
- username: 'oauth2accesstoken',
- password: accessToken,
- };
+ const hostRule = await getGoogleAuthHostRule();
+ if (hostRule) {
+ return hostRule;
} else {
logger.once.debug({ url }, 'Could not get Google access token');
}
diff --git a/lib/modules/manager/poetry/artifacts.ts b/lib/modules/manager/poetry/artifacts.ts
index ec77248288828c..038c65b3bdf342 100644
--- a/lib/modules/manager/poetry/artifacts.ts
+++ b/lib/modules/manager/poetry/artifacts.ts
@@ -19,7 +19,7 @@ import { Result } from '../../../util/result';
import { parse as parseToml } from '../../../util/toml';
import { parseUrl } from '../../../util/url';
import { PypiDatasource } from '../../datasource/pypi';
-import { getGoogleAuthTokenRaw } from '../../datasource/util';
+import { getGoogleAuthHostRule } from '../../datasource/util';
import type { UpdateArtifact, UpdateArtifactsResult } from '../types';
import { Lockfile, PoetrySchemaToml } from './schema';
import type { PoetryFile, PoetrySource } from './types';
@@ -131,12 +131,9 @@ async function getMatchingHostRule(url: string | undefined): Promise {
}
if (parsedUrl.hostname.endsWith('.pkg.dev')) {
- const accessToken = await getGoogleAuthTokenRaw();
- if (accessToken) {
- return {
- username: 'oauth2accesstoken',
- password: accessToken,
- };
+ const hostRule = await getGoogleAuthHostRule();
+ if (hostRule) {
+ return hostRule;
}
logger.once.debug(`Could not get Google access token (url=${url})`);
}
From 1d2c1a35e3df93e104f83a862edbb1e4b87e27c7 Mon Sep 17 00:00:00 2001
From: Pierre Cavin
Date: Thu, 9 Jan 2025 11:38:35 +0100
Subject: [PATCH 007/247] feat(mix): add depType support (#33310)
Co-authored-by: Michael Kriese
---
lib/modules/manager/mix/__fixtures__/mix.exs | 10 +++-
lib/modules/manager/mix/__fixtures__/mix.lock | 4 ++
lib/modules/manager/mix/extract.spec.ts | 60 +++++++++++++++++++
lib/modules/manager/mix/extract.ts | 39 ++++++++----
lib/modules/manager/mix/readme.md | 9 ++-
5 files changed, 105 insertions(+), 17 deletions(-)
diff --git a/lib/modules/manager/mix/__fixtures__/mix.exs b/lib/modules/manager/mix/__fixtures__/mix.exs
index 9bc2b75a800d38..2ad51c305e58e1 100644
--- a/lib/modules/manager/mix/__fixtures__/mix.exs
+++ b/lib/modules/manager/mix/__fixtures__/mix.exs
@@ -27,13 +27,19 @@ defmodule MyProject.MixProject do
{:secret, "~> 1.0", organization: "acme"},
{:also_secret, "~> 1.0", only: [:dev, :test], organization: "acme", runtime: false},
{:metrics, ">0.2.0 and <=1.0.0"},
- {:jason, ">= 1.0.0"},
+ {:jason, ">= 1.0.0", only: :prod},
{:hackney, "~> 1.0",
optional: true},
- {:hammer_backend_redis, "~> 6.1"},
+ {:hammer_backend_redis, "~> 6.1", only: [:dev, :prod, :test]},
{:castore, "== 1.0.10"},
{:gun, "~> 2.0.0", hex: "grpc_gun"},
{:another_gun, "~> 0.4.0", hex: :raygun},
+ {:credo, "~> 1.7", only:
+ [:test,
+ # prod,
+ :dev],
+ runtime: false},
+ {:floki, "== 0.37.0", only: :test},
]
end
end
diff --git a/lib/modules/manager/mix/__fixtures__/mix.lock b/lib/modules/manager/mix/__fixtures__/mix.lock
index d90b44ee2d1c38..106d497cd6b91e 100644
--- a/lib/modules/manager/mix/__fixtures__/mix.lock
+++ b/lib/modules/manager/mix/__fixtures__/mix.lock
@@ -1,13 +1,17 @@
%{
"another_gun": {:hex, :raygun, "0.4.0", "7744e99dd695f61e78ad5e047cce0affb3edfc6f93a92278598ab553b9c5091f", [:mix], [{:httpoison, "~> 0.8 or ~> 1.0", [hex: :httpoison, repo: "hexpm", optional: false]}, {:jason, "~> 1.2", [hex: :jason, repo: "hexpm", optional: false]}, {:plug, "~> 1.1", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm", "eee4b891e6e65c6a4b15386dc7b7a72b717f3c123cc0012cfd19e8f2ab21116d"},
+ "bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"},
"castore": {:hex, :castore, "1.0.10", "43bbeeac820f16c89f79721af1b3e092399b3a1ecc8df1a472738fd853574911", [:mix], [], "hexpm", "1b0b7ea14d889d9ea21202c43a4fa015eb913021cb535e8ed91946f4b77a8848"},
"certifi": {:hex, :certifi, "2.12.0", "2d1cca2ec95f59643862af91f001478c9863c2ac9cb6e2f89780bfd8de987329", [:rebar3], [], "hexpm", "ee68d85df22e554040cdb4be100f33873ac6051387baf6a8f6ce82272340ff1c"},
"cowboy": {:git, "https://github.com/ninenines/cowboy.git", "0c2e2224e372f01e6cf51a8e12d4856edb4cb8ac", [tag: "0.6.0"]},
"cowlib": {:hex, :cowlib, "2.13.0", "db8f7505d8332d98ef50a3ef34b34c1afddec7506e4ee4dd4a3a266285d282ca", [:make, :rebar3], [], "hexpm", "e1e1284dc3fc030a64b1ad0d8382ae7e99da46c3246b815318a4b848873800a4"},
+ "credo": {:hex, :credo, "1.7.10", "6e64fe59be8da5e30a1b96273b247b5cf1cc9e336b5fd66302a64b25749ad44d", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "71fbc9a6b8be21d993deca85bf151df023a3097b01e09a2809d460348561d8cd"},
"decimal": {:hex, :decimal, "1.9.0", "83e8daf59631d632b171faabafb4a9f4242c514b0a06ba3df493951c08f64d07", [:mix], [], "hexpm", "b1f2343568eed6928f3e751cf2dffde95bfaa19dd95d09e8a9ea92ccfd6f7d85"},
"ecto": {:git, "https://github.com/elixir-ecto/ecto.git", "795036d997c7503b21fb64d6bf1a89b83c44f2b5", [ref: "795036d997c7503b21fb64d6bf1a89b83c44f2b5"]},
"secret": {:hex, :secret, "1.5.0", "344dbbf6610d205760ec37e2848bff2aab5a2de182bb5cdaa72cc2fd19d74535", [:mix], [{:decimal, "~> 1.0", [hex: :decimal, repo: "hexpm", optional: false]}], "hexpm", "19c205c8de0e2e5817f2250100281c58e717cb11ff1bb410bf661ee78c24e79b"},
"also_secret": {:hex, :also_secret, "1.3.4", "344dbbf6610d205760ec37e2848bff2aab5a2de182bb5cdaa72cc2fd19d74535", [:mix], [{:decimal, "~> 1.0", [hex: :decimal, repo: "hexpm", optional: false]}], "hexpm", "19c205c8de0e2e5817f2250100281c58e717cb11ff1bb410bf661ee78c24e79b"},
+ "file_system": {:hex, :file_system, "1.0.1", "79e8ceaddb0416f8b8cd02a0127bdbababe7bf4a23d2a395b983c1f8b3f73edd", [:mix], [], "hexpm", "4414d1f38863ddf9120720cd976fce5bdde8e91d8283353f0e31850fa89feb9e"},
+ "floki": {:hex, :floki, "0.37.0", "b83e0280bbc6372f2a403b2848013650b16640cd2470aea6701f0632223d719e", [:mix], [], "hexpm", "516a0c15a69f78c47dc8e0b9b3724b29608aa6619379f91b1ffa47109b5d0dd3"},
"gun": {:hex, :grpc_gun, "2.0.1", "221b792df3a93e8fead96f697cbaf920120deacced85c6cd3329d2e67f0871f8", [:rebar3], [{:cowlib, "~> 2.11", [hex: :cowlib, repo: "hexpm", optional: false]}], "hexpm", "795a65eb9d0ba16697e6b0e1886009ce024799e43bb42753f0c59b029f592831"},
"hackney": {:hex, :hackney, "1.20.1", "8d97aec62ddddd757d128bfd1df6c5861093419f8f7a4223823537bad5d064e2", [:rebar3], [{:certifi, "~> 2.12.0", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "~> 6.1.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "~> 1.0.0", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "~> 1.1", [hex: :mimerl, repo: "hexpm", optional: false]}, {:parse_trans, "3.4.1", [hex: :parse_trans, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "~> 1.1.0", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}, {:unicode_util_compat, "~> 0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "fe9094e5f1a2a2c0a7d10918fee36bfec0ec2a979994cff8cfe8058cd9af38e3"},
"hammer": {:hex, :hammer, "6.2.1", "5ae9c33e3dceaeb42de0db46bf505bd9c35f259c8defb03390cd7556fea67ee2", [:mix], [{:poolboy, "~> 1.5", [hex: :poolboy, repo: "hexpm", optional: false]}], "hexpm", "b9476d0c13883d2dc0cc72e786bac6ac28911fba7cc2e04b70ce6a6d9c4b2bdc"},
diff --git a/lib/modules/manager/mix/extract.spec.ts b/lib/modules/manager/mix/extract.spec.ts
index 3663073aabc20c..a20ea0327fd715 100644
--- a/lib/modules/manager/mix/extract.spec.ts
+++ b/lib/modules/manager/mix/extract.spec.ts
@@ -20,12 +20,14 @@ describe('modules/manager/mix/extract', () => {
currentValue: '~> 0.8.1',
datasource: 'hex',
depName: 'postgrex',
+ depType: 'prod',
packageName: 'postgrex',
},
{
currentValue: '<1.7.0 or ~>1.7.1',
datasource: 'hex',
depName: 'ranch',
+ depType: 'prod',
packageName: 'ranch',
},
{
@@ -33,6 +35,7 @@ describe('modules/manager/mix/extract', () => {
currentValue: '0.6.0',
datasource: 'github-tags',
depName: 'cowboy',
+ depType: 'prod',
packageName: 'ninenines/cowboy',
},
{
@@ -40,6 +43,7 @@ describe('modules/manager/mix/extract', () => {
currentValue: 'main',
datasource: 'git-tags',
depName: 'phoenix',
+ depType: 'prod',
packageName: 'https://github.com/phoenixframework/phoenix.git',
},
{
@@ -47,42 +51,49 @@ describe('modules/manager/mix/extract', () => {
currentValue: undefined,
datasource: 'github-tags',
depName: 'ecto',
+ depType: 'prod',
packageName: 'elixir-ecto/ecto',
},
{
currentValue: '~> 1.0',
datasource: 'hex',
depName: 'secret',
+ depType: 'prod',
packageName: 'secret:acme',
},
{
currentValue: '~> 1.0',
datasource: 'hex',
depName: 'also_secret',
+ depType: 'dev',
packageName: 'also_secret:acme',
},
{
currentValue: '>0.2.0 and <=1.0.0',
datasource: 'hex',
depName: 'metrics',
+ depType: 'prod',
packageName: 'metrics',
},
{
currentValue: '>= 1.0.0',
datasource: 'hex',
depName: 'jason',
+ depType: 'prod',
packageName: 'jason',
},
{
currentValue: '~> 1.0',
datasource: 'hex',
depName: 'hackney',
+ depType: 'prod',
packageName: 'hackney',
},
{
currentValue: '~> 6.1',
datasource: 'hex',
depName: 'hammer_backend_redis',
+ depType: 'prod',
packageName: 'hammer_backend_redis',
},
{
@@ -90,20 +101,38 @@ describe('modules/manager/mix/extract', () => {
currentVersion: '1.0.10',
datasource: 'hex',
depName: 'castore',
+ depType: 'prod',
packageName: 'castore',
},
{
currentValue: '~> 2.0.0',
datasource: 'hex',
depName: 'gun',
+ depType: 'prod',
packageName: 'grpc_gun',
},
{
currentValue: '~> 0.4.0',
datasource: 'hex',
depName: 'another_gun',
+ depType: 'prod',
packageName: 'raygun',
},
+ {
+ currentValue: '~> 1.7',
+ datasource: 'hex',
+ depName: 'credo',
+ depType: 'dev',
+ packageName: 'credo',
+ },
+ {
+ currentValue: '== 0.37.0',
+ currentVersion: '0.37.0',
+ datasource: 'hex',
+ depName: 'floki',
+ depType: 'dev',
+ packageName: 'floki',
+ },
]);
});
@@ -116,6 +145,7 @@ describe('modules/manager/mix/extract', () => {
currentValue: '~> 0.8.1',
datasource: 'hex',
depName: 'postgrex',
+ depType: 'prod',
packageName: 'postgrex',
lockedVersion: '0.8.4',
},
@@ -123,6 +153,7 @@ describe('modules/manager/mix/extract', () => {
currentValue: '<1.7.0 or ~>1.7.1',
datasource: 'hex',
depName: 'ranch',
+ depType: 'prod',
packageName: 'ranch',
lockedVersion: '1.7.1',
},
@@ -131,6 +162,7 @@ describe('modules/manager/mix/extract', () => {
currentValue: '0.6.0',
datasource: 'github-tags',
depName: 'cowboy',
+ depType: 'prod',
packageName: 'ninenines/cowboy',
lockedVersion: '0.6.0',
},
@@ -139,6 +171,7 @@ describe('modules/manager/mix/extract', () => {
currentValue: 'main',
datasource: 'git-tags',
depName: 'phoenix',
+ depType: 'prod',
packageName: 'https://github.com/phoenixframework/phoenix.git',
lockedVersion: undefined,
},
@@ -147,6 +180,7 @@ describe('modules/manager/mix/extract', () => {
currentValue: undefined,
datasource: 'github-tags',
depName: 'ecto',
+ depType: 'prod',
packageName: 'elixir-ecto/ecto',
lockedVersion: undefined,
},
@@ -154,6 +188,7 @@ describe('modules/manager/mix/extract', () => {
currentValue: '~> 1.0',
datasource: 'hex',
depName: 'secret',
+ depType: 'prod',
packageName: 'secret:acme',
lockedVersion: '1.5.0',
},
@@ -161,6 +196,7 @@ describe('modules/manager/mix/extract', () => {
currentValue: '~> 1.0',
datasource: 'hex',
depName: 'also_secret',
+ depType: 'dev',
packageName: 'also_secret:acme',
lockedVersion: '1.3.4',
},
@@ -168,6 +204,7 @@ describe('modules/manager/mix/extract', () => {
currentValue: '>0.2.0 and <=1.0.0',
datasource: 'hex',
depName: 'metrics',
+ depType: 'prod',
packageName: 'metrics',
lockedVersion: '1.0.0',
},
@@ -175,6 +212,7 @@ describe('modules/manager/mix/extract', () => {
currentValue: '>= 1.0.0',
datasource: 'hex',
depName: 'jason',
+ depType: 'prod',
packageName: 'jason',
lockedVersion: '1.4.4',
},
@@ -182,6 +220,7 @@ describe('modules/manager/mix/extract', () => {
currentValue: '~> 1.0',
datasource: 'hex',
depName: 'hackney',
+ depType: 'prod',
packageName: 'hackney',
lockedVersion: '1.20.1',
},
@@ -189,6 +228,7 @@ describe('modules/manager/mix/extract', () => {
currentValue: '~> 6.1',
datasource: 'hex',
depName: 'hammer_backend_redis',
+ depType: 'prod',
packageName: 'hammer_backend_redis',
lockedVersion: '6.2.0',
},
@@ -197,6 +237,7 @@ describe('modules/manager/mix/extract', () => {
currentVersion: '1.0.10',
datasource: 'hex',
depName: 'castore',
+ depType: 'prod',
packageName: 'castore',
lockedVersion: '1.0.10',
},
@@ -204,6 +245,7 @@ describe('modules/manager/mix/extract', () => {
currentValue: '~> 2.0.0',
datasource: 'hex',
depName: 'gun',
+ depType: 'prod',
packageName: 'grpc_gun',
lockedVersion: '2.0.1',
},
@@ -211,9 +253,27 @@ describe('modules/manager/mix/extract', () => {
currentValue: '~> 0.4.0',
datasource: 'hex',
depName: 'another_gun',
+ depType: 'prod',
packageName: 'raygun',
lockedVersion: '0.4.0',
},
+ {
+ currentValue: '~> 1.7',
+ datasource: 'hex',
+ depName: 'credo',
+ depType: 'dev',
+ packageName: 'credo',
+ lockedVersion: '1.7.10',
+ },
+ {
+ currentValue: '== 0.37.0',
+ currentVersion: '0.37.0',
+ datasource: 'hex',
+ depName: 'floki',
+ depType: 'dev',
+ lockedVersion: '0.37.0',
+ packageName: 'floki',
+ },
]);
});
});
diff --git a/lib/modules/manager/mix/extract.ts b/lib/modules/manager/mix/extract.ts
index 3d9c45e00d74f4..9d8c5a90b65392 100644
--- a/lib/modules/manager/mix/extract.ts
+++ b/lib/modules/manager/mix/extract.ts
@@ -20,6 +20,8 @@ const lockedVersionRegExp = regEx(
/^\s+"(?\w+)".*?"(?\d+\.\d+\.\d+)"/,
);
const hexRegexp = regEx(/hex:\s*(?:"(?[^"]+)"|:(?\w+))/);
+const onlyValueRegexp = regEx(/only:\s*(?\[[^\]]*\]|:\w+)/);
+const onlyEnvironmentsRegexp = regEx(/:(\w+)/gm);
export async function extractPackageFile(
content: string,
@@ -48,22 +50,28 @@ export async function extractPackageFile(
const hexGroups = hexRegexp.exec(opts)?.groups;
const hex = hexGroups?.strValue ?? hexGroups?.atomValue;
- let dep: PackageDependency;
+ const onlyValue = onlyValueRegexp.exec(opts)?.groups?.only;
+ const onlyEnvironments = [];
+ let match;
+ if (onlyValue) {
+ while ((match = onlyEnvironmentsRegexp.exec(onlyValue)) !== null) {
+ onlyEnvironments.push(match[1]);
+ }
+ }
+
+ const dep: PackageDependency = {
+ depName: app,
+ depType: 'prod',
+ };
if (git ?? github) {
- dep = {
- depName: app,
- currentDigest: ref,
- currentValue: branchOrTag,
- datasource: git ? GitTagsDatasource.id : GithubTagsDatasource.id,
- packageName: git ?? github,
- };
+ dep.currentDigest = ref;
+ dep.currentValue = branchOrTag;
+ dep.datasource = git ? GitTagsDatasource.id : GithubTagsDatasource.id;
+ dep.packageName = git ?? github;
} else {
- dep = {
- depName: app,
- currentValue: requirement,
- datasource: HexDatasource.id,
- };
+ dep.currentValue = requirement;
+ dep.datasource = HexDatasource.id;
if (organization) {
dep.packageName = `${app}:${organization}`;
} else if (hex) {
@@ -71,11 +79,16 @@ export async function extractPackageFile(
} else {
dep.packageName = app;
}
+
if (requirement?.startsWith('==')) {
dep.currentVersion = requirement.replace(regEx(/^==\s*/), '');
}
}
+ if (onlyValue !== undefined && !onlyEnvironments.includes('prod')) {
+ dep.depType = 'dev';
+ }
+
deps.set(app, dep);
logger.trace({ dep }, `setting ${app}`);
depMatchGroups = depMatchRegExp.exec(depBuffer)?.groups;
diff --git a/lib/modules/manager/mix/readme.md b/lib/modules/manager/mix/readme.md
index f63ab44019224e..175d75a9003123 100644
--- a/lib/modules/manager/mix/readme.md
+++ b/lib/modules/manager/mix/readme.md
@@ -1,3 +1,8 @@
-The `mix` manager extracts dependencies for the `hex` datasource and uses Renovate's implementation of Hex SemVer to evaluate updates.
+The `mix` manager uses Renovate's implementation of [Elixir SemVer](https://hexdocs.pm/elixir/Version.html#module-requirements) to evaluate update ranges.
-The `mix` package manager itself is also used to keep the lock file up-to-date.
+The `mix` package manager itself is used to keep the lock file up-to-date.
+
+The following `depTypes` are currently supported by the `mix` manager :
+
+- `prod`: all dependencies by default
+- `dev`: dependencies with [`:only` option](https://hexdocs.pm/mix/Mix.Tasks.Deps.html#module-dependency-definition-options) not containing `:prod`
From 99f80a019c2e3afe401b00e384b006f18565e922 Mon Sep 17 00:00:00 2001
From: Pierre Cavin
Date: Thu, 9 Jan 2025 15:54:48 +0100
Subject: [PATCH 008/247] feat(mix): implement getRangeStrategy (#33322)
---
lib/modules/manager/mix/index.ts | 1 +
lib/modules/manager/mix/range.spec.ts | 47 +++++++++++++++++++++++++++
lib/modules/manager/mix/range.ts | 26 +++++++++++++++
lib/modules/manager/mix/readme.md | 19 +++++++++++
4 files changed, 93 insertions(+)
create mode 100644 lib/modules/manager/mix/range.spec.ts
create mode 100644 lib/modules/manager/mix/range.ts
diff --git a/lib/modules/manager/mix/index.ts b/lib/modules/manager/mix/index.ts
index e9722265580591..df1fa52ec6cf6d 100644
--- a/lib/modules/manager/mix/index.ts
+++ b/lib/modules/manager/mix/index.ts
@@ -5,6 +5,7 @@ import { HexDatasource } from '../../datasource/hex';
export { extractPackageFile } from './extract';
export { updateArtifacts } from './artifacts';
+export { getRangeStrategy } from './range';
export const url = 'https://hexdocs.pm/mix/Mix.html';
export const categories: Category[] = ['elixir'];
diff --git a/lib/modules/manager/mix/range.spec.ts b/lib/modules/manager/mix/range.spec.ts
new file mode 100644
index 00000000000000..0efd919e8455cb
--- /dev/null
+++ b/lib/modules/manager/mix/range.spec.ts
@@ -0,0 +1,47 @@
+import type { RangeConfig } from '../types';
+import { getRangeStrategy } from '.';
+
+describe('modules/manager/mix/range', () => {
+ it('returns same if not auto', () => {
+ const config: RangeConfig = { rangeStrategy: 'pin' };
+ expect(getRangeStrategy(config)).toBe('pin');
+
+ config.rangeStrategy = 'widen';
+ expect(getRangeStrategy(config)).toBe('widen');
+ });
+
+ it('widens complex bump', () => {
+ const config: RangeConfig = {
+ rangeStrategy: 'bump',
+ depType: 'prod',
+ currentValue: '>= 1.6.0 and < 2.0.0',
+ };
+ expect(getRangeStrategy(config)).toBe('widen');
+ });
+
+ it('bumps non-complex bump', () => {
+ const config: RangeConfig = {
+ rangeStrategy: 'bump',
+ depType: 'prod',
+ currentValue: '~>1.0.0',
+ };
+ expect(getRangeStrategy(config)).toBe('bump');
+ });
+
+ it('widens complex auto', () => {
+ const config: RangeConfig = {
+ rangeStrategy: 'auto',
+ depType: 'prod',
+ currentValue: '<1.7.0 or ~>1.7.1',
+ };
+ expect(getRangeStrategy(config)).toBe('widen');
+ });
+
+ it('defaults to update-lockfile', () => {
+ const config: RangeConfig = {
+ rangeStrategy: 'auto',
+ depType: 'prod',
+ };
+ expect(getRangeStrategy(config)).toBe('update-lockfile');
+ });
+});
diff --git a/lib/modules/manager/mix/range.ts b/lib/modules/manager/mix/range.ts
new file mode 100644
index 00000000000000..4d6e563eb5123e
--- /dev/null
+++ b/lib/modules/manager/mix/range.ts
@@ -0,0 +1,26 @@
+import { parseRange } from 'semver-utils';
+import { logger } from '../../../logger';
+import type { RangeStrategy } from '../../../types';
+import type { RangeConfig } from '../types';
+
+export function getRangeStrategy(config: RangeConfig): RangeStrategy {
+ const { currentValue, rangeStrategy } = config;
+ const isComplexRange = currentValue
+ ? parseRange(currentValue).length > 1
+ : false;
+
+ if (rangeStrategy === 'bump' && isComplexRange) {
+ logger.debug(
+ { currentValue },
+ 'Replacing bump strategy for complex range with widen',
+ );
+ return 'widen';
+ }
+ if (rangeStrategy !== 'auto') {
+ return rangeStrategy;
+ }
+ if (isComplexRange) {
+ return 'widen';
+ }
+ return 'update-lockfile';
+}
diff --git a/lib/modules/manager/mix/readme.md b/lib/modules/manager/mix/readme.md
index 175d75a9003123..7924c9704caa2e 100644
--- a/lib/modules/manager/mix/readme.md
+++ b/lib/modules/manager/mix/readme.md
@@ -6,3 +6,22 @@ The following `depTypes` are currently supported by the `mix` manager :
- `prod`: all dependencies by default
- `dev`: dependencies with [`:only` option](https://hexdocs.pm/mix/Mix.Tasks.Deps.html#module-dependency-definition-options) not containing `:prod`
+
+### Default `rangeStrategy=auto` behavior
+
+Renovate's default [`rangeStrategy`](../../../configuration-options.md#rangestrategy) is `"auto"`.
+Here's how `"auto"` works with the `mix` manager:
+
+| Version type | New version | Old range | New range after update | What Renovate does |
+| :----------------------- | :---------- | :-------------------- | :--------------------- | :------------------------------------------------------------------------ |
+| Complex range | `1.7.2` | `< 1.7.0 or ~> 1.7.1` | `< 1.7.0 or ~> 1.7.2` | Widen range to include the new version. |
+| Simple range | `0.39.0` | `<= 0.38.0` | `<= 0.39.0` | If update outside current range: widens range to include the new version. |
+| Exact version constraint | `0.13.0` | `== 0.12.0` | `== 0.13.0` | Replace old version with new version. |
+
+### Recommended `rangeStrategy` for apps and libraries
+
+For applications, we recommend using `rangeStrategy=pin`.
+This pins your dependencies to exact versions, which is generally considered [best practice for apps](../../../dependency-pinning.md).
+
+For libraries, use `rangeStrategy=widen` with version ranges in your `mix.exs`.
+This allows for greater compatibility with other projects that may use your library as a dependency.
From 3d2445f965aa4c159aebce963f4134390434d915 Mon Sep 17 00:00:00 2001
From: Sergei Zharinov
Date: Thu, 9 Jan 2025 20:34:53 -0300
Subject: [PATCH 009/247] test: Fix `pretty-time` tests for non-UTC machines
(#33498)
---
lib/util/pretty-time.spec.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/util/pretty-time.spec.ts b/lib/util/pretty-time.spec.ts
index 693e73c4fa8e6f..4a1017f1c10375 100644
--- a/lib/util/pretty-time.spec.ts
+++ b/lib/util/pretty-time.spec.ts
@@ -47,7 +47,7 @@ describe('util/pretty-time', () => {
});
describe('satisfiesDateRange()', () => {
- const t0 = DateTime.fromISO('2023-07-07T12:00:00');
+ const t0 = DateTime.fromISO('2023-07-07T12:00:00Z');
beforeAll(() => {
jest.useFakeTimers();
From c9f91af785aa5dca1d743a1f2ff1f10f2ce2e4a2 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 10 Jan 2025 02:10:10 +0000
Subject: [PATCH 010/247] feat(deps): update ghcr.io/renovatebot/base-image
docker tag to v9.30.0 (#33501)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
tools/docker/Dockerfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 1f0a6900ef34c8..3534fcafc785a1 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -5,19 +5,19 @@ ARG BASE_IMAGE_TYPE=slim
# --------------------------------------
# slim image
# --------------------------------------
-FROM ghcr.io/renovatebot/base-image:9.29.1@sha256:db4b70c00fb197babca9dd92be612bef044d7a35d933d19c668864f84b52d1f8 AS slim-base
+FROM ghcr.io/renovatebot/base-image:9.30.0@sha256:93616ad259ccdbc76617393867480e6bd6a05ac8842ec6712805d7588d104b53 AS slim-base
# --------------------------------------
# full image
# --------------------------------------
-FROM ghcr.io/renovatebot/base-image:9.29.1-full@sha256:4880c7aae10ed892d49c6c5573418014605ce2824c978dbcc04382a2c26bb0df AS full-base
+FROM ghcr.io/renovatebot/base-image:9.30.0-full@sha256:b045717c99e6071f547688b8cde2060983715a5113f62bd2d56980400a385e00 AS full-base
ENV RENOVATE_BINARY_SOURCE=global
# --------------------------------------
# build image
# --------------------------------------
-FROM --platform=$BUILDPLATFORM ghcr.io/renovatebot/base-image:9.29.1@sha256:db4b70c00fb197babca9dd92be612bef044d7a35d933d19c668864f84b52d1f8 AS build
+FROM --platform=$BUILDPLATFORM ghcr.io/renovatebot/base-image:9.30.0@sha256:93616ad259ccdbc76617393867480e6bd6a05ac8842ec6712805d7588d104b53 AS build
# We want a specific node version here
# renovate: datasource=node-version
From 558e73c91a4a09ecd636046f9ba841b61b7c48fb Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 10 Jan 2025 05:11:27 +0000
Subject: [PATCH 011/247] build(deps): update dependency semantic-release to
v24.2.1 (#33502)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
pnpm-lock.yaml | 53 ++++++++++++++++++++------------------------------
2 files changed, 22 insertions(+), 33 deletions(-)
diff --git a/package.json b/package.json
index cd3329c1cfab47..b3dcb23d7e6195 100644
--- a/package.json
+++ b/package.json
@@ -342,7 +342,7 @@
"nyc": "17.1.0",
"pretty-format": "29.7.0",
"rimraf": "6.0.1",
- "semantic-release": "24.2.0",
+ "semantic-release": "24.2.1",
"tar": "7.4.3",
"tmp-promise": "3.0.3",
"ts-jest": "29.2.5",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 5093e0b950c499..d4bf9f52048542 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -378,7 +378,7 @@ importers:
version: '@renovatebot/eslint-plugin@file:tools/eslint'
'@semantic-release/exec':
specifier: 6.0.3
- version: 6.0.3(semantic-release@24.2.0(typescript@5.7.2))
+ version: 6.0.3(semantic-release@24.2.1(typescript@5.7.2))
'@swc/core':
specifier: 1.10.4
version: 1.10.4
@@ -599,8 +599,8 @@ importers:
specifier: 6.0.1
version: 6.0.1
semantic-release:
- specifier: 24.2.0
- version: 24.2.0(typescript@5.7.2)
+ specifier: 24.2.1
+ version: 24.2.1(typescript@5.7.2)
tar:
specifier: 7.4.3
version: 7.4.3
@@ -3799,10 +3799,6 @@ packages:
resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==}
engines: {node: '>=6'}
- import-from-esm@1.3.4:
- resolution: {integrity: sha512-7EyUlPFC0HOlBDpUFGfYstsU7XHxZJKAAMzCT8wZ0hMW7b+hG51LIKTDcsgtz8Pu6YC0HqRVbX+rVUtsGMUKvg==}
- engines: {node: '>=16.20'}
-
import-from-esm@2.0.0:
resolution: {integrity: sha512-YVt14UZCgsX1vZQ3gKjkWVdBdHQ6eu3MPU1TBgL1H5orXe2+jWD006WCPPtOuwlQm10NuzOW5WawiF1Q9veW8g==}
engines: {node: '>=18.20'}
@@ -5540,8 +5536,8 @@ packages:
sax@1.4.1:
resolution: {integrity: sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==}
- semantic-release@24.2.0:
- resolution: {integrity: sha512-fQfn6e/aYToRtVJYKqneFM1Rg3KP2gh3wSWtpYsLlz6uaPKlISrTzvYAFn+mYWo07F0X1Cz5ucU89AVE8X1mbg==}
+ semantic-release@24.2.1:
+ resolution: {integrity: sha512-z0/3cutKNkLQ4Oy0HTi3lubnjTsdjjgOqmxdPjeYWe6lhFqUPfwslZxRHv3HDZlN4MhnZitb9SLihDkZNxOXfQ==}
engines: {node: '>=20.8.1'}
hasBin: true
@@ -8150,7 +8146,7 @@ snapshots:
'@sec-ant/readable-stream@0.4.1': {}
- '@semantic-release/commit-analyzer@13.0.1(semantic-release@24.2.0(typescript@5.7.2))':
+ '@semantic-release/commit-analyzer@13.0.1(semantic-release@24.2.1(typescript@5.7.2))':
dependencies:
conventional-changelog-angular: 8.0.0
conventional-changelog-writer: 8.0.0
@@ -8160,7 +8156,7 @@ snapshots:
import-from-esm: 2.0.0
lodash-es: 4.17.21
micromatch: 4.0.8
- semantic-release: 24.2.0(typescript@5.7.2)
+ semantic-release: 24.2.1(typescript@5.7.2)
transitivePeerDependencies:
- supports-color
@@ -8168,7 +8164,7 @@ snapshots:
'@semantic-release/error@4.0.0': {}
- '@semantic-release/exec@6.0.3(semantic-release@24.2.0(typescript@5.7.2))':
+ '@semantic-release/exec@6.0.3(semantic-release@24.2.1(typescript@5.7.2))':
dependencies:
'@semantic-release/error': 3.0.0
aggregate-error: 3.1.0
@@ -8176,11 +8172,11 @@ snapshots:
execa: 5.1.1
lodash: 4.17.21
parse-json: 5.2.0
- semantic-release: 24.2.0(typescript@5.7.2)
+ semantic-release: 24.2.1(typescript@5.7.2)
transitivePeerDependencies:
- supports-color
- '@semantic-release/github@11.0.1(semantic-release@24.2.0(typescript@5.7.2))':
+ '@semantic-release/github@11.0.1(semantic-release@24.2.1(typescript@5.7.2))':
dependencies:
'@octokit/core': 6.1.3
'@octokit/plugin-paginate-rest': 11.3.6(@octokit/core@6.1.3)
@@ -8197,12 +8193,12 @@ snapshots:
lodash-es: 4.17.21
mime: 4.0.6
p-filter: 4.1.0
- semantic-release: 24.2.0(typescript@5.7.2)
+ semantic-release: 24.2.1(typescript@5.7.2)
url-join: 5.0.0
transitivePeerDependencies:
- supports-color
- '@semantic-release/npm@12.0.1(semantic-release@24.2.0(typescript@5.7.2))':
+ '@semantic-release/npm@12.0.1(semantic-release@24.2.1(typescript@5.7.2))':
dependencies:
'@semantic-release/error': 4.0.0
aggregate-error: 5.0.0
@@ -8215,11 +8211,11 @@ snapshots:
rc: 1.2.8
read-pkg: 9.0.1
registry-auth-token: 5.0.3
- semantic-release: 24.2.0(typescript@5.7.2)
+ semantic-release: 24.2.1(typescript@5.7.2)
semver: 7.6.3
tempy: 3.1.0
- '@semantic-release/release-notes-generator@14.0.3(semantic-release@24.2.0(typescript@5.7.2))':
+ '@semantic-release/release-notes-generator@14.0.3(semantic-release@24.2.1(typescript@5.7.2))':
dependencies:
conventional-changelog-angular: 8.0.0
conventional-changelog-writer: 8.0.0
@@ -8231,7 +8227,7 @@ snapshots:
into-stream: 7.0.0
lodash-es: 4.17.21
read-package-up: 11.0.0
- semantic-release: 24.2.0(typescript@5.7.2)
+ semantic-release: 24.2.1(typescript@5.7.2)
transitivePeerDependencies:
- supports-color
@@ -10806,13 +10802,6 @@ snapshots:
parent-module: 1.0.1
resolve-from: 4.0.0
- import-from-esm@1.3.4:
- dependencies:
- debug: 4.4.0
- import-meta-resolve: 4.1.0
- transitivePeerDependencies:
- - supports-color
-
import-from-esm@2.0.0:
dependencies:
debug: 4.4.0
@@ -12885,13 +12874,13 @@ snapshots:
sax@1.4.1: {}
- semantic-release@24.2.0(typescript@5.7.2):
+ semantic-release@24.2.1(typescript@5.7.2):
dependencies:
- '@semantic-release/commit-analyzer': 13.0.1(semantic-release@24.2.0(typescript@5.7.2))
+ '@semantic-release/commit-analyzer': 13.0.1(semantic-release@24.2.1(typescript@5.7.2))
'@semantic-release/error': 4.0.0
- '@semantic-release/github': 11.0.1(semantic-release@24.2.0(typescript@5.7.2))
- '@semantic-release/npm': 12.0.1(semantic-release@24.2.0(typescript@5.7.2))
- '@semantic-release/release-notes-generator': 14.0.3(semantic-release@24.2.0(typescript@5.7.2))
+ '@semantic-release/github': 11.0.1(semantic-release@24.2.1(typescript@5.7.2))
+ '@semantic-release/npm': 12.0.1(semantic-release@24.2.1(typescript@5.7.2))
+ '@semantic-release/release-notes-generator': 14.0.3(semantic-release@24.2.1(typescript@5.7.2))
aggregate-error: 5.0.0
cosmiconfig: 9.0.0(typescript@5.7.2)
debug: 4.4.0
@@ -12903,7 +12892,7 @@ snapshots:
git-log-parser: 1.2.1
hook-std: 3.0.0
hosted-git-info: 8.0.2
- import-from-esm: 1.3.4
+ import-from-esm: 2.0.0
lodash-es: 4.17.21
marked: 12.0.2
marked-terminal: 7.2.1(marked@12.0.2)
From 4aab6640d72a30700486d4d196304c715c2f495e Mon Sep 17 00:00:00 2001
From: Sergei Zharinov
Date: Fri, 10 Jan 2025 06:53:35 -0300
Subject: [PATCH 012/247] fix(npm): Don't skip lockfile-only updates (#33497)
---
lib/modules/manager/npm/post-update/index.ts | 8 --------
1 file changed, 8 deletions(-)
diff --git a/lib/modules/manager/npm/post-update/index.ts b/lib/modules/manager/npm/post-update/index.ts
index b77df6d1b0d86f..5b3c139175b566 100644
--- a/lib/modules/manager/npm/post-update/index.ts
+++ b/lib/modules/manager/npm/post-update/index.ts
@@ -370,14 +370,6 @@ export async function getAdditionalFiles(
logger.debug('Skipping lock file generation');
return { artifactErrors, updatedArtifacts };
}
- if (
- config.reuseExistingBranch &&
- !config.updatedPackageFiles?.length &&
- config.upgrades?.every((upgrade) => upgrade.isLockfileUpdate)
- ) {
- logger.debug('Existing branch contains all necessary lock file updates');
- return { artifactErrors, updatedArtifacts };
- }
logger.debug('Getting updated lock files');
if (
config.updateType === 'lockFileMaintenance' &&
From 0427edd289218ff1cc7c84426476674bbbb392e3 Mon Sep 17 00:00:00 2001
From: Sergei Zharinov
Date: Fri, 10 Jan 2025 08:13:14 -0300
Subject: [PATCH 013/247] feat(nuget): Support for variables (#33416)
---
.../manager/nuget/__fixtures__/sample.csproj | 7 +--
.../nuget/__snapshots__/extract.spec.ts.snap | 6 ++-
lib/modules/manager/nuget/extract.ts | 43 ++++++++++++++++---
3 files changed, 45 insertions(+), 11 deletions(-)
diff --git a/lib/modules/manager/nuget/__fixtures__/sample.csproj b/lib/modules/manager/nuget/__fixtures__/sample.csproj
index eae6a29972ccc2..36f5a469eb9fe7 100644
--- a/lib/modules/manager/nuget/__fixtures__/sample.csproj
+++ b/lib/modules/manager/nuget/__fixtures__/sample.csproj
@@ -3,6 +3,7 @@
netcoreapp1.1
0.1.0
+ 4.5.0
@@ -11,9 +12,9 @@
-
-
-
+
+
+
diff --git a/lib/modules/manager/nuget/__snapshots__/extract.spec.ts.snap b/lib/modules/manager/nuget/__snapshots__/extract.spec.ts.snap
index 141706ed5a1658..a8d2ae43fc717d 100644
--- a/lib/modules/manager/nuget/__snapshots__/extract.spec.ts.snap
+++ b/lib/modules/manager/nuget/__snapshots__/extract.spec.ts.snap
@@ -124,22 +124,24 @@ exports[`modules/manager/nuget/extract extractPackageFile() extracts all depende
"depType": "nuget",
},
{
- "currentValue": "1.1.2",
"datasource": "nuget",
"depName": "Microsoft.AspNetCore.Hosting",
"depType": "nuget",
+ "skipReason": "invalid-version",
},
{
- "currentValue": "4.1.0",
+ "currentValue": "4.5.0",
"datasource": "nuget",
"depName": "Autofac.Extensions.DependencyInjection",
"depType": "nuget",
+ "groupName": "AutofacVersion",
},
{
"currentValue": "4.5.0",
"datasource": "nuget",
"depName": "Autofac",
"depType": "nuget",
+ "groupName": "AutofacVersion",
},
]
`;
diff --git a/lib/modules/manager/nuget/extract.ts b/lib/modules/manager/nuget/extract.ts
index 3b405f684335b4..56e832df34ec72 100644
--- a/lib/modules/manager/nuget/extract.ts
+++ b/lib/modules/manager/nuget/extract.ts
@@ -1,9 +1,8 @@
import is from '@sindresorhus/is';
-import type { XmlElement, XmlNode } from 'xmldoc';
-import { XmlDocument } from 'xmldoc';
+import type { XmlNode } from 'xmldoc';
+import { XmlDocument, XmlElement } from 'xmldoc';
import { logger } from '../../../logger';
import { getSiblingFileName, localPathExists } from '../../../util/fs';
-import { hasKey } from '../../../util/object';
import { regEx } from '../../../util/regex';
import { NugetDatasource } from '../../datasource/nuget';
import { getDep } from '../dockerfile/extract';
@@ -37,12 +36,13 @@ const elemNames = new Set([
'GlobalPackageReference',
]);
-function isXmlElem(node: XmlNode): boolean {
- return hasKey('name', node);
+function isXmlElem(node: XmlNode): node is XmlElement {
+ return node instanceof XmlElement;
}
function extractDepsFromXml(xmlNode: XmlDocument): NugetPackageDependency[] {
const results: NugetPackageDependency[] = [];
+ const vars = new Map();
const todo: XmlElement[] = [xmlNode];
while (todo.length) {
const child = todo.pop()!;
@@ -58,6 +58,7 @@ function extractDepsFromXml(xmlNode: XmlDocument): NugetPackageDependency[] {
if (elemNames.has(name)) {
const depName = attr?.Include || attr?.Update;
+
if (!depName) {
continue;
}
@@ -79,6 +80,23 @@ function extractDepsFromXml(xmlNode: XmlDocument): NugetPackageDependency[] {
dep.skipReason = 'invalid-version';
}
+ let groupName: string | undefined;
+
+ currentValue = currentValue
+ ?.trim()
+ ?.replace(/^\$\((\w+)\)$/, (match, key) => {
+ const val = vars.get(key);
+ if (val) {
+ groupName = key;
+ return val;
+ }
+ return match;
+ });
+
+ if (groupName) {
+ dep.groupName = groupName;
+ }
+
currentValue = checkVersion
.exec(currentValue)
?.groups?.currentValue?.trim();
@@ -116,8 +134,21 @@ function extractDepsFromXml(xmlNode: XmlDocument): NugetPackageDependency[] {
});
}
}
+
+ const propertyGroup = child.childNamed('PropertyGroup');
+ if (propertyGroup) {
+ for (const propChild of propertyGroup.children) {
+ if (isXmlElem(propChild)) {
+ const { name, val } = propChild;
+ if (!['Version', 'TargetFramework'].includes(name)) {
+ vars.set(name, val);
+ }
+ }
+ }
+ }
}
- todo.push(...(child.children.filter(isXmlElem) as XmlElement[]));
+
+ todo.push(...child.children.filter(isXmlElem));
}
}
return results;
From f2acf6a9a2104f074df74a8ce734f4f1d4ecd182 Mon Sep 17 00:00:00 2001
From: RahulGautamSingh
Date: Fri, 10 Jan 2025 16:45:01 +0530
Subject: [PATCH 014/247] refactor(logger): remove templating from FATAL logs
(#33490)
---
lib/logger/utils.ts | 2 +-
lib/workers/global/config/parse/file.ts | 2 +-
lib/workers/global/index.ts | 7 +++++--
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/lib/logger/utils.ts b/lib/logger/utils.ts
index b85f2c44de22e4..e6278f919e2311 100644
--- a/lib/logger/utils.ts
+++ b/lib/logger/utils.ts
@@ -317,7 +317,7 @@ export function validateLogLevel(
},
],
});
- logger.fatal(`${logLevelToCheck} is not a valid log level. terminating...`);
+ logger.fatal({ logLevel: logLevelToCheck }, 'Invalid log level');
process.exit(1);
}
diff --git a/lib/workers/global/config/parse/file.ts b/lib/workers/global/config/parse/file.ts
index cf6ecf20c69898..ec42d187db7c95 100644
--- a/lib/workers/global/config/parse/file.ts
+++ b/lib/workers/global/config/parse/file.ts
@@ -59,7 +59,7 @@ export async function getConfig(env: NodeJS.ProcessEnv): Promise {
config = await getParsedContent(configFile);
} catch (err) {
if (err instanceof SyntaxError || err instanceof TypeError) {
- logger.fatal(`Could not parse config file \n ${err.stack!}`);
+ logger.fatal({ error: err.stack }, 'Could not parse config file');
process.exit(1);
} else if (err instanceof ReferenceError) {
logger.fatal(
diff --git a/lib/workers/global/index.ts b/lib/workers/global/index.ts
index 488be90108dfd7..c774fe71610494 100644
--- a/lib/workers/global/index.ts
+++ b/lib/workers/global/index.ts
@@ -221,9 +221,12 @@ export async function start(): Promise {
await exportStats(config);
} catch (err) /* istanbul ignore next */ {
if (err.message.startsWith('Init: ')) {
- logger.fatal(err.message.substring(6));
+ logger.fatal(
+ { errorMessage: err.message.substring(6) },
+ 'Initialization error',
+ );
} else {
- logger.fatal({ err }, `Fatal error: ${String(err.message)}`);
+ logger.fatal({ err }, 'Unknown error');
}
if (!config!) {
// return early if we can't parse config options
From 5a9f3696b22b982d2850c153ebd08bc6626de716 Mon Sep 17 00:00:00 2001
From: RahulGautamSingh
Date: Fri, 10 Jan 2025 17:16:44 +0530
Subject: [PATCH 015/247] refactor(logger): remove templating from ERROR logs
(#33489)
---
lib/modules/datasource/deb/index.ts | 5 +++--
lib/modules/platform/azure/util.spec.ts | 2 +-
lib/modules/platform/azure/util.ts | 4 ++--
lib/workers/repository/update/pr/index.spec.ts | 6 +++---
lib/workers/repository/update/pr/index.ts | 2 +-
5 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/lib/modules/datasource/deb/index.ts b/lib/modules/datasource/deb/index.ts
index ad29d107df4977..006d81d2897939 100644
--- a/lib/modules/datasource/deb/index.ts
+++ b/lib/modules/datasource/deb/index.ts
@@ -90,13 +90,14 @@ export class DebDatasource extends Datasource {
await extract(compressedFile, compression, extractedFile);
lastTimestamp = await getFileCreationTime(extractedFile);
} catch (error) {
- logger.error(
+ logger.warn(
{
+ compressedFile,
componentUrl,
compression,
error: error.message,
},
- `Failed to extract package file from ${compressedFile}`,
+ 'Failed to extract package file from compressed file',
);
} finally {
await fs.rmCache(compressedFile);
diff --git a/lib/modules/platform/azure/util.spec.ts b/lib/modules/platform/azure/util.spec.ts
index bfdea61b104c98..14c277e276dda1 100644
--- a/lib/modules/platform/azure/util.spec.ts
+++ b/lib/modules/platform/azure/util.spec.ts
@@ -170,7 +170,7 @@ describe('modules/platform/azure/util', () => {
it('should return an error', () => {
expect(() => getProjectAndRepo('prjName/myRepoName/blalba')).toThrow(
Error(
- `prjName/myRepoName/blalba can be only structured this way : 'repository' or 'projectName/repository'!`,
+ `Azure repository can be only structured this way : 'repository' or 'projectName/repository'!`,
),
);
});
diff --git a/lib/modules/platform/azure/util.ts b/lib/modules/platform/azure/util.ts
index 74ca2ab7d27f5a..ccc3b43d7da2a5 100644
--- a/lib/modules/platform/azure/util.ts
+++ b/lib/modules/platform/azure/util.ts
@@ -160,8 +160,8 @@ export function getProjectAndRepo(str: string): {
repo: strSplit[1],
};
}
- const msg = `${str} can be only structured this way : 'repository' or 'projectName/repository'!`;
- logger.error(msg);
+ const msg = `Azure repository can be only structured this way : 'repository' or 'projectName/repository'!`;
+ logger.warn({ repository: str }, msg);
throw new Error(msg);
}
diff --git a/lib/workers/repository/update/pr/index.spec.ts b/lib/workers/repository/update/pr/index.spec.ts
index c0a8f6ac090895..2583501774f4b4 100644
--- a/lib/workers/repository/update/pr/index.spec.ts
+++ b/lib/workers/repository/update/pr/index.spec.ts
@@ -730,9 +730,9 @@ describe('workers/repository/update/pr/index', () => {
assignAutomerge: false,
});
- expect(logger.logger.error).toHaveBeenCalledWith(
- { err },
- 'Failed to ensure PR: ' + prTitle,
+ expect(logger.logger.warn).toHaveBeenCalledWith(
+ { err, prTitle },
+ 'Failed to ensure PR',
);
});
diff --git a/lib/workers/repository/update/pr/index.ts b/lib/workers/repository/update/pr/index.ts
index edc85177054180..aa6817daf31a35 100644
--- a/lib/workers/repository/update/pr/index.ts
+++ b/lib/workers/repository/update/pr/index.ts
@@ -573,7 +573,7 @@ export async function ensurePr(
logger.debug('Passing error up');
throw err;
}
- logger.error({ err }, 'Failed to ensure PR: ' + prTitle);
+ logger.warn({ err, prTitle }, 'Failed to ensure PR');
}
if (existingPr) {
return { type: 'with-pr', pr: existingPr };
From 309da71b45e8af2cf278d03d993f123d1f91aa8b Mon Sep 17 00:00:00 2001
From: Will Brennan
Date: Fri, 10 Jan 2025 22:52:45 +1100
Subject: [PATCH 016/247] feat(datasource): add devbox datasource module
(#33418)
---
lib/modules/datasource/api.ts | 2 +
lib/modules/datasource/devbox/common.ts | 3 +
lib/modules/datasource/devbox/index.spec.ts | 159 ++++++++++++++++++++
lib/modules/datasource/devbox/index.ts | 57 +++++++
lib/modules/datasource/devbox/schema.ts | 23 +++
5 files changed, 244 insertions(+)
create mode 100644 lib/modules/datasource/devbox/common.ts
create mode 100644 lib/modules/datasource/devbox/index.spec.ts
create mode 100644 lib/modules/datasource/devbox/index.ts
create mode 100644 lib/modules/datasource/devbox/schema.ts
diff --git a/lib/modules/datasource/api.ts b/lib/modules/datasource/api.ts
index e7284442c0a36b..84ba7fc52c5d2a 100644
--- a/lib/modules/datasource/api.ts
+++ b/lib/modules/datasource/api.ts
@@ -17,6 +17,7 @@ import { DartDatasource } from './dart';
import { DartVersionDatasource } from './dart-version';
import { DebDatasource } from './deb';
import { DenoDatasource } from './deno';
+import { DevboxDatasource } from './devbox';
import { DockerDatasource } from './docker';
import { DotnetVersionDatasource } from './dotnet-version';
import { EndoflifeDateDatasource } from './endoflife-date';
@@ -88,6 +89,7 @@ api.set(DartDatasource.id, new DartDatasource());
api.set(DartVersionDatasource.id, new DartVersionDatasource());
api.set(DebDatasource.id, new DebDatasource());
api.set(DenoDatasource.id, new DenoDatasource());
+api.set(DevboxDatasource.id, new DevboxDatasource());
api.set(DockerDatasource.id, new DockerDatasource());
api.set(DotnetVersionDatasource.id, new DotnetVersionDatasource());
api.set(EndoflifeDateDatasource.id, new EndoflifeDateDatasource());
diff --git a/lib/modules/datasource/devbox/common.ts b/lib/modules/datasource/devbox/common.ts
new file mode 100644
index 00000000000000..9149c754171e9a
--- /dev/null
+++ b/lib/modules/datasource/devbox/common.ts
@@ -0,0 +1,3 @@
+export const defaultRegistryUrl = 'https://search.devbox.sh/v2/';
+
+export const datasource = 'devbox';
diff --git a/lib/modules/datasource/devbox/index.spec.ts b/lib/modules/datasource/devbox/index.spec.ts
new file mode 100644
index 00000000000000..5b525a34d9c0b8
--- /dev/null
+++ b/lib/modules/datasource/devbox/index.spec.ts
@@ -0,0 +1,159 @@
+import { getPkgReleases } from '..';
+import * as httpMock from '../../../../test/http-mock';
+import { EXTERNAL_HOST_ERROR } from '../../../constants/error-messages';
+import { datasource, defaultRegistryUrl } from './common';
+
+const packageName = 'nodejs';
+
+function getPath(packageName: string): string {
+ return `/pkg?name=${encodeURIComponent(packageName)}`;
+}
+
+const sampleReleases = [
+ {
+ version: '22.2.0',
+ last_updated: '2024-05-22T06:18:38Z',
+ },
+ {
+ version: '22.0.0',
+ last_updated: '2024-05-12T16:19:40Z',
+ },
+ {
+ version: '21.7.3',
+ last_updated: '2024-04-19T21:36:04Z',
+ },
+];
+
+describe('modules/datasource/devbox/index', () => {
+ describe('getReleases', () => {
+ it('throws for error', async () => {
+ httpMock
+ .scope(defaultRegistryUrl)
+ .get(getPath(packageName))
+ .replyWithError('error');
+ await expect(
+ getPkgReleases({
+ datasource,
+ packageName,
+ }),
+ ).rejects.toThrow(EXTERNAL_HOST_ERROR);
+ });
+ });
+
+ it('returns null for 404', async () => {
+ httpMock.scope(defaultRegistryUrl).get(getPath(packageName)).reply(404);
+ expect(
+ await getPkgReleases({
+ datasource,
+ packageName,
+ }),
+ ).toBeNull();
+ });
+
+ it('returns null for empty result', async () => {
+ httpMock.scope(defaultRegistryUrl).get(getPath(packageName)).reply(200, {});
+ expect(
+ await getPkgReleases({
+ datasource,
+ packageName,
+ }),
+ ).toBeNull();
+ });
+
+ it('returns null for empty 200 OK', async () => {
+ httpMock
+ .scope(defaultRegistryUrl)
+ .get(getPath(packageName))
+ .reply(200, { versions: [] });
+ expect(
+ await getPkgReleases({
+ datasource,
+ packageName,
+ }),
+ ).toBeNull();
+ });
+
+ it('throws for 5xx', async () => {
+ httpMock.scope(defaultRegistryUrl).get(getPath(packageName)).reply(502);
+ await expect(
+ getPkgReleases({
+ datasource,
+ packageName,
+ }),
+ ).rejects.toThrow(EXTERNAL_HOST_ERROR);
+ });
+
+ it('processes real data', async () => {
+ httpMock.scope(defaultRegistryUrl).get(getPath(packageName)).reply(200, {
+ name: 'nodejs',
+ summary: 'Event-driven I/O framework for the V8 JavaScript engine',
+ homepage_url: 'https://nodejs.org',
+ license: 'MIT',
+ releases: sampleReleases,
+ });
+ const res = await getPkgReleases({
+ datasource,
+ packageName,
+ });
+ expect(res).toEqual({
+ homepage: 'https://nodejs.org',
+ registryUrl: 'https://search.devbox.sh/v2',
+ releases: [
+ {
+ version: '21.7.3',
+ releaseTimestamp: '2024-04-19T21:36:04.000Z',
+ },
+ {
+ version: '22.0.0',
+ releaseTimestamp: '2024-05-12T16:19:40.000Z',
+ },
+ {
+ version: '22.2.0',
+ releaseTimestamp: '2024-05-22T06:18:38.000Z',
+ },
+ ],
+ });
+ });
+
+ it('processes empty data', async () => {
+ httpMock.scope(defaultRegistryUrl).get(getPath(packageName)).reply(200, {
+ name: 'nodejs',
+ summary: 'Event-driven I/O framework for the V8 JavaScript engine',
+ homepage_url: 'https://nodejs.org',
+ license: 'MIT',
+ releases: [],
+ });
+ const res = await getPkgReleases({
+ datasource,
+ packageName,
+ });
+ expect(res).toBeNull();
+ });
+
+ it('returns null when no body is returned', async () => {
+ httpMock
+ .scope(defaultRegistryUrl)
+ .get(getPath(packageName))
+ .reply(200, undefined);
+ const res = await getPkgReleases({
+ datasource,
+ packageName,
+ });
+ expect(res).toBeNull();
+ });
+
+ it('falls back to a default homepage_url', async () => {
+ httpMock.scope(defaultRegistryUrl).get(getPath(packageName)).reply(200, {
+ name: 'nodejs',
+ summary: 'Event-driven I/O framework for the V8 JavaScript engine',
+ homepage_url: undefined,
+ license: 'MIT',
+ releases: sampleReleases,
+ });
+ const res = await getPkgReleases({
+ datasource,
+ packageName,
+ });
+ expect(res?.homepage).toBeUndefined();
+ });
+});
diff --git a/lib/modules/datasource/devbox/index.ts b/lib/modules/datasource/devbox/index.ts
new file mode 100644
index 00000000000000..be89dced54ee8f
--- /dev/null
+++ b/lib/modules/datasource/devbox/index.ts
@@ -0,0 +1,57 @@
+import { logger } from '../../../logger';
+import { ExternalHostError } from '../../../types/errors/external-host-error';
+import { HttpError } from '../../../util/http';
+import { joinUrlParts } from '../../../util/url';
+import * as devboxVersioning from '../../versioning/devbox';
+import { Datasource } from '../datasource';
+import type { GetReleasesConfig, ReleaseResult } from '../types';
+import { datasource, defaultRegistryUrl } from './common';
+import { DevboxResponse } from './schema';
+
+export class DevboxDatasource extends Datasource {
+ static readonly id = datasource;
+
+ constructor() {
+ super(datasource);
+ }
+
+ override readonly customRegistrySupport = true;
+ override readonly releaseTimestampSupport = true;
+
+ override readonly registryStrategy = 'first';
+
+ override readonly defaultVersioning = devboxVersioning.id;
+
+ override readonly defaultRegistryUrls = [defaultRegistryUrl];
+
+ async getReleases({
+ registryUrl,
+ packageName,
+ }: GetReleasesConfig): Promise {
+ const res: ReleaseResult = {
+ releases: [],
+ };
+
+ logger.trace({ registryUrl, packageName }, 'fetching devbox release');
+
+ const devboxPkgUrl = joinUrlParts(
+ registryUrl!,
+ `/pkg?name=${encodeURIComponent(packageName)}`,
+ );
+
+ try {
+ const response = await this.http.getJson(devboxPkgUrl, DevboxResponse);
+ res.releases = response.body.releases;
+ res.homepage = response.body.homepage;
+ } catch (err) {
+ // istanbul ignore else: not testable with nock
+ if (err instanceof HttpError) {
+ if (err.response?.statusCode !== 404) {
+ throw new ExternalHostError(err);
+ }
+ }
+ this.handleGenericErrors(err);
+ }
+ return res.releases.length ? res : null;
+ }
+}
diff --git a/lib/modules/datasource/devbox/schema.ts b/lib/modules/datasource/devbox/schema.ts
new file mode 100644
index 00000000000000..bc31efae879850
--- /dev/null
+++ b/lib/modules/datasource/devbox/schema.ts
@@ -0,0 +1,23 @@
+import { z } from 'zod';
+
+export const DevboxRelease = z.object({
+ version: z.string(),
+ last_updated: z.string(),
+});
+
+export const DevboxResponse = z
+ .object({
+ name: z.string(),
+ summary: z.string().optional(),
+ homepage_url: z.string().optional(),
+ license: z.string().optional(),
+ releases: DevboxRelease.array(),
+ })
+ .transform((response) => ({
+ name: response.name,
+ homepage: response.homepage_url,
+ releases: response.releases.map((release) => ({
+ version: release.version,
+ releaseTimestamp: release.last_updated,
+ })),
+ }));
From 890824c28e0a720b8eed92bc4f96f737001f1823 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 10 Jan 2025 16:13:31 +0000
Subject: [PATCH 017/247] chore(deps): update actions/upload-artifact action to
v4.6.0 (#33518)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/build.yml | 6 +++---
.github/workflows/scorecard.yml | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b796acb14c535c..b4dd6f156ee6bc 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -411,7 +411,7 @@ jobs:
- name: Save coverage artifacts
if: (success() || failure()) && github.event.pull_request.draft != true && matrix.coverage
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
+ uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: ${{ matrix.upload-artifact-name }}
path: |
@@ -567,7 +567,7 @@ jobs:
run: pnpm test-e2e:pack
- name: Upload
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
+ uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: renovate-package
path: renovate-0.0.0-semantic-release.tgz
@@ -611,7 +611,7 @@ jobs:
run: pnpm test:docs
- name: Upload
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
+ uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: docs
path: tmp/docs/
diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml
index b3cfe0671e90ed..41ec1e45171fae 100644
--- a/.github/workflows/scorecard.yml
+++ b/.github/workflows/scorecard.yml
@@ -43,7 +43,7 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: 'Upload artifact'
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
+ uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: SARIF file
path: results.sarif
From d3915992dfc44069e04d446379baf834deee08c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20=C4=8Carneck=C3=BD?=
Date: Fri, 10 Jan 2025 19:04:11 +0100
Subject: [PATCH 018/247] feat(presets): StyleX in Rust monorepo (#33519)
Co-authored-by: Rhys Arkins
---
lib/data/monorepo.json | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/data/monorepo.json b/lib/data/monorepo.json
index ebaf39de7f8100..1d0437dbc8db72 100644
--- a/lib/data/monorepo.json
+++ b/lib/data/monorepo.json
@@ -520,6 +520,7 @@
"strapi": "https://github.com/strapi/strapi",
"strum": "https://github.com/Peternator7/strum",
"stryker-js": "https://github.com/stryker-mutator/stryker-js",
+ "stylex-swc": "https://github.com/Dwlad90/stylex-swc-plugin",
"surveyjs": "https://github.com/surveyjs/surveyjs",
"swashbuckle-aspnetcore": "https://github.com/domaindrivendev/Swashbuckle.AspNetCore",
"system.io.abstractions": "https://github.com/System-IO-Abstractions/System.IO.Abstractions/",
From 5df1b8355eb80f9d2302b1bb20f1a161386f5c6c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 10 Jan 2025 18:26:29 +0000
Subject: [PATCH 019/247] chore(deps): update dependency @types/lodash to
v4.17.14 (#33520)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
pnpm-lock.yaml | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package.json b/package.json
index b3dcb23d7e6195..cf045438fe6fea 100644
--- a/package.json
+++ b/package.json
@@ -291,7 +291,7 @@
"@types/js-yaml": "4.0.9",
"@types/json-dup-key-validator": "1.0.2",
"@types/linkify-markdown": "1.0.3",
- "@types/lodash": "4.17.13",
+ "@types/lodash": "4.17.14",
"@types/luxon": "3.4.2",
"@types/markdown-it": "14.1.2",
"@types/markdown-table": "2.0.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d4bf9f52048542..841d7a8a8dd9f9 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -446,8 +446,8 @@ importers:
specifier: 1.0.3
version: 1.0.3
'@types/lodash':
- specifier: 4.17.13
- version: 4.17.13
+ specifier: 4.17.14
+ version: 4.17.14
'@types/luxon':
specifier: 3.4.2
version: 3.4.2
@@ -2088,8 +2088,8 @@ packages:
'@types/linkify-markdown@1.0.3':
resolution: {integrity: sha512-BnuGqDmpzmXCDMXHzgle/vMRUnbFcWclts0+n7Or421exav3XG6efl9gsxamLET6QPhX+pMnxcsHgnAO/daj9w==}
- '@types/lodash@4.17.13':
- resolution: {integrity: sha512-lfx+dftrEZcdBPczf9d0Qv0x+j/rfNCMuC6OcfXmO8gkfeNAY88PgKUbvG56whcN23gc27yenwF6oJZXGFpYxg==}
+ '@types/lodash@4.17.14':
+ resolution: {integrity: sha512-jsxagdikDiDBeIRaPYtArcT8my4tN1og7MtMRquFT3XNA6axxyHDRUemqDz/taRDdOUn0GnGHRCuff4q48sW9A==}
'@types/luxon@3.4.2':
resolution: {integrity: sha512-TifLZlFudklWlMBfhubvgqTXRzLDI5pCbGa4P8a3wPyUQSW+1xQ5eDsreP9DWHX3tjq1ke96uYG/nwundroWcA==}
@@ -8823,7 +8823,7 @@ snapshots:
'@types/linkify-markdown@1.0.3': {}
- '@types/lodash@4.17.13': {}
+ '@types/lodash@4.17.14': {}
'@types/luxon@3.4.2': {}
From 44fc39b8ef7ebe9fdc2d37c14f19e3140ba8ba02 Mon Sep 17 00:00:00 2001
From: Sergei Zharinov
Date: Sat, 11 Jan 2025 10:06:23 -0300
Subject: [PATCH 020/247] feat(conan): Use schema for datasource (#33528)
---
lib/modules/datasource/conan/common.ts | 2 +-
lib/modules/datasource/conan/index.spec.ts | 1 +
lib/modules/datasource/conan/index.ts | 77 ++++++++--------------
lib/modules/datasource/conan/schema.ts | 66 +++++++++++++++++++
lib/modules/datasource/conan/types.ts | 31 ---------
5 files changed, 95 insertions(+), 82 deletions(-)
create mode 100644 lib/modules/datasource/conan/schema.ts
diff --git a/lib/modules/datasource/conan/common.ts b/lib/modules/datasource/conan/common.ts
index bba6a0a0213af2..fce9a20255a83a 100644
--- a/lib/modules/datasource/conan/common.ts
+++ b/lib/modules/datasource/conan/common.ts
@@ -6,7 +6,7 @@ export const defaultRegistryUrl = 'https://center2.conan.io/';
export const datasource = 'conan';
export const conanDatasourceRegex = regEx(
- /(?[a-zA-Z\-_0-9]+)\/(?[^@/\n]+)(?@\S+\/\S+)/gim,
+ /^(?[a-zA-Z\-_0-9]+)\/(?[^@/\n]+)(?@\S+\/\S+)$/im,
);
export function getConanPackage(packageName: string): ConanPackage {
diff --git a/lib/modules/datasource/conan/index.spec.ts b/lib/modules/datasource/conan/index.spec.ts
index f12ea65847e878..56c7faa5c1db71 100644
--- a/lib/modules/datasource/conan/index.spec.ts
+++ b/lib/modules/datasource/conan/index.spec.ts
@@ -360,6 +360,7 @@ describe('modules/datasource/conan/index', () => {
version: '1.1.1',
},
],
+ sourceUrl: 'https://fake.conan.url.com',
});
});
diff --git a/lib/modules/datasource/conan/index.ts b/lib/modules/datasource/conan/index.ts
index 8ecb40124792bb..b944a97dc633be 100644
--- a/lib/modules/datasource/conan/index.ts
+++ b/lib/modules/datasource/conan/index.ts
@@ -3,7 +3,6 @@ import { logger } from '../../../logger';
import { cache } from '../../../util/cache/package/decorator';
import { GithubHttp } from '../../../util/http/github';
import { ensureTrailingSlash, joinUrlParts } from '../../../util/url';
-import { parseSingleYaml } from '../../../util/yaml';
import * as allVersioning from '../../versioning';
import { Datasource } from '../datasource';
import type {
@@ -13,19 +12,14 @@ import type {
ReleaseResult,
} from '../types';
import { isArtifactoryServer } from '../util';
+import { datasource, defaultRegistryUrl, getConanPackage } from './common';
import {
- conanDatasourceRegex,
- datasource,
- defaultRegistryUrl,
- getConanPackage,
-} from './common';
-import type {
+ ConanCenterReleases,
ConanJSON,
+ ConanLatestRevision,
ConanProperties,
ConanRevisionJSON,
- ConanRevisionsJSON,
- ConanYAML,
-} from './types';
+} from './schema';
export class ConanDatasource extends Datasource {
static readonly id = datasource;
@@ -62,13 +56,7 @@ export class ConanDatasource extends Datasource {
const res = await this.githubHttp.get(url, {
headers: { accept: 'application/vnd.github.v3.raw' },
});
- // TODO: use schema (#9610)
- const doc = parseSingleYaml(res.body);
- return {
- releases: Object.keys(doc?.versions ?? {}).map((version) => ({
- version,
- })),
- };
+ return ConanCenterReleases.parse(res.body);
}
@cache({
@@ -94,10 +82,11 @@ export class ConanDatasource extends Datasource {
conanPackage.userAndChannel,
'/revisions',
);
- const revisionRep =
- await this.http.getJson(revisionLookUp);
- const revisions = revisionRep?.body.revisions;
- return revisions?.[0].revision ?? null;
+ const { body: digest } = await this.http.getJson(
+ revisionLookUp,
+ ConanLatestRevision,
+ );
+ return digest;
}
@cache({
@@ -135,25 +124,16 @@ export class ConanDatasource extends Datasource {
);
try {
- const rep = await this.http.getJson(lookupUrl);
- const versions = rep?.body;
- if (versions) {
+ const rep = await this.http.getJson(lookupUrl);
+ const conanJson = ConanJSON.parse(rep.body);
+ if (conanJson) {
logger.trace({ lookupUrl }, 'Got conan api result');
const dep: ReleaseResult = { releases: [] };
- for (const resultString of Object.values(versions.results ?? {})) {
- conanDatasourceRegex.lastIndex = 0;
- const fromMatch = conanDatasourceRegex.exec(resultString);
- if (fromMatch?.groups?.version && fromMatch?.groups?.userChannel) {
- const version = fromMatch.groups.version;
- if (fromMatch.groups.userChannel === userAndChannel) {
- const result: Release = {
- version,
- };
- dep.releases.push(result);
- }
- }
- }
+ const conanJsonReleases: Release[] = conanJson
+ .filter(({ userChannel }) => userChannel === userAndChannel)
+ .map(({ version }) => ({ version }));
+ dep.releases.push(...conanJsonReleases);
try {
if (isArtifactoryServer(rep)) {
@@ -182,25 +162,22 @@ export class ConanDatasource extends Datasource {
url,
`v2/conans/${conanPackage.conanName}/${latestVersion}/${conanPackage.userAndChannel}/latest`,
);
- const revResp =
- await this.http.getJson(latestRevisionUrl);
- const packageRev = revResp.body.revision;
+ const {
+ body: { revision: packageRev },
+ } = await this.http.getJson(latestRevisionUrl, ConanRevisionJSON);
const [user, channel] = conanPackage.userAndChannel.split('/');
const packageUrl = joinUrlParts(
`${groups.host}/artifactory/api/storage/${groups.repo}`,
`${user}/${conanPackage.conanName}/${latestVersion}/${channel}/${packageRev}/export/conanfile.py?properties=conan.package.url`,
);
- const packageUrlResp =
- await this.http.getJson(packageUrl);
-
- if (
- packageUrlResp.body.properties &&
- 'conan.package.url' in packageUrlResp.body.properties
- ) {
- const conanPackageUrl =
- packageUrlResp.body.properties['conan.package.url'][0];
- dep.sourceUrl = conanPackageUrl;
+ const { body: conanProperties } = await this.http.getJson(
+ packageUrl,
+ ConanProperties,
+ );
+ const { sourceUrl } = conanProperties;
+ if (sourceUrl) {
+ dep.sourceUrl = sourceUrl;
}
}
} catch (err) {
diff --git a/lib/modules/datasource/conan/schema.ts b/lib/modules/datasource/conan/schema.ts
new file mode 100644
index 00000000000000..2ca42c64f9fd97
--- /dev/null
+++ b/lib/modules/datasource/conan/schema.ts
@@ -0,0 +1,66 @@
+import { z } from 'zod';
+import { LooseArray, Yaml } from '../../../util/schema-utils';
+import type { ReleaseResult } from '../types';
+import { conanDatasourceRegex } from './common';
+
+export const ConanCenterReleases = Yaml.pipe(
+ z.object({
+ versions: z.record(z.string(), z.unknown()),
+ }),
+)
+ .transform(
+ ({ versions }): ReleaseResult => ({
+ releases: Object.keys(versions).map((version) => ({ version })),
+ }),
+ )
+ .nullable()
+ .catch(null);
+
+export const ConanJSON = z
+ .object({
+ results: z
+ .string()
+ .array()
+ .transform((array) =>
+ array.map((val) => val.match(conanDatasourceRegex)?.groups),
+ )
+ .pipe(
+ LooseArray(
+ z.object({
+ name: z.string(),
+ version: z.string(),
+ userChannel: z.string(),
+ }),
+ ),
+ ),
+ })
+ .transform(({ results }) => results)
+ .nullable()
+ .catch(null);
+
+export const ConanRevisionJSON = z.object({
+ revision: z.string(),
+ time: z.string(),
+});
+
+export const ConanLatestRevision = z
+ .object({ revisions: z.unknown().array() })
+ .transform(({ revisions }) => revisions[0])
+ .pipe(ConanRevisionJSON)
+ .transform(({ revision }) => revision)
+ .nullable()
+ .catch(null);
+
+export const ConanProperties = z
+ .object({
+ properties: z.object({
+ 'conan.package.url': z.union([
+ z.string().transform((url) => [url]),
+ z.string().array(),
+ ]),
+ }),
+ })
+ .transform(({ properties }) => {
+ const sourceUrl = properties['conan.package.url'][0];
+ return { sourceUrl };
+ });
diff --git a/lib/modules/datasource/conan/types.ts b/lib/modules/datasource/conan/types.ts
index bb65481f5015f8..18dda2e72854d1 100644
--- a/lib/modules/datasource/conan/types.ts
+++ b/lib/modules/datasource/conan/types.ts
@@ -1,35 +1,4 @@
-export interface ConanJSON {
- results?: Record;
-}
-
-export interface ConanRevisionJSON {
- revision: string;
- time: string;
-}
-
-export interface ConanRevisionsJSON {
- revisions?: Record;
-}
-
-export interface ConanYAML {
- versions?: Record;
-}
-
export interface ConanPackage {
conanName: string;
userAndChannel: string;
}
-
-export interface ConanRecipeProperties {
- 'conan.package.channel': string[];
- 'conan.package.license': string[];
- 'conan.package.name': string[];
- 'conan.package.url': string[];
- 'conan.package.user': string[];
- 'conan.package.version': string[];
-}
-
-export interface ConanProperties {
- properties: ConanRecipeProperties;
- uri: string;
-}
From 6ff935ef0b5824902e8ff2aca14e070363b5003e Mon Sep 17 00:00:00 2001
From: Johannes Feichtner <343448+Churro@users.noreply.github.com>
Date: Sat, 11 Jan 2025 14:16:00 +0100
Subject: [PATCH 021/247] fix(gradle): remove redundant checks and parser
statements (#33526)
---
lib/modules/manager/gradle/parser.ts | 29 ++++++-------
lib/modules/manager/gradle/parser/common.ts | 16 ++-----
lib/modules/manager/gradle/utils.ts | 47 ++++++++-------------
3 files changed, 34 insertions(+), 58 deletions(-)
diff --git a/lib/modules/manager/gradle/parser.ts b/lib/modules/manager/gradle/parser.ts
index d9f0f4e6111792..b0459572b2d084 100644
--- a/lib/modules/manager/gradle/parser.ts
+++ b/lib/modules/manager/gradle/parser.ts
@@ -18,7 +18,7 @@ import type {
PackageVariables,
ParseGradleResult,
} from './types';
-import { isDependencyString, parseDependencyString } from './utils';
+import { parseDependencyString } from './utils';
const groovy = lang.createLang('groovy');
const ctx: Ctx = {
@@ -127,28 +127,27 @@ export function parseProps(
): { vars: PackageVariables; deps: PackageDependency[] } {
let offset = 0;
const vars: PackageVariables = {};
- const deps: PackageDependency[] = [];
+ const deps: PackageDependency[] = [];
+
for (const line of input.split(newlineRegex)) {
const lineMatch = propRegex.exec(line);
if (lineMatch?.groups) {
const { key, value, leftPart } = lineMatch.groups;
- if (isDependencyString(value)) {
- const dep = parseDependencyString(value);
- if (dep) {
- deps.push({
- ...dep,
- managerData: {
- fileReplacePosition:
- offset + leftPart.length + dep.depName!.length + 1,
- packageFile,
- },
- });
- }
+ const replacePosition = offset + leftPart.length;
+ const dep = parseDependencyString(value);
+ if (dep) {
+ deps.push({
+ ...dep,
+ managerData: {
+ fileReplacePosition: replacePosition + dep.depName!.length + 1,
+ packageFile,
+ },
+ });
} else {
vars[key] = {
key,
value,
- fileReplacePosition: offset + leftPart.length,
+ fileReplacePosition: replacePosition,
packageFile,
};
}
diff --git a/lib/modules/manager/gradle/parser/common.ts b/lib/modules/manager/gradle/parser/common.ts
index a008c30249da4c..2c201804407bce 100644
--- a/lib/modules/manager/gradle/parser/common.ts
+++ b/lib/modules/manager/gradle/parser/common.ts
@@ -267,23 +267,13 @@ export const qTemplateString = q
ctx.tmpTokenStore.templateTokens = [];
return ctx;
},
- search: q.alt(
- qStringValue.handler((ctx) => {
+ search: q
+ .alt(qStringValue, qPropertyAccessIdentifier, qVariableAccessIdentifier)
+ .handler((ctx) => {
ctx.tmpTokenStore.templateTokens?.push(...ctx.varTokens);
ctx.varTokens = [];
return ctx;
}),
- qPropertyAccessIdentifier.handler((ctx) => {
- ctx.tmpTokenStore.templateTokens?.push(...ctx.varTokens);
- ctx.varTokens = [];
- return ctx;
- }),
- qVariableAccessIdentifier.handler((ctx) => {
- ctx.tmpTokenStore.templateTokens?.push(...ctx.varTokens);
- ctx.varTokens = [];
- return ctx;
- }),
- ),
})
.handler((ctx) => {
ctx.varTokens = ctx.tmpTokenStore.templateTokens!;
diff --git a/lib/modules/manager/gradle/utils.ts b/lib/modules/manager/gradle/utils.ts
index 84de600b478a0f..8b238247ec5300 100644
--- a/lib/modules/manager/gradle/utils.ts
+++ b/lib/modules/manager/gradle/utils.ts
@@ -13,8 +13,7 @@ const artifactRegex = regEx(
const versionLikeRegex = regEx('^(?[-_.\\[\\](),a-zA-Z0-9+]+)');
-// Extracts version-like and range-like strings
-// from the beginning of input
+// Extracts version-like and range-like strings from the beginning of input
export function versionLikeSubstring(
input: string | null | undefined,
): string | null {
@@ -32,40 +31,32 @@ export function versionLikeSubstring(
}
export function isDependencyString(input: string): boolean {
- const split = input?.split(':');
- if (split?.length !== 3 && split?.length !== 4) {
+ const parts = input.split(':');
+ if (parts.length !== 3 && parts.length !== 4) {
return false;
}
- // eslint-disable-next-line prefer-const
- let [tempGroupId, tempArtifactId, tempVersionPart, optionalClassifier] =
- split;
+ const [groupId, artifactId, versionPart, optionalClassifier] = parts;
if (optionalClassifier && !artifactRegex.test(optionalClassifier)) {
return false;
}
- if (
- tempVersionPart !== versionLikeSubstring(tempVersionPart) &&
- tempVersionPart.includes('@')
- ) {
- const versionSplit = tempVersionPart?.split('@');
- if (versionSplit?.length !== 2) {
+ let version = versionPart;
+ if (versionPart.includes('@')) {
+ const [actualVersion, ...rest] = versionPart.split('@');
+ if (rest.length !== 1) {
return false;
}
- [tempVersionPart] = versionSplit;
+ version = actualVersion;
}
- const [groupId, artifactId, versionPart] = [
- tempGroupId,
- tempArtifactId,
- tempVersionPart,
- ];
+
return !!(
groupId &&
artifactId &&
- versionPart &&
+ version &&
artifactRegex.test(groupId) &&
artifactRegex.test(artifactId) &&
- versionPart === versionLikeSubstring(versionPart)
+ version === versionLikeSubstring(version)
);
}
@@ -75,18 +66,14 @@ export function parseDependencyString(
if (!isDependencyString(input)) {
return null;
}
- const [groupId, artifactId, FullValue] = input.split(':');
- if (FullValue === versionLikeSubstring(FullValue)) {
- return {
- depName: `${groupId}:${artifactId}`,
- currentValue: FullValue,
- };
- }
- const [currentValue, dataType] = FullValue.split('@');
+
+ const [groupId, artifactId, fullValue] = input.split(':');
+ const [currentValue, dataType] = fullValue.split('@');
+
return {
depName: `${groupId}:${artifactId}`,
currentValue,
- dataType,
+ ...(dataType && { dataType }),
};
}
From 1c82ddec9ba2f779df8554dba497ea817f51e99b Mon Sep 17 00:00:00 2001
From: Sergei Zharinov
Date: Sat, 11 Jan 2025 10:16:47 -0300
Subject: [PATCH 022/247] refactor(bitrise): Simplify file parsing usage
(#33525)
---
lib/modules/datasource/bitrise/index.ts | 5 +----
lib/modules/datasource/bitrise/schema.ts | 11 +++++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/lib/modules/datasource/bitrise/index.ts b/lib/modules/datasource/bitrise/index.ts
index f3b2b66b838e14..0a412c1dc974b7 100644
--- a/lib/modules/datasource/bitrise/index.ts
+++ b/lib/modules/datasource/bitrise/index.ts
@@ -6,7 +6,6 @@ import { parseGitUrl } from '../../../util/git/url';
import { GithubHttp } from '../../../util/http/github';
import { fromBase64 } from '../../../util/string';
import { joinUrlParts } from '../../../util/url';
-import { parseSingleYaml } from '../../../util/yaml';
import { GithubContentResponse } from '../../platform/github/schema';
import semver from '../../versioning/semver';
import { Datasource } from '../datasource';
@@ -111,9 +110,7 @@ export class BitriseDatasource extends Datasource {
}
const content = fromBase64(body.content);
- const { published_at, source_code_url } = parseSingleYaml(content, {
- customSchema: BitriseStepFile,
- });
+ const { published_at, source_code_url } = BitriseStepFile.parse(content);
result.releases.push({
version: versionDir.name,
diff --git a/lib/modules/datasource/bitrise/schema.ts b/lib/modules/datasource/bitrise/schema.ts
index b06b5d3c105cd0..064151a45de2cd 100644
--- a/lib/modules/datasource/bitrise/schema.ts
+++ b/lib/modules/datasource/bitrise/schema.ts
@@ -1,6 +1,9 @@
import { z } from 'zod';
+import { Yaml } from '../../../util/schema-utils';
-export const BitriseStepFile = z.object({
- published_at: z.string(),
- source_code_url: z.string().optional(),
-});
+export const BitriseStepFile = Yaml.pipe(
+ z.object({
+ published_at: z.string(),
+ source_code_url: z.string().optional(),
+ }),
+);
From b220e93153adb5c7f6576e6774bfba308b9ca821 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 13:18:39 +0000
Subject: [PATCH 023/247] chore(deps): update github/codeql-action action to
v3.28.1 (#33533)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/codeql-analysis.yml | 6 +++---
.github/workflows/scorecard.yml | 2 +-
.github/workflows/trivy.yml | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index fbcd8f0dd563ad..28e256da7b5452 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -41,7 +41,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
+ uses: github/codeql-action/init@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
with:
languages: javascript
@@ -51,7 +51,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
- uses: github/codeql-action/autobuild@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
+ uses: github/codeql-action/autobuild@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -65,4 +65,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
+ uses: github/codeql-action/analyze@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml
index 41ec1e45171fae..a21f09f3638134 100644
--- a/.github/workflows/scorecard.yml
+++ b/.github/workflows/scorecard.yml
@@ -51,6 +51,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard.
- name: 'Upload to code-scanning'
- uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
+ uses: github/codeql-action/upload-sarif@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
with:
sarif_file: results.sarif
diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml
index 4bb06dc0427ed2..9b99d5869217c0 100644
--- a/.github/workflows/trivy.yml
+++ b/.github/workflows/trivy.yml
@@ -31,7 +31,7 @@ jobs:
format: 'sarif'
output: 'trivy-results.sarif'
- - uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
+ - uses: github/codeql-action/upload-sarif@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
with:
sarif_file: trivy-results.sarif
category: 'docker-image-${{ matrix.tag }}'
From 205b67817f316391398d3ad45797bb0a4ef4f8a0 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 13:18:49 +0000
Subject: [PATCH 024/247] chore(deps): update dependency pdm to v2.22.2
(#33532)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/build.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b4dd6f156ee6bc..7abf3ab80ae4df 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -31,7 +31,7 @@ concurrency:
env:
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
NODE_VERSION: 22
- PDM_VERSION: 2.22.1 # renovate: datasource=pypi depName=pdm
+ PDM_VERSION: 2.22.2 # renovate: datasource=pypi depName=pdm
DRY_RUN: true
TEST_LEGACY_DECRYPTION: true
SPARSE_CHECKOUT: |-
From e1aa9b74a629617b313dbfb62920364157bf7499 Mon Sep 17 00:00:00 2001
From: Sergei Zharinov
Date: Sat, 11 Jan 2025 10:19:29 -0300
Subject: [PATCH 025/247] refactor(azure-pipelines): Simplify Zod result type
inference (#33524)
---
lib/modules/datasource/azure-pipelines-tasks/index.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/modules/datasource/azure-pipelines-tasks/index.ts b/lib/modules/datasource/azure-pipelines-tasks/index.ts
index 2605cd91a78845..d7c81d19e960ea 100644
--- a/lib/modules/datasource/azure-pipelines-tasks/index.ts
+++ b/lib/modules/datasource/azure-pipelines-tasks/index.ts
@@ -93,7 +93,7 @@ export class AzurePipelinesTasksDatasource extends Datasource {
key: (url: string) => url,
ttlMinutes: 24 * 60,
})
- async getTasks = ZodType>(
+ async getTasks(
url: string,
opts: HttpOptions,
schema: Schema,
From 76512fe4db579d93389ea1b77538724d1c3d1b38 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 15:11:33 +0000
Subject: [PATCH 026/247] build(deps): update dependency @cdktf/hcl2json to
v0.20.11 (#33534)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
pnpm-lock.yaml | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package.json b/package.json
index cf045438fe6fea..27cce711cb99e9 100644
--- a/package.json
+++ b/package.json
@@ -150,7 +150,7 @@
"@aws-sdk/client-s3": "3.717.0",
"@aws-sdk/credential-providers": "3.716.0",
"@breejs/later": "4.2.0",
- "@cdktf/hcl2json": "0.20.10",
+ "@cdktf/hcl2json": "0.20.11",
"@opentelemetry/api": "1.9.0",
"@opentelemetry/context-async-hooks": "1.30.0",
"@opentelemetry/exporter-trace-otlp-http": "0.57.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 841d7a8a8dd9f9..1bec9c1d087405 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -33,8 +33,8 @@ importers:
specifier: 4.2.0
version: 4.2.0
'@cdktf/hcl2json':
- specifier: 0.20.10
- version: 0.20.10
+ specifier: 0.20.11
+ version: 0.20.11
'@opentelemetry/api':
specifier: 1.9.0
version: 1.9.0
@@ -1004,8 +1004,8 @@ packages:
resolution: {integrity: sha512-EVMD0SgJtOuFeg0lAVbCwa+qeTKILb87jqvLyUtQswGD9+ce2nB52Y5zbTF1Hc0MDFfbydcMcxb47jSdhikVHA==}
engines: {node: '>= 10'}
- '@cdktf/hcl2json@0.20.10':
- resolution: {integrity: sha512-oh8g9727sSEnwRjIjPYnhTn4mvvxclRcovf5GIkFED+4HpiBLioVUUsX33rFk6wZZh175uJBOAvQ/qVG+Uaqyw==}
+ '@cdktf/hcl2json@0.20.11':
+ resolution: {integrity: sha512-k4CJkbUPyI+k9KOQjJ6qu2dIrpqSkXukt9R+kDaizWVM4yc8HDMLHnelC0X2oWsfeQNE8wSAm20SXkGlPLoFmw==}
'@colors/colors@1.5.0':
resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==}
@@ -7416,7 +7416,7 @@ snapshots:
'@breejs/later@4.2.0': {}
- '@cdktf/hcl2json@0.20.10':
+ '@cdktf/hcl2json@0.20.11':
dependencies:
fs-extra: 11.2.0
From e793c8b0ab59d76f5bce9e836aefd77c1384acd8 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 15:11:50 +0000
Subject: [PATCH 027/247] build(deps): update dependency better-sqlite3 to
v11.7.2 (#33535)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
pnpm-lock.yaml | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package.json b/package.json
index 27cce711cb99e9..11b05112a59493 100644
--- a/package.json
+++ b/package.json
@@ -254,7 +254,7 @@
"zod": "3.24.1"
},
"optionalDependencies": {
- "better-sqlite3": "11.7.0",
+ "better-sqlite3": "11.7.2",
"openpgp": "6.0.1",
"re2": "1.21.4"
},
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 1bec9c1d087405..c6befd6e2a7d19 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -340,8 +340,8 @@ importers:
version: 3.24.1
optionalDependencies:
better-sqlite3:
- specifier: 11.7.0
- version: 11.7.0
+ specifier: 11.7.2
+ version: 11.7.2
openpgp:
specifier: 6.0.1
version: 6.0.1
@@ -2504,8 +2504,8 @@ packages:
before-after-hook@3.0.2:
resolution: {integrity: sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==}
- better-sqlite3@11.7.0:
- resolution: {integrity: sha512-mXpa5jnIKKHeoGzBrUJrc65cXFKcILGZpU3FXR0pradUEm9MA7UZz02qfEejaMcm9iXrSOCenwwYMJ/tZ1y5Ig==}
+ better-sqlite3@11.7.2:
+ resolution: {integrity: sha512-10a57cHVDmfNQS4jrZ9AH2t+2ekzYh5Rhbcnb4ytpmYweoLdogDmyTt5D+hLiY9b44Mx9foowb/4iXBTO2yP3Q==}
bignumber.js@9.1.2:
resolution: {integrity: sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==}
@@ -9335,7 +9335,7 @@ snapshots:
before-after-hook@3.0.2: {}
- better-sqlite3@11.7.0:
+ better-sqlite3@11.7.2:
dependencies:
bindings: 1.5.0
prebuild-install: 7.1.2
From b39715717bdc8f1cb3b7cbee3253b90053637124 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 15:13:09 +0000
Subject: [PATCH 028/247] build(deps): update dependency glob to v11.0.1
(#33536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
pnpm-lock.yaml | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/package.json b/package.json
index 11b05112a59493..9e101200c1dcc7 100644
--- a/package.json
+++ b/package.json
@@ -200,7 +200,7 @@
"fs-extra": "11.2.0",
"git-url-parse": "16.0.0",
"github-url-from-git": "1.5.0",
- "glob": "11.0.0",
+ "glob": "11.0.1",
"global-agent": "3.0.0",
"good-enough-parser": "1.1.23",
"google-auth-library": "9.15.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index c6befd6e2a7d19..fbe54e242e6ee2 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -183,8 +183,8 @@ importers:
specifier: 1.5.0
version: 1.5.0
glob:
- specifier: 11.0.0
- version: 11.0.0
+ specifier: 11.0.1
+ version: 11.0.1
global-agent:
specifier: 3.0.0
version: 3.0.0
@@ -3578,8 +3578,8 @@ packages:
resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==}
hasBin: true
- glob@11.0.0:
- resolution: {integrity: sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g==}
+ glob@11.0.1:
+ resolution: {integrity: sha512-zrQDm8XPnYEKawJScsnM0QzobJxlT/kHOOlRTio8IH/GrmxRE5fjllkzdaHclIuNjUQTJYH2xHNIGfdpJkDJUw==}
engines: {node: 20 || >=22}
hasBin: true
@@ -10561,7 +10561,7 @@ snapshots:
package-json-from-dist: 1.0.1
path-scurry: 1.11.1
- glob@11.0.0:
+ glob@11.0.1:
dependencies:
foreground-child: 3.3.0
jackspeak: 4.0.2
@@ -12828,7 +12828,7 @@ snapshots:
rimraf@6.0.1:
dependencies:
- glob: 11.0.0
+ glob: 11.0.1
package-json-from-dist: 1.0.1
roarr@2.15.4:
From 1809028346493e59cc50c2082fb672a421c2fda9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 15:15:13 +0000
Subject: [PATCH 029/247] chore(deps): update dependency @swc/core to v1.10.7
(#33537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
pnpm-lock.yaml | 148 ++++++++++++++++++++++++-------------------------
2 files changed, 75 insertions(+), 75 deletions(-)
diff --git a/package.json b/package.json
index 9e101200c1dcc7..d0952c5edb9217 100644
--- a/package.json
+++ b/package.json
@@ -269,7 +269,7 @@
"@openpgp/web-stream-tools": "0.1.3",
"@renovate/eslint-plugin": "file:tools/eslint",
"@semantic-release/exec": "6.0.3",
- "@swc/core": "1.10.4",
+ "@swc/core": "1.10.7",
"@types/auth-header": "1.0.6",
"@types/aws4": "1.11.6",
"@types/better-sqlite3": "7.6.12",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index fbe54e242e6ee2..75d9053558c054 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -380,8 +380,8 @@ importers:
specifier: 6.0.3
version: 6.0.3(semantic-release@24.2.1(typescript@5.7.2))
'@swc/core':
- specifier: 1.10.4
- version: 1.10.4
+ specifier: 1.10.7
+ version: 1.10.7
'@types/auth-header':
specifier: 1.0.6
version: 1.0.6
@@ -540,7 +540,7 @@ importers:
version: 2.31.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1)
eslint-plugin-jest:
specifier: 28.10.0
- version: 28.10.0(@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2)
+ version: 28.10.0(@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2)
eslint-plugin-jest-formatting:
specifier: 3.1.0
version: 3.1.0(eslint@8.57.1)
@@ -564,16 +564,16 @@ importers:
version: 9.1.7
jest:
specifier: 29.7.0
- version: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2))
+ version: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
jest-extended:
specifier: 4.0.2
- version: 4.0.2(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2)))
+ version: 4.0.2(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)))
jest-mock:
specifier: 29.7.0
version: 29.7.0
jest-mock-extended:
specifier: 3.0.7
- version: 3.0.7(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2)
+ version: 3.0.7(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2)
jest-snapshot:
specifier: 29.7.0
version: 29.7.0
@@ -609,10 +609,10 @@ importers:
version: 3.0.3
ts-jest:
specifier: 29.2.5
- version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2)
+ version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2)
ts-node:
specifier: 10.9.2
- version: 10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2)
+ version: 10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)
type-fest:
specifier: 4.31.0
version: 4.31.0
@@ -1847,68 +1847,68 @@ packages:
resolution: {integrity: sha512-PpjSboaDUE6yl+1qlg3Si57++e84oXdWGbuFUSAciXsVfEZJJJupR2Nb0QuXHiunt2vGR+1PTizOMvnUPaG2Qg==}
engines: {node: '>=16.0.0'}
- '@swc/core-darwin-arm64@1.10.4':
- resolution: {integrity: sha512-sV/eurLhkjn/197y48bxKP19oqcLydSel42Qsy2zepBltqUx+/zZ8+/IS0Bi7kaWVFxerbW1IPB09uq8Zuvm3g==}
+ '@swc/core-darwin-arm64@1.10.7':
+ resolution: {integrity: sha512-SI0OFg987P6hcyT0Dbng3YRISPS9uhLX1dzW4qRrfqQdb0i75lPJ2YWe9CN47HBazrIA5COuTzrD2Dc0TcVsSQ==}
engines: {node: '>=10'}
cpu: [arm64]
os: [darwin]
- '@swc/core-darwin-x64@1.10.4':
- resolution: {integrity: sha512-gjYNU6vrAUO4+FuovEo9ofnVosTFXkF0VDuo1MKPItz6e2pxc2ale4FGzLw0Nf7JB1sX4a8h06CN16/pLJ8Q2w==}
+ '@swc/core-darwin-x64@1.10.7':
+ resolution: {integrity: sha512-RFIAmWVicD/l3RzxgHW0R/G1ya/6nyMspE2cAeDcTbjHi0I5qgdhBWd6ieXOaqwEwiCd0Mot1g2VZrLGoBLsjQ==}
engines: {node: '>=10'}
cpu: [x64]
os: [darwin]
- '@swc/core-linux-arm-gnueabihf@1.10.4':
- resolution: {integrity: sha512-zd7fXH5w8s+Sfvn2oO464KDWl+ZX1MJiVmE4Pdk46N3PEaNwE0koTfgx2vQRqRG4vBBobzVvzICC3618WcefOA==}
+ '@swc/core-linux-arm-gnueabihf@1.10.7':
+ resolution: {integrity: sha512-QP8vz7yELWfop5mM5foN6KkLylVO7ZUgWSF2cA0owwIaziactB2hCPZY5QU690coJouk9KmdFsPWDnaCFUP8tg==}
engines: {node: '>=10'}
cpu: [arm]
os: [linux]
- '@swc/core-linux-arm64-gnu@1.10.4':
- resolution: {integrity: sha512-+UGfoHDxsMZgFD3tABKLeEZHqLNOkxStu+qCG7atGBhS4Slri6h6zijVvf4yI5X3kbXdvc44XV/hrP/Klnui2A==}
+ '@swc/core-linux-arm64-gnu@1.10.7':
+ resolution: {integrity: sha512-NgUDBGQcOeLNR+EOpmUvSDIP/F7i/OVOKxst4wOvT5FTxhnkWrW+StJGKj+DcUVSK5eWOYboSXr1y+Hlywwokw==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
- '@swc/core-linux-arm64-musl@1.10.4':
- resolution: {integrity: sha512-cDDj2/uYsOH0pgAnDkovLZvKJpFmBMyXkxEG6Q4yw99HbzO6QzZ5HDGWGWVq/6dLgYKlnnmpjZCPPQIu01mXEg==}
+ '@swc/core-linux-arm64-musl@1.10.7':
+ resolution: {integrity: sha512-gp5Un3EbeSThBIh6oac5ZArV/CsSmTKj5jNuuUAuEsML3VF9vqPO+25VuxCvsRf/z3py+xOWRaN2HY/rjMeZog==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
- '@swc/core-linux-x64-gnu@1.10.4':
- resolution: {integrity: sha512-qJXh9D6Kf5xSdGWPINpLGixAbB5JX8JcbEJpRamhlDBoOcQC79dYfOMEIxWPhTS1DGLyFakAx2FX/b2VmQmj0g==}
+ '@swc/core-linux-x64-gnu@1.10.7':
+ resolution: {integrity: sha512-k/OxLLMl/edYqbZyUNg6/bqEHTXJT15l9WGqsl/2QaIGwWGvles8YjruQYQ9d4h/thSXLT9gd8bExU2D0N+bUA==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
- '@swc/core-linux-x64-musl@1.10.4':
- resolution: {integrity: sha512-A76lIAeyQnHCVt0RL/pG+0er8Qk9+acGJqSZOZm67Ve3B0oqMd871kPtaHBM0BW3OZAhoILgfHW3Op9Q3mx3Cw==}
+ '@swc/core-linux-x64-musl@1.10.7':
+ resolution: {integrity: sha512-XeDoURdWt/ybYmXLCEE8aSiTOzEn0o3Dx5l9hgt0IZEmTts7HgHHVeRgzGXbR4yDo0MfRuX5nE1dYpTmCz0uyA==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
- '@swc/core-win32-arm64-msvc@1.10.4':
- resolution: {integrity: sha512-e6j5kBu4fIY7fFxFxnZI0MlEovRvp50Lg59Fw+DVbtqHk3C85dckcy5xKP+UoXeuEmFceauQDczUcGs19SRGSQ==}
+ '@swc/core-win32-arm64-msvc@1.10.7':
+ resolution: {integrity: sha512-nYAbi/uLS+CU0wFtBx8TquJw2uIMKBnl04LBmiVoFrsIhqSl+0MklaA9FVMGA35NcxSJfcm92Prl2W2LfSnTqQ==}
engines: {node: '>=10'}
cpu: [arm64]
os: [win32]
- '@swc/core-win32-ia32-msvc@1.10.4':
- resolution: {integrity: sha512-RSYHfdKgNXV/amY5Tqk1EWVsyQnhlsM//jeqMLw5Fy9rfxP592W9UTumNikNRPdjI8wKKzNMXDb1U29tQjN0dg==}
+ '@swc/core-win32-ia32-msvc@1.10.7':
+ resolution: {integrity: sha512-+aGAbsDsIxeLxw0IzyQLtvtAcI1ctlXVvVcXZMNXIXtTURM876yNrufRo4ngoXB3jnb1MLjIIjgXfFs/eZTUSw==}
engines: {node: '>=10'}
cpu: [ia32]
os: [win32]
- '@swc/core-win32-x64-msvc@1.10.4':
- resolution: {integrity: sha512-1ujYpaqfqNPYdwKBlvJnOqcl+Syn3UrQ4XE0Txz6zMYgyh6cdU6a3pxqLqIUSJ12MtXRA9ZUhEz1ekU3LfLWXw==}
+ '@swc/core-win32-x64-msvc@1.10.7':
+ resolution: {integrity: sha512-TBf4clpDBjF/UUnkKrT0/th76/zwvudk5wwobiTFqDywMApHip5O0VpBgZ+4raY2TM8k5+ujoy7bfHb22zu17Q==}
engines: {node: '>=10'}
cpu: [x64]
os: [win32]
- '@swc/core@1.10.4':
- resolution: {integrity: sha512-ut3zfiTLORMxhr6y/GBxkHmzcGuVpwJYX4qyXWuBKkpw/0g0S5iO1/wW7RnLnZbAi8wS/n0atRZoaZlXWBkeJg==}
+ '@swc/core@1.10.7':
+ resolution: {integrity: sha512-py91kjI1jV5D5W/Q+PurBdGsdU5TFbrzamP7zSCqLdMcHkKi3rQEM5jkQcZr0MXXSJTaayLxS3MWYTBIkzPDrg==}
engines: {node: '>=10'}
peerDependencies:
'@swc/helpers': '*'
@@ -7498,7 +7498,7 @@ snapshots:
jest-util: 29.7.0
slash: 3.0.0
- '@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2))':
+ '@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))':
dependencies:
'@jest/console': 29.7.0
'@jest/reporters': 29.7.0
@@ -7512,7 +7512,7 @@ snapshots:
exit: 0.1.2
graceful-fs: 4.2.11
jest-changed-files: 29.7.0
- jest-config: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2))
+ jest-config: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
jest-haste-map: 29.7.0
jest-message-util: 29.7.0
jest-regex-util: 29.6.3
@@ -8594,51 +8594,51 @@ snapshots:
'@smithy/types': 3.7.2
tslib: 2.8.1
- '@swc/core-darwin-arm64@1.10.4':
+ '@swc/core-darwin-arm64@1.10.7':
optional: true
- '@swc/core-darwin-x64@1.10.4':
+ '@swc/core-darwin-x64@1.10.7':
optional: true
- '@swc/core-linux-arm-gnueabihf@1.10.4':
+ '@swc/core-linux-arm-gnueabihf@1.10.7':
optional: true
- '@swc/core-linux-arm64-gnu@1.10.4':
+ '@swc/core-linux-arm64-gnu@1.10.7':
optional: true
- '@swc/core-linux-arm64-musl@1.10.4':
+ '@swc/core-linux-arm64-musl@1.10.7':
optional: true
- '@swc/core-linux-x64-gnu@1.10.4':
+ '@swc/core-linux-x64-gnu@1.10.7':
optional: true
- '@swc/core-linux-x64-musl@1.10.4':
+ '@swc/core-linux-x64-musl@1.10.7':
optional: true
- '@swc/core-win32-arm64-msvc@1.10.4':
+ '@swc/core-win32-arm64-msvc@1.10.7':
optional: true
- '@swc/core-win32-ia32-msvc@1.10.4':
+ '@swc/core-win32-ia32-msvc@1.10.7':
optional: true
- '@swc/core-win32-x64-msvc@1.10.4':
+ '@swc/core-win32-x64-msvc@1.10.7':
optional: true
- '@swc/core@1.10.4':
+ '@swc/core@1.10.7':
dependencies:
'@swc/counter': 0.1.3
'@swc/types': 0.1.17
optionalDependencies:
- '@swc/core-darwin-arm64': 1.10.4
- '@swc/core-darwin-x64': 1.10.4
- '@swc/core-linux-arm-gnueabihf': 1.10.4
- '@swc/core-linux-arm64-gnu': 1.10.4
- '@swc/core-linux-arm64-musl': 1.10.4
- '@swc/core-linux-x64-gnu': 1.10.4
- '@swc/core-linux-x64-musl': 1.10.4
- '@swc/core-win32-arm64-msvc': 1.10.4
- '@swc/core-win32-ia32-msvc': 1.10.4
- '@swc/core-win32-x64-msvc': 1.10.4
+ '@swc/core-darwin-arm64': 1.10.7
+ '@swc/core-darwin-x64': 1.10.7
+ '@swc/core-linux-arm-gnueabihf': 1.10.7
+ '@swc/core-linux-arm64-gnu': 1.10.7
+ '@swc/core-linux-arm64-musl': 1.10.7
+ '@swc/core-linux-x64-gnu': 1.10.7
+ '@swc/core-linux-x64-musl': 1.10.7
+ '@swc/core-win32-arm64-msvc': 1.10.7
+ '@swc/core-win32-ia32-msvc': 1.10.7
+ '@swc/core-win32-x64-msvc': 1.10.7
'@swc/counter@0.1.3': {}
@@ -9676,13 +9676,13 @@ snapshots:
optionalDependencies:
typescript: 5.7.2
- create-jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2)):
+ create-jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)):
dependencies:
'@jest/types': 29.6.3
chalk: 4.1.2
exit: 0.1.2
graceful-fs: 4.2.11
- jest-config: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2))
+ jest-config: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
jest-util: 29.7.0
prompts: 2.4.2
transitivePeerDependencies:
@@ -10105,13 +10105,13 @@ snapshots:
dependencies:
eslint: 8.57.1
- eslint-plugin-jest@28.10.0(@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2):
+ eslint-plugin-jest@28.10.0(@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2):
dependencies:
'@typescript-eslint/utils': 8.19.0(eslint@8.57.1)(typescript@5.7.2)
eslint: 8.57.1
optionalDependencies:
'@typescript-eslint/eslint-plugin': 8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2)
- jest: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2))
+ jest: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
transitivePeerDependencies:
- supports-color
- typescript
@@ -11155,16 +11155,16 @@ snapshots:
- babel-plugin-macros
- supports-color
- jest-cli@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2)):
+ jest-cli@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)):
dependencies:
- '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2))
+ '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
'@jest/test-result': 29.7.0
'@jest/types': 29.6.3
chalk: 4.1.2
- create-jest: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2))
+ create-jest: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
exit: 0.1.2
import-local: 3.2.0
- jest-config: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2))
+ jest-config: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
jest-util: 29.7.0
jest-validate: 29.7.0
yargs: 17.7.2
@@ -11174,7 +11174,7 @@ snapshots:
- supports-color
- ts-node
- jest-config@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2)):
+ jest-config@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)):
dependencies:
'@babel/core': 7.26.0
'@jest/test-sequencer': 29.7.0
@@ -11200,7 +11200,7 @@ snapshots:
strip-json-comments: 3.1.1
optionalDependencies:
'@types/node': 20.17.11
- ts-node: 10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2)
+ ts-node: 10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)
transitivePeerDependencies:
- babel-plugin-macros
- supports-color
@@ -11233,12 +11233,12 @@ snapshots:
jest-mock: 29.7.0
jest-util: 29.7.0
- jest-extended@4.0.2(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2))):
+ jest-extended@4.0.2(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))):
dependencies:
jest-diff: 29.7.0
jest-get-type: 29.6.3
optionalDependencies:
- jest: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2))
+ jest: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
jest-get-type@29.6.3: {}
@@ -11289,9 +11289,9 @@ snapshots:
slash: 3.0.0
stack-utils: 2.0.6
- jest-mock-extended@3.0.7(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2):
+ jest-mock-extended@3.0.7(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2):
dependencies:
- jest: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2))
+ jest: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
ts-essentials: 10.0.4(typescript@5.7.2)
typescript: 5.7.2
@@ -11440,12 +11440,12 @@ snapshots:
merge-stream: 2.0.0
supports-color: 8.1.1
- jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2)):
+ jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)):
dependencies:
- '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2))
+ '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
'@jest/types': 29.6.3
import-local: 3.2.0
- jest-cli: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2))
+ jest-cli: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
transitivePeerDependencies:
- '@types/node'
- babel-plugin-macros
@@ -13371,12 +13371,12 @@ snapshots:
optionalDependencies:
typescript: 5.7.2
- ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2):
+ ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2):
dependencies:
bs-logger: 0.2.6
ejs: 3.1.10
fast-json-stable-stringify: 2.1.0
- jest: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2))
+ jest: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
jest-util: 29.7.0
json5: 2.2.3
lodash.memoize: 4.1.2
@@ -13390,7 +13390,7 @@ snapshots:
'@jest/types': 29.6.3
babel-jest: 29.7.0(@babel/core@7.26.0)
- ts-node@10.9.2(@swc/core@1.10.4)(@types/node@20.17.11)(typescript@5.7.2):
+ ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2):
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.11
@@ -13408,7 +13408,7 @@ snapshots:
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
optionalDependencies:
- '@swc/core': 1.10.4
+ '@swc/core': 1.10.7
tsconfig-paths@3.15.0:
dependencies:
From 49378c5a5db21444ca9d1a9d37c5a14dee19f4a5 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 15:15:24 +0000
Subject: [PATCH 030/247] chore(deps): update dependency @types/moo to v0.5.10
(#33538)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
pnpm-lock.yaml | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/package.json b/package.json
index d0952c5edb9217..6e15a449107fb0 100644
--- a/package.json
+++ b/package.json
@@ -297,7 +297,7 @@
"@types/markdown-table": "2.0.0",
"@types/marshal": "0.5.3",
"@types/mdast": "3.0.15",
- "@types/moo": "0.5.9",
+ "@types/moo": "0.5.10",
"@types/ms": "0.7.34",
"@types/node": "20.17.11",
"@types/parse-link-header": "2.0.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 75d9053558c054..4d4e80254f263a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -464,8 +464,8 @@ importers:
specifier: 3.0.15
version: 3.0.15
'@types/moo':
- specifier: 0.5.9
- version: 0.5.9
+ specifier: 0.5.10
+ version: 0.5.10
'@types/ms':
specifier: 0.7.34
version: 0.7.34
@@ -2112,12 +2112,12 @@ packages:
'@types/minimist@1.2.5':
resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==}
+ '@types/moo@0.5.10':
+ resolution: {integrity: sha512-W6KzyZjXUYpwQfLK1O1UDzqcqYlul+lO7Bt71luyIIyNlOZwJaNeWWdqFs1C/f2hohZvUFHMk6oFNe9Rg48DbA==}
+
'@types/moo@0.5.5':
resolution: {integrity: sha512-eXQpwnkI4Ntw5uJg6i2PINdRFWLr55dqjuYQaLHNjvqTzF14QdNWbCbml9sza0byyXNA0hZlHtcdN+VNDcgVHA==}
- '@types/moo@0.5.9':
- resolution: {integrity: sha512-ZsFVecFi66jGQ6L41TonEaBhsIVeVftTz6iQKWTctzacHhzYHWvv9S0IyAJi4BhN7vb9qCQ3+kpStP2vbZqmDg==}
-
'@types/ms@0.7.34':
resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==}
@@ -8846,9 +8846,9 @@ snapshots:
'@types/minimist@1.2.5': {}
- '@types/moo@0.5.5': {}
+ '@types/moo@0.5.10': {}
- '@types/moo@0.5.9': {}
+ '@types/moo@0.5.5': {}
'@types/ms@0.7.34': {}
From 251502e138042cf1eb2d4c2252be2b2488a747ab Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 15:21:34 +0000
Subject: [PATCH 031/247] fix(deps): update ghcr.io/renovatebot/base-image
docker tag to v9.30.2 (#33543)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
tools/docker/Dockerfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 3534fcafc785a1..29e0abf969bdc1 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -5,19 +5,19 @@ ARG BASE_IMAGE_TYPE=slim
# --------------------------------------
# slim image
# --------------------------------------
-FROM ghcr.io/renovatebot/base-image:9.30.0@sha256:93616ad259ccdbc76617393867480e6bd6a05ac8842ec6712805d7588d104b53 AS slim-base
+FROM ghcr.io/renovatebot/base-image:9.30.2@sha256:5cd2ac3e6047a2335c55a733648d3add98ad0eb1dca5c3c7ba3814de61665611 AS slim-base
# --------------------------------------
# full image
# --------------------------------------
-FROM ghcr.io/renovatebot/base-image:9.30.0-full@sha256:b045717c99e6071f547688b8cde2060983715a5113f62bd2d56980400a385e00 AS full-base
+FROM ghcr.io/renovatebot/base-image:9.30.2-full@sha256:cf6723892696a8fc3fe6a9df5f639f876335f21d2703fc414afbd18c8249787a AS full-base
ENV RENOVATE_BINARY_SOURCE=global
# --------------------------------------
# build image
# --------------------------------------
-FROM --platform=$BUILDPLATFORM ghcr.io/renovatebot/base-image:9.30.0@sha256:93616ad259ccdbc76617393867480e6bd6a05ac8842ec6712805d7588d104b53 AS build
+FROM --platform=$BUILDPLATFORM ghcr.io/renovatebot/base-image:9.30.2@sha256:5cd2ac3e6047a2335c55a733648d3add98ad0eb1dca5c3c7ba3814de61665611 AS build
# We want a specific node version here
# renovate: datasource=node-version
From de8c7ac4454fbc347d74eb4b2d702cdd5859a7a8 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 15:22:59 +0000
Subject: [PATCH 032/247] chore(deps): update pnpm to v9.15.3 (#33542)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package.json b/package.json
index 6e15a449107fb0..3ec18f95c26f20 100644
--- a/package.json
+++ b/package.json
@@ -140,7 +140,7 @@
},
"volta": {
"node": "22.11.0",
- "pnpm": "9.15.2"
+ "pnpm": "9.15.3"
},
"dependencies": {
"@aws-sdk/client-codecommit": "3.716.0",
@@ -351,7 +351,7 @@
"typescript": "5.7.2",
"unified": "9.2.2"
},
- "packageManager": "pnpm@9.15.2",
+ "packageManager": "pnpm@9.15.3",
"files": [
"dist",
"renovate-schema.json"
From 2edc0283cfad358f19074d69eabb78480530dcc0 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 15:23:32 +0000
Subject: [PATCH 033/247] build(deps): update aws-sdk-js-v3 monorepo to
v3.726.1 (#33544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 12 +-
pnpm-lock.yaml | 2065 ++++++++++++++++++++++++------------------------
2 files changed, 1043 insertions(+), 1034 deletions(-)
diff --git a/package.json b/package.json
index 3ec18f95c26f20..0acabb9457297e 100644
--- a/package.json
+++ b/package.json
@@ -143,12 +143,12 @@
"pnpm": "9.15.3"
},
"dependencies": {
- "@aws-sdk/client-codecommit": "3.716.0",
- "@aws-sdk/client-ec2": "3.716.0",
- "@aws-sdk/client-ecr": "3.720.0",
- "@aws-sdk/client-rds": "3.719.1",
- "@aws-sdk/client-s3": "3.717.0",
- "@aws-sdk/credential-providers": "3.716.0",
+ "@aws-sdk/client-codecommit": "3.726.1",
+ "@aws-sdk/client-ec2": "3.726.1",
+ "@aws-sdk/client-ecr": "3.726.1",
+ "@aws-sdk/client-rds": "3.726.1",
+ "@aws-sdk/client-s3": "3.726.1",
+ "@aws-sdk/credential-providers": "3.726.1",
"@breejs/later": "4.2.0",
"@cdktf/hcl2json": "0.20.11",
"@opentelemetry/api": "1.9.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 4d4e80254f263a..23d754f42e8bc3 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -12,23 +12,23 @@ importers:
.:
dependencies:
'@aws-sdk/client-codecommit':
- specifier: 3.716.0
- version: 3.716.0
+ specifier: 3.726.1
+ version: 3.726.1
'@aws-sdk/client-ec2':
- specifier: 3.716.0
- version: 3.716.0
+ specifier: 3.726.1
+ version: 3.726.1
'@aws-sdk/client-ecr':
- specifier: 3.720.0
- version: 3.720.0
+ specifier: 3.726.1
+ version: 3.726.1
'@aws-sdk/client-rds':
- specifier: 3.719.1
- version: 3.719.1
+ specifier: 3.726.1
+ version: 3.726.1
'@aws-sdk/client-s3':
- specifier: 3.717.0
- version: 3.717.0
+ specifier: 3.726.1
+ version: 3.726.1
'@aws-sdk/credential-providers':
- specifier: 3.716.0
- version: 3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))
+ specifier: 3.726.1
+ version: 3.726.1(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))
'@breejs/later':
specifier: 4.2.0
version: 4.2.0
@@ -655,185 +655,185 @@ packages:
'@aws-crypto/util@5.2.0':
resolution: {integrity: sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ==}
- '@aws-sdk/client-codecommit@3.716.0':
- resolution: {integrity: sha512-RHPqbayg/QnpHj5RrAC72RU3ppadnDVG8iq+vV67CL16IA+4j9PtrSbfOuJYML0EpInVZ8kV+JHo70iibJCSDw==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/client-codecommit@3.726.1':
+ resolution: {integrity: sha512-mXRU4RRMkzaA4roL9uIwPWU3tXXzs3m99rA24PIkPzDlR7DubongJGloWAQz9naux0uRIIe+jIC8mk4l/DGdrw==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/client-cognito-identity@3.716.0':
- resolution: {integrity: sha512-tXMp76f1ZzrZtJwVPnLe28YINbNmwxv595Z6kpi9yc3nB/YUdeBUND8u1dgQd/sVNwZzmgcR6nyXnT+GQkeoUg==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/client-cognito-identity@3.726.1':
+ resolution: {integrity: sha512-ry0LrRm1/uo2EcPvjN38gQe2YhbnOXDhOw01j4e+aSbsBm2VumvY7d5DOLODC4i+95bxZq0pGvojqgHWM9oS0Q==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/client-ec2@3.716.0':
- resolution: {integrity: sha512-AKAg47EasPKyFPWcUdf3EsduWIaifuKwyoXZpidhNzdl+LigWwkCfkm8LmZ87+JBuekuMhKc3QIGWLv7wsiP6g==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/client-ec2@3.726.1':
+ resolution: {integrity: sha512-XOAnxaZ3Gw9GCYyZ5ETwToWYNA/0Yjs3MmYfr7N7w+yhY9YFjg+MJjmW1c+LKvpM/Ykhroh2yGY5MQOHVPwlIw==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/client-ecr@3.720.0':
- resolution: {integrity: sha512-8/b92aUQsWpqMdd/V/YLjq0oRcPakB27x5U42NzOUtJ3RYJHhylIG81YbAU3ANwcPNytjPjnYDcPG7mMQBASFw==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/client-ecr@3.726.1':
+ resolution: {integrity: sha512-9PMFPLmDJ4Pq9eyQzbdax5sM4wdqi80UbhFpR86XbsI65To/dWcTy1Vi2xjMaiSsIOP4VMOvRgSC5V+338lyWQ==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/client-rds@3.719.1':
- resolution: {integrity: sha512-2tz2RkAANBSfQGOjUP/RBGGUBUVx+zxMMw2biaS/Gl7HKW0m4vVH0b9aOmYV463FhlRVtzzWsN13JKX4+f2Wsw==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/client-rds@3.726.1':
+ resolution: {integrity: sha512-07kJxcvNeYw2ckf0Gwl6f7Ee6PYcmmbvrWl3i6COgmOd9pslWnOVJLYINpaee6qT4cRhHWWRApeLyQ0dEsCjdA==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/client-s3@3.717.0':
- resolution: {integrity: sha512-jzaH8IskAXVnqlZ3/H/ROwrB2HCnq/atlN7Hi7FIfjWvMPf5nfcJKfzJ1MXFX0EQR5qO6X4TbK7rgi7Bjw9NjQ==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/client-s3@3.726.1':
+ resolution: {integrity: sha512-UpOGcob87DiuS2d3fW6vDZg94g57mNiOSkzvR/6GOdvBSlUgk8LLwVzGASB71FdKMl1EGEr4MeD5uKH9JsG+dw==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/client-sso-oidc@3.716.0':
- resolution: {integrity: sha512-lA4IB9FzR2KjH7EVCo+mHGFKqdViVyeBQEIX9oVratL/l7P0bMS1fMwgfHOc3ACazqNxBxDES7x08ZCp32y6Lw==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/client-sso-oidc@3.726.0':
+ resolution: {integrity: sha512-5JzTX9jwev7+y2Jkzjz0pd1wobB5JQfPOQF3N2DrJ5Pao0/k6uRYwE4NqB0p0HlGrMTDm7xNq7OSPPIPG575Jw==}
+ engines: {node: '>=18.0.0'}
peerDependencies:
- '@aws-sdk/client-sts': ^3.716.0
+ '@aws-sdk/client-sts': ^3.726.0
- '@aws-sdk/client-sso@3.716.0':
- resolution: {integrity: sha512-5Nb0jJXce2TclbjG7WVPufwhgV1TRydz1QnsuBtKU0AdViEpr787YrZhPpGnNIM1Dx+R1H/tmAHZnOoohS6D8g==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/client-sso@3.726.0':
+ resolution: {integrity: sha512-NM5pjv2qglEc4XN3nnDqtqGsSGv1k5YTmzDo3W3pObItHmpS8grSeNfX9zSH+aVl0Q8hE4ZIgvTPNZ+GzwVlqg==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/client-sts@3.716.0':
- resolution: {integrity: sha512-i4SVNsrdXudp8T4bkm7Fi3YWlRnvXCSwvNDqf6nLqSJxqr4CN3VlBELueDyjBK7TAt453/qSif+eNx+bHmwo4Q==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/client-sts@3.726.1':
+ resolution: {integrity: sha512-qh9Q9Vu1hrM/wMBOBIaskwnE4GTFaZu26Q6WHwyWNfj7J8a40vBxpW16c2vYXHLBtwRKM1be8uRLkmDwghpiNw==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/core@3.716.0':
- resolution: {integrity: sha512-5DkUiTrbyzO8/W4g7UFEqRFpuhgizayHI/Zbh0wtFMcot8801nJV+MP/YMhdjimlvAr/OqYB08FbGsPyWppMTw==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/core@3.723.0':
+ resolution: {integrity: sha512-UraXNmvqj3vScSsTkjMwQkhei30BhXlW5WxX6JacMKVtl95c7z0qOXquTWeTalYkFfulfdirUhvSZrl+hcyqTw==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/credential-provider-cognito-identity@3.716.0':
- resolution: {integrity: sha512-iHmyB3Z6KjAQcpWW01LRjqbOM2OFVfaiGH6tRylPvJN/GnlITLUnUZi/PBAFk1f+TZ94dQWN961c1L/LFCSg9Q==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/credential-provider-cognito-identity@3.726.1':
+ resolution: {integrity: sha512-/ZvcmEscWYHT0935QN1B1crz4RJzy0tXf20ViH9ShsC5e08jBn3qrjYhO4gUGjNDCwrWe3US8Mg6l1vrRrN1Og==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/credential-provider-env@3.716.0':
- resolution: {integrity: sha512-JI2KQUnn2arICwP9F3CnqP1W3nAbm4+meQg/yOhp9X0DMzQiHrHRd4HIrK2vyVgi2/6hGhONY5uLF26yRTA7nQ==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/credential-provider-env@3.723.0':
+ resolution: {integrity: sha512-OuH2yULYUHTVDUotBoP/9AEUIJPn81GQ/YBtZLoo2QyezRJ2QiO/1epVtbJlhNZRwXrToLEDmQGA2QfC8c7pbA==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/credential-provider-http@3.716.0':
- resolution: {integrity: sha512-CZ04pl2z7igQPysQyH2xKZHM3fLwkemxQbKOlje3TmiS1NwXvcKvERhp9PE/H23kOL7beTM19NMRog/Fka/rlw==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/credential-provider-http@3.723.0':
+ resolution: {integrity: sha512-DTsKC6xo/kz/ZSs1IcdbQMTgiYbpGTGEd83kngFc1bzmw7AmK92DBZKNZpumf8R/UfSpTcj9zzUUmrWz1kD0eQ==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/credential-provider-ini@3.716.0':
- resolution: {integrity: sha512-P37We2GtZvdROxiwP0zrpEL81/HuYK1qlYxp5VCj3uV+G4mG8UQN2gMIU/baYrpOQqa0h81RfyQGRFUjVaDVqw==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/credential-provider-ini@3.726.0':
+ resolution: {integrity: sha512-seTtcKL2+gZX6yK1QRPr5mDJIBOatrpoyrO8D5b8plYtV/PDbDW3mtDJSWFHet29G61ZmlNElyXRqQCXn9WX+A==}
+ engines: {node: '>=18.0.0'}
peerDependencies:
- '@aws-sdk/client-sts': ^3.716.0
+ '@aws-sdk/client-sts': ^3.726.0
- '@aws-sdk/credential-provider-node@3.716.0':
- resolution: {integrity: sha512-FGQPK2uKfS53dVvoskN/s/t6m0Po24BGd1PzJdzHBFCOjxbZLM6+8mDMXeyi2hCLVVQOUcuW41kOgmJ0+zMbww==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/credential-provider-node@3.726.0':
+ resolution: {integrity: sha512-jjsewBcw/uLi24x8JbnuDjJad4VA9ROCE94uVRbEnGmUEsds75FWOKp3fWZLQlmjLtzsIbJOZLALkZP86liPaw==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/credential-provider-process@3.716.0':
- resolution: {integrity: sha512-0spcu2MWVVHSTHH3WE2E//ttUJPwXRM3BCp+WyI41xLzpNu1Fd8zjOrDpEo0SnGUzsSiRTIJWgkuu/tqv9NJ2A==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/credential-provider-process@3.723.0':
+ resolution: {integrity: sha512-fgupvUjz1+jeoCBA7GMv0L6xEk92IN6VdF4YcFhsgRHlHvNgm7ayaoKQg7pz2JAAhG/3jPX6fp0ASNy+xOhmPA==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/credential-provider-sso@3.716.0':
- resolution: {integrity: sha512-J2IA3WuCpRGGoZm6VHZVFCnrxXP+41iUWb9Ct/1spljegTa1XjiaZ5Jf3+Ubj7WKiyvP9/dgz1L0bu2bYEjliw==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/credential-provider-sso@3.726.0':
+ resolution: {integrity: sha512-WxkN76WeB08j2yw7jUH9yCMPxmT9eBFd9ZA/aACG7yzOIlsz7gvG3P2FQ0tVg25GHM0E4PdU3p/ByTOawzcOAg==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/credential-provider-web-identity@3.716.0':
- resolution: {integrity: sha512-vzgpWKs2gGXZGdbMKRFrMW4PqEFWkGvwWH2T7ZwQv9m+8lQ7P4Dk2uimqu0f37HZAbpn8HFMqRh4CaySjU354A==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/credential-provider-web-identity@3.723.0':
+ resolution: {integrity: sha512-tl7pojbFbr3qLcOE6xWaNCf1zEfZrIdSJtOPeSXfV/thFMMAvIjgf3YN6Zo1a6cxGee8zrV/C8PgOH33n+Ev/A==}
+ engines: {node: '>=18.0.0'}
peerDependencies:
- '@aws-sdk/client-sts': ^3.716.0
+ '@aws-sdk/client-sts': ^3.723.0
- '@aws-sdk/credential-providers@3.716.0':
- resolution: {integrity: sha512-UsalnK1MMfbI8Chb7BFghUvXf+zdqqiZLpSJp9ytXe0/thoafsi2jo0pyFeU08uarU/YA3Usl15I4SdK5uQr1A==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/credential-providers@3.726.1':
+ resolution: {integrity: sha512-hfRjdKYe65ioT1L9NZsDiRRoE4hPWacamUwsN/DjyMzctuCaL4vHkc5VXMfZj/s+17eUa+lyQFrLwel/zYpmgg==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/middleware-bucket-endpoint@3.714.0':
- resolution: {integrity: sha512-I/xSOskiseJJ8i183Z522BgqbgYzLKP7jGcg2Qeib/IWoG2IP+9DH8pwqagKaPAycyswtnoKBJiiFXY43n0CkA==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/middleware-bucket-endpoint@3.726.0':
+ resolution: {integrity: sha512-vpaP80rZqwu0C3ELayIcRIW84/nd1tadeoqllT+N9TDshuEvq4UJ+w47OBHB7RkHFJoc79lXXNYle0fdQdaE/A==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/middleware-expect-continue@3.714.0':
- resolution: {integrity: sha512-rlzsXdG8Lzo4Qpl35ZnpOBAWlzvDHpP9++0AXoUwAJA0QmMm7auIRmgxJuNj91VwT9h15ZU6xjU4S7fJl4W0+w==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/middleware-expect-continue@3.723.0':
+ resolution: {integrity: sha512-w/O0EkIzkiqvGu7U8Ke7tue0V0HYM5dZQrz6nVU+R8T2LddWJ+njEIHU4Wh8aHPLQXdZA5NQumv0xLPdEutykw==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/middleware-flexible-checksums@3.717.0':
- resolution: {integrity: sha512-a5kY5r7/7bDZZlOQQGWOR1ulQewdtNexdW1Ex5DD0FLKlFY7RD0va24hxQ6BP7mWHol+Dx4pj6UQ8ahk0ap1tw==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/middleware-flexible-checksums@3.723.0':
+ resolution: {integrity: sha512-JY76mrUCLa0FHeMZp8X9+KK6uEuZaRZaQrlgq6zkXX/3udukH0T3YdFC+Y9uw5ddbiwZ5+KwgmlhnPpiXKfP4g==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/middleware-host-header@3.714.0':
- resolution: {integrity: sha512-6l68kjNrh5QC8FGX3I3geBDavWN5Tg1RLHJ2HLA8ByGBtJyCwnz3hEkKfaxn0bBx0hF9DzbfjEOUF6cDqy2Kjg==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/middleware-host-header@3.723.0':
+ resolution: {integrity: sha512-LLVzLvk299pd7v4jN9yOSaWDZDfH0SnBPb6q+FDPaOCMGBY8kuwQso7e/ozIKSmZHRMGO3IZrflasHM+rI+2YQ==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/middleware-location-constraint@3.714.0':
- resolution: {integrity: sha512-MX7M+V+FblujKck3fyuzePVIAy9530gY719IiSxV6uN1qLHl7VDJxNblpF/KpXakD6rOg8OpvtmqsXj9aBMftw==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/middleware-location-constraint@3.723.0':
+ resolution: {integrity: sha512-inp9tyrdRWjGOMu1rzli8i2gTo0P4X6L7nNRXNTKfyPNZcBimZ4H0H1B671JofSI5isaklVy5r4pvv2VjjLSHw==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/middleware-logger@3.714.0':
- resolution: {integrity: sha512-RkqHlMvQWUaRklU1bMfUuBvdWwxgUtEqpADaHXlGVj3vtEY2UgBjy+57CveC4MByqKIunNvVHBBbjrGVtwY7Lg==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/middleware-logger@3.723.0':
+ resolution: {integrity: sha512-chASQfDG5NJ8s5smydOEnNK7N0gDMyuPbx7dYYcm1t/PKtnVfvWF+DHCTrRC2Ej76gLJVCVizlAJKM8v8Kg3cg==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/middleware-recursion-detection@3.714.0':
- resolution: {integrity: sha512-AVU5ixnh93nqtsfgNc284oXsXaadyHGPHpql/jwgaaqQfEXjS/1/j3j9E/vpacfTTz2Vzo7hAOjnvrOXSEVDaA==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/middleware-recursion-detection@3.723.0':
+ resolution: {integrity: sha512-7usZMtoynT9/jxL/rkuDOFQ0C2mhXl4yCm67Rg7GNTstl67u7w5WN1aIRImMeztaKlw8ExjoTyo6WTs1Kceh7A==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/middleware-sdk-ec2@3.716.0':
- resolution: {integrity: sha512-7d2uBQwl9maxINe0cWyi6LY76jqUi0saEvwPH6RbKTqW3OeYKsPNzx/48oWK6byBnLZAxeplN38aWPCcCW207g==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/middleware-sdk-ec2@3.723.0':
+ resolution: {integrity: sha512-ZEDBQwIXquGIUgwsrWTVZjCnhUDnT10jBHYYn7NBUYJulX23mwn3avJnw5pZdukofLC/NuLtOCwnhtZ72kBDpg==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/middleware-sdk-rds@3.716.0':
- resolution: {integrity: sha512-88Dg1NRWAYHa6kdl9w4Aw8OIhdW9K9xFBjG3A6SjPgpNGVdCWfwXhDmnh1cyG0IsjXx6u8nfeL8e0ZGmjss50Q==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/middleware-sdk-rds@3.723.0':
+ resolution: {integrity: sha512-2zN/xmWP/iBO3r638y4mwwuZOJ1h08rVc13wqS6RzhebKJZvzPWmT7leB8ejEPYHOtzTC1hk1vvZt/WVB4Qqjw==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/middleware-sdk-s3@3.716.0':
- resolution: {integrity: sha512-Qzz5OfRA/5brqfvq+JHTInwS1EuJ1+tC6qMtwKWJN3czMnVJVdnnsPTf+G5IM/1yYaGEIjY8rC1ExQLcc8ApFQ==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/middleware-sdk-s3@3.723.0':
+ resolution: {integrity: sha512-wfjOvNJVp8LDWhq4wO5jtSMb8Vgf4tNlR7QTEQfoYc6AGU3WlK5xyUQcpfcpwytEhQTN9u0cJLQpSyXDO+qSCw==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/middleware-ssec@3.714.0':
- resolution: {integrity: sha512-RkK8REAVwNUQmYbIDRw8eYbMJ8F1Rw4C9mlME4BBMhFlelGcD3ErU2ce24moQbDxBjNwHNESmIqgmdQk93CDCQ==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/middleware-ssec@3.723.0':
+ resolution: {integrity: sha512-Bs+8RAeSMik6ZYCGSDJzJieGsDDh2fRbh1HQG94T8kpwBXVxMYihm6e9Xp2cyl+w9fyyCnh0IdCKChP/DvrdhA==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/middleware-user-agent@3.716.0':
- resolution: {integrity: sha512-FpAtT6nNKrYdkDZndutEraiRMf+TgDzAGvniqRtZ/YTPA+gIsWrsn+TwMKINR81lFC3nQfb9deS5CFtxd021Ew==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/middleware-user-agent@3.726.0':
+ resolution: {integrity: sha512-hZvzuE5S0JmFie1r68K2wQvJbzyxJFdzltj9skgnnwdvLe8F/tz7MqLkm28uV0m4jeHk0LpiBo6eZaPkQiwsZQ==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/region-config-resolver@3.714.0':
- resolution: {integrity: sha512-HJzsQxgMOAzZrbf/YIqEx30or4tZK1oNAk6Wm6xecUQx+23JXIaePRu1YFUOLBBERQ4QBPpISFurZWBMZ5ibAw==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/region-config-resolver@3.723.0':
+ resolution: {integrity: sha512-tGF/Cvch3uQjZIj34LY2mg8M2Dr4kYG8VU8Yd0dFnB1ybOEOveIK/9ypUo9ycZpB9oO6q01KRe5ijBaxNueUQg==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/signature-v4-multi-region@3.716.0':
- resolution: {integrity: sha512-k0goWotZKKz+kV6Ln0qeAMSeSVi4NipuIIz5R8A0uCF2zBK4CXWdZR7KeaIoLBhJwQnHj1UU7E+2MK74KIUBzA==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/signature-v4-multi-region@3.723.0':
+ resolution: {integrity: sha512-lJlVAa5Sl589qO8lwMLVUtnlF1Q7I+6k1Iomv2goY9d1bRl4q2N5Pit2qJVr2AMW0sceQXeh23i2a/CKOqVAdg==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/token-providers@3.714.0':
- resolution: {integrity: sha512-vKN064aLE3kl+Zl16Ony3jltHnMddMBT7JRkP1L+lLywhA0PcAKxpdvComul/sTBWnbnwLnaS5NsDUhcWySH8A==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/token-providers@3.723.0':
+ resolution: {integrity: sha512-hniWi1x4JHVwKElANh9afKIMUhAutHVBRD8zo6usr0PAoj+Waf220+1ULS74GXtLXAPCiNXl5Og+PHA7xT8ElQ==}
+ engines: {node: '>=18.0.0'}
peerDependencies:
- '@aws-sdk/client-sso-oidc': ^3.714.0
+ '@aws-sdk/client-sso-oidc': ^3.723.0
- '@aws-sdk/types@3.714.0':
- resolution: {integrity: sha512-ZjpP2gYbSFlxxaUDa1Il5AVvfggvUPbjzzB/l3q0gIE5Thd6xKW+yzEpt2mLZ5s5UaYSABZbF94g8NUOF4CVGA==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/types@3.723.0':
+ resolution: {integrity: sha512-LmK3kwiMZG1y5g3LGihT9mNkeNOmwEyPk6HGcJqh0wOSV4QpWoKu2epyKE4MLQNUUlz2kOVbVbOrwmI6ZcteuA==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/util-arn-parser@3.693.0':
- resolution: {integrity: sha512-WC8x6ca+NRrtpAH64rWu+ryDZI3HuLwlEr8EU6/dbC/pt+r/zC0PBoC15VEygUaBA+isppCikQpGyEDu0Yj7gQ==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/util-arn-parser@3.723.0':
+ resolution: {integrity: sha512-ZhEfvUwNliOQROcAk34WJWVYTlTa4694kSVhDSjW6lE1bMataPnIN8A0ycukEzBXmd8ZSoBcQLn6lKGl7XIJ5w==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/util-endpoints@3.714.0':
- resolution: {integrity: sha512-Xv+Z2lhe7w7ZZRsgBwBMZgGTVmS+dkkj2S13uNHAx9lhB5ovM8PhK5G/j28xYf6vIibeuHkRAbb7/ozdZIGR+A==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/util-endpoints@3.726.0':
+ resolution: {integrity: sha512-sLd30ASsPMoPn3XBK50oe/bkpJ4N8Bpb7SbhoxcY3Lk+fSASaWxbbXE81nbvCnkxrZCvkPOiDHzJCp1E2im71A==}
+ engines: {node: '>=18.0.0'}
- '@aws-sdk/util-format-url@3.714.0':
- resolution: {integrity: sha512-PA/ES6BeKmYzFOsZ3az/8MqSLf6uzXAS7GsYONZMF6YASn4ewd/AspuvQMp6+x9VreAPCq7PecF+XL9KXejtPg==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/util-format-url@3.723.0':
+ resolution: {integrity: sha512-70+xUrdcnencPlCdV9XkRqmgj0vLDb8vm4mcEsgabg5QQ3S80KM0GEuhBAIGMkBWwNQTzCgQy2s7xOUlJPbu+g==}
+ engines: {node: '>=18.0.0'}
'@aws-sdk/util-locate-window@3.693.0':
resolution: {integrity: sha512-ttrag6haJLWABhLqtg1Uf+4LgHWIMOVSYL+VYZmAp2v4PUGOwWmWQH0Zk8RM7YuQcLfH/EoR72/Yxz6A4FKcuw==}
engines: {node: '>=16.0.0'}
- '@aws-sdk/util-user-agent-browser@3.714.0':
- resolution: {integrity: sha512-OdJJ03cP9/MgIVToPJPCPUImbpZzTcwdIgbXC0tUQPJhbD7b7cB4LdnkhNHko+MptpOrCq4CPY/33EpOjRdofw==}
+ '@aws-sdk/util-user-agent-browser@3.723.0':
+ resolution: {integrity: sha512-Wh9I6j2jLhNFq6fmXydIpqD1WyQLyTfSxjW9B+PXSnPyk3jtQW8AKQur7p97rO8LAUzVI0bv8kb3ZzDEVbquIg==}
- '@aws-sdk/util-user-agent-node@3.716.0':
- resolution: {integrity: sha512-3PqaXmQbxrtHKAsPCdp7kn5FrQktj8j3YyuNsqFZ8rWZeEQ88GWlsvE61PTsr2peYCKzpFqYVddef2x1axHU0w==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/util-user-agent-node@3.726.0':
+ resolution: {integrity: sha512-iEj6KX9o6IQf23oziorveRqyzyclWai95oZHDJtYav3fvLJKStwSjygO4xSF7ycHcTYeCHSLO1FFOHgGVs4Viw==}
+ engines: {node: '>=18.0.0'}
peerDependencies:
aws-crt: '>=1.0.0'
peerDependenciesMeta:
aws-crt:
optional: true
- '@aws-sdk/xml-builder@3.709.0':
- resolution: {integrity: sha512-2GPCwlNxeHspoK/Mc8nbk9cBOkSpp3j2SJUQmFnyQK6V/pR6II2oPRyZkMomug1Rc10hqlBHByMecq4zhV2uUw==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/xml-builder@3.723.0':
+ resolution: {integrity: sha512-5xK2SqGU1mzzsOeemy7cy3fGKxR1sEpUs4pEiIjaT0OIvU+fZaDVUEYWOqsgns6wI90XZEQJlXtI8uAHX/do5Q==}
+ engines: {node: '>=18.0.0'}
'@babel/code-frame@7.26.2':
resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==}
@@ -1644,208 +1644,217 @@ packages:
'@sinonjs/text-encoding@0.7.3':
resolution: {integrity: sha512-DE427ROAphMQzU4ENbliGYrBSYPXF+TtLg9S8vzeA+OF4ZKzoDdzfL8sxuMUGS/lgRhM6j1URSk9ghf7Xo1tyA==}
- '@smithy/abort-controller@3.1.9':
- resolution: {integrity: sha512-yiW0WI30zj8ZKoSYNx90no7ugVn3khlyH/z5W8qtKBtVE6awRALbhSG+2SAHA1r6bO/6M9utxYKVZ3PCJ1rWxw==}
- engines: {node: '>=16.0.0'}
+ '@smithy/abort-controller@4.0.1':
+ resolution: {integrity: sha512-fiUIYgIgRjMWznk6iLJz35K2YxSLHzLBA/RC6lBrKfQ8fHbPfvk7Pk9UvpKoHgJjI18MnbPuEju53zcVy6KF1g==}
+ engines: {node: '>=18.0.0'}
- '@smithy/chunked-blob-reader-native@3.0.1':
- resolution: {integrity: sha512-VEYtPvh5rs/xlyqpm5NRnfYLZn+q0SRPELbvBV+C/G7IQ+ouTuo+NKKa3ShG5OaFR8NYVMXls9hPYLTvIKKDrQ==}
+ '@smithy/chunked-blob-reader-native@4.0.0':
+ resolution: {integrity: sha512-R9wM2yPmfEMsUmlMlIgSzOyICs0x9uu7UTHoccMyt7BWw8shcGM8HqB355+BZCPBcySvbTYMs62EgEQkNxz2ig==}
+ engines: {node: '>=18.0.0'}
- '@smithy/chunked-blob-reader@4.0.0':
- resolution: {integrity: sha512-jSqRnZvkT4egkq/7b6/QRCNXmmYVcHwnJldqJ3IhVpQE2atObVJ137xmGeuGFhjFUr8gCEVAOKwSY79OvpbDaQ==}
+ '@smithy/chunked-blob-reader@5.0.0':
+ resolution: {integrity: sha512-+sKqDBQqb036hh4NPaUiEkYFkTUGYzRsn3EuFhyfQfMy6oGHEUJDurLP9Ufb5dasr/XiAmPNMr6wa9afjQB+Gw==}
+ engines: {node: '>=18.0.0'}
- '@smithy/config-resolver@3.0.13':
- resolution: {integrity: sha512-Gr/qwzyPaTL1tZcq8WQyHhTZREER5R1Wytmz4WnVGL4onA3dNk6Btll55c8Vr58pLdvWZmtG8oZxJTw3t3q7Jg==}
- engines: {node: '>=16.0.0'}
+ '@smithy/config-resolver@4.0.1':
+ resolution: {integrity: sha512-Igfg8lKu3dRVkTSEm98QpZUvKEOa71jDX4vKRcvJVyRc3UgN3j7vFMf0s7xLQhYmKa8kyJGQgUJDOV5V3neVlQ==}
+ engines: {node: '>=18.0.0'}
- '@smithy/core@2.5.7':
- resolution: {integrity: sha512-8olpW6mKCa0v+ibCjoCzgZHQx1SQmZuW/WkrdZo73wiTprTH6qhmskT60QLFdT9DRa5mXxjz89kQPZ7ZSsoqqg==}
- engines: {node: '>=16.0.0'}
+ '@smithy/core@3.1.0':
+ resolution: {integrity: sha512-swFv0wQiK7TGHeuAp6lfF5Kw1dHWsTrCuc+yh4Kh05gEShjsE2RUxHucEerR9ih9JITNtaHcSpUThn5Y/vDw0A==}
+ engines: {node: '>=18.0.0'}
- '@smithy/credential-provider-imds@3.2.8':
- resolution: {integrity: sha512-ZCY2yD0BY+K9iMXkkbnjo+08T2h8/34oHd0Jmh6BZUSZwaaGlGCyBT/3wnS7u7Xl33/EEfN4B6nQr3Gx5bYxgw==}
- engines: {node: '>=16.0.0'}
+ '@smithy/credential-provider-imds@4.0.1':
+ resolution: {integrity: sha512-l/qdInaDq1Zpznpmev/+52QomsJNZ3JkTl5yrTl02V6NBgJOQ4LY0SFw/8zsMwj3tLe8vqiIuwF6nxaEwgf6mg==}
+ engines: {node: '>=18.0.0'}
- '@smithy/eventstream-codec@3.1.10':
- resolution: {integrity: sha512-323B8YckSbUH0nMIpXn7HZsAVKHYHFUODa8gG9cHo0ySvA1fr5iWaNT+iIL0UCqUzG6QPHA3BSsBtRQou4mMqQ==}
+ '@smithy/eventstream-codec@4.0.1':
+ resolution: {integrity: sha512-Q2bCAAR6zXNVtJgifsU16ZjKGqdw/DyecKNgIgi7dlqw04fqDu0mnq+JmGphqheypVc64CYq3azSuCpAdFk2+A==}
+ engines: {node: '>=18.0.0'}
- '@smithy/eventstream-serde-browser@3.0.14':
- resolution: {integrity: sha512-kbrt0vjOIihW3V7Cqj1SXQvAI5BR8SnyQYsandva0AOR307cXAc+IhPngxIPslxTLfxwDpNu0HzCAq6g42kCPg==}
- engines: {node: '>=16.0.0'}
+ '@smithy/eventstream-serde-browser@4.0.1':
+ resolution: {integrity: sha512-HbIybmz5rhNg+zxKiyVAnvdM3vkzjE6ccrJ620iPL8IXcJEntd3hnBl+ktMwIy12Te/kyrSbUb8UCdnUT4QEdA==}
+ engines: {node: '>=18.0.0'}
- '@smithy/eventstream-serde-config-resolver@3.0.11':
- resolution: {integrity: sha512-P2pnEp4n75O+QHjyO7cbw/vsw5l93K/8EWyjNCAAybYwUmj3M+hjSQZ9P5TVdUgEG08ueMAP5R4FkuSkElZ5tQ==}
- engines: {node: '>=16.0.0'}
+ '@smithy/eventstream-serde-config-resolver@4.0.1':
+ resolution: {integrity: sha512-lSipaiq3rmHguHa3QFF4YcCM3VJOrY9oq2sow3qlhFY+nBSTF/nrO82MUQRPrxHQXA58J5G1UnU2WuJfi465BA==}
+ engines: {node: '>=18.0.0'}
- '@smithy/eventstream-serde-node@3.0.13':
- resolution: {integrity: sha512-zqy/9iwbj8Wysmvi7Lq7XFLeDgjRpTbCfwBhJa8WbrylTAHiAu6oQTwdY7iu2lxigbc9YYr9vPv5SzYny5tCXQ==}
- engines: {node: '>=16.0.0'}
+ '@smithy/eventstream-serde-node@4.0.1':
+ resolution: {integrity: sha512-o4CoOI6oYGYJ4zXo34U8X9szDe3oGjmHgsMGiZM0j4vtNoT+h80TLnkUcrLZR3+E6HIxqW+G+9WHAVfl0GXK0Q==}
+ engines: {node: '>=18.0.0'}
- '@smithy/eventstream-serde-universal@3.0.13':
- resolution: {integrity: sha512-L1Ib66+gg9uTnqp/18Gz4MDpJPKRE44geOjOQ2SVc0eiaO5l255ADziATZgjQjqumC7yPtp1XnjHlF1srcwjKw==}
- engines: {node: '>=16.0.0'}
+ '@smithy/eventstream-serde-universal@4.0.1':
+ resolution: {integrity: sha512-Z94uZp0tGJuxds3iEAZBqGU2QiaBHP4YytLUjwZWx+oUeohCsLyUm33yp4MMBmhkuPqSbQCXq5hDet6JGUgHWA==}
+ engines: {node: '>=18.0.0'}
- '@smithy/fetch-http-handler@4.1.3':
- resolution: {integrity: sha512-6SxNltSncI8s689nvnzZQc/dPXcpHQ34KUj6gR/HBroytKOd/isMG3gJF/zBE1TBmTT18TXyzhg3O3SOOqGEhA==}
+ '@smithy/fetch-http-handler@5.0.1':
+ resolution: {integrity: sha512-3aS+fP28urrMW2KTjb6z9iFow6jO8n3MFfineGbndvzGZit3taZhKWtTorf+Gp5RpFDDafeHlhfsGlDCXvUnJA==}
+ engines: {node: '>=18.0.0'}
- '@smithy/hash-blob-browser@3.1.10':
- resolution: {integrity: sha512-elwslXOoNunmfS0fh55jHggyhccobFkexLYC1ZeZ1xP2BTSrcIBaHV2b4xUQOdctrSNOpMqOZH1r2XzWTEhyfA==}
+ '@smithy/hash-blob-browser@4.0.1':
+ resolution: {integrity: sha512-rkFIrQOKZGS6i1D3gKJ8skJ0RlXqDvb1IyAphksaFOMzkn3v3I1eJ8m7OkLj0jf1McP63rcCEoLlkAn/HjcTRw==}
+ engines: {node: '>=18.0.0'}
- '@smithy/hash-node@3.0.11':
- resolution: {integrity: sha512-emP23rwYyZhQBvklqTtwetkQlqbNYirDiEEwXl2v0GYWMnCzxst7ZaRAnWuy28njp5kAH54lvkdG37MblZzaHA==}
- engines: {node: '>=16.0.0'}
+ '@smithy/hash-node@4.0.1':
+ resolution: {integrity: sha512-TJ6oZS+3r2Xu4emVse1YPB3Dq3d8RkZDKcPr71Nj/lJsdAP1c7oFzYqEn1IBc915TsgLl2xIJNuxCz+gLbLE0w==}
+ engines: {node: '>=18.0.0'}
- '@smithy/hash-stream-node@3.1.10':
- resolution: {integrity: sha512-olomK/jZQ93OMayW1zfTHwcbwBdhcZOHsyWyiZ9h9IXvc1mCD/VuvzbLb3Gy/qNJwI4MANPLctTp2BucV2oU/Q==}
- engines: {node: '>=16.0.0'}
+ '@smithy/hash-stream-node@4.0.1':
+ resolution: {integrity: sha512-U1rAE1fxmReCIr6D2o/4ROqAQX+GffZpyMt3d7njtGDr2pUNmAKRWa49gsNVhCh2vVAuf3wXzWwNr2YN8PAXIw==}
+ engines: {node: '>=18.0.0'}
- '@smithy/invalid-dependency@3.0.11':
- resolution: {integrity: sha512-NuQmVPEJjUX6c+UELyVz8kUx8Q539EDeNwbRyu4IIF8MeV7hUtq1FB3SHVyki2u++5XLMFqngeMKk7ccspnNyQ==}
+ '@smithy/invalid-dependency@4.0.1':
+ resolution: {integrity: sha512-gdudFPf4QRQ5pzj7HEnu6FhKRi61BfH/Gk5Yf6O0KiSbr1LlVhgjThcvjdu658VE6Nve8vaIWB8/fodmS1rBPQ==}
+ engines: {node: '>=18.0.0'}
'@smithy/is-array-buffer@2.2.0':
resolution: {integrity: sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==}
engines: {node: '>=14.0.0'}
- '@smithy/is-array-buffer@3.0.0':
- resolution: {integrity: sha512-+Fsu6Q6C4RSJiy81Y8eApjEB5gVtM+oFKTffg+jSuwtvomJJrhUJBu2zS8wjXSgH/g1MKEWrzyChTBe6clb5FQ==}
- engines: {node: '>=16.0.0'}
+ '@smithy/is-array-buffer@4.0.0':
+ resolution: {integrity: sha512-saYhF8ZZNoJDTvJBEWgeBccCg+yvp1CX+ed12yORU3NilJScfc6gfch2oVb4QgxZrGUx3/ZJlb+c/dJbyupxlw==}
+ engines: {node: '>=18.0.0'}
- '@smithy/md5-js@3.0.11':
- resolution: {integrity: sha512-3NM0L3i2Zm4bbgG6Ymi9NBcxXhryi3uE8fIfHJZIOfZVxOkGdjdgjR9A06SFIZCfnEIWKXZdm6Yq5/aPXFFhsQ==}
+ '@smithy/md5-js@4.0.1':
+ resolution: {integrity: sha512-HLZ647L27APi6zXkZlzSFZIjpo8po45YiyjMGJZM3gyDY8n7dPGdmxIIljLm4gPt/7rRvutLTTkYJpZVfG5r+A==}
+ engines: {node: '>=18.0.0'}
- '@smithy/middleware-content-length@3.0.13':
- resolution: {integrity: sha512-zfMhzojhFpIX3P5ug7jxTjfUcIPcGjcQYzB9t+rv0g1TX7B0QdwONW+ATouaLoD7h7LOw/ZlXfkq4xJ/g2TrIw==}
- engines: {node: '>=16.0.0'}
+ '@smithy/middleware-content-length@4.0.1':
+ resolution: {integrity: sha512-OGXo7w5EkB5pPiac7KNzVtfCW2vKBTZNuCctn++TTSOMpe6RZO/n6WEC1AxJINn3+vWLKW49uad3lo/u0WJ9oQ==}
+ engines: {node: '>=18.0.0'}
- '@smithy/middleware-endpoint@3.2.8':
- resolution: {integrity: sha512-OEJZKVUEhMOqMs3ktrTWp7UvvluMJEvD5XgQwRePSbDg1VvBaL8pX8mwPltFn6wk1GySbcVwwyldL8S+iqnrEQ==}
- engines: {node: '>=16.0.0'}
+ '@smithy/middleware-endpoint@4.0.1':
+ resolution: {integrity: sha512-hCCOPu9+sRI7Wj0rZKKnGylKXBEd9cQJetzjQqe8cT4PWvtQAbvNVa6cgAONiZg9m8LaXtP9/waxm3C3eO4hiw==}
+ engines: {node: '>=18.0.0'}
- '@smithy/middleware-retry@3.0.34':
- resolution: {integrity: sha512-yVRr/AAtPZlUvwEkrq7S3x7Z8/xCd97m2hLDaqdz6ucP2RKHsBjEqaUA2ebNv2SsZoPEi+ZD0dZbOB1u37tGCA==}
- engines: {node: '>=16.0.0'}
+ '@smithy/middleware-retry@4.0.1':
+ resolution: {integrity: sha512-n3g2zZFgOWaz2ZYCy8+4wxSmq+HSTD8QKkRhFDv+nkxY1o7gzyp4PDz/+tOdcNPMPZ/A6Mt4aVECYNjQNiaHJw==}
+ engines: {node: '>=18.0.0'}
- '@smithy/middleware-serde@3.0.11':
- resolution: {integrity: sha512-KzPAeySp/fOoQA82TpnwItvX8BBURecpx6ZMu75EZDkAcnPtO6vf7q4aH5QHs/F1s3/snQaSFbbUMcFFZ086Mw==}
- engines: {node: '>=16.0.0'}
+ '@smithy/middleware-serde@4.0.1':
+ resolution: {integrity: sha512-Fh0E2SOF+S+P1+CsgKyiBInAt3o2b6Qk7YOp2W0Qx2XnfTdfMuSDKUEcnrtpxCzgKJnqXeLUZYqtThaP0VGqtA==}
+ engines: {node: '>=18.0.0'}
- '@smithy/middleware-stack@3.0.11':
- resolution: {integrity: sha512-1HGo9a6/ikgOMrTrWL/WiN9N8GSVYpuRQO5kjstAq4CvV59bjqnh7TbdXGQ4vxLD3xlSjfBjq5t1SOELePsLnA==}
- engines: {node: '>=16.0.0'}
+ '@smithy/middleware-stack@4.0.1':
+ resolution: {integrity: sha512-dHwDmrtR/ln8UTHpaIavRSzeIk5+YZTBtLnKwDW3G2t6nAupCiQUvNzNoHBpik63fwUaJPtlnMzXbQrNFWssIA==}
+ engines: {node: '>=18.0.0'}
- '@smithy/node-config-provider@3.1.12':
- resolution: {integrity: sha512-O9LVEu5J/u/FuNlZs+L7Ikn3lz7VB9hb0GtPT9MQeiBmtK8RSY3ULmsZgXhe6VAlgTw0YO+paQx4p8xdbs43vQ==}
- engines: {node: '>=16.0.0'}
+ '@smithy/node-config-provider@4.0.1':
+ resolution: {integrity: sha512-8mRTjvCtVET8+rxvmzRNRR0hH2JjV0DFOmwXPrISmTIJEfnCBugpYYGAsCj8t41qd+RB5gbheSQ/6aKZCQvFLQ==}
+ engines: {node: '>=18.0.0'}
- '@smithy/node-http-handler@3.3.3':
- resolution: {integrity: sha512-BrpZOaZ4RCbcJ2igiSNG16S+kgAc65l/2hmxWdmhyoGWHTLlzQzr06PXavJp9OBlPEG/sHlqdxjWmjzV66+BSQ==}
- engines: {node: '>=16.0.0'}
+ '@smithy/node-http-handler@4.0.1':
+ resolution: {integrity: sha512-ddQc7tvXiVLC5c3QKraGWde761KSk+mboCheZoWtuqnXh5l0WKyFy3NfDIM/dsKrI9HlLVH/21pi9wWK2gUFFA==}
+ engines: {node: '>=18.0.0'}
- '@smithy/property-provider@3.1.11':
- resolution: {integrity: sha512-I/+TMc4XTQ3QAjXfOcUWbSS073oOEAxgx4aZy8jHaf8JQnRkq2SZWw8+PfDtBvLUjcGMdxl+YwtzWe6i5uhL/A==}
- engines: {node: '>=16.0.0'}
+ '@smithy/property-provider@4.0.1':
+ resolution: {integrity: sha512-o+VRiwC2cgmk/WFV0jaETGOtX16VNPp2bSQEzu0whbReqE1BMqsP2ami2Vi3cbGVdKu1kq9gQkDAGKbt0WOHAQ==}
+ engines: {node: '>=18.0.0'}
- '@smithy/protocol-http@4.1.8':
- resolution: {integrity: sha512-hmgIAVyxw1LySOwkgMIUN0kjN8TG9Nc85LJeEmEE/cNEe2rkHDUWhnJf2gxcSRFLWsyqWsrZGw40ROjUogg+Iw==}
- engines: {node: '>=16.0.0'}
+ '@smithy/protocol-http@5.0.1':
+ resolution: {integrity: sha512-TE4cpj49jJNB/oHyh/cRVEgNZaoPaxd4vteJNB0yGidOCVR0jCw/hjPVsT8Q8FRmj8Bd3bFZt8Dh7xGCT+xMBQ==}
+ engines: {node: '>=18.0.0'}
- '@smithy/querystring-builder@3.0.11':
- resolution: {integrity: sha512-u+5HV/9uJaeLj5XTb6+IEF/dokWWkEqJ0XiaRRogyREmKGUgZnNecLucADLdauWFKUNbQfulHFEZEdjwEBjXRg==}
- engines: {node: '>=16.0.0'}
+ '@smithy/querystring-builder@4.0.1':
+ resolution: {integrity: sha512-wU87iWZoCbcqrwszsOewEIuq+SU2mSoBE2CcsLwE0I19m0B2gOJr1MVjxWcDQYOzHbR1xCk7AcOBbGFUYOKvdg==}
+ engines: {node: '>=18.0.0'}
- '@smithy/querystring-parser@3.0.11':
- resolution: {integrity: sha512-Je3kFvCsFMnso1ilPwA7GtlbPaTixa3WwC+K21kmMZHsBEOZYQaqxcMqeFFoU7/slFjKDIpiiPydvdJm8Q/MCw==}
- engines: {node: '>=16.0.0'}
+ '@smithy/querystring-parser@4.0.1':
+ resolution: {integrity: sha512-Ma2XC7VS9aV77+clSFylVUnPZRindhB7BbmYiNOdr+CHt/kZNJoPP0cd3QxCnCFyPXC4eybmyE98phEHkqZ5Jw==}
+ engines: {node: '>=18.0.0'}
- '@smithy/service-error-classification@3.0.11':
- resolution: {integrity: sha512-QnYDPkyewrJzCyaeI2Rmp7pDwbUETe+hU8ADkXmgNusO1bgHBH7ovXJiYmba8t0fNfJx75fE8dlM6SEmZxheog==}
- engines: {node: '>=16.0.0'}
+ '@smithy/service-error-classification@4.0.1':
+ resolution: {integrity: sha512-3JNjBfOWpj/mYfjXJHB4Txc/7E4LVq32bwzE7m28GN79+M1f76XHflUaSUkhOriprPDzev9cX/M+dEB80DNDKA==}
+ engines: {node: '>=18.0.0'}
- '@smithy/shared-ini-file-loader@3.1.12':
- resolution: {integrity: sha512-1xKSGI+U9KKdbG2qDvIR9dGrw3CNx+baqJfyr0igKEpjbHL5stsqAesYBzHChYHlelWtb87VnLWlhvfCz13H8Q==}
- engines: {node: '>=16.0.0'}
+ '@smithy/shared-ini-file-loader@4.0.1':
+ resolution: {integrity: sha512-hC8F6qTBbuHRI/uqDgqqi6J0R4GtEZcgrZPhFQnMhfJs3MnUTGSnR1NSJCJs5VWlMydu0kJz15M640fJlRsIOw==}
+ engines: {node: '>=18.0.0'}
- '@smithy/signature-v4@4.2.4':
- resolution: {integrity: sha512-5JWeMQYg81TgU4cG+OexAWdvDTs5JDdbEZx+Qr1iPbvo91QFGzjy0IkXAKaXUHqmKUJgSHK0ZxnCkgZpzkeNTA==}
- engines: {node: '>=16.0.0'}
+ '@smithy/signature-v4@5.0.1':
+ resolution: {integrity: sha512-nCe6fQ+ppm1bQuw5iKoeJ0MJfz2os7Ic3GBjOkLOPtavbD1ONoyE3ygjBfz2ythFWm4YnRm6OxW+8p/m9uCoIA==}
+ engines: {node: '>=18.0.0'}
- '@smithy/smithy-client@3.7.0':
- resolution: {integrity: sha512-9wYrjAZFlqWhgVo3C4y/9kpc68jgiSsKUnsFPzr/MSiRL93+QRDafGTfhhKAb2wsr69Ru87WTiqSfQusSmWipA==}
- engines: {node: '>=16.0.0'}
+ '@smithy/smithy-client@4.1.0':
+ resolution: {integrity: sha512-NiboZnrsrZY+Cy5hQNbYi+nVNssXVi2I+yL4CIKNIanOhH8kpC5PKQ2jx/MQpwVr21a3XcVoQBArlpRF36OeEQ==}
+ engines: {node: '>=18.0.0'}
- '@smithy/types@3.7.2':
- resolution: {integrity: sha512-bNwBYYmN8Eh9RyjS1p2gW6MIhSO2rl7X9QeLM8iTdcGRP+eDiIWDt66c9IysCc22gefKszZv+ubV9qZc7hdESg==}
- engines: {node: '>=16.0.0'}
+ '@smithy/types@4.1.0':
+ resolution: {integrity: sha512-enhjdwp4D7CXmwLtD6zbcDMbo6/T6WtuuKCY49Xxc6OMOmUWlBEBDREsxxgV2LIdeQPW756+f97GzcgAwp3iLw==}
+ engines: {node: '>=18.0.0'}
- '@smithy/url-parser@3.0.11':
- resolution: {integrity: sha512-TmlqXkSk8ZPhfc+SQutjmFr5FjC0av3GZP4B/10caK1SbRwe/v+Wzu/R6xEKxoNqL+8nY18s1byiy6HqPG37Aw==}
+ '@smithy/url-parser@4.0.1':
+ resolution: {integrity: sha512-gPXcIEUtw7VlK8f/QcruNXm7q+T5hhvGu9tl63LsJPZ27exB6dtNwvh2HIi0v7JcXJ5emBxB+CJxwaLEdJfA+g==}
+ engines: {node: '>=18.0.0'}
- '@smithy/util-base64@3.0.0':
- resolution: {integrity: sha512-Kxvoh5Qtt0CDsfajiZOCpJxgtPHXOKwmM+Zy4waD43UoEMA+qPxxa98aE/7ZhdnBFZFXMOiBR5xbcaMhLtznQQ==}
- engines: {node: '>=16.0.0'}
+ '@smithy/util-base64@4.0.0':
+ resolution: {integrity: sha512-CvHfCmO2mchox9kjrtzoHkWHxjHZzaFojLc8quxXY7WAAMAg43nuxwv95tATVgQFNDwd4M9S1qFzj40Ul41Kmg==}
+ engines: {node: '>=18.0.0'}
- '@smithy/util-body-length-browser@3.0.0':
- resolution: {integrity: sha512-cbjJs2A1mLYmqmyVl80uoLTJhAcfzMOyPgjwAYusWKMdLeNtzmMz9YxNl3/jRLoxSS3wkqkf0jwNdtXWtyEBaQ==}
+ '@smithy/util-body-length-browser@4.0.0':
+ resolution: {integrity: sha512-sNi3DL0/k64/LO3A256M+m3CDdG6V7WKWHdAiBBMUN8S3hK3aMPhwnPik2A/a2ONN+9doY9UxaLfgqsIRg69QA==}
+ engines: {node: '>=18.0.0'}
- '@smithy/util-body-length-node@3.0.0':
- resolution: {integrity: sha512-Tj7pZ4bUloNUP6PzwhN7K386tmSmEET9QtQg0TgdNOnxhZvCssHji+oZTUIuzxECRfG8rdm2PMw2WCFs6eIYkA==}
- engines: {node: '>=16.0.0'}
+ '@smithy/util-body-length-node@4.0.0':
+ resolution: {integrity: sha512-q0iDP3VsZzqJyje8xJWEJCNIu3lktUGVoSy1KB0UWym2CL1siV3artm+u1DFYTLejpsrdGyCSWBdGNjJzfDPjg==}
+ engines: {node: '>=18.0.0'}
'@smithy/util-buffer-from@2.2.0':
resolution: {integrity: sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==}
engines: {node: '>=14.0.0'}
- '@smithy/util-buffer-from@3.0.0':
- resolution: {integrity: sha512-aEOHCgq5RWFbP+UDPvPot26EJHjOC+bRgse5A8V3FSShqd5E5UN4qc7zkwsvJPPAVsf73QwYcHN1/gt/rtLwQA==}
- engines: {node: '>=16.0.0'}
+ '@smithy/util-buffer-from@4.0.0':
+ resolution: {integrity: sha512-9TOQ7781sZvddgO8nxueKi3+yGvkY35kotA0Y6BWRajAv8jjmigQ1sBwz0UX47pQMYXJPahSKEKYFgt+rXdcug==}
+ engines: {node: '>=18.0.0'}
- '@smithy/util-config-provider@3.0.0':
- resolution: {integrity: sha512-pbjk4s0fwq3Di/ANL+rCvJMKM5bzAQdE5S/6RL5NXgMExFAi6UgQMPOm5yPaIWPpr+EOXKXRonJ3FoxKf4mCJQ==}
- engines: {node: '>=16.0.0'}
+ '@smithy/util-config-provider@4.0.0':
+ resolution: {integrity: sha512-L1RBVzLyfE8OXH+1hsJ8p+acNUSirQnWQ6/EgpchV88G6zGBTDPdXiiExei6Z1wR2RxYvxY/XLw6AMNCCt8H3w==}
+ engines: {node: '>=18.0.0'}
- '@smithy/util-defaults-mode-browser@3.0.34':
- resolution: {integrity: sha512-FumjjF631lR521cX+svMLBj3SwSDh9VdtyynTYDAiBDEf8YPP5xORNXKQ9j0105o5+ARAGnOOP/RqSl40uXddA==}
- engines: {node: '>= 10.0.0'}
+ '@smithy/util-defaults-mode-browser@4.0.1':
+ resolution: {integrity: sha512-nkQifWzWUHw/D0aLPgyKut+QnJ5X+5E8wBvGfvrYLLZ86xPfVO6MoqfQo/9s4bF3Xscefua1M6KLZtobHMWrBg==}
+ engines: {node: '>=18.0.0'}
- '@smithy/util-defaults-mode-node@3.0.34':
- resolution: {integrity: sha512-vN6aHfzW9dVVzkI0wcZoUXvfjkl4CSbM9nE//08lmUMyf00S75uuCpTrqF9uD4bD9eldIXlt53colrlwKAT8Gw==}
- engines: {node: '>= 10.0.0'}
+ '@smithy/util-defaults-mode-node@4.0.1':
+ resolution: {integrity: sha512-LeAx2faB83litC9vaOdwFaldtto2gczUHxfFf8yoRwDU3cwL4/pDm7i0hxsuBCRk5mzHsrVGw+3EVCj32UZMdw==}
+ engines: {node: '>=18.0.0'}
- '@smithy/util-endpoints@2.1.7':
- resolution: {integrity: sha512-tSfcqKcN/Oo2STEYCABVuKgJ76nyyr6skGl9t15hs+YaiU06sgMkN7QYjo0BbVw+KT26zok3IzbdSOksQ4YzVw==}
- engines: {node: '>=16.0.0'}
+ '@smithy/util-endpoints@3.0.1':
+ resolution: {integrity: sha512-zVdUENQpdtn9jbpD9SCFK4+aSiavRb9BxEtw9ZGUR1TYo6bBHbIoi7VkrFQ0/RwZlzx0wRBaRmPclj8iAoJCLA==}
+ engines: {node: '>=18.0.0'}
- '@smithy/util-hex-encoding@3.0.0':
- resolution: {integrity: sha512-eFndh1WEK5YMUYvy3lPlVmYY/fZcQE1D8oSf41Id2vCeIkKJXPcYDCZD+4+xViI6b1XSd7tE+s5AmXzz5ilabQ==}
- engines: {node: '>=16.0.0'}
+ '@smithy/util-hex-encoding@4.0.0':
+ resolution: {integrity: sha512-Yk5mLhHtfIgW2W2WQZWSg5kuMZCVbvhFmC7rV4IO2QqnZdbEFPmQnCcGMAX2z/8Qj3B9hYYNjZOhWym+RwhePw==}
+ engines: {node: '>=18.0.0'}
- '@smithy/util-middleware@3.0.11':
- resolution: {integrity: sha512-dWpyc1e1R6VoXrwLoLDd57U1z6CwNSdkM69Ie4+6uYh2GC7Vg51Qtan7ITzczuVpqezdDTKJGJB95fFvvjU/ow==}
- engines: {node: '>=16.0.0'}
+ '@smithy/util-middleware@4.0.1':
+ resolution: {integrity: sha512-HiLAvlcqhbzhuiOa0Lyct5IIlyIz0PQO5dnMlmQ/ubYM46dPInB+3yQGkfxsk6Q24Y0n3/JmcA1v5iEhmOF5mA==}
+ engines: {node: '>=18.0.0'}
- '@smithy/util-retry@3.0.11':
- resolution: {integrity: sha512-hJUC6W7A3DQgaee3Hp9ZFcOxVDZzmBIRBPlUAk8/fSOEl7pE/aX7Dci0JycNOnm9Mfr0KV2XjIlUOcGWXQUdVQ==}
- engines: {node: '>=16.0.0'}
+ '@smithy/util-retry@4.0.1':
+ resolution: {integrity: sha512-WmRHqNVwn3kI3rKk1LsKcVgPBG6iLTBGC1iYOV3GQegwJ3E8yjzHytPt26VNzOWr1qu0xE03nK0Ug8S7T7oufw==}
+ engines: {node: '>=18.0.0'}
- '@smithy/util-stream@3.3.4':
- resolution: {integrity: sha512-SGhGBG/KupieJvJSZp/rfHHka8BFgj56eek9px4pp7lZbOF+fRiVr4U7A3y3zJD8uGhxq32C5D96HxsTC9BckQ==}
- engines: {node: '>=16.0.0'}
+ '@smithy/util-stream@4.0.1':
+ resolution: {integrity: sha512-Js16gOgU6Qht6qTPfuJgb+1YD4AEO+5Y1UPGWKSp3BNo8ONl/qhXSYDhFKJtwybRJynlCqvP5IeiaBsUmkSPTQ==}
+ engines: {node: '>=18.0.0'}
- '@smithy/util-uri-escape@3.0.0':
- resolution: {integrity: sha512-LqR7qYLgZTD7nWLBecUi4aqolw8Mhza9ArpNEQ881MJJIU2sE5iHCK6TdyqqzcDLy0OPe10IY4T8ctVdtynubg==}
- engines: {node: '>=16.0.0'}
+ '@smithy/util-uri-escape@4.0.0':
+ resolution: {integrity: sha512-77yfbCbQMtgtTylO9itEAdpPXSog3ZxMe09AEhm0dU0NLTalV70ghDZFR+Nfi1C60jnJoh/Re4090/DuZh2Omg==}
+ engines: {node: '>=18.0.0'}
'@smithy/util-utf8@2.3.0':
resolution: {integrity: sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==}
engines: {node: '>=14.0.0'}
- '@smithy/util-utf8@3.0.0':
- resolution: {integrity: sha512-rUeT12bxFnplYDe815GXbq/oixEGHfRFFtcTF3YdDi/JaENIM6aSYYLJydG83UNzLXeRI5K8abYd/8Sp/QM0kA==}
- engines: {node: '>=16.0.0'}
+ '@smithy/util-utf8@4.0.0':
+ resolution: {integrity: sha512-b+zebfKCfRdgNJDknHCob3O7FpeYQN6ZG6YLExMcasDHsCXlsXCEuiPZeLnJLpwa5dvPetGlnGCiMHuLwGvFow==}
+ engines: {node: '>=18.0.0'}
- '@smithy/util-waiter@3.2.0':
- resolution: {integrity: sha512-PpjSboaDUE6yl+1qlg3Si57++e84oXdWGbuFUSAciXsVfEZJJJupR2Nb0QuXHiunt2vGR+1PTizOMvnUPaG2Qg==}
- engines: {node: '>=16.0.0'}
+ '@smithy/util-waiter@4.0.2':
+ resolution: {integrity: sha512-piUTHyp2Axx3p/kc2CIJkYSv0BAaheBQmbACZgQSSfWUumWNW+R1lL+H9PDBxKJkvOeEX+hKYEFiwO8xagL8AQ==}
+ engines: {node: '>=18.0.0'}
'@swc/core-darwin-arm64@1.10.7':
resolution: {integrity: sha512-SI0OFg987P6hcyT0Dbng3YRISPS9uhLX1dzW4qRrfqQdb0i75lPJ2YWe9CN47HBazrIA5COuTzrD2Dc0TcVsSQ==}
@@ -6418,20 +6427,20 @@ snapshots:
'@aws-crypto/crc32@5.2.0':
dependencies:
'@aws-crypto/util': 5.2.0
- '@aws-sdk/types': 3.714.0
+ '@aws-sdk/types': 3.723.0
tslib: 2.8.1
'@aws-crypto/crc32c@5.2.0':
dependencies:
'@aws-crypto/util': 5.2.0
- '@aws-sdk/types': 3.714.0
+ '@aws-sdk/types': 3.723.0
tslib: 2.8.1
'@aws-crypto/sha1-browser@5.2.0':
dependencies:
'@aws-crypto/supports-web-crypto': 5.2.0
'@aws-crypto/util': 5.2.0
- '@aws-sdk/types': 3.714.0
+ '@aws-sdk/types': 3.723.0
'@aws-sdk/util-locate-window': 3.693.0
'@smithy/util-utf8': 2.3.0
tslib: 2.8.1
@@ -6441,7 +6450,7 @@ snapshots:
'@aws-crypto/sha256-js': 5.2.0
'@aws-crypto/supports-web-crypto': 5.2.0
'@aws-crypto/util': 5.2.0
- '@aws-sdk/types': 3.714.0
+ '@aws-sdk/types': 3.723.0
'@aws-sdk/util-locate-window': 3.693.0
'@smithy/util-utf8': 2.3.0
tslib: 2.8.1
@@ -6449,7 +6458,7 @@ snapshots:
'@aws-crypto/sha256-js@5.2.0':
dependencies:
'@aws-crypto/util': 5.2.0
- '@aws-sdk/types': 3.714.0
+ '@aws-sdk/types': 3.723.0
tslib: 2.8.1
'@aws-crypto/supports-web-crypto@5.2.0':
@@ -6458,768 +6467,768 @@ snapshots:
'@aws-crypto/util@5.2.0':
dependencies:
- '@aws-sdk/types': 3.714.0
+ '@aws-sdk/types': 3.723.0
'@smithy/util-utf8': 2.3.0
tslib: 2.8.1
- '@aws-sdk/client-codecommit@3.716.0':
+ '@aws-sdk/client-codecommit@3.726.1':
dependencies:
'@aws-crypto/sha256-browser': 5.2.0
'@aws-crypto/sha256-js': 5.2.0
- '@aws-sdk/client-sso-oidc': 3.716.0(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/client-sts': 3.716.0
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/credential-provider-node': 3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/middleware-host-header': 3.714.0
- '@aws-sdk/middleware-logger': 3.714.0
- '@aws-sdk/middleware-recursion-detection': 3.714.0
- '@aws-sdk/middleware-user-agent': 3.716.0
- '@aws-sdk/region-config-resolver': 3.714.0
- '@aws-sdk/types': 3.714.0
- '@aws-sdk/util-endpoints': 3.714.0
- '@aws-sdk/util-user-agent-browser': 3.714.0
- '@aws-sdk/util-user-agent-node': 3.716.0
- '@smithy/config-resolver': 3.0.13
- '@smithy/core': 2.5.7
- '@smithy/fetch-http-handler': 4.1.3
- '@smithy/hash-node': 3.0.11
- '@smithy/invalid-dependency': 3.0.11
- '@smithy/middleware-content-length': 3.0.13
- '@smithy/middleware-endpoint': 3.2.8
- '@smithy/middleware-retry': 3.0.34
- '@smithy/middleware-serde': 3.0.11
- '@smithy/middleware-stack': 3.0.11
- '@smithy/node-config-provider': 3.1.12
- '@smithy/node-http-handler': 3.3.3
- '@smithy/protocol-http': 4.1.8
- '@smithy/smithy-client': 3.7.0
- '@smithy/types': 3.7.2
- '@smithy/url-parser': 3.0.11
- '@smithy/util-base64': 3.0.0
- '@smithy/util-body-length-browser': 3.0.0
- '@smithy/util-body-length-node': 3.0.0
- '@smithy/util-defaults-mode-browser': 3.0.34
- '@smithy/util-defaults-mode-node': 3.0.34
- '@smithy/util-endpoints': 2.1.7
- '@smithy/util-middleware': 3.0.11
- '@smithy/util-retry': 3.0.11
- '@smithy/util-utf8': 3.0.0
+ '@aws-sdk/client-sso-oidc': 3.726.0(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/client-sts': 3.726.1
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/credential-provider-node': 3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/middleware-host-header': 3.723.0
+ '@aws-sdk/middleware-logger': 3.723.0
+ '@aws-sdk/middleware-recursion-detection': 3.723.0
+ '@aws-sdk/middleware-user-agent': 3.726.0
+ '@aws-sdk/region-config-resolver': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@aws-sdk/util-endpoints': 3.726.0
+ '@aws-sdk/util-user-agent-browser': 3.723.0
+ '@aws-sdk/util-user-agent-node': 3.726.0
+ '@smithy/config-resolver': 4.0.1
+ '@smithy/core': 3.1.0
+ '@smithy/fetch-http-handler': 5.0.1
+ '@smithy/hash-node': 4.0.1
+ '@smithy/invalid-dependency': 4.0.1
+ '@smithy/middleware-content-length': 4.0.1
+ '@smithy/middleware-endpoint': 4.0.1
+ '@smithy/middleware-retry': 4.0.1
+ '@smithy/middleware-serde': 4.0.1
+ '@smithy/middleware-stack': 4.0.1
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/node-http-handler': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/smithy-client': 4.1.0
+ '@smithy/types': 4.1.0
+ '@smithy/url-parser': 4.0.1
+ '@smithy/util-base64': 4.0.0
+ '@smithy/util-body-length-browser': 4.0.0
+ '@smithy/util-body-length-node': 4.0.0
+ '@smithy/util-defaults-mode-browser': 4.0.1
+ '@smithy/util-defaults-mode-node': 4.0.1
+ '@smithy/util-endpoints': 3.0.1
+ '@smithy/util-middleware': 4.0.1
+ '@smithy/util-retry': 4.0.1
+ '@smithy/util-utf8': 4.0.0
'@types/uuid': 9.0.8
tslib: 2.8.1
uuid: 9.0.1
transitivePeerDependencies:
- aws-crt
- '@aws-sdk/client-cognito-identity@3.716.0':
+ '@aws-sdk/client-cognito-identity@3.726.1':
dependencies:
'@aws-crypto/sha256-browser': 5.2.0
'@aws-crypto/sha256-js': 5.2.0
- '@aws-sdk/client-sso-oidc': 3.716.0(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/client-sts': 3.716.0
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/credential-provider-node': 3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/middleware-host-header': 3.714.0
- '@aws-sdk/middleware-logger': 3.714.0
- '@aws-sdk/middleware-recursion-detection': 3.714.0
- '@aws-sdk/middleware-user-agent': 3.716.0
- '@aws-sdk/region-config-resolver': 3.714.0
- '@aws-sdk/types': 3.714.0
- '@aws-sdk/util-endpoints': 3.714.0
- '@aws-sdk/util-user-agent-browser': 3.714.0
- '@aws-sdk/util-user-agent-node': 3.716.0
- '@smithy/config-resolver': 3.0.13
- '@smithy/core': 2.5.7
- '@smithy/fetch-http-handler': 4.1.3
- '@smithy/hash-node': 3.0.11
- '@smithy/invalid-dependency': 3.0.11
- '@smithy/middleware-content-length': 3.0.13
- '@smithy/middleware-endpoint': 3.2.8
- '@smithy/middleware-retry': 3.0.34
- '@smithy/middleware-serde': 3.0.11
- '@smithy/middleware-stack': 3.0.11
- '@smithy/node-config-provider': 3.1.12
- '@smithy/node-http-handler': 3.3.3
- '@smithy/protocol-http': 4.1.8
- '@smithy/smithy-client': 3.7.0
- '@smithy/types': 3.7.2
- '@smithy/url-parser': 3.0.11
- '@smithy/util-base64': 3.0.0
- '@smithy/util-body-length-browser': 3.0.0
- '@smithy/util-body-length-node': 3.0.0
- '@smithy/util-defaults-mode-browser': 3.0.34
- '@smithy/util-defaults-mode-node': 3.0.34
- '@smithy/util-endpoints': 2.1.7
- '@smithy/util-middleware': 3.0.11
- '@smithy/util-retry': 3.0.11
- '@smithy/util-utf8': 3.0.0
+ '@aws-sdk/client-sso-oidc': 3.726.0(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/client-sts': 3.726.1
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/credential-provider-node': 3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/middleware-host-header': 3.723.0
+ '@aws-sdk/middleware-logger': 3.723.0
+ '@aws-sdk/middleware-recursion-detection': 3.723.0
+ '@aws-sdk/middleware-user-agent': 3.726.0
+ '@aws-sdk/region-config-resolver': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@aws-sdk/util-endpoints': 3.726.0
+ '@aws-sdk/util-user-agent-browser': 3.723.0
+ '@aws-sdk/util-user-agent-node': 3.726.0
+ '@smithy/config-resolver': 4.0.1
+ '@smithy/core': 3.1.0
+ '@smithy/fetch-http-handler': 5.0.1
+ '@smithy/hash-node': 4.0.1
+ '@smithy/invalid-dependency': 4.0.1
+ '@smithy/middleware-content-length': 4.0.1
+ '@smithy/middleware-endpoint': 4.0.1
+ '@smithy/middleware-retry': 4.0.1
+ '@smithy/middleware-serde': 4.0.1
+ '@smithy/middleware-stack': 4.0.1
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/node-http-handler': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/smithy-client': 4.1.0
+ '@smithy/types': 4.1.0
+ '@smithy/url-parser': 4.0.1
+ '@smithy/util-base64': 4.0.0
+ '@smithy/util-body-length-browser': 4.0.0
+ '@smithy/util-body-length-node': 4.0.0
+ '@smithy/util-defaults-mode-browser': 4.0.1
+ '@smithy/util-defaults-mode-node': 4.0.1
+ '@smithy/util-endpoints': 3.0.1
+ '@smithy/util-middleware': 4.0.1
+ '@smithy/util-retry': 4.0.1
+ '@smithy/util-utf8': 4.0.0
tslib: 2.8.1
transitivePeerDependencies:
- aws-crt
- '@aws-sdk/client-ec2@3.716.0':
+ '@aws-sdk/client-ec2@3.726.1':
dependencies:
'@aws-crypto/sha256-browser': 5.2.0
'@aws-crypto/sha256-js': 5.2.0
- '@aws-sdk/client-sso-oidc': 3.716.0(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/client-sts': 3.716.0
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/credential-provider-node': 3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/middleware-host-header': 3.714.0
- '@aws-sdk/middleware-logger': 3.714.0
- '@aws-sdk/middleware-recursion-detection': 3.714.0
- '@aws-sdk/middleware-sdk-ec2': 3.716.0
- '@aws-sdk/middleware-user-agent': 3.716.0
- '@aws-sdk/region-config-resolver': 3.714.0
- '@aws-sdk/types': 3.714.0
- '@aws-sdk/util-endpoints': 3.714.0
- '@aws-sdk/util-user-agent-browser': 3.714.0
- '@aws-sdk/util-user-agent-node': 3.716.0
- '@smithy/config-resolver': 3.0.13
- '@smithy/core': 2.5.7
- '@smithy/fetch-http-handler': 4.1.3
- '@smithy/hash-node': 3.0.11
- '@smithy/invalid-dependency': 3.0.11
- '@smithy/middleware-content-length': 3.0.13
- '@smithy/middleware-endpoint': 3.2.8
- '@smithy/middleware-retry': 3.0.34
- '@smithy/middleware-serde': 3.0.11
- '@smithy/middleware-stack': 3.0.11
- '@smithy/node-config-provider': 3.1.12
- '@smithy/node-http-handler': 3.3.3
- '@smithy/protocol-http': 4.1.8
- '@smithy/smithy-client': 3.7.0
- '@smithy/types': 3.7.2
- '@smithy/url-parser': 3.0.11
- '@smithy/util-base64': 3.0.0
- '@smithy/util-body-length-browser': 3.0.0
- '@smithy/util-body-length-node': 3.0.0
- '@smithy/util-defaults-mode-browser': 3.0.34
- '@smithy/util-defaults-mode-node': 3.0.34
- '@smithy/util-endpoints': 2.1.7
- '@smithy/util-middleware': 3.0.11
- '@smithy/util-retry': 3.0.11
- '@smithy/util-utf8': 3.0.0
- '@smithy/util-waiter': 3.2.0
+ '@aws-sdk/client-sso-oidc': 3.726.0(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/client-sts': 3.726.1
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/credential-provider-node': 3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/middleware-host-header': 3.723.0
+ '@aws-sdk/middleware-logger': 3.723.0
+ '@aws-sdk/middleware-recursion-detection': 3.723.0
+ '@aws-sdk/middleware-sdk-ec2': 3.723.0
+ '@aws-sdk/middleware-user-agent': 3.726.0
+ '@aws-sdk/region-config-resolver': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@aws-sdk/util-endpoints': 3.726.0
+ '@aws-sdk/util-user-agent-browser': 3.723.0
+ '@aws-sdk/util-user-agent-node': 3.726.0
+ '@smithy/config-resolver': 4.0.1
+ '@smithy/core': 3.1.0
+ '@smithy/fetch-http-handler': 5.0.1
+ '@smithy/hash-node': 4.0.1
+ '@smithy/invalid-dependency': 4.0.1
+ '@smithy/middleware-content-length': 4.0.1
+ '@smithy/middleware-endpoint': 4.0.1
+ '@smithy/middleware-retry': 4.0.1
+ '@smithy/middleware-serde': 4.0.1
+ '@smithy/middleware-stack': 4.0.1
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/node-http-handler': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/smithy-client': 4.1.0
+ '@smithy/types': 4.1.0
+ '@smithy/url-parser': 4.0.1
+ '@smithy/util-base64': 4.0.0
+ '@smithy/util-body-length-browser': 4.0.0
+ '@smithy/util-body-length-node': 4.0.0
+ '@smithy/util-defaults-mode-browser': 4.0.1
+ '@smithy/util-defaults-mode-node': 4.0.1
+ '@smithy/util-endpoints': 3.0.1
+ '@smithy/util-middleware': 4.0.1
+ '@smithy/util-retry': 4.0.1
+ '@smithy/util-utf8': 4.0.0
+ '@smithy/util-waiter': 4.0.2
'@types/uuid': 9.0.8
tslib: 2.8.1
uuid: 9.0.1
transitivePeerDependencies:
- aws-crt
- '@aws-sdk/client-ecr@3.720.0':
+ '@aws-sdk/client-ecr@3.726.1':
dependencies:
'@aws-crypto/sha256-browser': 5.2.0
'@aws-crypto/sha256-js': 5.2.0
- '@aws-sdk/client-sso-oidc': 3.716.0(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/client-sts': 3.716.0
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/credential-provider-node': 3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/middleware-host-header': 3.714.0
- '@aws-sdk/middleware-logger': 3.714.0
- '@aws-sdk/middleware-recursion-detection': 3.714.0
- '@aws-sdk/middleware-user-agent': 3.716.0
- '@aws-sdk/region-config-resolver': 3.714.0
- '@aws-sdk/types': 3.714.0
- '@aws-sdk/util-endpoints': 3.714.0
- '@aws-sdk/util-user-agent-browser': 3.714.0
- '@aws-sdk/util-user-agent-node': 3.716.0
- '@smithy/config-resolver': 3.0.13
- '@smithy/core': 2.5.7
- '@smithy/fetch-http-handler': 4.1.3
- '@smithy/hash-node': 3.0.11
- '@smithy/invalid-dependency': 3.0.11
- '@smithy/middleware-content-length': 3.0.13
- '@smithy/middleware-endpoint': 3.2.8
- '@smithy/middleware-retry': 3.0.34
- '@smithy/middleware-serde': 3.0.11
- '@smithy/middleware-stack': 3.0.11
- '@smithy/node-config-provider': 3.1.12
- '@smithy/node-http-handler': 3.3.3
- '@smithy/protocol-http': 4.1.8
- '@smithy/smithy-client': 3.7.0
- '@smithy/types': 3.7.2
- '@smithy/url-parser': 3.0.11
- '@smithy/util-base64': 3.0.0
- '@smithy/util-body-length-browser': 3.0.0
- '@smithy/util-body-length-node': 3.0.0
- '@smithy/util-defaults-mode-browser': 3.0.34
- '@smithy/util-defaults-mode-node': 3.0.34
- '@smithy/util-endpoints': 2.1.7
- '@smithy/util-middleware': 3.0.11
- '@smithy/util-retry': 3.0.11
- '@smithy/util-utf8': 3.0.0
- '@smithy/util-waiter': 3.2.0
+ '@aws-sdk/client-sso-oidc': 3.726.0(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/client-sts': 3.726.1
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/credential-provider-node': 3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/middleware-host-header': 3.723.0
+ '@aws-sdk/middleware-logger': 3.723.0
+ '@aws-sdk/middleware-recursion-detection': 3.723.0
+ '@aws-sdk/middleware-user-agent': 3.726.0
+ '@aws-sdk/region-config-resolver': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@aws-sdk/util-endpoints': 3.726.0
+ '@aws-sdk/util-user-agent-browser': 3.723.0
+ '@aws-sdk/util-user-agent-node': 3.726.0
+ '@smithy/config-resolver': 4.0.1
+ '@smithy/core': 3.1.0
+ '@smithy/fetch-http-handler': 5.0.1
+ '@smithy/hash-node': 4.0.1
+ '@smithy/invalid-dependency': 4.0.1
+ '@smithy/middleware-content-length': 4.0.1
+ '@smithy/middleware-endpoint': 4.0.1
+ '@smithy/middleware-retry': 4.0.1
+ '@smithy/middleware-serde': 4.0.1
+ '@smithy/middleware-stack': 4.0.1
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/node-http-handler': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/smithy-client': 4.1.0
+ '@smithy/types': 4.1.0
+ '@smithy/url-parser': 4.0.1
+ '@smithy/util-base64': 4.0.0
+ '@smithy/util-body-length-browser': 4.0.0
+ '@smithy/util-body-length-node': 4.0.0
+ '@smithy/util-defaults-mode-browser': 4.0.1
+ '@smithy/util-defaults-mode-node': 4.0.1
+ '@smithy/util-endpoints': 3.0.1
+ '@smithy/util-middleware': 4.0.1
+ '@smithy/util-retry': 4.0.1
+ '@smithy/util-utf8': 4.0.0
+ '@smithy/util-waiter': 4.0.2
tslib: 2.8.1
transitivePeerDependencies:
- aws-crt
- '@aws-sdk/client-rds@3.719.1':
+ '@aws-sdk/client-rds@3.726.1':
dependencies:
'@aws-crypto/sha256-browser': 5.2.0
'@aws-crypto/sha256-js': 5.2.0
- '@aws-sdk/client-sso-oidc': 3.716.0(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/client-sts': 3.716.0
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/credential-provider-node': 3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/middleware-host-header': 3.714.0
- '@aws-sdk/middleware-logger': 3.714.0
- '@aws-sdk/middleware-recursion-detection': 3.714.0
- '@aws-sdk/middleware-sdk-rds': 3.716.0
- '@aws-sdk/middleware-user-agent': 3.716.0
- '@aws-sdk/region-config-resolver': 3.714.0
- '@aws-sdk/types': 3.714.0
- '@aws-sdk/util-endpoints': 3.714.0
- '@aws-sdk/util-user-agent-browser': 3.714.0
- '@aws-sdk/util-user-agent-node': 3.716.0
- '@smithy/config-resolver': 3.0.13
- '@smithy/core': 2.5.7
- '@smithy/fetch-http-handler': 4.1.3
- '@smithy/hash-node': 3.0.11
- '@smithy/invalid-dependency': 3.0.11
- '@smithy/middleware-content-length': 3.0.13
- '@smithy/middleware-endpoint': 3.2.8
- '@smithy/middleware-retry': 3.0.34
- '@smithy/middleware-serde': 3.0.11
- '@smithy/middleware-stack': 3.0.11
- '@smithy/node-config-provider': 3.1.12
- '@smithy/node-http-handler': 3.3.3
- '@smithy/protocol-http': 4.1.8
- '@smithy/smithy-client': 3.7.0
- '@smithy/types': 3.7.2
- '@smithy/url-parser': 3.0.11
- '@smithy/util-base64': 3.0.0
- '@smithy/util-body-length-browser': 3.0.0
- '@smithy/util-body-length-node': 3.0.0
- '@smithy/util-defaults-mode-browser': 3.0.34
- '@smithy/util-defaults-mode-node': 3.0.34
- '@smithy/util-endpoints': 2.1.7
- '@smithy/util-middleware': 3.0.11
- '@smithy/util-retry': 3.0.11
- '@smithy/util-utf8': 3.0.0
- '@smithy/util-waiter': 3.2.0
+ '@aws-sdk/client-sso-oidc': 3.726.0(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/client-sts': 3.726.1
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/credential-provider-node': 3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/middleware-host-header': 3.723.0
+ '@aws-sdk/middleware-logger': 3.723.0
+ '@aws-sdk/middleware-recursion-detection': 3.723.0
+ '@aws-sdk/middleware-sdk-rds': 3.723.0
+ '@aws-sdk/middleware-user-agent': 3.726.0
+ '@aws-sdk/region-config-resolver': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@aws-sdk/util-endpoints': 3.726.0
+ '@aws-sdk/util-user-agent-browser': 3.723.0
+ '@aws-sdk/util-user-agent-node': 3.726.0
+ '@smithy/config-resolver': 4.0.1
+ '@smithy/core': 3.1.0
+ '@smithy/fetch-http-handler': 5.0.1
+ '@smithy/hash-node': 4.0.1
+ '@smithy/invalid-dependency': 4.0.1
+ '@smithy/middleware-content-length': 4.0.1
+ '@smithy/middleware-endpoint': 4.0.1
+ '@smithy/middleware-retry': 4.0.1
+ '@smithy/middleware-serde': 4.0.1
+ '@smithy/middleware-stack': 4.0.1
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/node-http-handler': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/smithy-client': 4.1.0
+ '@smithy/types': 4.1.0
+ '@smithy/url-parser': 4.0.1
+ '@smithy/util-base64': 4.0.0
+ '@smithy/util-body-length-browser': 4.0.0
+ '@smithy/util-body-length-node': 4.0.0
+ '@smithy/util-defaults-mode-browser': 4.0.1
+ '@smithy/util-defaults-mode-node': 4.0.1
+ '@smithy/util-endpoints': 3.0.1
+ '@smithy/util-middleware': 4.0.1
+ '@smithy/util-retry': 4.0.1
+ '@smithy/util-utf8': 4.0.0
+ '@smithy/util-waiter': 4.0.2
tslib: 2.8.1
transitivePeerDependencies:
- aws-crt
- '@aws-sdk/client-s3@3.717.0':
+ '@aws-sdk/client-s3@3.726.1':
dependencies:
'@aws-crypto/sha1-browser': 5.2.0
'@aws-crypto/sha256-browser': 5.2.0
'@aws-crypto/sha256-js': 5.2.0
- '@aws-sdk/client-sso-oidc': 3.716.0(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/client-sts': 3.716.0
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/credential-provider-node': 3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/middleware-bucket-endpoint': 3.714.0
- '@aws-sdk/middleware-expect-continue': 3.714.0
- '@aws-sdk/middleware-flexible-checksums': 3.717.0
- '@aws-sdk/middleware-host-header': 3.714.0
- '@aws-sdk/middleware-location-constraint': 3.714.0
- '@aws-sdk/middleware-logger': 3.714.0
- '@aws-sdk/middleware-recursion-detection': 3.714.0
- '@aws-sdk/middleware-sdk-s3': 3.716.0
- '@aws-sdk/middleware-ssec': 3.714.0
- '@aws-sdk/middleware-user-agent': 3.716.0
- '@aws-sdk/region-config-resolver': 3.714.0
- '@aws-sdk/signature-v4-multi-region': 3.716.0
- '@aws-sdk/types': 3.714.0
- '@aws-sdk/util-endpoints': 3.714.0
- '@aws-sdk/util-user-agent-browser': 3.714.0
- '@aws-sdk/util-user-agent-node': 3.716.0
- '@aws-sdk/xml-builder': 3.709.0
- '@smithy/config-resolver': 3.0.13
- '@smithy/core': 2.5.7
- '@smithy/eventstream-serde-browser': 3.0.14
- '@smithy/eventstream-serde-config-resolver': 3.0.11
- '@smithy/eventstream-serde-node': 3.0.13
- '@smithy/fetch-http-handler': 4.1.3
- '@smithy/hash-blob-browser': 3.1.10
- '@smithy/hash-node': 3.0.11
- '@smithy/hash-stream-node': 3.1.10
- '@smithy/invalid-dependency': 3.0.11
- '@smithy/md5-js': 3.0.11
- '@smithy/middleware-content-length': 3.0.13
- '@smithy/middleware-endpoint': 3.2.8
- '@smithy/middleware-retry': 3.0.34
- '@smithy/middleware-serde': 3.0.11
- '@smithy/middleware-stack': 3.0.11
- '@smithy/node-config-provider': 3.1.12
- '@smithy/node-http-handler': 3.3.3
- '@smithy/protocol-http': 4.1.8
- '@smithy/smithy-client': 3.7.0
- '@smithy/types': 3.7.2
- '@smithy/url-parser': 3.0.11
- '@smithy/util-base64': 3.0.0
- '@smithy/util-body-length-browser': 3.0.0
- '@smithy/util-body-length-node': 3.0.0
- '@smithy/util-defaults-mode-browser': 3.0.34
- '@smithy/util-defaults-mode-node': 3.0.34
- '@smithy/util-endpoints': 2.1.7
- '@smithy/util-middleware': 3.0.11
- '@smithy/util-retry': 3.0.11
- '@smithy/util-stream': 3.3.4
- '@smithy/util-utf8': 3.0.0
- '@smithy/util-waiter': 3.2.0
+ '@aws-sdk/client-sso-oidc': 3.726.0(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/client-sts': 3.726.1
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/credential-provider-node': 3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/middleware-bucket-endpoint': 3.726.0
+ '@aws-sdk/middleware-expect-continue': 3.723.0
+ '@aws-sdk/middleware-flexible-checksums': 3.723.0
+ '@aws-sdk/middleware-host-header': 3.723.0
+ '@aws-sdk/middleware-location-constraint': 3.723.0
+ '@aws-sdk/middleware-logger': 3.723.0
+ '@aws-sdk/middleware-recursion-detection': 3.723.0
+ '@aws-sdk/middleware-sdk-s3': 3.723.0
+ '@aws-sdk/middleware-ssec': 3.723.0
+ '@aws-sdk/middleware-user-agent': 3.726.0
+ '@aws-sdk/region-config-resolver': 3.723.0
+ '@aws-sdk/signature-v4-multi-region': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@aws-sdk/util-endpoints': 3.726.0
+ '@aws-sdk/util-user-agent-browser': 3.723.0
+ '@aws-sdk/util-user-agent-node': 3.726.0
+ '@aws-sdk/xml-builder': 3.723.0
+ '@smithy/config-resolver': 4.0.1
+ '@smithy/core': 3.1.0
+ '@smithy/eventstream-serde-browser': 4.0.1
+ '@smithy/eventstream-serde-config-resolver': 4.0.1
+ '@smithy/eventstream-serde-node': 4.0.1
+ '@smithy/fetch-http-handler': 5.0.1
+ '@smithy/hash-blob-browser': 4.0.1
+ '@smithy/hash-node': 4.0.1
+ '@smithy/hash-stream-node': 4.0.1
+ '@smithy/invalid-dependency': 4.0.1
+ '@smithy/md5-js': 4.0.1
+ '@smithy/middleware-content-length': 4.0.1
+ '@smithy/middleware-endpoint': 4.0.1
+ '@smithy/middleware-retry': 4.0.1
+ '@smithy/middleware-serde': 4.0.1
+ '@smithy/middleware-stack': 4.0.1
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/node-http-handler': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/smithy-client': 4.1.0
+ '@smithy/types': 4.1.0
+ '@smithy/url-parser': 4.0.1
+ '@smithy/util-base64': 4.0.0
+ '@smithy/util-body-length-browser': 4.0.0
+ '@smithy/util-body-length-node': 4.0.0
+ '@smithy/util-defaults-mode-browser': 4.0.1
+ '@smithy/util-defaults-mode-node': 4.0.1
+ '@smithy/util-endpoints': 3.0.1
+ '@smithy/util-middleware': 4.0.1
+ '@smithy/util-retry': 4.0.1
+ '@smithy/util-stream': 4.0.1
+ '@smithy/util-utf8': 4.0.0
+ '@smithy/util-waiter': 4.0.2
tslib: 2.8.1
transitivePeerDependencies:
- aws-crt
- '@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0)':
+ '@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1)':
dependencies:
'@aws-crypto/sha256-browser': 5.2.0
'@aws-crypto/sha256-js': 5.2.0
- '@aws-sdk/client-sts': 3.716.0
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/credential-provider-node': 3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/middleware-host-header': 3.714.0
- '@aws-sdk/middleware-logger': 3.714.0
- '@aws-sdk/middleware-recursion-detection': 3.714.0
- '@aws-sdk/middleware-user-agent': 3.716.0
- '@aws-sdk/region-config-resolver': 3.714.0
- '@aws-sdk/types': 3.714.0
- '@aws-sdk/util-endpoints': 3.714.0
- '@aws-sdk/util-user-agent-browser': 3.714.0
- '@aws-sdk/util-user-agent-node': 3.716.0
- '@smithy/config-resolver': 3.0.13
- '@smithy/core': 2.5.7
- '@smithy/fetch-http-handler': 4.1.3
- '@smithy/hash-node': 3.0.11
- '@smithy/invalid-dependency': 3.0.11
- '@smithy/middleware-content-length': 3.0.13
- '@smithy/middleware-endpoint': 3.2.8
- '@smithy/middleware-retry': 3.0.34
- '@smithy/middleware-serde': 3.0.11
- '@smithy/middleware-stack': 3.0.11
- '@smithy/node-config-provider': 3.1.12
- '@smithy/node-http-handler': 3.3.3
- '@smithy/protocol-http': 4.1.8
- '@smithy/smithy-client': 3.7.0
- '@smithy/types': 3.7.2
- '@smithy/url-parser': 3.0.11
- '@smithy/util-base64': 3.0.0
- '@smithy/util-body-length-browser': 3.0.0
- '@smithy/util-body-length-node': 3.0.0
- '@smithy/util-defaults-mode-browser': 3.0.34
- '@smithy/util-defaults-mode-node': 3.0.34
- '@smithy/util-endpoints': 2.1.7
- '@smithy/util-middleware': 3.0.11
- '@smithy/util-retry': 3.0.11
- '@smithy/util-utf8': 3.0.0
+ '@aws-sdk/client-sts': 3.726.1
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/credential-provider-node': 3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/middleware-host-header': 3.723.0
+ '@aws-sdk/middleware-logger': 3.723.0
+ '@aws-sdk/middleware-recursion-detection': 3.723.0
+ '@aws-sdk/middleware-user-agent': 3.726.0
+ '@aws-sdk/region-config-resolver': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@aws-sdk/util-endpoints': 3.726.0
+ '@aws-sdk/util-user-agent-browser': 3.723.0
+ '@aws-sdk/util-user-agent-node': 3.726.0
+ '@smithy/config-resolver': 4.0.1
+ '@smithy/core': 3.1.0
+ '@smithy/fetch-http-handler': 5.0.1
+ '@smithy/hash-node': 4.0.1
+ '@smithy/invalid-dependency': 4.0.1
+ '@smithy/middleware-content-length': 4.0.1
+ '@smithy/middleware-endpoint': 4.0.1
+ '@smithy/middleware-retry': 4.0.1
+ '@smithy/middleware-serde': 4.0.1
+ '@smithy/middleware-stack': 4.0.1
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/node-http-handler': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/smithy-client': 4.1.0
+ '@smithy/types': 4.1.0
+ '@smithy/url-parser': 4.0.1
+ '@smithy/util-base64': 4.0.0
+ '@smithy/util-body-length-browser': 4.0.0
+ '@smithy/util-body-length-node': 4.0.0
+ '@smithy/util-defaults-mode-browser': 4.0.1
+ '@smithy/util-defaults-mode-node': 4.0.1
+ '@smithy/util-endpoints': 3.0.1
+ '@smithy/util-middleware': 4.0.1
+ '@smithy/util-retry': 4.0.1
+ '@smithy/util-utf8': 4.0.0
tslib: 2.8.1
transitivePeerDependencies:
- aws-crt
- '@aws-sdk/client-sso@3.716.0':
+ '@aws-sdk/client-sso@3.726.0':
dependencies:
'@aws-crypto/sha256-browser': 5.2.0
'@aws-crypto/sha256-js': 5.2.0
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/middleware-host-header': 3.714.0
- '@aws-sdk/middleware-logger': 3.714.0
- '@aws-sdk/middleware-recursion-detection': 3.714.0
- '@aws-sdk/middleware-user-agent': 3.716.0
- '@aws-sdk/region-config-resolver': 3.714.0
- '@aws-sdk/types': 3.714.0
- '@aws-sdk/util-endpoints': 3.714.0
- '@aws-sdk/util-user-agent-browser': 3.714.0
- '@aws-sdk/util-user-agent-node': 3.716.0
- '@smithy/config-resolver': 3.0.13
- '@smithy/core': 2.5.7
- '@smithy/fetch-http-handler': 4.1.3
- '@smithy/hash-node': 3.0.11
- '@smithy/invalid-dependency': 3.0.11
- '@smithy/middleware-content-length': 3.0.13
- '@smithy/middleware-endpoint': 3.2.8
- '@smithy/middleware-retry': 3.0.34
- '@smithy/middleware-serde': 3.0.11
- '@smithy/middleware-stack': 3.0.11
- '@smithy/node-config-provider': 3.1.12
- '@smithy/node-http-handler': 3.3.3
- '@smithy/protocol-http': 4.1.8
- '@smithy/smithy-client': 3.7.0
- '@smithy/types': 3.7.2
- '@smithy/url-parser': 3.0.11
- '@smithy/util-base64': 3.0.0
- '@smithy/util-body-length-browser': 3.0.0
- '@smithy/util-body-length-node': 3.0.0
- '@smithy/util-defaults-mode-browser': 3.0.34
- '@smithy/util-defaults-mode-node': 3.0.34
- '@smithy/util-endpoints': 2.1.7
- '@smithy/util-middleware': 3.0.11
- '@smithy/util-retry': 3.0.11
- '@smithy/util-utf8': 3.0.0
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/middleware-host-header': 3.723.0
+ '@aws-sdk/middleware-logger': 3.723.0
+ '@aws-sdk/middleware-recursion-detection': 3.723.0
+ '@aws-sdk/middleware-user-agent': 3.726.0
+ '@aws-sdk/region-config-resolver': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@aws-sdk/util-endpoints': 3.726.0
+ '@aws-sdk/util-user-agent-browser': 3.723.0
+ '@aws-sdk/util-user-agent-node': 3.726.0
+ '@smithy/config-resolver': 4.0.1
+ '@smithy/core': 3.1.0
+ '@smithy/fetch-http-handler': 5.0.1
+ '@smithy/hash-node': 4.0.1
+ '@smithy/invalid-dependency': 4.0.1
+ '@smithy/middleware-content-length': 4.0.1
+ '@smithy/middleware-endpoint': 4.0.1
+ '@smithy/middleware-retry': 4.0.1
+ '@smithy/middleware-serde': 4.0.1
+ '@smithy/middleware-stack': 4.0.1
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/node-http-handler': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/smithy-client': 4.1.0
+ '@smithy/types': 4.1.0
+ '@smithy/url-parser': 4.0.1
+ '@smithy/util-base64': 4.0.0
+ '@smithy/util-body-length-browser': 4.0.0
+ '@smithy/util-body-length-node': 4.0.0
+ '@smithy/util-defaults-mode-browser': 4.0.1
+ '@smithy/util-defaults-mode-node': 4.0.1
+ '@smithy/util-endpoints': 3.0.1
+ '@smithy/util-middleware': 4.0.1
+ '@smithy/util-retry': 4.0.1
+ '@smithy/util-utf8': 4.0.0
tslib: 2.8.1
transitivePeerDependencies:
- aws-crt
- '@aws-sdk/client-sts@3.716.0':
+ '@aws-sdk/client-sts@3.726.1':
dependencies:
'@aws-crypto/sha256-browser': 5.2.0
'@aws-crypto/sha256-js': 5.2.0
- '@aws-sdk/client-sso-oidc': 3.716.0(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/credential-provider-node': 3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/middleware-host-header': 3.714.0
- '@aws-sdk/middleware-logger': 3.714.0
- '@aws-sdk/middleware-recursion-detection': 3.714.0
- '@aws-sdk/middleware-user-agent': 3.716.0
- '@aws-sdk/region-config-resolver': 3.714.0
- '@aws-sdk/types': 3.714.0
- '@aws-sdk/util-endpoints': 3.714.0
- '@aws-sdk/util-user-agent-browser': 3.714.0
- '@aws-sdk/util-user-agent-node': 3.716.0
- '@smithy/config-resolver': 3.0.13
- '@smithy/core': 2.5.7
- '@smithy/fetch-http-handler': 4.1.3
- '@smithy/hash-node': 3.0.11
- '@smithy/invalid-dependency': 3.0.11
- '@smithy/middleware-content-length': 3.0.13
- '@smithy/middleware-endpoint': 3.2.8
- '@smithy/middleware-retry': 3.0.34
- '@smithy/middleware-serde': 3.0.11
- '@smithy/middleware-stack': 3.0.11
- '@smithy/node-config-provider': 3.1.12
- '@smithy/node-http-handler': 3.3.3
- '@smithy/protocol-http': 4.1.8
- '@smithy/smithy-client': 3.7.0
- '@smithy/types': 3.7.2
- '@smithy/url-parser': 3.0.11
- '@smithy/util-base64': 3.0.0
- '@smithy/util-body-length-browser': 3.0.0
- '@smithy/util-body-length-node': 3.0.0
- '@smithy/util-defaults-mode-browser': 3.0.34
- '@smithy/util-defaults-mode-node': 3.0.34
- '@smithy/util-endpoints': 2.1.7
- '@smithy/util-middleware': 3.0.11
- '@smithy/util-retry': 3.0.11
- '@smithy/util-utf8': 3.0.0
+ '@aws-sdk/client-sso-oidc': 3.726.0(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/credential-provider-node': 3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/middleware-host-header': 3.723.0
+ '@aws-sdk/middleware-logger': 3.723.0
+ '@aws-sdk/middleware-recursion-detection': 3.723.0
+ '@aws-sdk/middleware-user-agent': 3.726.0
+ '@aws-sdk/region-config-resolver': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@aws-sdk/util-endpoints': 3.726.0
+ '@aws-sdk/util-user-agent-browser': 3.723.0
+ '@aws-sdk/util-user-agent-node': 3.726.0
+ '@smithy/config-resolver': 4.0.1
+ '@smithy/core': 3.1.0
+ '@smithy/fetch-http-handler': 5.0.1
+ '@smithy/hash-node': 4.0.1
+ '@smithy/invalid-dependency': 4.0.1
+ '@smithy/middleware-content-length': 4.0.1
+ '@smithy/middleware-endpoint': 4.0.1
+ '@smithy/middleware-retry': 4.0.1
+ '@smithy/middleware-serde': 4.0.1
+ '@smithy/middleware-stack': 4.0.1
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/node-http-handler': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/smithy-client': 4.1.0
+ '@smithy/types': 4.1.0
+ '@smithy/url-parser': 4.0.1
+ '@smithy/util-base64': 4.0.0
+ '@smithy/util-body-length-browser': 4.0.0
+ '@smithy/util-body-length-node': 4.0.0
+ '@smithy/util-defaults-mode-browser': 4.0.1
+ '@smithy/util-defaults-mode-node': 4.0.1
+ '@smithy/util-endpoints': 3.0.1
+ '@smithy/util-middleware': 4.0.1
+ '@smithy/util-retry': 4.0.1
+ '@smithy/util-utf8': 4.0.0
tslib: 2.8.1
transitivePeerDependencies:
- aws-crt
- '@aws-sdk/core@3.716.0':
- dependencies:
- '@aws-sdk/types': 3.714.0
- '@smithy/core': 2.5.7
- '@smithy/node-config-provider': 3.1.12
- '@smithy/property-provider': 3.1.11
- '@smithy/protocol-http': 4.1.8
- '@smithy/signature-v4': 4.2.4
- '@smithy/smithy-client': 3.7.0
- '@smithy/types': 3.7.2
- '@smithy/util-middleware': 3.0.11
+ '@aws-sdk/core@3.723.0':
+ dependencies:
+ '@aws-sdk/types': 3.723.0
+ '@smithy/core': 3.1.0
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/property-provider': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/signature-v4': 5.0.1
+ '@smithy/smithy-client': 4.1.0
+ '@smithy/types': 4.1.0
+ '@smithy/util-middleware': 4.0.1
fast-xml-parser: 4.4.1
tslib: 2.8.1
- '@aws-sdk/credential-provider-cognito-identity@3.716.0':
+ '@aws-sdk/credential-provider-cognito-identity@3.726.1':
dependencies:
- '@aws-sdk/client-cognito-identity': 3.716.0
- '@aws-sdk/types': 3.714.0
- '@smithy/property-provider': 3.1.11
- '@smithy/types': 3.7.2
+ '@aws-sdk/client-cognito-identity': 3.726.1
+ '@aws-sdk/types': 3.723.0
+ '@smithy/property-provider': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
transitivePeerDependencies:
- aws-crt
- '@aws-sdk/credential-provider-env@3.716.0':
+ '@aws-sdk/credential-provider-env@3.723.0':
dependencies:
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/types': 3.714.0
- '@smithy/property-provider': 3.1.11
- '@smithy/types': 3.7.2
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@smithy/property-provider': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/credential-provider-http@3.716.0':
- dependencies:
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/types': 3.714.0
- '@smithy/fetch-http-handler': 4.1.3
- '@smithy/node-http-handler': 3.3.3
- '@smithy/property-provider': 3.1.11
- '@smithy/protocol-http': 4.1.8
- '@smithy/smithy-client': 3.7.0
- '@smithy/types': 3.7.2
- '@smithy/util-stream': 3.3.4
+ '@aws-sdk/credential-provider-http@3.723.0':
+ dependencies:
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@smithy/fetch-http-handler': 5.0.1
+ '@smithy/node-http-handler': 4.0.1
+ '@smithy/property-provider': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/smithy-client': 4.1.0
+ '@smithy/types': 4.1.0
+ '@smithy/util-stream': 4.0.1
tslib: 2.8.1
- '@aws-sdk/credential-provider-ini@3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))(@aws-sdk/client-sts@3.716.0)':
- dependencies:
- '@aws-sdk/client-sts': 3.716.0
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/credential-provider-env': 3.716.0
- '@aws-sdk/credential-provider-http': 3.716.0
- '@aws-sdk/credential-provider-process': 3.716.0
- '@aws-sdk/credential-provider-sso': 3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))
- '@aws-sdk/credential-provider-web-identity': 3.716.0(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/types': 3.714.0
- '@smithy/credential-provider-imds': 3.2.8
- '@smithy/property-provider': 3.1.11
- '@smithy/shared-ini-file-loader': 3.1.12
- '@smithy/types': 3.7.2
+ '@aws-sdk/credential-provider-ini@3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))(@aws-sdk/client-sts@3.726.1)':
+ dependencies:
+ '@aws-sdk/client-sts': 3.726.1
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/credential-provider-env': 3.723.0
+ '@aws-sdk/credential-provider-http': 3.723.0
+ '@aws-sdk/credential-provider-process': 3.723.0
+ '@aws-sdk/credential-provider-sso': 3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))
+ '@aws-sdk/credential-provider-web-identity': 3.723.0(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/types': 3.723.0
+ '@smithy/credential-provider-imds': 4.0.1
+ '@smithy/property-provider': 4.0.1
+ '@smithy/shared-ini-file-loader': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
transitivePeerDependencies:
- '@aws-sdk/client-sso-oidc'
- aws-crt
- '@aws-sdk/credential-provider-node@3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))(@aws-sdk/client-sts@3.716.0)':
- dependencies:
- '@aws-sdk/credential-provider-env': 3.716.0
- '@aws-sdk/credential-provider-http': 3.716.0
- '@aws-sdk/credential-provider-ini': 3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/credential-provider-process': 3.716.0
- '@aws-sdk/credential-provider-sso': 3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))
- '@aws-sdk/credential-provider-web-identity': 3.716.0(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/types': 3.714.0
- '@smithy/credential-provider-imds': 3.2.8
- '@smithy/property-provider': 3.1.11
- '@smithy/shared-ini-file-loader': 3.1.12
- '@smithy/types': 3.7.2
+ '@aws-sdk/credential-provider-node@3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))(@aws-sdk/client-sts@3.726.1)':
+ dependencies:
+ '@aws-sdk/credential-provider-env': 3.723.0
+ '@aws-sdk/credential-provider-http': 3.723.0
+ '@aws-sdk/credential-provider-ini': 3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/credential-provider-process': 3.723.0
+ '@aws-sdk/credential-provider-sso': 3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))
+ '@aws-sdk/credential-provider-web-identity': 3.723.0(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/types': 3.723.0
+ '@smithy/credential-provider-imds': 4.0.1
+ '@smithy/property-provider': 4.0.1
+ '@smithy/shared-ini-file-loader': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
transitivePeerDependencies:
- '@aws-sdk/client-sso-oidc'
- '@aws-sdk/client-sts'
- aws-crt
- '@aws-sdk/credential-provider-process@3.716.0':
+ '@aws-sdk/credential-provider-process@3.723.0':
dependencies:
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/types': 3.714.0
- '@smithy/property-provider': 3.1.11
- '@smithy/shared-ini-file-loader': 3.1.12
- '@smithy/types': 3.7.2
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@smithy/property-provider': 4.0.1
+ '@smithy/shared-ini-file-loader': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/credential-provider-sso@3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))':
+ '@aws-sdk/credential-provider-sso@3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))':
dependencies:
- '@aws-sdk/client-sso': 3.716.0
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/token-providers': 3.714.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))
- '@aws-sdk/types': 3.714.0
- '@smithy/property-provider': 3.1.11
- '@smithy/shared-ini-file-loader': 3.1.12
- '@smithy/types': 3.7.2
+ '@aws-sdk/client-sso': 3.726.0
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/token-providers': 3.723.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))
+ '@aws-sdk/types': 3.723.0
+ '@smithy/property-provider': 4.0.1
+ '@smithy/shared-ini-file-loader': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
transitivePeerDependencies:
- '@aws-sdk/client-sso-oidc'
- aws-crt
- '@aws-sdk/credential-provider-web-identity@3.716.0(@aws-sdk/client-sts@3.716.0)':
+ '@aws-sdk/credential-provider-web-identity@3.723.0(@aws-sdk/client-sts@3.726.1)':
dependencies:
- '@aws-sdk/client-sts': 3.716.0
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/types': 3.714.0
- '@smithy/property-provider': 3.1.11
- '@smithy/types': 3.7.2
+ '@aws-sdk/client-sts': 3.726.1
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@smithy/property-provider': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/credential-providers@3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))':
- dependencies:
- '@aws-sdk/client-cognito-identity': 3.716.0
- '@aws-sdk/client-sso': 3.716.0
- '@aws-sdk/client-sts': 3.716.0
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/credential-provider-cognito-identity': 3.716.0
- '@aws-sdk/credential-provider-env': 3.716.0
- '@aws-sdk/credential-provider-http': 3.716.0
- '@aws-sdk/credential-provider-ini': 3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/credential-provider-node': 3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/credential-provider-process': 3.716.0
- '@aws-sdk/credential-provider-sso': 3.716.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))
- '@aws-sdk/credential-provider-web-identity': 3.716.0(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/types': 3.714.0
- '@smithy/credential-provider-imds': 3.2.8
- '@smithy/property-provider': 3.1.11
- '@smithy/types': 3.7.2
+ '@aws-sdk/credential-providers@3.726.1(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))':
+ dependencies:
+ '@aws-sdk/client-cognito-identity': 3.726.1
+ '@aws-sdk/client-sso': 3.726.0
+ '@aws-sdk/client-sts': 3.726.1
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/credential-provider-cognito-identity': 3.726.1
+ '@aws-sdk/credential-provider-env': 3.723.0
+ '@aws-sdk/credential-provider-http': 3.723.0
+ '@aws-sdk/credential-provider-ini': 3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/credential-provider-node': 3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/credential-provider-process': 3.723.0
+ '@aws-sdk/credential-provider-sso': 3.726.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))
+ '@aws-sdk/credential-provider-web-identity': 3.723.0(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/types': 3.723.0
+ '@smithy/credential-provider-imds': 4.0.1
+ '@smithy/property-provider': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
transitivePeerDependencies:
- '@aws-sdk/client-sso-oidc'
- aws-crt
- '@aws-sdk/middleware-bucket-endpoint@3.714.0':
+ '@aws-sdk/middleware-bucket-endpoint@3.726.0':
dependencies:
- '@aws-sdk/types': 3.714.0
- '@aws-sdk/util-arn-parser': 3.693.0
- '@smithy/node-config-provider': 3.1.12
- '@smithy/protocol-http': 4.1.8
- '@smithy/types': 3.7.2
- '@smithy/util-config-provider': 3.0.0
+ '@aws-sdk/types': 3.723.0
+ '@aws-sdk/util-arn-parser': 3.723.0
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/types': 4.1.0
+ '@smithy/util-config-provider': 4.0.0
tslib: 2.8.1
- '@aws-sdk/middleware-expect-continue@3.714.0':
+ '@aws-sdk/middleware-expect-continue@3.723.0':
dependencies:
- '@aws-sdk/types': 3.714.0
- '@smithy/protocol-http': 4.1.8
- '@smithy/types': 3.7.2
+ '@aws-sdk/types': 3.723.0
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/middleware-flexible-checksums@3.717.0':
+ '@aws-sdk/middleware-flexible-checksums@3.723.0':
dependencies:
'@aws-crypto/crc32': 5.2.0
'@aws-crypto/crc32c': 5.2.0
'@aws-crypto/util': 5.2.0
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/types': 3.714.0
- '@smithy/is-array-buffer': 3.0.0
- '@smithy/node-config-provider': 3.1.12
- '@smithy/protocol-http': 4.1.8
- '@smithy/types': 3.7.2
- '@smithy/util-middleware': 3.0.11
- '@smithy/util-stream': 3.3.4
- '@smithy/util-utf8': 3.0.0
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@smithy/is-array-buffer': 4.0.0
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/types': 4.1.0
+ '@smithy/util-middleware': 4.0.1
+ '@smithy/util-stream': 4.0.1
+ '@smithy/util-utf8': 4.0.0
tslib: 2.8.1
- '@aws-sdk/middleware-host-header@3.714.0':
+ '@aws-sdk/middleware-host-header@3.723.0':
dependencies:
- '@aws-sdk/types': 3.714.0
- '@smithy/protocol-http': 4.1.8
- '@smithy/types': 3.7.2
+ '@aws-sdk/types': 3.723.0
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/middleware-location-constraint@3.714.0':
+ '@aws-sdk/middleware-location-constraint@3.723.0':
dependencies:
- '@aws-sdk/types': 3.714.0
- '@smithy/types': 3.7.2
+ '@aws-sdk/types': 3.723.0
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/middleware-logger@3.714.0':
+ '@aws-sdk/middleware-logger@3.723.0':
dependencies:
- '@aws-sdk/types': 3.714.0
- '@smithy/types': 3.7.2
+ '@aws-sdk/types': 3.723.0
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/middleware-recursion-detection@3.714.0':
+ '@aws-sdk/middleware-recursion-detection@3.723.0':
dependencies:
- '@aws-sdk/types': 3.714.0
- '@smithy/protocol-http': 4.1.8
- '@smithy/types': 3.7.2
+ '@aws-sdk/types': 3.723.0
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/middleware-sdk-ec2@3.716.0':
+ '@aws-sdk/middleware-sdk-ec2@3.723.0':
dependencies:
- '@aws-sdk/types': 3.714.0
- '@aws-sdk/util-format-url': 3.714.0
- '@smithy/middleware-endpoint': 3.2.8
- '@smithy/protocol-http': 4.1.8
- '@smithy/signature-v4': 4.2.4
- '@smithy/smithy-client': 3.7.0
- '@smithy/types': 3.7.2
+ '@aws-sdk/types': 3.723.0
+ '@aws-sdk/util-format-url': 3.723.0
+ '@smithy/middleware-endpoint': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/signature-v4': 5.0.1
+ '@smithy/smithy-client': 4.1.0
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/middleware-sdk-rds@3.716.0':
+ '@aws-sdk/middleware-sdk-rds@3.723.0':
dependencies:
- '@aws-sdk/types': 3.714.0
- '@aws-sdk/util-format-url': 3.714.0
- '@smithy/middleware-endpoint': 3.2.8
- '@smithy/protocol-http': 4.1.8
- '@smithy/signature-v4': 4.2.4
- '@smithy/types': 3.7.2
+ '@aws-sdk/types': 3.723.0
+ '@aws-sdk/util-format-url': 3.723.0
+ '@smithy/middleware-endpoint': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/signature-v4': 5.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/middleware-sdk-s3@3.716.0':
- dependencies:
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/types': 3.714.0
- '@aws-sdk/util-arn-parser': 3.693.0
- '@smithy/core': 2.5.7
- '@smithy/node-config-provider': 3.1.12
- '@smithy/protocol-http': 4.1.8
- '@smithy/signature-v4': 4.2.4
- '@smithy/smithy-client': 3.7.0
- '@smithy/types': 3.7.2
- '@smithy/util-config-provider': 3.0.0
- '@smithy/util-middleware': 3.0.11
- '@smithy/util-stream': 3.3.4
- '@smithy/util-utf8': 3.0.0
+ '@aws-sdk/middleware-sdk-s3@3.723.0':
+ dependencies:
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@aws-sdk/util-arn-parser': 3.723.0
+ '@smithy/core': 3.1.0
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/signature-v4': 5.0.1
+ '@smithy/smithy-client': 4.1.0
+ '@smithy/types': 4.1.0
+ '@smithy/util-config-provider': 4.0.0
+ '@smithy/util-middleware': 4.0.1
+ '@smithy/util-stream': 4.0.1
+ '@smithy/util-utf8': 4.0.0
tslib: 2.8.1
- '@aws-sdk/middleware-ssec@3.714.0':
+ '@aws-sdk/middleware-ssec@3.723.0':
dependencies:
- '@aws-sdk/types': 3.714.0
- '@smithy/types': 3.7.2
+ '@aws-sdk/types': 3.723.0
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/middleware-user-agent@3.716.0':
+ '@aws-sdk/middleware-user-agent@3.726.0':
dependencies:
- '@aws-sdk/core': 3.716.0
- '@aws-sdk/types': 3.714.0
- '@aws-sdk/util-endpoints': 3.714.0
- '@smithy/core': 2.5.7
- '@smithy/protocol-http': 4.1.8
- '@smithy/types': 3.7.2
+ '@aws-sdk/core': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@aws-sdk/util-endpoints': 3.726.0
+ '@smithy/core': 3.1.0
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/region-config-resolver@3.714.0':
+ '@aws-sdk/region-config-resolver@3.723.0':
dependencies:
- '@aws-sdk/types': 3.714.0
- '@smithy/node-config-provider': 3.1.12
- '@smithy/types': 3.7.2
- '@smithy/util-config-provider': 3.0.0
- '@smithy/util-middleware': 3.0.11
+ '@aws-sdk/types': 3.723.0
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/types': 4.1.0
+ '@smithy/util-config-provider': 4.0.0
+ '@smithy/util-middleware': 4.0.1
tslib: 2.8.1
- '@aws-sdk/signature-v4-multi-region@3.716.0':
+ '@aws-sdk/signature-v4-multi-region@3.723.0':
dependencies:
- '@aws-sdk/middleware-sdk-s3': 3.716.0
- '@aws-sdk/types': 3.714.0
- '@smithy/protocol-http': 4.1.8
- '@smithy/signature-v4': 4.2.4
- '@smithy/types': 3.7.2
+ '@aws-sdk/middleware-sdk-s3': 3.723.0
+ '@aws-sdk/types': 3.723.0
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/signature-v4': 5.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/token-providers@3.714.0(@aws-sdk/client-sso-oidc@3.716.0(@aws-sdk/client-sts@3.716.0))':
+ '@aws-sdk/token-providers@3.723.0(@aws-sdk/client-sso-oidc@3.726.0(@aws-sdk/client-sts@3.726.1))':
dependencies:
- '@aws-sdk/client-sso-oidc': 3.716.0(@aws-sdk/client-sts@3.716.0)
- '@aws-sdk/types': 3.714.0
- '@smithy/property-provider': 3.1.11
- '@smithy/shared-ini-file-loader': 3.1.12
- '@smithy/types': 3.7.2
+ '@aws-sdk/client-sso-oidc': 3.726.0(@aws-sdk/client-sts@3.726.1)
+ '@aws-sdk/types': 3.723.0
+ '@smithy/property-provider': 4.0.1
+ '@smithy/shared-ini-file-loader': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/types@3.714.0':
+ '@aws-sdk/types@3.723.0':
dependencies:
- '@smithy/types': 3.7.2
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/util-arn-parser@3.693.0':
+ '@aws-sdk/util-arn-parser@3.723.0':
dependencies:
tslib: 2.8.1
- '@aws-sdk/util-endpoints@3.714.0':
+ '@aws-sdk/util-endpoints@3.726.0':
dependencies:
- '@aws-sdk/types': 3.714.0
- '@smithy/types': 3.7.2
- '@smithy/util-endpoints': 2.1.7
+ '@aws-sdk/types': 3.723.0
+ '@smithy/types': 4.1.0
+ '@smithy/util-endpoints': 3.0.1
tslib: 2.8.1
- '@aws-sdk/util-format-url@3.714.0':
+ '@aws-sdk/util-format-url@3.723.0':
dependencies:
- '@aws-sdk/types': 3.714.0
- '@smithy/querystring-builder': 3.0.11
- '@smithy/types': 3.7.2
+ '@aws-sdk/types': 3.723.0
+ '@smithy/querystring-builder': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
'@aws-sdk/util-locate-window@3.693.0':
dependencies:
tslib: 2.8.1
- '@aws-sdk/util-user-agent-browser@3.714.0':
+ '@aws-sdk/util-user-agent-browser@3.723.0':
dependencies:
- '@aws-sdk/types': 3.714.0
- '@smithy/types': 3.7.2
+ '@aws-sdk/types': 3.723.0
+ '@smithy/types': 4.1.0
bowser: 2.11.0
tslib: 2.8.1
- '@aws-sdk/util-user-agent-node@3.716.0':
+ '@aws-sdk/util-user-agent-node@3.726.0':
dependencies:
- '@aws-sdk/middleware-user-agent': 3.716.0
- '@aws-sdk/types': 3.714.0
- '@smithy/node-config-provider': 3.1.12
- '@smithy/types': 3.7.2
+ '@aws-sdk/middleware-user-agent': 3.726.0
+ '@aws-sdk/types': 3.723.0
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/xml-builder@3.709.0':
+ '@aws-sdk/xml-builder@3.723.0':
dependencies:
- '@smithy/types': 3.7.2
+ '@smithy/types': 4.1.0
tslib: 2.8.1
'@babel/code-frame@7.26.2':
@@ -8263,250 +8272,250 @@ snapshots:
'@sinonjs/text-encoding@0.7.3': {}
- '@smithy/abort-controller@3.1.9':
+ '@smithy/abort-controller@4.0.1':
dependencies:
- '@smithy/types': 3.7.2
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/chunked-blob-reader-native@3.0.1':
+ '@smithy/chunked-blob-reader-native@4.0.0':
dependencies:
- '@smithy/util-base64': 3.0.0
+ '@smithy/util-base64': 4.0.0
tslib: 2.8.1
- '@smithy/chunked-blob-reader@4.0.0':
+ '@smithy/chunked-blob-reader@5.0.0':
dependencies:
tslib: 2.8.1
- '@smithy/config-resolver@3.0.13':
+ '@smithy/config-resolver@4.0.1':
dependencies:
- '@smithy/node-config-provider': 3.1.12
- '@smithy/types': 3.7.2
- '@smithy/util-config-provider': 3.0.0
- '@smithy/util-middleware': 3.0.11
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/types': 4.1.0
+ '@smithy/util-config-provider': 4.0.0
+ '@smithy/util-middleware': 4.0.1
tslib: 2.8.1
- '@smithy/core@2.5.7':
+ '@smithy/core@3.1.0':
dependencies:
- '@smithy/middleware-serde': 3.0.11
- '@smithy/protocol-http': 4.1.8
- '@smithy/types': 3.7.2
- '@smithy/util-body-length-browser': 3.0.0
- '@smithy/util-middleware': 3.0.11
- '@smithy/util-stream': 3.3.4
- '@smithy/util-utf8': 3.0.0
+ '@smithy/middleware-serde': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/types': 4.1.0
+ '@smithy/util-body-length-browser': 4.0.0
+ '@smithy/util-middleware': 4.0.1
+ '@smithy/util-stream': 4.0.1
+ '@smithy/util-utf8': 4.0.0
tslib: 2.8.1
- '@smithy/credential-provider-imds@3.2.8':
+ '@smithy/credential-provider-imds@4.0.1':
dependencies:
- '@smithy/node-config-provider': 3.1.12
- '@smithy/property-provider': 3.1.11
- '@smithy/types': 3.7.2
- '@smithy/url-parser': 3.0.11
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/property-provider': 4.0.1
+ '@smithy/types': 4.1.0
+ '@smithy/url-parser': 4.0.1
tslib: 2.8.1
- '@smithy/eventstream-codec@3.1.10':
+ '@smithy/eventstream-codec@4.0.1':
dependencies:
'@aws-crypto/crc32': 5.2.0
- '@smithy/types': 3.7.2
- '@smithy/util-hex-encoding': 3.0.0
+ '@smithy/types': 4.1.0
+ '@smithy/util-hex-encoding': 4.0.0
tslib: 2.8.1
- '@smithy/eventstream-serde-browser@3.0.14':
+ '@smithy/eventstream-serde-browser@4.0.1':
dependencies:
- '@smithy/eventstream-serde-universal': 3.0.13
- '@smithy/types': 3.7.2
+ '@smithy/eventstream-serde-universal': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/eventstream-serde-config-resolver@3.0.11':
+ '@smithy/eventstream-serde-config-resolver@4.0.1':
dependencies:
- '@smithy/types': 3.7.2
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/eventstream-serde-node@3.0.13':
+ '@smithy/eventstream-serde-node@4.0.1':
dependencies:
- '@smithy/eventstream-serde-universal': 3.0.13
- '@smithy/types': 3.7.2
+ '@smithy/eventstream-serde-universal': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/eventstream-serde-universal@3.0.13':
+ '@smithy/eventstream-serde-universal@4.0.1':
dependencies:
- '@smithy/eventstream-codec': 3.1.10
- '@smithy/types': 3.7.2
+ '@smithy/eventstream-codec': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/fetch-http-handler@4.1.3':
+ '@smithy/fetch-http-handler@5.0.1':
dependencies:
- '@smithy/protocol-http': 4.1.8
- '@smithy/querystring-builder': 3.0.11
- '@smithy/types': 3.7.2
- '@smithy/util-base64': 3.0.0
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/querystring-builder': 4.0.1
+ '@smithy/types': 4.1.0
+ '@smithy/util-base64': 4.0.0
tslib: 2.8.1
- '@smithy/hash-blob-browser@3.1.10':
+ '@smithy/hash-blob-browser@4.0.1':
dependencies:
- '@smithy/chunked-blob-reader': 4.0.0
- '@smithy/chunked-blob-reader-native': 3.0.1
- '@smithy/types': 3.7.2
+ '@smithy/chunked-blob-reader': 5.0.0
+ '@smithy/chunked-blob-reader-native': 4.0.0
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/hash-node@3.0.11':
+ '@smithy/hash-node@4.0.1':
dependencies:
- '@smithy/types': 3.7.2
- '@smithy/util-buffer-from': 3.0.0
- '@smithy/util-utf8': 3.0.0
+ '@smithy/types': 4.1.0
+ '@smithy/util-buffer-from': 4.0.0
+ '@smithy/util-utf8': 4.0.0
tslib: 2.8.1
- '@smithy/hash-stream-node@3.1.10':
+ '@smithy/hash-stream-node@4.0.1':
dependencies:
- '@smithy/types': 3.7.2
- '@smithy/util-utf8': 3.0.0
+ '@smithy/types': 4.1.0
+ '@smithy/util-utf8': 4.0.0
tslib: 2.8.1
- '@smithy/invalid-dependency@3.0.11':
+ '@smithy/invalid-dependency@4.0.1':
dependencies:
- '@smithy/types': 3.7.2
+ '@smithy/types': 4.1.0
tslib: 2.8.1
'@smithy/is-array-buffer@2.2.0':
dependencies:
tslib: 2.8.1
- '@smithy/is-array-buffer@3.0.0':
+ '@smithy/is-array-buffer@4.0.0':
dependencies:
tslib: 2.8.1
- '@smithy/md5-js@3.0.11':
+ '@smithy/md5-js@4.0.1':
dependencies:
- '@smithy/types': 3.7.2
- '@smithy/util-utf8': 3.0.0
+ '@smithy/types': 4.1.0
+ '@smithy/util-utf8': 4.0.0
tslib: 2.8.1
- '@smithy/middleware-content-length@3.0.13':
+ '@smithy/middleware-content-length@4.0.1':
dependencies:
- '@smithy/protocol-http': 4.1.8
- '@smithy/types': 3.7.2
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/middleware-endpoint@3.2.8':
+ '@smithy/middleware-endpoint@4.0.1':
dependencies:
- '@smithy/core': 2.5.7
- '@smithy/middleware-serde': 3.0.11
- '@smithy/node-config-provider': 3.1.12
- '@smithy/shared-ini-file-loader': 3.1.12
- '@smithy/types': 3.7.2
- '@smithy/url-parser': 3.0.11
- '@smithy/util-middleware': 3.0.11
+ '@smithy/core': 3.1.0
+ '@smithy/middleware-serde': 4.0.1
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/shared-ini-file-loader': 4.0.1
+ '@smithy/types': 4.1.0
+ '@smithy/url-parser': 4.0.1
+ '@smithy/util-middleware': 4.0.1
tslib: 2.8.1
- '@smithy/middleware-retry@3.0.34':
+ '@smithy/middleware-retry@4.0.1':
dependencies:
- '@smithy/node-config-provider': 3.1.12
- '@smithy/protocol-http': 4.1.8
- '@smithy/service-error-classification': 3.0.11
- '@smithy/smithy-client': 3.7.0
- '@smithy/types': 3.7.2
- '@smithy/util-middleware': 3.0.11
- '@smithy/util-retry': 3.0.11
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/service-error-classification': 4.0.1
+ '@smithy/smithy-client': 4.1.0
+ '@smithy/types': 4.1.0
+ '@smithy/util-middleware': 4.0.1
+ '@smithy/util-retry': 4.0.1
tslib: 2.8.1
uuid: 9.0.1
- '@smithy/middleware-serde@3.0.11':
+ '@smithy/middleware-serde@4.0.1':
dependencies:
- '@smithy/types': 3.7.2
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/middleware-stack@3.0.11':
+ '@smithy/middleware-stack@4.0.1':
dependencies:
- '@smithy/types': 3.7.2
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/node-config-provider@3.1.12':
+ '@smithy/node-config-provider@4.0.1':
dependencies:
- '@smithy/property-provider': 3.1.11
- '@smithy/shared-ini-file-loader': 3.1.12
- '@smithy/types': 3.7.2
+ '@smithy/property-provider': 4.0.1
+ '@smithy/shared-ini-file-loader': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/node-http-handler@3.3.3':
+ '@smithy/node-http-handler@4.0.1':
dependencies:
- '@smithy/abort-controller': 3.1.9
- '@smithy/protocol-http': 4.1.8
- '@smithy/querystring-builder': 3.0.11
- '@smithy/types': 3.7.2
+ '@smithy/abort-controller': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/querystring-builder': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/property-provider@3.1.11':
+ '@smithy/property-provider@4.0.1':
dependencies:
- '@smithy/types': 3.7.2
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/protocol-http@4.1.8':
+ '@smithy/protocol-http@5.0.1':
dependencies:
- '@smithy/types': 3.7.2
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/querystring-builder@3.0.11':
+ '@smithy/querystring-builder@4.0.1':
dependencies:
- '@smithy/types': 3.7.2
- '@smithy/util-uri-escape': 3.0.0
+ '@smithy/types': 4.1.0
+ '@smithy/util-uri-escape': 4.0.0
tslib: 2.8.1
- '@smithy/querystring-parser@3.0.11':
+ '@smithy/querystring-parser@4.0.1':
dependencies:
- '@smithy/types': 3.7.2
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/service-error-classification@3.0.11':
+ '@smithy/service-error-classification@4.0.1':
dependencies:
- '@smithy/types': 3.7.2
+ '@smithy/types': 4.1.0
- '@smithy/shared-ini-file-loader@3.1.12':
+ '@smithy/shared-ini-file-loader@4.0.1':
dependencies:
- '@smithy/types': 3.7.2
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/signature-v4@4.2.4':
+ '@smithy/signature-v4@5.0.1':
dependencies:
- '@smithy/is-array-buffer': 3.0.0
- '@smithy/protocol-http': 4.1.8
- '@smithy/types': 3.7.2
- '@smithy/util-hex-encoding': 3.0.0
- '@smithy/util-middleware': 3.0.11
- '@smithy/util-uri-escape': 3.0.0
- '@smithy/util-utf8': 3.0.0
+ '@smithy/is-array-buffer': 4.0.0
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/types': 4.1.0
+ '@smithy/util-hex-encoding': 4.0.0
+ '@smithy/util-middleware': 4.0.1
+ '@smithy/util-uri-escape': 4.0.0
+ '@smithy/util-utf8': 4.0.0
tslib: 2.8.1
- '@smithy/smithy-client@3.7.0':
+ '@smithy/smithy-client@4.1.0':
dependencies:
- '@smithy/core': 2.5.7
- '@smithy/middleware-endpoint': 3.2.8
- '@smithy/middleware-stack': 3.0.11
- '@smithy/protocol-http': 4.1.8
- '@smithy/types': 3.7.2
- '@smithy/util-stream': 3.3.4
+ '@smithy/core': 3.1.0
+ '@smithy/middleware-endpoint': 4.0.1
+ '@smithy/middleware-stack': 4.0.1
+ '@smithy/protocol-http': 5.0.1
+ '@smithy/types': 4.1.0
+ '@smithy/util-stream': 4.0.1
tslib: 2.8.1
- '@smithy/types@3.7.2':
+ '@smithy/types@4.1.0':
dependencies:
tslib: 2.8.1
- '@smithy/url-parser@3.0.11':
+ '@smithy/url-parser@4.0.1':
dependencies:
- '@smithy/querystring-parser': 3.0.11
- '@smithy/types': 3.7.2
+ '@smithy/querystring-parser': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/util-base64@3.0.0':
+ '@smithy/util-base64@4.0.0':
dependencies:
- '@smithy/util-buffer-from': 3.0.0
- '@smithy/util-utf8': 3.0.0
+ '@smithy/util-buffer-from': 4.0.0
+ '@smithy/util-utf8': 4.0.0
tslib: 2.8.1
- '@smithy/util-body-length-browser@3.0.0':
+ '@smithy/util-body-length-browser@4.0.0':
dependencies:
tslib: 2.8.1
- '@smithy/util-body-length-node@3.0.0':
+ '@smithy/util-body-length-node@4.0.0':
dependencies:
tslib: 2.8.1
@@ -8515,66 +8524,66 @@ snapshots:
'@smithy/is-array-buffer': 2.2.0
tslib: 2.8.1
- '@smithy/util-buffer-from@3.0.0':
+ '@smithy/util-buffer-from@4.0.0':
dependencies:
- '@smithy/is-array-buffer': 3.0.0
+ '@smithy/is-array-buffer': 4.0.0
tslib: 2.8.1
- '@smithy/util-config-provider@3.0.0':
+ '@smithy/util-config-provider@4.0.0':
dependencies:
tslib: 2.8.1
- '@smithy/util-defaults-mode-browser@3.0.34':
+ '@smithy/util-defaults-mode-browser@4.0.1':
dependencies:
- '@smithy/property-provider': 3.1.11
- '@smithy/smithy-client': 3.7.0
- '@smithy/types': 3.7.2
+ '@smithy/property-provider': 4.0.1
+ '@smithy/smithy-client': 4.1.0
+ '@smithy/types': 4.1.0
bowser: 2.11.0
tslib: 2.8.1
- '@smithy/util-defaults-mode-node@3.0.34':
+ '@smithy/util-defaults-mode-node@4.0.1':
dependencies:
- '@smithy/config-resolver': 3.0.13
- '@smithy/credential-provider-imds': 3.2.8
- '@smithy/node-config-provider': 3.1.12
- '@smithy/property-provider': 3.1.11
- '@smithy/smithy-client': 3.7.0
- '@smithy/types': 3.7.2
+ '@smithy/config-resolver': 4.0.1
+ '@smithy/credential-provider-imds': 4.0.1
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/property-provider': 4.0.1
+ '@smithy/smithy-client': 4.1.0
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/util-endpoints@2.1.7':
+ '@smithy/util-endpoints@3.0.1':
dependencies:
- '@smithy/node-config-provider': 3.1.12
- '@smithy/types': 3.7.2
+ '@smithy/node-config-provider': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/util-hex-encoding@3.0.0':
+ '@smithy/util-hex-encoding@4.0.0':
dependencies:
tslib: 2.8.1
- '@smithy/util-middleware@3.0.11':
+ '@smithy/util-middleware@4.0.1':
dependencies:
- '@smithy/types': 3.7.2
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/util-retry@3.0.11':
+ '@smithy/util-retry@4.0.1':
dependencies:
- '@smithy/service-error-classification': 3.0.11
- '@smithy/types': 3.7.2
+ '@smithy/service-error-classification': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
- '@smithy/util-stream@3.3.4':
+ '@smithy/util-stream@4.0.1':
dependencies:
- '@smithy/fetch-http-handler': 4.1.3
- '@smithy/node-http-handler': 3.3.3
- '@smithy/types': 3.7.2
- '@smithy/util-base64': 3.0.0
- '@smithy/util-buffer-from': 3.0.0
- '@smithy/util-hex-encoding': 3.0.0
- '@smithy/util-utf8': 3.0.0
+ '@smithy/fetch-http-handler': 5.0.1
+ '@smithy/node-http-handler': 4.0.1
+ '@smithy/types': 4.1.0
+ '@smithy/util-base64': 4.0.0
+ '@smithy/util-buffer-from': 4.0.0
+ '@smithy/util-hex-encoding': 4.0.0
+ '@smithy/util-utf8': 4.0.0
tslib: 2.8.1
- '@smithy/util-uri-escape@3.0.0':
+ '@smithy/util-uri-escape@4.0.0':
dependencies:
tslib: 2.8.1
@@ -8583,15 +8592,15 @@ snapshots:
'@smithy/util-buffer-from': 2.2.0
tslib: 2.8.1
- '@smithy/util-utf8@3.0.0':
+ '@smithy/util-utf8@4.0.0':
dependencies:
- '@smithy/util-buffer-from': 3.0.0
+ '@smithy/util-buffer-from': 4.0.0
tslib: 2.8.1
- '@smithy/util-waiter@3.2.0':
+ '@smithy/util-waiter@4.0.2':
dependencies:
- '@smithy/abort-controller': 3.1.9
- '@smithy/types': 3.7.2
+ '@smithy/abort-controller': 4.0.1
+ '@smithy/types': 4.1.0
tslib: 2.8.1
'@swc/core-darwin-arm64@1.10.7':
From 8f951242099e06259e667fe163a0f3f07427567d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 15:24:24 +0000
Subject: [PATCH 034/247] chore(deps): update dependency
@semantic-release/github>@octokit/plugin-paginate-rest to v11.4.0 (#33545)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
pnpm-lock.yaml | 54 +++++++++++++++++++++++++-------------------------
2 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/package.json b/package.json
index 0acabb9457297e..e22b3f51abfdd1 100644
--- a/package.json
+++ b/package.json
@@ -364,7 +364,7 @@
"safe-json-stringify"
],
"overrides": {
- "@semantic-release/github>@octokit/plugin-paginate-rest": "11.3.6"
+ "@semantic-release/github>@octokit/plugin-paginate-rest": "11.4.0"
}
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 23d754f42e8bc3..a5c68bb3e894ef 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -5,7 +5,7 @@ settings:
excludeLinksFromLockfile: false
overrides:
- '@semantic-release/github>@octokit/plugin-paginate-rest': 11.3.6
+ '@semantic-release/github>@octokit/plugin-paginate-rest': 11.4.0
importers:
@@ -1251,8 +1251,8 @@ packages:
resolution: {integrity: sha512-bdlj/CJVjpaz06NBpfHhp4kGJaRZfz7AzC+6EwUImRtrwIw8dIgJ63Xg0OzV9pRn3rIzrt5c2sa++BL0JJ8GLw==}
engines: {node: '>= 18'}
- '@octokit/openapi-types@22.2.0':
- resolution: {integrity: sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==}
+ '@octokit/openapi-types@23.0.1':
+ resolution: {integrity: sha512-izFjMJ1sir0jn0ldEKhZ7xegCTj/ObmEDlEfpFrx4k/JyZSMRHbO3/rBwgE7f3m2DHt+RrNGIVw4wSmwnm3t/g==}
'@octokit/plugin-paginate-rest@11.3.1':
resolution: {integrity: sha512-ryqobs26cLtM1kQxqeZui4v8FeznirUsksiA+RYemMPJ7Micju0WSkv50dBksTuZks9O5cg4wp+t8fZ/cLY56g==}
@@ -1260,8 +1260,8 @@ packages:
peerDependencies:
'@octokit/core': '5'
- '@octokit/plugin-paginate-rest@11.3.6':
- resolution: {integrity: sha512-zcvqqf/+TicbTCa/Z+3w4eBJcAxCFymtc0UAIsR3dEVoNilWld4oXdscQ3laXamTszUZdusw97K8+DrbFiOwjw==}
+ '@octokit/plugin-paginate-rest@11.4.0':
+ resolution: {integrity: sha512-ttpGck5AYWkwMkMazNCZMqxKqIq1fJBNxBfsFwwfyYKTf914jKkLF0POMS3YkPBwp5g1c2Y4L79gDz01GhSr1g==}
engines: {node: '>= 18'}
peerDependencies:
'@octokit/core': '>=6'
@@ -1310,8 +1310,8 @@ packages:
resolution: {integrity: sha512-MB4AYDsM5jhIHro/dq4ix1iWTLGToIGk6cWF5L6vanFaMble5jTX/UBQyiv05HsWnwUtY8JrfHy2LWfKwihqMw==}
engines: {node: '>= 18'}
- '@octokit/types@13.6.2':
- resolution: {integrity: sha512-WpbZfZUcZU77DrSW4wbsSgTPfKcp286q3ItaIgvSbBpZJlu6mnYXAkjZz6LVZPXkEvLIM8McanyZejKTYUHipA==}
+ '@octokit/types@13.7.0':
+ resolution: {integrity: sha512-BXfRP+3P3IN6fd4uF3SniaHKOO4UXWBfkdR3vA8mIvaoO/wLjGN5qivUtW0QRitBHHMcfC41SLhNVYIZZE+wkA==}
'@one-ini/wasm@0.1.1':
resolution: {integrity: sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw==}
@@ -7756,7 +7756,7 @@ snapshots:
'@octokit/graphql': 7.1.0
'@octokit/request': 8.4.0
'@octokit/request-error': 5.1.0
- '@octokit/types': 13.6.2
+ '@octokit/types': 13.7.0
before-after-hook: 2.2.3
universal-user-agent: 6.0.1
@@ -7766,43 +7766,43 @@ snapshots:
'@octokit/graphql': 8.1.2
'@octokit/request': 9.1.4
'@octokit/request-error': 6.1.6
- '@octokit/types': 13.6.2
+ '@octokit/types': 13.7.0
before-after-hook: 3.0.2
universal-user-agent: 7.0.2
'@octokit/endpoint@10.1.2':
dependencies:
- '@octokit/types': 13.6.2
+ '@octokit/types': 13.7.0
universal-user-agent: 7.0.2
'@octokit/endpoint@9.0.5':
dependencies:
- '@octokit/types': 13.6.2
+ '@octokit/types': 13.7.0
universal-user-agent: 6.0.1
'@octokit/graphql@7.1.0':
dependencies:
'@octokit/request': 8.4.0
- '@octokit/types': 13.6.2
+ '@octokit/types': 13.7.0
universal-user-agent: 6.0.1
'@octokit/graphql@8.1.2':
dependencies:
'@octokit/request': 9.1.4
- '@octokit/types': 13.6.2
+ '@octokit/types': 13.7.0
universal-user-agent: 7.0.2
- '@octokit/openapi-types@22.2.0': {}
+ '@octokit/openapi-types@23.0.1': {}
'@octokit/plugin-paginate-rest@11.3.1(@octokit/core@5.2.0)':
dependencies:
'@octokit/core': 5.2.0
- '@octokit/types': 13.6.2
+ '@octokit/types': 13.7.0
- '@octokit/plugin-paginate-rest@11.3.6(@octokit/core@6.1.3)':
+ '@octokit/plugin-paginate-rest@11.4.0(@octokit/core@6.1.3)':
dependencies:
'@octokit/core': 6.1.3
- '@octokit/types': 13.6.2
+ '@octokit/types': 13.7.0
'@octokit/plugin-request-log@4.0.1(@octokit/core@5.2.0)':
dependencies:
@@ -7811,43 +7811,43 @@ snapshots:
'@octokit/plugin-rest-endpoint-methods@13.2.2(@octokit/core@5.2.0)':
dependencies:
'@octokit/core': 5.2.0
- '@octokit/types': 13.6.2
+ '@octokit/types': 13.7.0
'@octokit/plugin-retry@7.1.2(@octokit/core@6.1.3)':
dependencies:
'@octokit/core': 6.1.3
'@octokit/request-error': 6.1.6
- '@octokit/types': 13.6.2
+ '@octokit/types': 13.7.0
bottleneck: 2.19.5
'@octokit/plugin-throttling@9.3.2(@octokit/core@6.1.3)':
dependencies:
'@octokit/core': 6.1.3
- '@octokit/types': 13.6.2
+ '@octokit/types': 13.7.0
bottleneck: 2.19.5
'@octokit/request-error@5.1.0':
dependencies:
- '@octokit/types': 13.6.2
+ '@octokit/types': 13.7.0
deprecation: 2.3.1
once: 1.4.0
'@octokit/request-error@6.1.6':
dependencies:
- '@octokit/types': 13.6.2
+ '@octokit/types': 13.7.0
'@octokit/request@8.4.0':
dependencies:
'@octokit/endpoint': 9.0.5
'@octokit/request-error': 5.1.0
- '@octokit/types': 13.6.2
+ '@octokit/types': 13.7.0
universal-user-agent: 6.0.1
'@octokit/request@9.1.4':
dependencies:
'@octokit/endpoint': 10.1.2
'@octokit/request-error': 6.1.6
- '@octokit/types': 13.6.2
+ '@octokit/types': 13.7.0
fast-content-type-parse: 2.0.1
universal-user-agent: 7.0.2
@@ -7858,9 +7858,9 @@ snapshots:
'@octokit/plugin-request-log': 4.0.1(@octokit/core@5.2.0)
'@octokit/plugin-rest-endpoint-methods': 13.2.2(@octokit/core@5.2.0)
- '@octokit/types@13.6.2':
+ '@octokit/types@13.7.0':
dependencies:
- '@octokit/openapi-types': 22.2.0
+ '@octokit/openapi-types': 23.0.1
'@one-ini/wasm@0.1.1': {}
@@ -8188,7 +8188,7 @@ snapshots:
'@semantic-release/github@11.0.1(semantic-release@24.2.1(typescript@5.7.2))':
dependencies:
'@octokit/core': 6.1.3
- '@octokit/plugin-paginate-rest': 11.3.6(@octokit/core@6.1.3)
+ '@octokit/plugin-paginate-rest': 11.4.0(@octokit/core@6.1.3)
'@octokit/plugin-retry': 7.1.2(@octokit/core@6.1.3)
'@octokit/plugin-throttling': 9.3.2(@octokit/core@6.1.3)
'@semantic-release/error': 4.0.0
From e8146f4637b1267a1383ecc249bb76cf88d96cf7 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 15:27:27 +0000
Subject: [PATCH 035/247] chore(deps): update dependency memfs to v4.17.0
(#33546)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
pnpm-lock.yaml | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package.json b/package.json
index e22b3f51abfdd1..a3f9389eeef7c1 100644
--- a/package.json
+++ b/package.json
@@ -336,7 +336,7 @@
"jest-mock-extended": "3.0.7",
"jest-snapshot": "29.7.0",
"markdownlint-cli2": "0.17.1",
- "memfs": "4.15.3",
+ "memfs": "4.17.0",
"nock": "13.5.6",
"npm-run-all2": "7.0.2",
"nyc": "17.1.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index a5c68bb3e894ef..408638a2a9f01f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -581,8 +581,8 @@ importers:
specifier: 0.17.1
version: 0.17.1
memfs:
- specifier: 4.15.3
- version: 4.15.3
+ specifier: 4.17.0
+ version: 4.17.0
nock:
specifier: 13.5.6
version: 13.5.6
@@ -4560,8 +4560,8 @@ packages:
mdurl@2.0.0:
resolution: {integrity: sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==}
- memfs@4.15.3:
- resolution: {integrity: sha512-vR/g1SgqvKJgAyYla+06G4p/EOcEmwhYuVb1yc1ixcKf8o/sh7Zngv63957ZSNd1xrZJoinmNyDf2LzuP8WJXw==}
+ memfs@4.17.0:
+ resolution: {integrity: sha512-4eirfZ7thblFmqFjywlTmuWVSvccHAJbn1r8qQLzmTO11qcqpohOjmY2mFce6x7x7WtskzRqApPD0hv+Oa74jg==}
engines: {node: '>= 4.0.0'}
memorystream@0.3.1:
@@ -11767,7 +11767,7 @@ snapshots:
mdurl@2.0.0: {}
- memfs@4.15.3:
+ memfs@4.17.0:
dependencies:
'@jsonjoy.com/json-pack': 1.1.1(tslib@2.8.1)
'@jsonjoy.com/util': 1.5.0(tslib@2.8.1)
From fe854dd3f49b3a79567699cccf820f120752a471 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 15:29:11 +0000
Subject: [PATCH 036/247] chore(deps): update dependency type-fest to v4.32.0
(#33547)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
pnpm-lock.yaml | 16 ++++++++--------
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/package.json b/package.json
index a3f9389eeef7c1..9493b913312578 100644
--- a/package.json
+++ b/package.json
@@ -347,7 +347,7 @@
"tmp-promise": "3.0.3",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
- "type-fest": "4.31.0",
+ "type-fest": "4.32.0",
"typescript": "5.7.2",
"unified": "9.2.2"
},
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 408638a2a9f01f..76eb1078049fe6 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -614,8 +614,8 @@ importers:
specifier: 10.9.2
version: 10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)
type-fest:
- specifier: 4.31.0
- version: 4.31.0
+ specifier: 4.32.0
+ version: 4.32.0
typescript:
specifier: 5.7.2
version: 5.7.2
@@ -6086,8 +6086,8 @@ packages:
resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==}
engines: {node: '>=12.20'}
- type-fest@4.31.0:
- resolution: {integrity: sha512-yCxltHW07Nkhv/1F6wWBr8kz+5BGMfP+RbRSYFnegVb0qV/UMT0G0ElBloPVerqn4M2ZV80Ir1FtCcYv1cT6vQ==}
+ type-fest@4.32.0:
+ resolution: {integrity: sha512-rfgpoi08xagF3JSdtJlCwMq9DGNDE0IMh3Mkpc1wUypg9vPi786AiqeBBKcqvIkq42azsBM85N490fyZjeUftw==}
engines: {node: '>=16'}
typed-array-buffer@1.0.3:
@@ -12468,7 +12468,7 @@ snapshots:
dependencies:
'@babel/code-frame': 7.26.2
index-to-position: 0.1.2
- type-fest: 4.31.0
+ type-fest: 4.32.0
parse-link-header@2.0.0:
dependencies:
@@ -12672,7 +12672,7 @@ snapshots:
dependencies:
find-up-simple: 1.0.0
read-pkg: 9.0.1
- type-fest: 4.31.0
+ type-fest: 4.32.0
read-pkg-up@7.0.1:
dependencies:
@@ -12692,7 +12692,7 @@ snapshots:
'@types/normalize-package-data': 2.4.4
normalize-package-data: 6.0.2
parse-json: 8.1.0
- type-fest: 4.31.0
+ type-fest: 4.32.0
unicorn-magic: 0.1.0
read-yaml-file@2.1.0:
@@ -13472,7 +13472,7 @@ snapshots:
type-fest@2.19.0: {}
- type-fest@4.31.0: {}
+ type-fest@4.32.0: {}
typed-array-buffer@1.0.3:
dependencies:
From de7307c099a895470a2d075f8f49cffc27f4b126 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 15:30:01 +0000
Subject: [PATCH 037/247] docs: update references to renovate/renovate (#33548)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
docs/usage/docker.md | 2 +-
docs/usage/examples/self-hosting.md | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/docs/usage/docker.md b/docs/usage/docker.md
index 03858074ebb1f8..0667264ac85011 100644
--- a/docs/usage/docker.md
+++ b/docs/usage/docker.md
@@ -478,7 +478,7 @@ Make sure to install the Google Cloud SDK into the custom image, as you need the
For example:
```Dockerfile
-FROM renovate/renovate:39.91.0
+FROM renovate/renovate:39.104.1
# Include the "Docker tip" which you can find here https://cloud.google.com/sdk/docs/install
# under "Installation" for "Debian/Ubuntu"
RUN ...
diff --git a/docs/usage/examples/self-hosting.md b/docs/usage/examples/self-hosting.md
index 2426c9e41122ae..9388b091bca91a 100644
--- a/docs/usage/examples/self-hosting.md
+++ b/docs/usage/examples/self-hosting.md
@@ -25,8 +25,8 @@ It builds `latest` based on the `main` branch and all SemVer tags are published
```sh title="Example of valid tags"
docker run --rm renovate/renovate
docker run --rm renovate/renovate:39
-docker run --rm renovate/renovate:39.91
-docker run --rm renovate/renovate:39.91.0
+docker run --rm renovate/renovate:39.104
+docker run --rm renovate/renovate:39.104.1
```
@@ -62,7 +62,7 @@ spec:
- name: renovate
# Update this to the latest available and then enable Renovate on
# the manifest
- image: renovate/renovate:39.91.0
+ image: renovate/renovate:39.104.1
args:
- user/repo
# Environment Variables
@@ -121,7 +121,7 @@ spec:
template:
spec:
containers:
- - image: renovate/renovate:39.91.0
+ - image: renovate/renovate:39.104.1
name: renovate-bot
env: # For illustration purposes, please use secrets.
- name: RENOVATE_PLATFORM
@@ -367,7 +367,7 @@ spec:
containers:
- name: renovate
# Update this to the latest available and then enable Renovate on the manifest
- image: renovate/renovate:39.91.0
+ image: renovate/renovate:39.104.1
volumeMounts:
- name: ssh-key-volume
readOnly: true
From 868c58891ce3d564c6433384138acd3e66aa2b38 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 15:41:59 +0000
Subject: [PATCH 038/247] chore(deps): lock file maintenance (#33575)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
pdm.lock | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/pdm.lock b/pdm.lock
index 9841fe985b90ba..2a60e46c387dca 100644
--- a/pdm.lock
+++ b/pdm.lock
@@ -386,18 +386,18 @@ files = [
[[package]]
name = "pygments"
-version = "2.19.0"
+version = "2.19.1"
requires_python = ">=3.8"
summary = "Pygments is a syntax highlighting package written in Python."
groups = ["default"]
files = [
- {file = "pygments-2.19.0-py3-none-any.whl", hash = "sha256:4755e6e64d22161d5b61432c0600c923c5927214e7c956e31c23923c89251a9b"},
- {file = "pygments-2.19.0.tar.gz", hash = "sha256:afc4146269910d4bdfabcd27c24923137a74d562a23a320a41a55ad303e19783"},
+ {file = "pygments-2.19.1-py3-none-any.whl", hash = "sha256:9ea1544ad55cecf4b8242fab6dd35a93bbce657034b0611ee383099054ab6d8c"},
+ {file = "pygments-2.19.1.tar.gz", hash = "sha256:61c16d2a8576dc0649d9f39e089b5f02bcd27fba10d8fb4dcc28173f7a45151f"},
]
[[package]]
name = "pymdown-extensions"
-version = "10.13"
+version = "10.14"
requires_python = ">=3.8"
summary = "Extension pack for Python Markdown."
groups = ["default"]
@@ -406,8 +406,8 @@ dependencies = [
"pyyaml",
]
files = [
- {file = "pymdown_extensions-10.13-py3-none-any.whl", hash = "sha256:80bc33d715eec68e683e04298946d47d78c7739e79d808203df278ee8ef89428"},
- {file = "pymdown_extensions-10.13.tar.gz", hash = "sha256:e0b351494dc0d8d14a1f52b39b1499a00ef1566b4ba23dc74f1eba75c736f5dd"},
+ {file = "pymdown_extensions-10.14-py3-none-any.whl", hash = "sha256:202481f716cc8250e4be8fce997781ebf7917701b59652458ee47f2401f818b5"},
+ {file = "pymdown_extensions-10.14.tar.gz", hash = "sha256:741bd7c4ff961ba40b7528d32284c53bc436b8b1645e8e37c3e57770b8700a34"},
]
[[package]]
From 4a11a17e158340f9bdf75cc233b598e657d2b369 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 15:47:05 +0000
Subject: [PATCH 039/247] chore(deps): update dependency @types/node to
v20.17.12 (#33539)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
pnpm-lock.yaml | 130 ++++++++++++++++++++++++-------------------------
2 files changed, 66 insertions(+), 66 deletions(-)
diff --git a/package.json b/package.json
index 9493b913312578..a2237c913fc04b 100644
--- a/package.json
+++ b/package.json
@@ -299,7 +299,7 @@
"@types/mdast": "3.0.15",
"@types/moo": "0.5.10",
"@types/ms": "0.7.34",
- "@types/node": "20.17.11",
+ "@types/node": "20.17.12",
"@types/parse-link-header": "2.0.3",
"@types/punycode": "2.1.4",
"@types/semver": "7.5.8",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 76eb1078049fe6..94b1d49360b62f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -470,8 +470,8 @@ importers:
specifier: 0.7.34
version: 0.7.34
'@types/node':
- specifier: 20.17.11
- version: 20.17.11
+ specifier: 20.17.12
+ version: 20.17.12
'@types/parse-link-header':
specifier: 2.0.3
version: 2.0.3
@@ -540,7 +540,7 @@ importers:
version: 2.31.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1)
eslint-plugin-jest:
specifier: 28.10.0
- version: 28.10.0(@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2)
+ version: 28.10.0(@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)))(typescript@5.7.2)
eslint-plugin-jest-formatting:
specifier: 3.1.0
version: 3.1.0(eslint@8.57.1)
@@ -564,16 +564,16 @@ importers:
version: 9.1.7
jest:
specifier: 29.7.0
- version: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
+ version: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
jest-extended:
specifier: 4.0.2
- version: 4.0.2(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)))
+ version: 4.0.2(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)))
jest-mock:
specifier: 29.7.0
version: 29.7.0
jest-mock-extended:
specifier: 3.0.7
- version: 3.0.7(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2)
+ version: 3.0.7(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)))(typescript@5.7.2)
jest-snapshot:
specifier: 29.7.0
version: 29.7.0
@@ -609,10 +609,10 @@ importers:
version: 3.0.3
ts-jest:
specifier: 29.2.5
- version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2)
+ version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)))(typescript@5.7.2)
ts-node:
specifier: 10.9.2
- version: 10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)
+ version: 10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)
type-fest:
specifier: 4.32.0
version: 4.32.0
@@ -2130,8 +2130,8 @@ packages:
'@types/ms@0.7.34':
resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==}
- '@types/node@20.17.11':
- resolution: {integrity: sha512-Ept5glCK35R8yeyIeYlRIZtX6SLRyqMhOFTgj5SOkMpLTdw3SEHI9fHx60xaUZ+V1aJxQJODE+7/j5ocZydYTg==}
+ '@types/node@20.17.12':
+ resolution: {integrity: sha512-vo/wmBgMIiEA23A/knMfn/cf37VnuF52nZh5ZoW0GWt4e4sxNquibrMRJ7UQsA06+MBx9r/H1jsI9grYjQCQlw==}
'@types/normalize-package-data@2.4.4':
resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==}
@@ -7501,27 +7501,27 @@ snapshots:
'@jest/console@29.7.0':
dependencies:
'@jest/types': 29.6.3
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
chalk: 4.1.2
jest-message-util: 29.7.0
jest-util: 29.7.0
slash: 3.0.0
- '@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))':
+ '@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))':
dependencies:
'@jest/console': 29.7.0
'@jest/reporters': 29.7.0
'@jest/test-result': 29.7.0
'@jest/transform': 29.7.0
'@jest/types': 29.6.3
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
ansi-escapes: 4.3.2
chalk: 4.1.2
ci-info: 3.9.0
exit: 0.1.2
graceful-fs: 4.2.11
jest-changed-files: 29.7.0
- jest-config: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
+ jest-config: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
jest-haste-map: 29.7.0
jest-message-util: 29.7.0
jest-regex-util: 29.6.3
@@ -7546,7 +7546,7 @@ snapshots:
dependencies:
'@jest/fake-timers': 29.7.0
'@jest/types': 29.6.3
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
jest-mock: 29.7.0
'@jest/expect-utils@29.4.1':
@@ -7568,7 +7568,7 @@ snapshots:
dependencies:
'@jest/types': 29.6.3
'@sinonjs/fake-timers': 10.3.0
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
jest-message-util: 29.7.0
jest-mock: 29.7.0
jest-util: 29.7.0
@@ -7590,7 +7590,7 @@ snapshots:
'@jest/transform': 29.7.0
'@jest/types': 29.6.3
'@jridgewell/trace-mapping': 0.3.25
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
chalk: 4.1.2
collect-v8-coverage: 1.0.2
exit: 0.1.2
@@ -7660,7 +7660,7 @@ snapshots:
'@jest/schemas': 29.6.3
'@types/istanbul-lib-coverage': 2.0.6
'@types/istanbul-reports': 3.0.4
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
'@types/yargs': 17.0.33
chalk: 4.1.2
@@ -8708,7 +8708,7 @@ snapshots:
'@types/aws4@1.11.6':
dependencies:
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
'@types/babel__core@7.20.5':
dependencies:
@@ -8733,27 +8733,27 @@ snapshots:
'@types/better-sqlite3@7.6.12':
dependencies:
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
'@types/breejs__later@4.1.5': {}
'@types/bunyan@1.8.11':
dependencies:
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
'@types/bunyan@1.8.9':
dependencies:
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
'@types/cacache@17.0.2':
dependencies:
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
'@types/cacheable-request@6.0.3':
dependencies:
'@types/http-cache-semantics': 4.0.4
'@types/keyv': 3.1.4
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
'@types/responselike': 1.0.3
'@types/callsite@1.0.34': {}
@@ -8784,7 +8784,7 @@ snapshots:
'@types/fs-extra@11.0.4':
dependencies:
'@types/jsonfile': 6.1.4
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
'@types/git-url-parse@9.0.3': {}
@@ -8794,7 +8794,7 @@ snapshots:
'@types/graceful-fs@4.1.9':
dependencies:
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
'@types/http-cache-semantics@4.0.4': {}
@@ -8820,13 +8820,13 @@ snapshots:
'@types/jsonfile@6.1.4':
dependencies:
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
'@types/katex@0.16.7': {}
'@types/keyv@3.1.4':
dependencies:
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
'@types/linkify-it@5.0.0': {}
@@ -8845,7 +8845,7 @@ snapshots:
'@types/marshal@0.5.3':
dependencies:
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
'@types/mdast@3.0.15':
dependencies:
@@ -8861,7 +8861,7 @@ snapshots:
'@types/ms@0.7.34': {}
- '@types/node@20.17.11':
+ '@types/node@20.17.12':
dependencies:
undici-types: 6.19.8
@@ -8875,7 +8875,7 @@ snapshots:
'@types/responselike@1.0.3':
dependencies:
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
'@types/semver-stable@3.0.2': {}
@@ -8895,7 +8895,7 @@ snapshots:
'@types/tar@6.1.13':
dependencies:
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
minipass: 4.2.8
'@types/tmp@0.2.6': {}
@@ -8920,7 +8920,7 @@ snapshots:
'@types/yauzl@2.10.3':
dependencies:
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
optional: true
'@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2)':
@@ -9685,13 +9685,13 @@ snapshots:
optionalDependencies:
typescript: 5.7.2
- create-jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)):
+ create-jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)):
dependencies:
'@jest/types': 29.6.3
chalk: 4.1.2
exit: 0.1.2
graceful-fs: 4.2.11
- jest-config: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
+ jest-config: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
jest-util: 29.7.0
prompts: 2.4.2
transitivePeerDependencies:
@@ -10114,13 +10114,13 @@ snapshots:
dependencies:
eslint: 8.57.1
- eslint-plugin-jest@28.10.0(@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2):
+ eslint-plugin-jest@28.10.0(@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)))(typescript@5.7.2):
dependencies:
'@typescript-eslint/utils': 8.19.0(eslint@8.57.1)(typescript@5.7.2)
eslint: 8.57.1
optionalDependencies:
'@typescript-eslint/eslint-plugin': 8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2)
- jest: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
+ jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
transitivePeerDependencies:
- supports-color
- typescript
@@ -11144,7 +11144,7 @@ snapshots:
'@jest/expect': 29.7.0
'@jest/test-result': 29.7.0
'@jest/types': 29.6.3
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
chalk: 4.1.2
co: 4.6.0
dedent: 1.5.3
@@ -11164,16 +11164,16 @@ snapshots:
- babel-plugin-macros
- supports-color
- jest-cli@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)):
+ jest-cli@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)):
dependencies:
- '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
+ '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
'@jest/test-result': 29.7.0
'@jest/types': 29.6.3
chalk: 4.1.2
- create-jest: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
+ create-jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
exit: 0.1.2
import-local: 3.2.0
- jest-config: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
+ jest-config: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
jest-util: 29.7.0
jest-validate: 29.7.0
yargs: 17.7.2
@@ -11183,7 +11183,7 @@ snapshots:
- supports-color
- ts-node
- jest-config@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)):
+ jest-config@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)):
dependencies:
'@babel/core': 7.26.0
'@jest/test-sequencer': 29.7.0
@@ -11208,8 +11208,8 @@ snapshots:
slash: 3.0.0
strip-json-comments: 3.1.1
optionalDependencies:
- '@types/node': 20.17.11
- ts-node: 10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)
+ '@types/node': 20.17.12
+ ts-node: 10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)
transitivePeerDependencies:
- babel-plugin-macros
- supports-color
@@ -11238,16 +11238,16 @@ snapshots:
'@jest/environment': 29.7.0
'@jest/fake-timers': 29.7.0
'@jest/types': 29.6.3
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
jest-mock: 29.7.0
jest-util: 29.7.0
- jest-extended@4.0.2(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))):
+ jest-extended@4.0.2(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))):
dependencies:
jest-diff: 29.7.0
jest-get-type: 29.6.3
optionalDependencies:
- jest: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
+ jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
jest-get-type@29.6.3: {}
@@ -11255,7 +11255,7 @@ snapshots:
dependencies:
'@jest/types': 29.6.3
'@types/graceful-fs': 4.1.9
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
anymatch: 3.1.3
fb-watchman: 2.0.2
graceful-fs: 4.2.11
@@ -11298,16 +11298,16 @@ snapshots:
slash: 3.0.0
stack-utils: 2.0.6
- jest-mock-extended@3.0.7(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2):
+ jest-mock-extended@3.0.7(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)))(typescript@5.7.2):
dependencies:
- jest: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
+ jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
ts-essentials: 10.0.4(typescript@5.7.2)
typescript: 5.7.2
jest-mock@29.7.0:
dependencies:
'@jest/types': 29.6.3
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
jest-util: 29.7.0
jest-pnp-resolver@1.2.3(jest-resolve@29.7.0):
@@ -11342,7 +11342,7 @@ snapshots:
'@jest/test-result': 29.7.0
'@jest/transform': 29.7.0
'@jest/types': 29.6.3
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
chalk: 4.1.2
emittery: 0.13.1
graceful-fs: 4.2.11
@@ -11370,7 +11370,7 @@ snapshots:
'@jest/test-result': 29.7.0
'@jest/transform': 29.7.0
'@jest/types': 29.6.3
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
chalk: 4.1.2
cjs-module-lexer: 1.4.1
collect-v8-coverage: 1.0.2
@@ -11416,7 +11416,7 @@ snapshots:
jest-util@29.7.0:
dependencies:
'@jest/types': 29.6.3
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
chalk: 4.1.2
ci-info: 3.9.0
graceful-fs: 4.2.11
@@ -11435,7 +11435,7 @@ snapshots:
dependencies:
'@jest/test-result': 29.7.0
'@jest/types': 29.6.3
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
ansi-escapes: 4.3.2
chalk: 4.1.2
emittery: 0.13.1
@@ -11444,17 +11444,17 @@ snapshots:
jest-worker@29.7.0:
dependencies:
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
jest-util: 29.7.0
merge-stream: 2.0.0
supports-color: 8.1.1
- jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)):
+ jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)):
dependencies:
- '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
+ '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
'@jest/types': 29.6.3
import-local: 3.2.0
- jest-cli: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
+ jest-cli: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
transitivePeerDependencies:
- '@types/node'
- babel-plugin-macros
@@ -12617,7 +12617,7 @@ snapshots:
'@protobufjs/path': 1.1.2
'@protobufjs/pool': 1.1.0
'@protobufjs/utf8': 1.1.0
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
long: 5.2.3
protocols@2.0.1: {}
@@ -13380,12 +13380,12 @@ snapshots:
optionalDependencies:
typescript: 5.7.2
- ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2)))(typescript@5.7.2):
+ ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)))(typescript@5.7.2):
dependencies:
bs-logger: 0.2.6
ejs: 3.1.10
fast-json-stable-stringify: 2.1.0
- jest: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2))
+ jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
jest-util: 29.7.0
json5: 2.2.3
lodash.memoize: 4.1.2
@@ -13399,14 +13399,14 @@ snapshots:
'@jest/types': 29.6.3
babel-jest: 29.7.0(@babel/core@7.26.0)
- ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.11)(typescript@5.7.2):
+ ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2):
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.11
'@tsconfig/node12': 1.0.11
'@tsconfig/node14': 1.0.3
'@tsconfig/node16': 1.0.4
- '@types/node': 20.17.11
+ '@types/node': 20.17.12
acorn: 8.14.0
acorn-walk: 8.3.4
arg: 4.1.3
From 95e514b3a03166c4f448aa86e3a6794cd5179c62 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 16:19:12 +0000
Subject: [PATCH 040/247] chore(deps): update dependency typescript to v5.7.3
(#33540)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
pnpm-lock.yaml | 214 ++++++++++++++++++++++++-------------------------
2 files changed, 108 insertions(+), 108 deletions(-)
diff --git a/package.json b/package.json
index a2237c913fc04b..6281d5359b3d6e 100644
--- a/package.json
+++ b/package.json
@@ -348,7 +348,7 @@
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"type-fest": "4.32.0",
- "typescript": "5.7.2",
+ "typescript": "5.7.3",
"unified": "9.2.2"
},
"packageManager": "pnpm@9.15.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 94b1d49360b62f..9dd0e495c6dd7d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -372,13 +372,13 @@ importers:
version: 2.2.3
'@openpgp/web-stream-tools':
specifier: 0.1.3
- version: 0.1.3(typescript@5.7.2)
+ version: 0.1.3(typescript@5.7.3)
'@renovate/eslint-plugin':
specifier: file:tools/eslint
version: '@renovatebot/eslint-plugin@file:tools/eslint'
'@semantic-release/exec':
specifier: 6.0.3
- version: 6.0.3(semantic-release@24.2.1(typescript@5.7.2))
+ version: 6.0.3(semantic-release@24.2.1(typescript@5.7.3))
'@swc/core':
specifier: 1.10.7
version: 1.10.7
@@ -507,10 +507,10 @@ importers:
version: 1.1.9
'@typescript-eslint/eslint-plugin':
specifier: 8.19.0
- version: 8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2)
+ version: 8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3)
'@typescript-eslint/parser':
specifier: 8.19.0
- version: 8.19.0(eslint@8.57.1)(typescript@5.7.2)
+ version: 8.19.0(eslint@8.57.1)(typescript@5.7.3)
aws-sdk-client-mock:
specifier: 4.1.0
version: 4.1.0
@@ -537,10 +537,10 @@ importers:
version: 3.7.0(eslint-plugin-import@2.31.0)(eslint@8.57.1)
eslint-plugin-import:
specifier: 2.31.0
- version: 2.31.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1)
+ version: 2.31.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1)
eslint-plugin-jest:
specifier: 28.10.0
- version: 28.10.0(@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)))(typescript@5.7.2)
+ version: 28.10.0(@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))(typescript@5.7.3)
eslint-plugin-jest-formatting:
specifier: 3.1.0
version: 3.1.0(eslint@8.57.1)
@@ -549,7 +549,7 @@ importers:
version: 7.2.1(eslint@8.57.1)
eslint-plugin-typescript-enum:
specifier: 2.1.0
- version: 2.1.0(eslint@8.57.1)(typescript@5.7.2)
+ version: 2.1.0(eslint@8.57.1)(typescript@5.7.3)
expect:
specifier: 29.7.0
version: 29.7.0
@@ -564,16 +564,16 @@ importers:
version: 9.1.7
jest:
specifier: 29.7.0
- version: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
+ version: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
jest-extended:
specifier: 4.0.2
- version: 4.0.2(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)))
+ version: 4.0.2(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))
jest-mock:
specifier: 29.7.0
version: 29.7.0
jest-mock-extended:
specifier: 3.0.7
- version: 3.0.7(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)))(typescript@5.7.2)
+ version: 3.0.7(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))(typescript@5.7.3)
jest-snapshot:
specifier: 29.7.0
version: 29.7.0
@@ -600,7 +600,7 @@ importers:
version: 6.0.1
semantic-release:
specifier: 24.2.1
- version: 24.2.1(typescript@5.7.2)
+ version: 24.2.1(typescript@5.7.3)
tar:
specifier: 7.4.3
version: 7.4.3
@@ -609,16 +609,16 @@ importers:
version: 3.0.3
ts-jest:
specifier: 29.2.5
- version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)))(typescript@5.7.2)
+ version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))(typescript@5.7.3)
ts-node:
specifier: 10.9.2
- version: 10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)
+ version: 10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)
type-fest:
specifier: 4.32.0
version: 4.32.0
typescript:
- specifier: 5.7.2
- version: 5.7.2
+ specifier: 5.7.3
+ version: 5.7.3
unified:
specifier: 9.2.2
version: 9.2.2
@@ -6113,8 +6113,8 @@ packages:
typedarray-to-buffer@3.1.5:
resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==}
- typescript@5.7.2:
- resolution: {integrity: sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==}
+ typescript@5.7.3:
+ resolution: {integrity: sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==}
engines: {node: '>=14.17'}
hasBin: true
@@ -7507,7 +7507,7 @@ snapshots:
jest-util: 29.7.0
slash: 3.0.0
- '@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))':
+ '@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))':
dependencies:
'@jest/console': 29.7.0
'@jest/reporters': 29.7.0
@@ -7521,7 +7521,7 @@ snapshots:
exit: 0.1.2
graceful-fs: 4.2.11
jest-changed-files: 29.7.0
- jest-config: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
+ jest-config: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
jest-haste-map: 29.7.0
jest-message-util: 29.7.0
jest-regex-util: 29.6.3
@@ -7864,9 +7864,9 @@ snapshots:
'@one-ini/wasm@0.1.1': {}
- '@openpgp/web-stream-tools@0.1.3(typescript@5.7.2)':
+ '@openpgp/web-stream-tools@0.1.3(typescript@5.7.3)':
optionalDependencies:
- typescript: 5.7.2
+ typescript: 5.7.3
'@opentelemetry/api-logs@0.57.0':
dependencies:
@@ -8155,7 +8155,7 @@ snapshots:
'@sec-ant/readable-stream@0.4.1': {}
- '@semantic-release/commit-analyzer@13.0.1(semantic-release@24.2.1(typescript@5.7.2))':
+ '@semantic-release/commit-analyzer@13.0.1(semantic-release@24.2.1(typescript@5.7.3))':
dependencies:
conventional-changelog-angular: 8.0.0
conventional-changelog-writer: 8.0.0
@@ -8165,7 +8165,7 @@ snapshots:
import-from-esm: 2.0.0
lodash-es: 4.17.21
micromatch: 4.0.8
- semantic-release: 24.2.1(typescript@5.7.2)
+ semantic-release: 24.2.1(typescript@5.7.3)
transitivePeerDependencies:
- supports-color
@@ -8173,7 +8173,7 @@ snapshots:
'@semantic-release/error@4.0.0': {}
- '@semantic-release/exec@6.0.3(semantic-release@24.2.1(typescript@5.7.2))':
+ '@semantic-release/exec@6.0.3(semantic-release@24.2.1(typescript@5.7.3))':
dependencies:
'@semantic-release/error': 3.0.0
aggregate-error: 3.1.0
@@ -8181,11 +8181,11 @@ snapshots:
execa: 5.1.1
lodash: 4.17.21
parse-json: 5.2.0
- semantic-release: 24.2.1(typescript@5.7.2)
+ semantic-release: 24.2.1(typescript@5.7.3)
transitivePeerDependencies:
- supports-color
- '@semantic-release/github@11.0.1(semantic-release@24.2.1(typescript@5.7.2))':
+ '@semantic-release/github@11.0.1(semantic-release@24.2.1(typescript@5.7.3))':
dependencies:
'@octokit/core': 6.1.3
'@octokit/plugin-paginate-rest': 11.4.0(@octokit/core@6.1.3)
@@ -8202,12 +8202,12 @@ snapshots:
lodash-es: 4.17.21
mime: 4.0.6
p-filter: 4.1.0
- semantic-release: 24.2.1(typescript@5.7.2)
+ semantic-release: 24.2.1(typescript@5.7.3)
url-join: 5.0.0
transitivePeerDependencies:
- supports-color
- '@semantic-release/npm@12.0.1(semantic-release@24.2.1(typescript@5.7.2))':
+ '@semantic-release/npm@12.0.1(semantic-release@24.2.1(typescript@5.7.3))':
dependencies:
'@semantic-release/error': 4.0.0
aggregate-error: 5.0.0
@@ -8220,11 +8220,11 @@ snapshots:
rc: 1.2.8
read-pkg: 9.0.1
registry-auth-token: 5.0.3
- semantic-release: 24.2.1(typescript@5.7.2)
+ semantic-release: 24.2.1(typescript@5.7.3)
semver: 7.6.3
tempy: 3.1.0
- '@semantic-release/release-notes-generator@14.0.3(semantic-release@24.2.1(typescript@5.7.2))':
+ '@semantic-release/release-notes-generator@14.0.3(semantic-release@24.2.1(typescript@5.7.3))':
dependencies:
conventional-changelog-angular: 8.0.0
conventional-changelog-writer: 8.0.0
@@ -8236,7 +8236,7 @@ snapshots:
into-stream: 7.0.0
lodash-es: 4.17.21
read-package-up: 11.0.0
- semantic-release: 24.2.1(typescript@5.7.2)
+ semantic-release: 24.2.1(typescript@5.7.3)
transitivePeerDependencies:
- supports-color
@@ -8923,40 +8923,40 @@ snapshots:
'@types/node': 20.17.12
optional: true
- '@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2)':
+ '@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3)':
dependencies:
'@eslint-community/regexpp': 4.12.1
- '@typescript-eslint/parser': 8.19.0(eslint@8.57.1)(typescript@5.7.2)
+ '@typescript-eslint/parser': 8.19.0(eslint@8.57.1)(typescript@5.7.3)
'@typescript-eslint/scope-manager': 8.19.0
- '@typescript-eslint/type-utils': 8.19.0(eslint@8.57.1)(typescript@5.7.2)
- '@typescript-eslint/utils': 8.19.0(eslint@8.57.1)(typescript@5.7.2)
+ '@typescript-eslint/type-utils': 8.19.0(eslint@8.57.1)(typescript@5.7.3)
+ '@typescript-eslint/utils': 8.19.0(eslint@8.57.1)(typescript@5.7.3)
'@typescript-eslint/visitor-keys': 8.19.0
eslint: 8.57.1
graphemer: 1.4.0
ignore: 5.3.2
natural-compare: 1.4.0
- ts-api-utils: 1.4.3(typescript@5.7.2)
- typescript: 5.7.2
+ ts-api-utils: 1.4.3(typescript@5.7.3)
+ typescript: 5.7.3
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/experimental-utils@5.62.0(eslint@8.57.1)(typescript@5.7.2)':
+ '@typescript-eslint/experimental-utils@5.62.0(eslint@8.57.1)(typescript@5.7.3)':
dependencies:
- '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.7.2)
+ '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.7.3)
eslint: 8.57.1
transitivePeerDependencies:
- supports-color
- typescript
- '@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2)':
+ '@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3)':
dependencies:
'@typescript-eslint/scope-manager': 8.19.0
'@typescript-eslint/types': 8.19.0
- '@typescript-eslint/typescript-estree': 8.19.0(typescript@5.7.2)
+ '@typescript-eslint/typescript-estree': 8.19.0(typescript@5.7.3)
'@typescript-eslint/visitor-keys': 8.19.0
debug: 4.4.0
eslint: 8.57.1
- typescript: 5.7.2
+ typescript: 5.7.3
transitivePeerDependencies:
- supports-color
@@ -8970,14 +8970,14 @@ snapshots:
'@typescript-eslint/types': 8.19.0
'@typescript-eslint/visitor-keys': 8.19.0
- '@typescript-eslint/type-utils@8.19.0(eslint@8.57.1)(typescript@5.7.2)':
+ '@typescript-eslint/type-utils@8.19.0(eslint@8.57.1)(typescript@5.7.3)':
dependencies:
- '@typescript-eslint/typescript-estree': 8.19.0(typescript@5.7.2)
- '@typescript-eslint/utils': 8.19.0(eslint@8.57.1)(typescript@5.7.2)
+ '@typescript-eslint/typescript-estree': 8.19.0(typescript@5.7.3)
+ '@typescript-eslint/utils': 8.19.0(eslint@8.57.1)(typescript@5.7.3)
debug: 4.4.0
eslint: 8.57.1
- ts-api-utils: 1.4.3(typescript@5.7.2)
- typescript: 5.7.2
+ ts-api-utils: 1.4.3(typescript@5.7.3)
+ typescript: 5.7.3
transitivePeerDependencies:
- supports-color
@@ -8985,7 +8985,7 @@ snapshots:
'@typescript-eslint/types@8.19.0': {}
- '@typescript-eslint/typescript-estree@5.62.0(typescript@5.7.2)':
+ '@typescript-eslint/typescript-estree@5.62.0(typescript@5.7.3)':
dependencies:
'@typescript-eslint/types': 5.62.0
'@typescript-eslint/visitor-keys': 5.62.0
@@ -8993,13 +8993,13 @@ snapshots:
globby: 11.1.0
is-glob: 4.0.3
semver: 7.6.3
- tsutils: 3.21.0(typescript@5.7.2)
+ tsutils: 3.21.0(typescript@5.7.3)
optionalDependencies:
- typescript: 5.7.2
+ typescript: 5.7.3
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/typescript-estree@8.19.0(typescript@5.7.2)':
+ '@typescript-eslint/typescript-estree@8.19.0(typescript@5.7.3)':
dependencies:
'@typescript-eslint/types': 8.19.0
'@typescript-eslint/visitor-keys': 8.19.0
@@ -9008,19 +9008,19 @@ snapshots:
is-glob: 4.0.3
minimatch: 9.0.5
semver: 7.6.3
- ts-api-utils: 1.4.3(typescript@5.7.2)
- typescript: 5.7.2
+ ts-api-utils: 1.4.3(typescript@5.7.3)
+ typescript: 5.7.3
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/utils@5.62.0(eslint@8.57.1)(typescript@5.7.2)':
+ '@typescript-eslint/utils@5.62.0(eslint@8.57.1)(typescript@5.7.3)':
dependencies:
'@eslint-community/eslint-utils': 4.4.1(eslint@8.57.1)
'@types/json-schema': 7.0.15
'@types/semver': 7.5.8
'@typescript-eslint/scope-manager': 5.62.0
'@typescript-eslint/types': 5.62.0
- '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.7.2)
+ '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.7.3)
eslint: 8.57.1
eslint-scope: 5.1.1
semver: 7.6.3
@@ -9028,14 +9028,14 @@ snapshots:
- supports-color
- typescript
- '@typescript-eslint/utils@8.19.0(eslint@8.57.1)(typescript@5.7.2)':
+ '@typescript-eslint/utils@8.19.0(eslint@8.57.1)(typescript@5.7.3)':
dependencies:
'@eslint-community/eslint-utils': 4.4.1(eslint@8.57.1)
'@typescript-eslint/scope-manager': 8.19.0
'@typescript-eslint/types': 8.19.0
- '@typescript-eslint/typescript-estree': 8.19.0(typescript@5.7.2)
+ '@typescript-eslint/typescript-estree': 8.19.0(typescript@5.7.3)
eslint: 8.57.1
- typescript: 5.7.2
+ typescript: 5.7.3
transitivePeerDependencies:
- supports-color
@@ -9676,22 +9676,22 @@ snapshots:
core-util-is@1.0.3: {}
- cosmiconfig@9.0.0(typescript@5.7.2):
+ cosmiconfig@9.0.0(typescript@5.7.3):
dependencies:
env-paths: 2.2.1
import-fresh: 3.3.0
js-yaml: 4.1.0
parse-json: 5.2.0
optionalDependencies:
- typescript: 5.7.2
+ typescript: 5.7.3
- create-jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)):
+ create-jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)):
dependencies:
'@jest/types': 29.6.3
chalk: 4.1.2
exit: 0.1.2
graceful-fs: 4.2.11
- jest-config: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
+ jest-config: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
jest-util: 29.7.0
prompts: 2.4.2
transitivePeerDependencies:
@@ -10066,22 +10066,22 @@ snapshots:
is-glob: 4.0.3
stable-hash: 0.0.4
optionalDependencies:
- eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1)
+ eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1)
transitivePeerDependencies:
- supports-color
- eslint-module-utils@2.12.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1):
+ eslint-module-utils@2.12.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1):
dependencies:
debug: 3.2.7
optionalDependencies:
- '@typescript-eslint/parser': 8.19.0(eslint@8.57.1)(typescript@5.7.2)
+ '@typescript-eslint/parser': 8.19.0(eslint@8.57.1)(typescript@5.7.3)
eslint: 8.57.1
eslint-import-resolver-node: 0.3.9
eslint-import-resolver-typescript: 3.7.0(eslint-plugin-import@2.31.0)(eslint@8.57.1)
transitivePeerDependencies:
- supports-color
- eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1):
+ eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1):
dependencies:
'@rtsao/scc': 1.1.0
array-includes: 3.1.8
@@ -10092,7 +10092,7 @@ snapshots:
doctrine: 2.1.0
eslint: 8.57.1
eslint-import-resolver-node: 0.3.9
- eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1)
+ eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1)
hasown: 2.0.2
is-core-module: 2.16.1
is-glob: 4.0.3
@@ -10104,7 +10104,7 @@ snapshots:
string.prototype.trimend: 1.0.9
tsconfig-paths: 3.15.0
optionalDependencies:
- '@typescript-eslint/parser': 8.19.0(eslint@8.57.1)(typescript@5.7.2)
+ '@typescript-eslint/parser': 8.19.0(eslint@8.57.1)(typescript@5.7.3)
transitivePeerDependencies:
- eslint-import-resolver-typescript
- eslint-import-resolver-webpack
@@ -10114,13 +10114,13 @@ snapshots:
dependencies:
eslint: 8.57.1
- eslint-plugin-jest@28.10.0(@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)))(typescript@5.7.2):
+ eslint-plugin-jest@28.10.0(@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))(typescript@5.7.3):
dependencies:
- '@typescript-eslint/utils': 8.19.0(eslint@8.57.1)(typescript@5.7.2)
+ '@typescript-eslint/utils': 8.19.0(eslint@8.57.1)(typescript@5.7.3)
eslint: 8.57.1
optionalDependencies:
- '@typescript-eslint/eslint-plugin': 8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2)
- jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
+ '@typescript-eslint/eslint-plugin': 8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3)
+ jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
transitivePeerDependencies:
- supports-color
- typescript
@@ -10130,9 +10130,9 @@ snapshots:
'@eslint-community/eslint-utils': 4.4.1(eslint@8.57.1)
eslint: 8.57.1
- eslint-plugin-typescript-enum@2.1.0(eslint@8.57.1)(typescript@5.7.2):
+ eslint-plugin-typescript-enum@2.1.0(eslint@8.57.1)(typescript@5.7.3):
dependencies:
- '@typescript-eslint/experimental-utils': 5.62.0(eslint@8.57.1)(typescript@5.7.2)
+ '@typescript-eslint/experimental-utils': 5.62.0(eslint@8.57.1)(typescript@5.7.3)
transitivePeerDependencies:
- eslint
- supports-color
@@ -11164,16 +11164,16 @@ snapshots:
- babel-plugin-macros
- supports-color
- jest-cli@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)):
+ jest-cli@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)):
dependencies:
- '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
+ '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
'@jest/test-result': 29.7.0
'@jest/types': 29.6.3
chalk: 4.1.2
- create-jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
+ create-jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
exit: 0.1.2
import-local: 3.2.0
- jest-config: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
+ jest-config: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
jest-util: 29.7.0
jest-validate: 29.7.0
yargs: 17.7.2
@@ -11183,7 +11183,7 @@ snapshots:
- supports-color
- ts-node
- jest-config@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)):
+ jest-config@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)):
dependencies:
'@babel/core': 7.26.0
'@jest/test-sequencer': 29.7.0
@@ -11209,7 +11209,7 @@ snapshots:
strip-json-comments: 3.1.1
optionalDependencies:
'@types/node': 20.17.12
- ts-node: 10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)
+ ts-node: 10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)
transitivePeerDependencies:
- babel-plugin-macros
- supports-color
@@ -11242,12 +11242,12 @@ snapshots:
jest-mock: 29.7.0
jest-util: 29.7.0
- jest-extended@4.0.2(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))):
+ jest-extended@4.0.2(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))):
dependencies:
jest-diff: 29.7.0
jest-get-type: 29.6.3
optionalDependencies:
- jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
+ jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
jest-get-type@29.6.3: {}
@@ -11298,11 +11298,11 @@ snapshots:
slash: 3.0.0
stack-utils: 2.0.6
- jest-mock-extended@3.0.7(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)))(typescript@5.7.2):
+ jest-mock-extended@3.0.7(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))(typescript@5.7.3):
dependencies:
- jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
- ts-essentials: 10.0.4(typescript@5.7.2)
- typescript: 5.7.2
+ jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
+ ts-essentials: 10.0.4(typescript@5.7.3)
+ typescript: 5.7.3
jest-mock@29.7.0:
dependencies:
@@ -11449,12 +11449,12 @@ snapshots:
merge-stream: 2.0.0
supports-color: 8.1.1
- jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)):
+ jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)):
dependencies:
- '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
+ '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
'@jest/types': 29.6.3
import-local: 3.2.0
- jest-cli: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
+ jest-cli: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
transitivePeerDependencies:
- '@types/node'
- babel-plugin-macros
@@ -12883,15 +12883,15 @@ snapshots:
sax@1.4.1: {}
- semantic-release@24.2.1(typescript@5.7.2):
+ semantic-release@24.2.1(typescript@5.7.3):
dependencies:
- '@semantic-release/commit-analyzer': 13.0.1(semantic-release@24.2.1(typescript@5.7.2))
+ '@semantic-release/commit-analyzer': 13.0.1(semantic-release@24.2.1(typescript@5.7.3))
'@semantic-release/error': 4.0.0
- '@semantic-release/github': 11.0.1(semantic-release@24.2.1(typescript@5.7.2))
- '@semantic-release/npm': 12.0.1(semantic-release@24.2.1(typescript@5.7.2))
- '@semantic-release/release-notes-generator': 14.0.3(semantic-release@24.2.1(typescript@5.7.2))
+ '@semantic-release/github': 11.0.1(semantic-release@24.2.1(typescript@5.7.3))
+ '@semantic-release/npm': 12.0.1(semantic-release@24.2.1(typescript@5.7.3))
+ '@semantic-release/release-notes-generator': 14.0.3(semantic-release@24.2.1(typescript@5.7.3))
aggregate-error: 5.0.0
- cosmiconfig: 9.0.0(typescript@5.7.2)
+ cosmiconfig: 9.0.0(typescript@5.7.3)
debug: 4.4.0
env-ci: 11.1.0
execa: 9.5.2
@@ -13372,26 +13372,26 @@ snapshots:
trough@1.0.5: {}
- ts-api-utils@1.4.3(typescript@5.7.2):
+ ts-api-utils@1.4.3(typescript@5.7.3):
dependencies:
- typescript: 5.7.2
+ typescript: 5.7.3
- ts-essentials@10.0.4(typescript@5.7.2):
+ ts-essentials@10.0.4(typescript@5.7.3):
optionalDependencies:
- typescript: 5.7.2
+ typescript: 5.7.3
- ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2)))(typescript@5.7.2):
+ ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))(typescript@5.7.3):
dependencies:
bs-logger: 0.2.6
ejs: 3.1.10
fast-json-stable-stringify: 2.1.0
- jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2))
+ jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
jest-util: 29.7.0
json5: 2.2.3
lodash.memoize: 4.1.2
make-error: 1.3.6
semver: 7.6.3
- typescript: 5.7.2
+ typescript: 5.7.3
yargs-parser: 21.1.1
optionalDependencies:
'@babel/core': 7.26.0
@@ -13399,7 +13399,7 @@ snapshots:
'@jest/types': 29.6.3
babel-jest: 29.7.0(@babel/core@7.26.0)
- ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.2):
+ ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3):
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.11
@@ -13413,7 +13413,7 @@ snapshots:
create-require: 1.1.1
diff: 4.0.2
make-error: 1.3.6
- typescript: 5.7.2
+ typescript: 5.7.3
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
optionalDependencies:
@@ -13430,10 +13430,10 @@ snapshots:
tslib@2.8.1: {}
- tsutils@3.21.0(typescript@5.7.2):
+ tsutils@3.21.0(typescript@5.7.3):
dependencies:
tslib: 1.14.1
- typescript: 5.7.2
+ typescript: 5.7.3
tunnel-agent@0.6.0:
dependencies:
@@ -13519,7 +13519,7 @@ snapshots:
dependencies:
is-typedarray: 1.0.0
- typescript@5.7.2: {}
+ typescript@5.7.3: {}
uc.micro@2.1.0: {}
From 4267676adbc324910bdb98b0c1dbc12415875090 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 16:34:41 +0000
Subject: [PATCH 041/247] chore(deps): update linters to v8.19.1 (#33541)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 4 +-
pnpm-lock.yaml | 132 ++++++++++++++++++++++++-------------------------
2 files changed, 68 insertions(+), 68 deletions(-)
diff --git a/package.json b/package.json
index 6281d5359b3d6e..19146ea71b17be 100644
--- a/package.json
+++ b/package.json
@@ -311,8 +311,8 @@
"@types/url-join": "4.0.3",
"@types/validate-npm-package-name": "4.0.2",
"@types/xmldoc": "1.1.9",
- "@typescript-eslint/eslint-plugin": "8.19.0",
- "@typescript-eslint/parser": "8.19.0",
+ "@typescript-eslint/eslint-plugin": "8.19.1",
+ "@typescript-eslint/parser": "8.19.1",
"aws-sdk-client-mock": "4.1.0",
"callsite": "1.0.0",
"common-tags": "1.8.2",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 9dd0e495c6dd7d..8fb032293dd8fa 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -506,11 +506,11 @@ importers:
specifier: 1.1.9
version: 1.1.9
'@typescript-eslint/eslint-plugin':
- specifier: 8.19.0
- version: 8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3)
+ specifier: 8.19.1
+ version: 8.19.1(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3)
'@typescript-eslint/parser':
- specifier: 8.19.0
- version: 8.19.0(eslint@8.57.1)(typescript@5.7.3)
+ specifier: 8.19.1
+ version: 8.19.1(eslint@8.57.1)(typescript@5.7.3)
aws-sdk-client-mock:
specifier: 4.1.0
version: 4.1.0
@@ -537,10 +537,10 @@ importers:
version: 3.7.0(eslint-plugin-import@2.31.0)(eslint@8.57.1)
eslint-plugin-import:
specifier: 2.31.0
- version: 2.31.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1)
+ version: 2.31.0(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1)
eslint-plugin-jest:
specifier: 28.10.0
- version: 28.10.0(@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))(typescript@5.7.3)
+ version: 28.10.0(@typescript-eslint/eslint-plugin@8.19.1(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))(typescript@5.7.3)
eslint-plugin-jest-formatting:
specifier: 3.1.0
version: 3.1.0(eslint@8.57.1)
@@ -2202,8 +2202,8 @@ packages:
'@types/yauzl@2.10.3':
resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==}
- '@typescript-eslint/eslint-plugin@8.19.0':
- resolution: {integrity: sha512-NggSaEZCdSrFddbctrVjkVZvFC6KGfKfNK0CU7mNK/iKHGKbzT4Wmgm08dKpcZECBu9f5FypndoMyRHkdqfT1Q==}
+ '@typescript-eslint/eslint-plugin@8.19.1':
+ resolution: {integrity: sha512-tJzcVyvvb9h/PB96g30MpxACd9IrunT7GF9wfA9/0TJ1LxGOJx1TdPzSbBBnNED7K9Ka8ybJsnEpiXPktolTLg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
'@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0
@@ -2216,8 +2216,8 @@ packages:
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
- '@typescript-eslint/parser@8.19.0':
- resolution: {integrity: sha512-6M8taKyOETY1TKHp0x8ndycipTVgmp4xtg5QpEZzXxDhNvvHOJi5rLRkLr8SK3jTgD5l4fTlvBiRdfsuWydxBw==}
+ '@typescript-eslint/parser@8.19.1':
+ resolution: {integrity: sha512-67gbfv8rAwawjYx3fYArwldTQKoYfezNUT4D5ioWetr/xCrxXxvleo3uuiFuKfejipvq+og7mjz3b0G2bVyUCw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -2227,12 +2227,12 @@ packages:
resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- '@typescript-eslint/scope-manager@8.19.0':
- resolution: {integrity: sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==}
+ '@typescript-eslint/scope-manager@8.19.1':
+ resolution: {integrity: sha512-60L9KIuN/xgmsINzonOcMDSB8p82h95hoBfSBtXuO4jlR1R9L1xSkmVZKgCPVfavDlXihh4ARNjXhh1gGnLC7Q==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/type-utils@8.19.0':
- resolution: {integrity: sha512-TZs0I0OSbd5Aza4qAMpp1cdCYVnER94IziudE3JU328YUHgWu9gwiwhag+fuLeJ2LkWLXI+F/182TbG+JaBdTg==}
+ '@typescript-eslint/type-utils@8.19.1':
+ resolution: {integrity: sha512-Rp7k9lhDKBMRJB/nM9Ksp1zs4796wVNyihG9/TU9R6KCJDNkQbc2EOKjrBtLYh3396ZdpXLtr/MkaSEmNMtykw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -2242,8 +2242,8 @@ packages:
resolution: {integrity: sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- '@typescript-eslint/types@8.19.0':
- resolution: {integrity: sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==}
+ '@typescript-eslint/types@8.19.1':
+ resolution: {integrity: sha512-JBVHMLj7B1K1v1051ZaMMgLW4Q/jre5qGK0Ew6UgXz1Rqh+/xPzV1aW581OM00X6iOfyr1be+QyW8LOUf19BbA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/typescript-estree@5.62.0':
@@ -2255,8 +2255,8 @@ packages:
typescript:
optional: true
- '@typescript-eslint/typescript-estree@8.19.0':
- resolution: {integrity: sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==}
+ '@typescript-eslint/typescript-estree@8.19.1':
+ resolution: {integrity: sha512-jk/TZwSMJlxlNnqhy0Eod1PNEvCkpY6MXOXE/WLlblZ6ibb32i2We4uByoKPv1d0OD2xebDv4hbs3fm11SMw8Q==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <5.8.0'
@@ -2267,8 +2267,8 @@ packages:
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
- '@typescript-eslint/utils@8.19.0':
- resolution: {integrity: sha512-PTBG+0oEMPH9jCZlfg07LCB2nYI0I317yyvXGfxnvGvw4SHIOuRnQ3kadyyXY6tGdChusIHIbM5zfIbp4M6tCg==}
+ '@typescript-eslint/utils@8.19.1':
+ resolution: {integrity: sha512-IxG5gLO0Ne+KaUc8iW1A+XuKLd63o4wlbI1Zp692n1xojCl/THvgIKXJXBZixTh5dd5+yTJ/VXH7GJaaw21qXA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -2278,8 +2278,8 @@ packages:
resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- '@typescript-eslint/visitor-keys@8.19.0':
- resolution: {integrity: sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==}
+ '@typescript-eslint/visitor-keys@8.19.1':
+ resolution: {integrity: sha512-fzmjU8CHK853V/avYZAvuVut3ZTfwN5YtMaoi+X9Y9MA9keaWNHC3zEQ9zvyX/7Hj+5JkNyK1l7TOR2hevHB6Q==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@ungap/structured-clone@1.2.1':
@@ -5959,11 +5959,11 @@ packages:
trough@1.0.5:
resolution: {integrity: sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==}
- ts-api-utils@1.4.3:
- resolution: {integrity: sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==}
- engines: {node: '>=16'}
+ ts-api-utils@2.0.0:
+ resolution: {integrity: sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==}
+ engines: {node: '>=18.12'}
peerDependencies:
- typescript: '>=4.2.0'
+ typescript: '>=4.8.4'
ts-essentials@10.0.4:
resolution: {integrity: sha512-lwYdz28+S4nicm+jFi6V58LaAIpxzhg9rLdgNC1VsdP/xiFBseGhF1M/shwCk6zMmwahBZdXcl34LVHrEang3A==}
@@ -8923,19 +8923,19 @@ snapshots:
'@types/node': 20.17.12
optional: true
- '@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3)':
+ '@typescript-eslint/eslint-plugin@8.19.1(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3)':
dependencies:
'@eslint-community/regexpp': 4.12.1
- '@typescript-eslint/parser': 8.19.0(eslint@8.57.1)(typescript@5.7.3)
- '@typescript-eslint/scope-manager': 8.19.0
- '@typescript-eslint/type-utils': 8.19.0(eslint@8.57.1)(typescript@5.7.3)
- '@typescript-eslint/utils': 8.19.0(eslint@8.57.1)(typescript@5.7.3)
- '@typescript-eslint/visitor-keys': 8.19.0
+ '@typescript-eslint/parser': 8.19.1(eslint@8.57.1)(typescript@5.7.3)
+ '@typescript-eslint/scope-manager': 8.19.1
+ '@typescript-eslint/type-utils': 8.19.1(eslint@8.57.1)(typescript@5.7.3)
+ '@typescript-eslint/utils': 8.19.1(eslint@8.57.1)(typescript@5.7.3)
+ '@typescript-eslint/visitor-keys': 8.19.1
eslint: 8.57.1
graphemer: 1.4.0
ignore: 5.3.2
natural-compare: 1.4.0
- ts-api-utils: 1.4.3(typescript@5.7.3)
+ ts-api-utils: 2.0.0(typescript@5.7.3)
typescript: 5.7.3
transitivePeerDependencies:
- supports-color
@@ -8948,12 +8948,12 @@ snapshots:
- supports-color
- typescript
- '@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3)':
+ '@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3)':
dependencies:
- '@typescript-eslint/scope-manager': 8.19.0
- '@typescript-eslint/types': 8.19.0
- '@typescript-eslint/typescript-estree': 8.19.0(typescript@5.7.3)
- '@typescript-eslint/visitor-keys': 8.19.0
+ '@typescript-eslint/scope-manager': 8.19.1
+ '@typescript-eslint/types': 8.19.1
+ '@typescript-eslint/typescript-estree': 8.19.1(typescript@5.7.3)
+ '@typescript-eslint/visitor-keys': 8.19.1
debug: 4.4.0
eslint: 8.57.1
typescript: 5.7.3
@@ -8965,25 +8965,25 @@ snapshots:
'@typescript-eslint/types': 5.62.0
'@typescript-eslint/visitor-keys': 5.62.0
- '@typescript-eslint/scope-manager@8.19.0':
+ '@typescript-eslint/scope-manager@8.19.1':
dependencies:
- '@typescript-eslint/types': 8.19.0
- '@typescript-eslint/visitor-keys': 8.19.0
+ '@typescript-eslint/types': 8.19.1
+ '@typescript-eslint/visitor-keys': 8.19.1
- '@typescript-eslint/type-utils@8.19.0(eslint@8.57.1)(typescript@5.7.3)':
+ '@typescript-eslint/type-utils@8.19.1(eslint@8.57.1)(typescript@5.7.3)':
dependencies:
- '@typescript-eslint/typescript-estree': 8.19.0(typescript@5.7.3)
- '@typescript-eslint/utils': 8.19.0(eslint@8.57.1)(typescript@5.7.3)
+ '@typescript-eslint/typescript-estree': 8.19.1(typescript@5.7.3)
+ '@typescript-eslint/utils': 8.19.1(eslint@8.57.1)(typescript@5.7.3)
debug: 4.4.0
eslint: 8.57.1
- ts-api-utils: 1.4.3(typescript@5.7.3)
+ ts-api-utils: 2.0.0(typescript@5.7.3)
typescript: 5.7.3
transitivePeerDependencies:
- supports-color
'@typescript-eslint/types@5.62.0': {}
- '@typescript-eslint/types@8.19.0': {}
+ '@typescript-eslint/types@8.19.1': {}
'@typescript-eslint/typescript-estree@5.62.0(typescript@5.7.3)':
dependencies:
@@ -8999,16 +8999,16 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/typescript-estree@8.19.0(typescript@5.7.3)':
+ '@typescript-eslint/typescript-estree@8.19.1(typescript@5.7.3)':
dependencies:
- '@typescript-eslint/types': 8.19.0
- '@typescript-eslint/visitor-keys': 8.19.0
+ '@typescript-eslint/types': 8.19.1
+ '@typescript-eslint/visitor-keys': 8.19.1
debug: 4.4.0
fast-glob: 3.3.3
is-glob: 4.0.3
minimatch: 9.0.5
semver: 7.6.3
- ts-api-utils: 1.4.3(typescript@5.7.3)
+ ts-api-utils: 2.0.0(typescript@5.7.3)
typescript: 5.7.3
transitivePeerDependencies:
- supports-color
@@ -9028,12 +9028,12 @@ snapshots:
- supports-color
- typescript
- '@typescript-eslint/utils@8.19.0(eslint@8.57.1)(typescript@5.7.3)':
+ '@typescript-eslint/utils@8.19.1(eslint@8.57.1)(typescript@5.7.3)':
dependencies:
'@eslint-community/eslint-utils': 4.4.1(eslint@8.57.1)
- '@typescript-eslint/scope-manager': 8.19.0
- '@typescript-eslint/types': 8.19.0
- '@typescript-eslint/typescript-estree': 8.19.0(typescript@5.7.3)
+ '@typescript-eslint/scope-manager': 8.19.1
+ '@typescript-eslint/types': 8.19.1
+ '@typescript-eslint/typescript-estree': 8.19.1(typescript@5.7.3)
eslint: 8.57.1
typescript: 5.7.3
transitivePeerDependencies:
@@ -9044,9 +9044,9 @@ snapshots:
'@typescript-eslint/types': 5.62.0
eslint-visitor-keys: 3.4.3
- '@typescript-eslint/visitor-keys@8.19.0':
+ '@typescript-eslint/visitor-keys@8.19.1':
dependencies:
- '@typescript-eslint/types': 8.19.0
+ '@typescript-eslint/types': 8.19.1
eslint-visitor-keys: 4.2.0
'@ungap/structured-clone@1.2.1': {}
@@ -10066,22 +10066,22 @@ snapshots:
is-glob: 4.0.3
stable-hash: 0.0.4
optionalDependencies:
- eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1)
+ eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1)
transitivePeerDependencies:
- supports-color
- eslint-module-utils@2.12.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1):
+ eslint-module-utils@2.12.0(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1):
dependencies:
debug: 3.2.7
optionalDependencies:
- '@typescript-eslint/parser': 8.19.0(eslint@8.57.1)(typescript@5.7.3)
+ '@typescript-eslint/parser': 8.19.1(eslint@8.57.1)(typescript@5.7.3)
eslint: 8.57.1
eslint-import-resolver-node: 0.3.9
eslint-import-resolver-typescript: 3.7.0(eslint-plugin-import@2.31.0)(eslint@8.57.1)
transitivePeerDependencies:
- supports-color
- eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1):
+ eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1):
dependencies:
'@rtsao/scc': 1.1.0
array-includes: 3.1.8
@@ -10092,7 +10092,7 @@ snapshots:
doctrine: 2.1.0
eslint: 8.57.1
eslint-import-resolver-node: 0.3.9
- eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1)
+ eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1)
hasown: 2.0.2
is-core-module: 2.16.1
is-glob: 4.0.3
@@ -10104,7 +10104,7 @@ snapshots:
string.prototype.trimend: 1.0.9
tsconfig-paths: 3.15.0
optionalDependencies:
- '@typescript-eslint/parser': 8.19.0(eslint@8.57.1)(typescript@5.7.3)
+ '@typescript-eslint/parser': 8.19.1(eslint@8.57.1)(typescript@5.7.3)
transitivePeerDependencies:
- eslint-import-resolver-typescript
- eslint-import-resolver-webpack
@@ -10114,12 +10114,12 @@ snapshots:
dependencies:
eslint: 8.57.1
- eslint-plugin-jest@28.10.0(@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))(typescript@5.7.3):
+ eslint-plugin-jest@28.10.0(@typescript-eslint/eslint-plugin@8.19.1(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))(typescript@5.7.3):
dependencies:
- '@typescript-eslint/utils': 8.19.0(eslint@8.57.1)(typescript@5.7.3)
+ '@typescript-eslint/utils': 8.19.1(eslint@8.57.1)(typescript@5.7.3)
eslint: 8.57.1
optionalDependencies:
- '@typescript-eslint/eslint-plugin': 8.19.0(@typescript-eslint/parser@8.19.0(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3)
+ '@typescript-eslint/eslint-plugin': 8.19.1(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3)
jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
transitivePeerDependencies:
- supports-color
@@ -13372,7 +13372,7 @@ snapshots:
trough@1.0.5: {}
- ts-api-utils@1.4.3(typescript@5.7.3):
+ ts-api-utils@2.0.0(typescript@5.7.3):
dependencies:
typescript: 5.7.3
From 827ceeaa66e4d2b151ebe9f0661e126188ab245b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 17:49:52 +0100
Subject: [PATCH 042/247] chore(deps): update dependency @types/diff to v7
(#33569)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
pnpm-lock.yaml | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package.json b/package.json
index 19146ea71b17be..eb417af647db2d 100644
--- a/package.json
+++ b/package.json
@@ -281,7 +281,7 @@
"@types/clean-git-ref": "2.0.2",
"@types/common-tags": "1.8.4",
"@types/conventional-commits-detector": "1.0.2",
- "@types/diff": "6.0.0",
+ "@types/diff": "7.0.0",
"@types/eslint": "8.56.12",
"@types/fs-extra": "11.0.4",
"@types/git-url-parse": "9.0.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 8fb032293dd8fa..22a46232f59d13 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -416,8 +416,8 @@ importers:
specifier: 1.0.2
version: 1.0.2
'@types/diff':
- specifier: 6.0.0
- version: 6.0.0
+ specifier: 7.0.0
+ version: 7.0.0
'@types/eslint':
specifier: 8.56.12
version: 8.56.12
@@ -2028,8 +2028,8 @@ packages:
'@types/debug@4.1.12':
resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==}
- '@types/diff@6.0.0':
- resolution: {integrity: sha512-dhVCYGv3ZSbzmQaBSagrv1WJ6rXCdkyTcDyoNu1MD8JohI7pR7k8wdZEm+mvdxRKXyHVwckFzWU1vJc+Z29MlA==}
+ '@types/diff@7.0.0':
+ resolution: {integrity: sha512-sVpkpbnTJL9CYoDf4U+tHaQLe5HiTaHWY7m9FuYA7oMCHwC9ie0Vh9eIGapyzYrU3+pILlSY2fAc4elfw5m4dg==}
'@types/emscripten@1.39.13':
resolution: {integrity: sha512-cFq+fO/isvhvmuP/+Sl4K4jtU6E23DoivtbO4r50e3odaxAiVdbfSYRDdJ4gCdxx+3aRjhphS5ZMwIH4hFy/Cw==}
@@ -8770,7 +8770,7 @@ snapshots:
dependencies:
'@types/ms': 0.7.34
- '@types/diff@6.0.0': {}
+ '@types/diff@7.0.0': {}
'@types/emscripten@1.39.13': {}
From ccf395f75f0045a519a53336cec9040512ea8817 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 16:52:06 +0000
Subject: [PATCH 043/247] chore(deps): update
davidanson/markdownlint-cli2-action action to v19 (#33568)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/build.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7abf3ab80ae4df..fa4e3a42949ee6 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -304,7 +304,7 @@ jobs:
os: ${{ runner.os }}
- name: Lint markdown
- uses: DavidAnson/markdownlint-cli2-action@eb5ca3ab411449c66620fe7f1b3c9e10547144b0 # v18.0.0
+ uses: DavidAnson/markdownlint-cli2-action@a23dae216ce3fee4db69da41fed90d2a4af801cf # v19.0.0
- name: Lint fenced code blocks
run: pnpm doc-fence-check
From a3164275041b49118b703dc8c449b65c6a279dd0 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 16:53:58 +0000
Subject: [PATCH 044/247] build(deps): update node.js to v22.13.0 (#33566)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.nvmrc | 2 +-
package.json | 4 +-
pnpm-lock.yaml | 138 ++++++++++++++++++++--------------------
tools/docker/Dockerfile | 2 +-
4 files changed, 73 insertions(+), 73 deletions(-)
diff --git a/.nvmrc b/.nvmrc
index 7af24b7ddbde0c..6fa8dec4cd6789 100644
--- a/.nvmrc
+++ b/.nvmrc
@@ -1 +1 @@
-22.11.0
+22.13.0
diff --git a/package.json b/package.json
index eb417af647db2d..05a9ef14463049 100644
--- a/package.json
+++ b/package.json
@@ -139,7 +139,7 @@
"pnpm": "^9.0.0"
},
"volta": {
- "node": "22.11.0",
+ "node": "22.13.0",
"pnpm": "9.15.3"
},
"dependencies": {
@@ -299,7 +299,7 @@
"@types/mdast": "3.0.15",
"@types/moo": "0.5.10",
"@types/ms": "0.7.34",
- "@types/node": "20.17.12",
+ "@types/node": "22.10.5",
"@types/parse-link-header": "2.0.3",
"@types/punycode": "2.1.4",
"@types/semver": "7.5.8",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 22a46232f59d13..1ac6f1faa23cca 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -470,8 +470,8 @@ importers:
specifier: 0.7.34
version: 0.7.34
'@types/node':
- specifier: 20.17.12
- version: 20.17.12
+ specifier: 22.10.5
+ version: 22.10.5
'@types/parse-link-header':
specifier: 2.0.3
version: 2.0.3
@@ -540,7 +540,7 @@ importers:
version: 2.31.0(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1)
eslint-plugin-jest:
specifier: 28.10.0
- version: 28.10.0(@typescript-eslint/eslint-plugin@8.19.1(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))(typescript@5.7.3)
+ version: 28.10.0(@typescript-eslint/eslint-plugin@8.19.1(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(jest@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3)))(typescript@5.7.3)
eslint-plugin-jest-formatting:
specifier: 3.1.0
version: 3.1.0(eslint@8.57.1)
@@ -564,16 +564,16 @@ importers:
version: 9.1.7
jest:
specifier: 29.7.0
- version: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
+ version: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3))
jest-extended:
specifier: 4.0.2
- version: 4.0.2(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))
+ version: 4.0.2(jest@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3)))
jest-mock:
specifier: 29.7.0
version: 29.7.0
jest-mock-extended:
specifier: 3.0.7
- version: 3.0.7(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))(typescript@5.7.3)
+ version: 3.0.7(jest@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3)))(typescript@5.7.3)
jest-snapshot:
specifier: 29.7.0
version: 29.7.0
@@ -609,10 +609,10 @@ importers:
version: 3.0.3
ts-jest:
specifier: 29.2.5
- version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))(typescript@5.7.3)
+ version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3)))(typescript@5.7.3)
ts-node:
specifier: 10.9.2
- version: 10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)
+ version: 10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3)
type-fest:
specifier: 4.32.0
version: 4.32.0
@@ -2130,8 +2130,8 @@ packages:
'@types/ms@0.7.34':
resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==}
- '@types/node@20.17.12':
- resolution: {integrity: sha512-vo/wmBgMIiEA23A/knMfn/cf37VnuF52nZh5ZoW0GWt4e4sxNquibrMRJ7UQsA06+MBx9r/H1jsI9grYjQCQlw==}
+ '@types/node@22.10.5':
+ resolution: {integrity: sha512-F8Q+SeGimwOo86fiovQh8qiXfFEh2/ocYv7tU5pJ3EXMSSxk1Joj5wefpFK2fHTf/N6HKGSxIDBT9f3gCxXPkQ==}
'@types/normalize-package-data@2.4.4':
resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==}
@@ -6136,8 +6136,8 @@ packages:
underscore@1.13.7:
resolution: {integrity: sha512-GMXzWtsc57XAtguZgaQViUOzs0KTkk8ojr3/xAxXLITqf/3EMwxC0inyETfDFjH/Krbhuep0HNbbjI9i/q3F3g==}
- undici-types@6.19.8:
- resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==}
+ undici-types@6.20.0:
+ resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==}
unicode-emoji-modifier-base@1.0.0:
resolution: {integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==}
@@ -7501,27 +7501,27 @@ snapshots:
'@jest/console@29.7.0':
dependencies:
'@jest/types': 29.6.3
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
chalk: 4.1.2
jest-message-util: 29.7.0
jest-util: 29.7.0
slash: 3.0.0
- '@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))':
+ '@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3))':
dependencies:
'@jest/console': 29.7.0
'@jest/reporters': 29.7.0
'@jest/test-result': 29.7.0
'@jest/transform': 29.7.0
'@jest/types': 29.6.3
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
ansi-escapes: 4.3.2
chalk: 4.1.2
ci-info: 3.9.0
exit: 0.1.2
graceful-fs: 4.2.11
jest-changed-files: 29.7.0
- jest-config: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
+ jest-config: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3))
jest-haste-map: 29.7.0
jest-message-util: 29.7.0
jest-regex-util: 29.6.3
@@ -7546,7 +7546,7 @@ snapshots:
dependencies:
'@jest/fake-timers': 29.7.0
'@jest/types': 29.6.3
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
jest-mock: 29.7.0
'@jest/expect-utils@29.4.1':
@@ -7568,7 +7568,7 @@ snapshots:
dependencies:
'@jest/types': 29.6.3
'@sinonjs/fake-timers': 10.3.0
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
jest-message-util: 29.7.0
jest-mock: 29.7.0
jest-util: 29.7.0
@@ -7590,7 +7590,7 @@ snapshots:
'@jest/transform': 29.7.0
'@jest/types': 29.6.3
'@jridgewell/trace-mapping': 0.3.25
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
chalk: 4.1.2
collect-v8-coverage: 1.0.2
exit: 0.1.2
@@ -7660,7 +7660,7 @@ snapshots:
'@jest/schemas': 29.6.3
'@types/istanbul-lib-coverage': 2.0.6
'@types/istanbul-reports': 3.0.4
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
'@types/yargs': 17.0.33
chalk: 4.1.2
@@ -8708,7 +8708,7 @@ snapshots:
'@types/aws4@1.11.6':
dependencies:
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
'@types/babel__core@7.20.5':
dependencies:
@@ -8733,27 +8733,27 @@ snapshots:
'@types/better-sqlite3@7.6.12':
dependencies:
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
'@types/breejs__later@4.1.5': {}
'@types/bunyan@1.8.11':
dependencies:
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
'@types/bunyan@1.8.9':
dependencies:
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
'@types/cacache@17.0.2':
dependencies:
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
'@types/cacheable-request@6.0.3':
dependencies:
'@types/http-cache-semantics': 4.0.4
'@types/keyv': 3.1.4
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
'@types/responselike': 1.0.3
'@types/callsite@1.0.34': {}
@@ -8784,7 +8784,7 @@ snapshots:
'@types/fs-extra@11.0.4':
dependencies:
'@types/jsonfile': 6.1.4
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
'@types/git-url-parse@9.0.3': {}
@@ -8794,7 +8794,7 @@ snapshots:
'@types/graceful-fs@4.1.9':
dependencies:
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
'@types/http-cache-semantics@4.0.4': {}
@@ -8820,13 +8820,13 @@ snapshots:
'@types/jsonfile@6.1.4':
dependencies:
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
'@types/katex@0.16.7': {}
'@types/keyv@3.1.4':
dependencies:
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
'@types/linkify-it@5.0.0': {}
@@ -8845,7 +8845,7 @@ snapshots:
'@types/marshal@0.5.3':
dependencies:
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
'@types/mdast@3.0.15':
dependencies:
@@ -8861,9 +8861,9 @@ snapshots:
'@types/ms@0.7.34': {}
- '@types/node@20.17.12':
+ '@types/node@22.10.5':
dependencies:
- undici-types: 6.19.8
+ undici-types: 6.20.0
'@types/normalize-package-data@2.4.4': {}
@@ -8875,7 +8875,7 @@ snapshots:
'@types/responselike@1.0.3':
dependencies:
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
'@types/semver-stable@3.0.2': {}
@@ -8895,7 +8895,7 @@ snapshots:
'@types/tar@6.1.13':
dependencies:
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
minipass: 4.2.8
'@types/tmp@0.2.6': {}
@@ -8920,7 +8920,7 @@ snapshots:
'@types/yauzl@2.10.3':
dependencies:
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
optional: true
'@typescript-eslint/eslint-plugin@8.19.1(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3)':
@@ -9685,13 +9685,13 @@ snapshots:
optionalDependencies:
typescript: 5.7.3
- create-jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)):
+ create-jest@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3)):
dependencies:
'@jest/types': 29.6.3
chalk: 4.1.2
exit: 0.1.2
graceful-fs: 4.2.11
- jest-config: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
+ jest-config: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3))
jest-util: 29.7.0
prompts: 2.4.2
transitivePeerDependencies:
@@ -10114,13 +10114,13 @@ snapshots:
dependencies:
eslint: 8.57.1
- eslint-plugin-jest@28.10.0(@typescript-eslint/eslint-plugin@8.19.1(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))(typescript@5.7.3):
+ eslint-plugin-jest@28.10.0(@typescript-eslint/eslint-plugin@8.19.1(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(jest@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3)))(typescript@5.7.3):
dependencies:
'@typescript-eslint/utils': 8.19.1(eslint@8.57.1)(typescript@5.7.3)
eslint: 8.57.1
optionalDependencies:
'@typescript-eslint/eslint-plugin': 8.19.1(@typescript-eslint/parser@8.19.1(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3)
- jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
+ jest: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3))
transitivePeerDependencies:
- supports-color
- typescript
@@ -11144,7 +11144,7 @@ snapshots:
'@jest/expect': 29.7.0
'@jest/test-result': 29.7.0
'@jest/types': 29.6.3
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
chalk: 4.1.2
co: 4.6.0
dedent: 1.5.3
@@ -11164,16 +11164,16 @@ snapshots:
- babel-plugin-macros
- supports-color
- jest-cli@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)):
+ jest-cli@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3)):
dependencies:
- '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
+ '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3))
'@jest/test-result': 29.7.0
'@jest/types': 29.6.3
chalk: 4.1.2
- create-jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
+ create-jest: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3))
exit: 0.1.2
import-local: 3.2.0
- jest-config: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
+ jest-config: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3))
jest-util: 29.7.0
jest-validate: 29.7.0
yargs: 17.7.2
@@ -11183,7 +11183,7 @@ snapshots:
- supports-color
- ts-node
- jest-config@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)):
+ jest-config@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3)):
dependencies:
'@babel/core': 7.26.0
'@jest/test-sequencer': 29.7.0
@@ -11208,8 +11208,8 @@ snapshots:
slash: 3.0.0
strip-json-comments: 3.1.1
optionalDependencies:
- '@types/node': 20.17.12
- ts-node: 10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)
+ '@types/node': 22.10.5
+ ts-node: 10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3)
transitivePeerDependencies:
- babel-plugin-macros
- supports-color
@@ -11238,16 +11238,16 @@ snapshots:
'@jest/environment': 29.7.0
'@jest/fake-timers': 29.7.0
'@jest/types': 29.6.3
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
jest-mock: 29.7.0
jest-util: 29.7.0
- jest-extended@4.0.2(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))):
+ jest-extended@4.0.2(jest@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3))):
dependencies:
jest-diff: 29.7.0
jest-get-type: 29.6.3
optionalDependencies:
- jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
+ jest: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3))
jest-get-type@29.6.3: {}
@@ -11255,7 +11255,7 @@ snapshots:
dependencies:
'@jest/types': 29.6.3
'@types/graceful-fs': 4.1.9
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
anymatch: 3.1.3
fb-watchman: 2.0.2
graceful-fs: 4.2.11
@@ -11298,16 +11298,16 @@ snapshots:
slash: 3.0.0
stack-utils: 2.0.6
- jest-mock-extended@3.0.7(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))(typescript@5.7.3):
+ jest-mock-extended@3.0.7(jest@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3)))(typescript@5.7.3):
dependencies:
- jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
+ jest: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3))
ts-essentials: 10.0.4(typescript@5.7.3)
typescript: 5.7.3
jest-mock@29.7.0:
dependencies:
'@jest/types': 29.6.3
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
jest-util: 29.7.0
jest-pnp-resolver@1.2.3(jest-resolve@29.7.0):
@@ -11342,7 +11342,7 @@ snapshots:
'@jest/test-result': 29.7.0
'@jest/transform': 29.7.0
'@jest/types': 29.6.3
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
chalk: 4.1.2
emittery: 0.13.1
graceful-fs: 4.2.11
@@ -11370,7 +11370,7 @@ snapshots:
'@jest/test-result': 29.7.0
'@jest/transform': 29.7.0
'@jest/types': 29.6.3
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
chalk: 4.1.2
cjs-module-lexer: 1.4.1
collect-v8-coverage: 1.0.2
@@ -11416,7 +11416,7 @@ snapshots:
jest-util@29.7.0:
dependencies:
'@jest/types': 29.6.3
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
chalk: 4.1.2
ci-info: 3.9.0
graceful-fs: 4.2.11
@@ -11435,7 +11435,7 @@ snapshots:
dependencies:
'@jest/test-result': 29.7.0
'@jest/types': 29.6.3
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
ansi-escapes: 4.3.2
chalk: 4.1.2
emittery: 0.13.1
@@ -11444,17 +11444,17 @@ snapshots:
jest-worker@29.7.0:
dependencies:
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
jest-util: 29.7.0
merge-stream: 2.0.0
supports-color: 8.1.1
- jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)):
+ jest@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3)):
dependencies:
- '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
+ '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3))
'@jest/types': 29.6.3
import-local: 3.2.0
- jest-cli: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
+ jest-cli: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3))
transitivePeerDependencies:
- '@types/node'
- babel-plugin-macros
@@ -12617,7 +12617,7 @@ snapshots:
'@protobufjs/path': 1.1.2
'@protobufjs/pool': 1.1.0
'@protobufjs/utf8': 1.1.0
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
long: 5.2.3
protocols@2.0.1: {}
@@ -13380,12 +13380,12 @@ snapshots:
optionalDependencies:
typescript: 5.7.3
- ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3)))(typescript@5.7.3):
+ ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3)))(typescript@5.7.3):
dependencies:
bs-logger: 0.2.6
ejs: 3.1.10
fast-json-stable-stringify: 2.1.0
- jest: 29.7.0(@types/node@20.17.12)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3))
+ jest: 29.7.0(@types/node@22.10.5)(ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3))
jest-util: 29.7.0
json5: 2.2.3
lodash.memoize: 4.1.2
@@ -13399,14 +13399,14 @@ snapshots:
'@jest/types': 29.6.3
babel-jest: 29.7.0(@babel/core@7.26.0)
- ts-node@10.9.2(@swc/core@1.10.7)(@types/node@20.17.12)(typescript@5.7.3):
+ ts-node@10.9.2(@swc/core@1.10.7)(@types/node@22.10.5)(typescript@5.7.3):
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.11
'@tsconfig/node12': 1.0.11
'@tsconfig/node14': 1.0.3
'@tsconfig/node16': 1.0.4
- '@types/node': 20.17.12
+ '@types/node': 22.10.5
acorn: 8.14.0
acorn-walk: 8.3.4
arg: 4.1.3
@@ -13536,7 +13536,7 @@ snapshots:
underscore@1.13.7: {}
- undici-types@6.19.8: {}
+ undici-types@6.20.0: {}
unicode-emoji-modifier-base@1.0.0: {}
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 29e0abf969bdc1..6f67a74e29ce02 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -21,7 +21,7 @@ FROM --platform=$BUILDPLATFORM ghcr.io/renovatebot/base-image:9.30.2@sha256:5cd2
# We want a specific node version here
# renovate: datasource=node-version
-RUN install-tool node 22.11.0
+RUN install-tool node 22.13.0
WORKDIR /usr/local/renovate
From c93ae91b411fa787d9d047780221235a2d8ded1a Mon Sep 17 00:00:00 2001
From: Johannes Feichtner <343448+Churro@users.noreply.github.com>
Date: Sat, 11 Jan 2025 18:04:46 +0100
Subject: [PATCH 045/247] test(gradle): refactor and add new tests (#33522)
---
.../gradle/__fixtures__/2/libs.versions.toml | 17 -
.../gradle/__fixtures__/3/libs.versions.toml | 10 -
.../__fixtures__/{1 => }/libs.versions.toml | 0
lib/modules/manager/gradle/extract.spec.ts | 323 +-----------------
.../manager/gradle/extract/catalog.spec.ts | 194 +++++++++++
.../consistent-versions-plugin.spec.ts | 111 +++++-
lib/modules/manager/gradle/utils.spec.ts | 170 +++++----
7 files changed, 403 insertions(+), 422 deletions(-)
delete mode 100644 lib/modules/manager/gradle/__fixtures__/2/libs.versions.toml
delete mode 100644 lib/modules/manager/gradle/__fixtures__/3/libs.versions.toml
rename lib/modules/manager/gradle/__fixtures__/{1 => }/libs.versions.toml (100%)
create mode 100644 lib/modules/manager/gradle/extract/catalog.spec.ts
diff --git a/lib/modules/manager/gradle/__fixtures__/2/libs.versions.toml b/lib/modules/manager/gradle/__fixtures__/2/libs.versions.toml
deleted file mode 100644
index 62f98ea855c26c..00000000000000
--- a/lib/modules/manager/gradle/__fixtures__/2/libs.versions.toml
+++ /dev/null
@@ -1,17 +0,0 @@
-[versions]
-kotlin = "1.5.21"
-retro_fit = "2.8.2"
-
-[libraries]
-okHttp = "com.squareup.okhttp3:okhttp:4.9.0"
-okio = { module = "com.squareup.okio:okio", version = "2.8.0" }
-picasso = { group = "com.squareup.picasso", name = "picasso", version = "2.5.1" }
-retrofit2-retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retro_fit" }
-google-firebase-analytics = { module = "com.google.firebase:firebase-analytics" }
-google-firebase-crashlytics = { group = "com.google.firebase", name = "firebase-crashlytics" }
-google-firebase-messaging = "com.google.firebase:firebase-messaging"
-
-[plugins]
-kotlinJvm = { id = "org.jetbrains.kotlin.jvm", version = "1.5.21" }
-kotlinSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
-multiJvm = "org.danilopianini.multi-jvm-test-plugin:0.3.0"
diff --git a/lib/modules/manager/gradle/__fixtures__/3/libs.versions.toml b/lib/modules/manager/gradle/__fixtures__/3/libs.versions.toml
deleted file mode 100644
index 7188d1a6c6b443..00000000000000
--- a/lib/modules/manager/gradle/__fixtures__/3/libs.versions.toml
+++ /dev/null
@@ -1,10 +0,0 @@
-[versions]
-# Releases: http://someWebsite.com/junit/1.4.9
-mocha-junit-reporter = "2.0.2"
-# JUnit 1.4.9 is awesome!
-junit = "1.4.9"
-
-
-[libraries]
-junit-legacy = { module = "junit:junit", version.ref = "junit" }
-mocha-junit = { module = "mocha-junit:mocha-junit", version.ref = "mocha.junit.reporter" }
diff --git a/lib/modules/manager/gradle/__fixtures__/1/libs.versions.toml b/lib/modules/manager/gradle/__fixtures__/libs.versions.toml
similarity index 100%
rename from lib/modules/manager/gradle/__fixtures__/1/libs.versions.toml
rename to lib/modules/manager/gradle/__fixtures__/libs.versions.toml
diff --git a/lib/modules/manager/gradle/extract.spec.ts b/lib/modules/manager/gradle/extract.spec.ts
index 7a0900ddfc2b3c..bd11d3a32ac66c 100644
--- a/lib/modules/manager/gradle/extract.spec.ts
+++ b/lib/modules/manager/gradle/extract.spec.ts
@@ -1,4 +1,4 @@
-import { codeBlock, stripIndent } from 'common-tags';
+import { codeBlock } from 'common-tags';
import { Fixtures } from '../../../../test/fixtures';
import { fs, logger, partial } from '../../../../test/util';
import type { ExtractConfig } from '../types';
@@ -499,7 +499,7 @@ describe('modules/manager/gradle/extract', () => {
describe('version catalogs', () => {
it('works with dependency catalogs', async () => {
const fsMock = {
- 'gradle/libs.versions.toml': Fixtures.get('1/libs.versions.toml'),
+ 'gradle/libs.versions.toml': Fixtures.get('libs.versions.toml'),
};
mockFs(fsMock);
@@ -614,118 +614,6 @@ describe('modules/manager/gradle/extract', () => {
]);
});
- it('supports versions declared as single string', async () => {
- const fsMock = {
- 'gradle/libs.versions.toml': Fixtures.get('2/libs.versions.toml'),
- };
- mockFs(fsMock);
-
- const res = await extractAllPackageFiles(
- partial(),
- Object.keys(fsMock),
- );
-
- expect(res).toMatchObject([
- {
- packageFile: 'gradle/libs.versions.toml',
- deps: [
- {
- depName: 'com.squareup.okhttp3:okhttp',
- currentValue: '4.9.0',
- managerData: {
- fileReplacePosition: 100,
- packageFile: 'gradle/libs.versions.toml',
- },
- },
- {
- depName: 'com.squareup.okio:okio',
- currentValue: '2.8.0',
- managerData: {
- fileReplacePosition: 162,
- packageFile: 'gradle/libs.versions.toml',
- },
- },
- {
- depName: 'com.squareup.picasso:picasso',
- currentValue: '2.5.1',
- managerData: {
- fileReplacePosition: 244,
- packageFile: 'gradle/libs.versions.toml',
- },
- },
- {
- depName: 'com.squareup.retrofit2:retrofit',
- groupName: 'retro.fit',
- currentValue: '2.8.2',
- managerData: {
- fileReplacePosition: 42,
- packageFile: 'gradle/libs.versions.toml',
- },
- },
- {
- depName: 'google-firebase-analytics',
- managerData: {
- packageFile: 'gradle/libs.versions.toml',
- },
- skipReason: 'unspecified-version',
- },
- {
- depName: 'google-firebase-crashlytics',
- managerData: {
- packageFile: 'gradle/libs.versions.toml',
- },
- skipReason: 'unspecified-version',
- },
- {
- depName: 'google-firebase-messaging',
- managerData: {
- packageFile: 'gradle/libs.versions.toml',
- },
- skipReason: 'unspecified-version',
- },
- {
- depName: 'org.jetbrains.kotlin.jvm',
- depType: 'plugin',
- currentValue: '1.5.21',
- commitMessageTopic: 'plugin kotlinJvm',
- packageName:
- 'org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin',
- managerData: {
- fileReplacePosition: 663,
- packageFile: 'gradle/libs.versions.toml',
- },
- registryUrls: ['https://plugins.gradle.org/m2/'],
- },
- {
- depName: 'org.jetbrains.kotlin.plugin.serialization',
- depType: 'plugin',
- currentValue: '1.5.21',
- packageName:
- 'org.jetbrains.kotlin.plugin.serialization:org.jetbrains.kotlin.plugin.serialization.gradle.plugin',
- managerData: {
- fileReplacePosition: 21,
- packageFile: 'gradle/libs.versions.toml',
- },
- registryUrls: ['https://plugins.gradle.org/m2/'],
- },
- {
- depName: 'org.danilopianini.multi-jvm-test-plugin',
- depType: 'plugin',
- currentValue: '0.3.0',
- commitMessageTopic: 'plugin multiJvm',
- packageName:
- 'org.danilopianini.multi-jvm-test-plugin:org.danilopianini.multi-jvm-test-plugin.gradle.plugin',
- managerData: {
- fileReplacePosition: 824,
- packageFile: 'gradle/libs.versions.toml',
- },
- registryUrls: ['https://plugins.gradle.org/m2/'],
- },
- ],
- },
- ]);
- });
-
it('ignores empty TOML file', async () => {
const fsMock = {
'gradle/libs.versions.toml': '',
@@ -739,97 +627,6 @@ describe('modules/manager/gradle/extract', () => {
),
).toBeNull();
});
-
- it('deletes commit message for plugins with version reference', async () => {
- const fsMock = {
- 'gradle/libs.versions.toml': stripIndent`
- [versions]
- detekt = "1.18.1"
-
- [plugins]
- detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" }
-
- [libraries]
- detekt-formatting = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt" }
- `,
- };
- mockFs(fsMock);
-
- const res = await extractAllPackageFiles(
- partial(),
- Object.keys(fsMock),
- );
- expect(res).toMatchObject([
- {
- packageFile: 'gradle/libs.versions.toml',
- deps: [
- {
- depName: 'io.gitlab.arturbosch.detekt:detekt-formatting',
- groupName: 'detekt',
- currentValue: '1.18.1',
- managerData: {
- fileReplacePosition: 21,
- packageFile: 'gradle/libs.versions.toml',
- },
- fileReplacePosition: 21,
- },
- {
- depType: 'plugin',
- depName: 'io.gitlab.arturbosch.detekt',
- packageName:
- 'io.gitlab.arturbosch.detekt:io.gitlab.arturbosch.detekt.gradle.plugin',
- registryUrls: ['https://plugins.gradle.org/m2/'],
- currentValue: '1.18.1',
- managerData: {
- fileReplacePosition: 21,
- packageFile: 'gradle/libs.versions.toml',
- },
- groupName: 'detekt',
- fileReplacePosition: 21,
- },
- ],
- },
- ]);
- });
-
- it('changes the dependency version, not the comment version', async () => {
- const fsMock = {
- 'gradle/libs.versions.toml': Fixtures.get('3/libs.versions.toml'),
- };
- mockFs(fsMock);
-
- const res = await extractAllPackageFiles(
- partial(),
- Object.keys(fsMock),
- );
- expect(res).toMatchObject([
- {
- packageFile: 'gradle/libs.versions.toml',
- deps: [
- {
- depName: 'junit:junit',
- groupName: 'junit',
- currentValue: '1.4.9',
- managerData: {
- fileReplacePosition: 124,
- packageFile: 'gradle/libs.versions.toml',
- },
- fileReplacePosition: 124,
- },
- {
- depName: 'mocha-junit:mocha-junit',
- groupName: 'mocha.junit.reporter',
- currentValue: '2.0.2',
- managerData: {
- fileReplacePosition: 82,
- packageFile: 'gradle/libs.versions.toml',
- },
- fileReplacePosition: 82,
- },
- ],
- },
- ]);
- });
});
describe('apply from', () => {
@@ -996,7 +793,7 @@ describe('modules/manager/gradle/extract', () => {
it('parses versions files', async () => {
const fsMock = {
'versions.props': `org.apache.lucene:* = 1.2.3`,
- 'versions.lock': stripIndent`
+ 'versions.lock': codeBlock`
# Run ./gradlew --write-locks to regenerate this file
org.apache.lucene:lucene-core:1.2.3 (10 constraints: 95be0c15)
org.apache.lucene:lucene-codecs:1.2.3 (5 constraints: 1231231)
@@ -1046,7 +843,7 @@ describe('modules/manager/gradle/extract', () => {
it('plugin not used due to lockfile not a GCV lockfile', async () => {
const fsMock = {
'versions.props': `org.apache.lucene:* = 1.2.3`,
- 'versions.lock': stripIndent`
+ 'versions.lock': codeBlock`
This is NOT a lock file
`,
};
@@ -1072,117 +869,5 @@ describe('modules/manager/gradle/extract', () => {
);
expect(res).toBeNull();
});
-
- it('supports multiple levels of glob', async () => {
- const fsMock = {
- 'versions.props': stripIndent`
- org.apache.* = 4
- org.apache.lucene:* = 3
- org.apache.lucene:a.* = 2
- org.apache.lucene:a.b = 1
- org.apache.foo*:* = 5
- `,
- 'versions.lock': stripIndent`
- # Run ./gradlew --write-locks to regenerate this file
- org.apache.solr:x.y:1 (10 constraints: 95be0c15)
- org.apache.lucene:a.b:1 (10 constraints: 95be0c15)
- org.apache.lucene:a.c:1 (10 constraints: 95be0c15)
- org.apache.lucene:a.d:1 (10 constraints: 95be0c15)
- org.apache.lucene:d:1 (10 constraints: 95be0c15)
- org.apache.lucene:e.f:1 (10 constraints: 95be0c15)
- org.apache.foo-bar:a:1 (10 constraints: 95be0c15)
- `,
- };
- mockFs(fsMock);
-
- const res = await extractAllPackageFiles(
- partial(),
- Object.keys(fsMock),
- );
-
- // Each lock dep is only present once, with highest prio for exact prop match, then globs from longest to shortest
- expect(res).toMatchObject([
- {
- packageFile: 'versions.lock',
- deps: [],
- },
- {
- packageFile: 'versions.props',
- deps: [
- {
- managerData: {
- packageFile: 'versions.props',
- fileReplacePosition: 91,
- },
- depName: 'org.apache.lucene:a.b',
- currentValue: '1',
- lockedVersion: '1',
- fileReplacePosition: 91,
- depType: 'dependencies',
- },
- {
- managerData: {
- packageFile: 'versions.props',
- fileReplacePosition: 65,
- },
- depName: 'org.apache.lucene:a.c',
- currentValue: '2',
- lockedVersion: '1',
- groupName: 'org.apache.lucene:a.*',
- fileReplacePosition: 65,
- depType: 'dependencies',
- },
- {
- managerData: {
- packageFile: 'versions.props',
- fileReplacePosition: 65,
- },
- depName: 'org.apache.lucene:a.d',
- currentValue: '2',
- lockedVersion: '1',
- groupName: 'org.apache.lucene:a.*',
- fileReplacePosition: 65,
- depType: 'dependencies',
- },
- {
- managerData: {
- packageFile: 'versions.props',
- fileReplacePosition: 39,
- },
- depName: 'org.apache.lucene:d',
- currentValue: '3',
- lockedVersion: '1',
- groupName: 'org.apache.lucene:*',
- fileReplacePosition: 39,
- depType: 'dependencies',
- },
- {
- managerData: {
- packageFile: 'versions.props',
- fileReplacePosition: 39,
- },
- depName: 'org.apache.lucene:e.f',
- currentValue: '3',
- lockedVersion: '1',
- groupName: 'org.apache.lucene:*',
- fileReplacePosition: 39,
- depType: 'dependencies',
- },
- {
- managerData: {
- fileReplacePosition: 113,
- packageFile: 'versions.props',
- },
- depName: 'org.apache.foo-bar:a',
- currentValue: '5',
- lockedVersion: '1',
- groupName: 'org.apache.foo*:*',
- fileReplacePosition: 113,
- depType: 'dependencies',
- },
- ],
- },
- ]);
- });
});
});
diff --git a/lib/modules/manager/gradle/extract/catalog.spec.ts b/lib/modules/manager/gradle/extract/catalog.spec.ts
new file mode 100644
index 00000000000000..f1dc53281634a5
--- /dev/null
+++ b/lib/modules/manager/gradle/extract/catalog.spec.ts
@@ -0,0 +1,194 @@
+import { codeBlock } from 'common-tags';
+import { parseCatalog } from './catalog';
+
+describe('modules/manager/gradle/extract/catalog', () => {
+ it('supports versions declared as single string', () => {
+ const input = codeBlock`
+ [versions]
+ kotlin = "1.5.21"
+ retro_fit = "2.8.2"
+
+ [libraries]
+ okHttp = "com.squareup.okhttp3:okhttp:4.9.0"
+ okio = { module = "com.squareup.okio:okio", version = "2.8.0" }
+ picasso = { group = "com.squareup.picasso", name = "picasso", version = "2.5.1" }
+ retrofit2-retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retro_fit" }
+ google-firebase-analytics = { module = "com.google.firebase:firebase-analytics" }
+ google-firebase-crashlytics = { group = "com.google.firebase", name = "firebase-crashlytics" }
+ google-firebase-messaging = "com.google.firebase:firebase-messaging"
+
+ [plugins]
+ kotlinJvm = { id = "org.jetbrains.kotlin.jvm", version = "1.5.21" }
+ kotlinSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
+ multiJvm = "org.danilopianini.multi-jvm-test-plugin:0.3.0"
+ `;
+ const res = parseCatalog('gradle/libs.versions.toml', input);
+ expect(res).toStrictEqual([
+ {
+ depName: 'com.squareup.okhttp3:okhttp',
+ currentValue: '4.9.0',
+ managerData: {
+ fileReplacePosition: 100,
+ packageFile: 'gradle/libs.versions.toml',
+ },
+ },
+ {
+ depName: 'com.squareup.okio:okio',
+ currentValue: '2.8.0',
+ managerData: {
+ fileReplacePosition: 162,
+ packageFile: 'gradle/libs.versions.toml',
+ },
+ },
+ {
+ depName: 'com.squareup.picasso:picasso',
+ currentValue: '2.5.1',
+ managerData: {
+ fileReplacePosition: 244,
+ packageFile: 'gradle/libs.versions.toml',
+ },
+ },
+ {
+ depName: 'com.squareup.retrofit2:retrofit',
+ groupName: 'retro.fit',
+ currentValue: '2.8.2',
+ managerData: {
+ fileReplacePosition: 42,
+ packageFile: 'gradle/libs.versions.toml',
+ },
+ },
+ {
+ depName: 'google-firebase-analytics',
+ managerData: {
+ packageFile: 'gradle/libs.versions.toml',
+ },
+ skipReason: 'unspecified-version',
+ },
+ {
+ depName: 'google-firebase-crashlytics',
+ managerData: {
+ packageFile: 'gradle/libs.versions.toml',
+ },
+ skipReason: 'unspecified-version',
+ },
+ {
+ depName: 'google-firebase-messaging',
+ managerData: {
+ packageFile: 'gradle/libs.versions.toml',
+ },
+ skipReason: 'unspecified-version',
+ },
+ {
+ depName: 'org.jetbrains.kotlin.jvm',
+ depType: 'plugin',
+ currentValue: '1.5.21',
+ commitMessageTopic: 'plugin kotlinJvm',
+ packageName:
+ 'org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin',
+ managerData: {
+ fileReplacePosition: 663,
+ packageFile: 'gradle/libs.versions.toml',
+ },
+ },
+ {
+ depName: 'org.jetbrains.kotlin.plugin.serialization',
+ depType: 'plugin',
+ currentValue: '1.5.21',
+ groupName: 'kotlin',
+ packageName:
+ 'org.jetbrains.kotlin.plugin.serialization:org.jetbrains.kotlin.plugin.serialization.gradle.plugin',
+ managerData: {
+ fileReplacePosition: 21,
+ packageFile: 'gradle/libs.versions.toml',
+ },
+ },
+ {
+ depName: 'org.danilopianini.multi-jvm-test-plugin',
+ depType: 'plugin',
+ currentValue: '0.3.0',
+ commitMessageTopic: 'plugin multiJvm',
+ packageName:
+ 'org.danilopianini.multi-jvm-test-plugin:org.danilopianini.multi-jvm-test-plugin.gradle.plugin',
+ managerData: {
+ fileReplacePosition: 824,
+ packageFile: 'gradle/libs.versions.toml',
+ },
+ },
+ ]);
+ });
+
+ it('deletes commit message for plugins with version reference', () => {
+ const input = codeBlock`
+ [versions]
+ detekt = "1.18.1"
+
+ [plugins]
+ detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" }
+
+ [libraries]
+ detekt-formatting = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt" }
+ `;
+ const res = parseCatalog('gradle/libs.versions.toml', input);
+
+ expect(res).toStrictEqual([
+ {
+ depName: 'io.gitlab.arturbosch.detekt:detekt-formatting',
+ groupName: 'detekt',
+ currentValue: '1.18.1',
+ managerData: {
+ fileReplacePosition: 21,
+ packageFile: 'gradle/libs.versions.toml',
+ },
+ },
+ {
+ depType: 'plugin',
+ depName: 'io.gitlab.arturbosch.detekt',
+ packageName:
+ 'io.gitlab.arturbosch.detekt:io.gitlab.arturbosch.detekt.gradle.plugin',
+ currentValue: '1.18.1',
+ managerData: {
+ fileReplacePosition: 21,
+ packageFile: 'gradle/libs.versions.toml',
+ },
+ groupName: 'detekt',
+ },
+ ]);
+ });
+
+ it('changes the dependency version, not the comment version', () => {
+ const input = codeBlock`
+ [versions]
+ # Releases: http://someWebsite.com/junit/1.4.9
+ mocha-junit-reporter = "2.0.2"
+ # JUnit 1.4.9 is awesome!
+ junit = "1.4.9"
+
+
+ [libraries]
+ junit-legacy = { module = "junit:junit", version.ref = "junit" }
+ mocha-junit = { module = "mocha-junit:mocha-junit", version.ref = "mocha.junit.reporter" }
+ `;
+ const res = parseCatalog('gradle/libs.versions.toml', input);
+
+ expect(res).toStrictEqual([
+ {
+ depName: 'junit:junit',
+ groupName: 'junit',
+ currentValue: '1.4.9',
+ managerData: {
+ fileReplacePosition: 124,
+ packageFile: 'gradle/libs.versions.toml',
+ },
+ },
+ {
+ depName: 'mocha-junit:mocha-junit',
+ groupName: 'mocha.junit.reporter',
+ currentValue: '2.0.2',
+ managerData: {
+ fileReplacePosition: 82,
+ packageFile: 'gradle/libs.versions.toml',
+ },
+ },
+ ]);
+ });
+});
diff --git a/lib/modules/manager/gradle/extract/consistent-versions-plugin.spec.ts b/lib/modules/manager/gradle/extract/consistent-versions-plugin.spec.ts
index 5ebaef86501b14..fdde721e725453 100644
--- a/lib/modules/manager/gradle/extract/consistent-versions-plugin.spec.ts
+++ b/lib/modules/manager/gradle/extract/consistent-versions-plugin.spec.ts
@@ -1,16 +1,17 @@
-import { stripIndent } from 'common-tags';
+import { codeBlock } from 'common-tags';
import {
+ parseGcv,
parseLockFile,
parsePropsFile,
usesGcv,
} from './consistent-versions-plugin';
describe('modules/manager/gradle/extract/consistent-versions-plugin', () => {
- it('gradle-consistent-versions plugin works for sub folders', () => {
+ it('works for sub folders', () => {
const fsMock = {
'mysub/build.gradle.kts': `(this file contains) 'com.palantir.consistent-versions'`,
'mysub/versions.props': `org.apache.lucene:* = 1.2.3`,
- 'mysub/versions.lock': stripIndent`
+ 'mysub/versions.lock': codeBlock`
# Run ./gradlew --write-locks to regenerate this file
org.apache.lucene:lucene-core:1.2.3`,
'othersub/build.gradle.kts': `nothing here`,
@@ -24,7 +25,7 @@ describe('modules/manager/gradle/extract/consistent-versions-plugin', () => {
const fsMock = {
'build.gradle.kts': `(this file contains) 'com.palantir.consistent-versions'`,
'versions.props': `org.apache.lucene:* = 1.2.3`,
- 'versions.lock': stripIndent`
+ 'versions.lock': codeBlock`
# Run ./gradlew writeVersionsLock to regenerate this file
org.apache.lucene:lucene-core:1.2.3`,
};
@@ -36,7 +37,7 @@ describe('modules/manager/gradle/extract/consistent-versions-plugin', () => {
const fsMock = {
'build.gradle.kts': `(this file contains) 'com.palantir.consistent-versions'`,
'versions.props': `org.apache.lucene:* = 1.2.3`,
- 'versions.lock': stripIndent`
+ 'versions.lock': codeBlock`
# Run ./gradlew writeVersionsLocks to regenerate this file
org.apache.lucene:lucene-core:1.2.3`,
};
@@ -44,7 +45,7 @@ describe('modules/manager/gradle/extract/consistent-versions-plugin', () => {
expect(usesGcv('versions.props', fsMock)).toBeTrue();
});
- it('gradle-consistent-versions plugin correct position for CRLF and LF', () => {
+ it('correct position for CRLF and LF', () => {
const crlfProps = parsePropsFile(`a.b:c.d=1\r\na.b:c.e=2`);
expect(crlfProps).toBeArrayOfSize(2);
expect(crlfProps[0].has('a.b:c.e')).toBeTrue();
@@ -56,8 +57,8 @@ describe('modules/manager/gradle/extract/consistent-versions-plugin', () => {
expect(lfProps[0].get('a.b:c.e')).toMatchObject({ filePos: 18 });
});
- it('gradle-consistent-versions plugin test bogus input lines', () => {
- const parsedProps = parsePropsFile(stripIndent`
+ it('test bogus input lines', () => {
+ const parsedProps = parsePropsFile(codeBlock`
# comment:foo.bar = 1
123.foo:bar = 2
this has:spaces = 3
@@ -71,7 +72,7 @@ describe('modules/manager/gradle/extract/consistent-versions-plugin', () => {
expect(parsedProps[0]).toMatchObject({ size: 1 }); // no 7 is valid exact dep
expect(parsedProps[1]).toMatchObject({ size: 1 }); // no 8 is valid glob dep
- const parsedLock = parseLockFile(stripIndent`
+ const parsedLock = parseLockFile(codeBlock`
# comment:foo.bar:1 (10 constraints: 95be0c15)
123.foo:bar:2 (10 constraints: 95be0c15)
this has:spaces:3 (10 constraints: 95be0c15)
@@ -92,4 +93,96 @@ describe('modules/manager/gradle/extract/consistent-versions-plugin', () => {
depType: 'test',
});
});
+
+ it('supports multiple levels of glob', () => {
+ const fsMock = {
+ 'versions.props': codeBlock`
+ org.apache.* = 4
+ org.apache.lucene:* = 3
+ org.apache.lucene:a.* = 2
+ org.apache.lucene:a.b = 1
+ org.apache.foo*:* = 5
+ `,
+ 'versions.lock': codeBlock`
+ # Run ./gradlew --write-locks to regenerate this file
+ org.apache.solr:x.y:1 (10 constraints: 95be0c15)
+ org.apache.lucene:a.b:1 (10 constraints: 95be0c15)
+ org.apache.lucene:a.c:1 (10 constraints: 95be0c15)
+ org.apache.lucene:a.d:1 (10 constraints: 95be0c15)
+ org.apache.lucene:d:1 (10 constraints: 95be0c15)
+ org.apache.lucene:e.f:1 (10 constraints: 95be0c15)
+ org.apache.foo-bar:a:1 (10 constraints: 95be0c15)
+ `,
+ };
+ const res = parseGcv('versions.props', fsMock);
+
+ // Each lock dep is only present once, with highest prio for exact prop match, then globs from longest to shortest
+ expect(res).toStrictEqual([
+ {
+ managerData: {
+ packageFile: 'versions.props',
+ fileReplacePosition: 91,
+ },
+ depName: 'org.apache.lucene:a.b',
+ currentValue: '1',
+ lockedVersion: '1',
+ depType: 'dependencies',
+ },
+ {
+ managerData: {
+ packageFile: 'versions.props',
+ fileReplacePosition: 65,
+ },
+ depName: 'org.apache.lucene:a.c',
+ currentValue: '2',
+ lockedVersion: '1',
+ groupName: 'org.apache.lucene:a.*',
+ depType: 'dependencies',
+ },
+ {
+ managerData: {
+ packageFile: 'versions.props',
+ fileReplacePosition: 65,
+ },
+ depName: 'org.apache.lucene:a.d',
+ currentValue: '2',
+ lockedVersion: '1',
+ groupName: 'org.apache.lucene:a.*',
+ depType: 'dependencies',
+ },
+ {
+ managerData: {
+ packageFile: 'versions.props',
+ fileReplacePosition: 39,
+ },
+ depName: 'org.apache.lucene:d',
+ currentValue: '3',
+ lockedVersion: '1',
+ groupName: 'org.apache.lucene:*',
+ depType: 'dependencies',
+ },
+ {
+ managerData: {
+ packageFile: 'versions.props',
+ fileReplacePosition: 39,
+ },
+ depName: 'org.apache.lucene:e.f',
+ currentValue: '3',
+ lockedVersion: '1',
+ groupName: 'org.apache.lucene:*',
+ depType: 'dependencies',
+ },
+ {
+ managerData: {
+ fileReplacePosition: 113,
+ packageFile: 'versions.props',
+ },
+ depName: 'org.apache.foo-bar:a',
+ currentValue: '5',
+ lockedVersion: '1',
+ groupName: 'org.apache.foo*:*',
+ depType: 'dependencies',
+ },
+ ]);
+ });
});
diff --git a/lib/modules/manager/gradle/utils.spec.ts b/lib/modules/manager/gradle/utils.spec.ts
index 1de059b86c62b9..d8879d0ebf2bd3 100644
--- a/lib/modules/manager/gradle/utils.spec.ts
+++ b/lib/modules/manager/gradle/utils.spec.ts
@@ -1,7 +1,13 @@
-import type { VariableRegistry } from './types';
+import type { PackageVariables, VariableRegistry } from './types';
import {
getVars,
isDependencyString,
+ isGradleBuildFile,
+ isGradleScriptFile,
+ isGradleVersionsFile,
+ isKotlinSourceFile,
+ isPropsFile,
+ isTOMLFile,
parseDependencyString,
reorderFiles,
toAbsolutePath,
@@ -10,66 +16,83 @@ import {
} from './utils';
describe('modules/manager/gradle/utils', () => {
- it('versionLikeSubstring', () => {
- [
- '1.2.3',
- '[1.0,2.0]',
- '(,2.0[',
- '2.1.1.RELEASE',
- '1.0.+',
- '2022-05-10_55',
- ].forEach((input) => {
- expect(versionLikeSubstring(input)).toEqual(input);
- expect(versionLikeSubstring(`${input}'`)).toEqual(input);
- expect(versionLikeSubstring(`${input}"`)).toEqual(input);
- expect(versionLikeSubstring(`${input}\n`)).toEqual(input);
- expect(versionLikeSubstring(`${input} `)).toEqual(input);
- expect(versionLikeSubstring(`${input}$`)).toEqual(input);
+ describe('versionLikeSubstring', () => {
+ it('extracts the actual version', () => {
+ const inputs = [
+ '1.2.3',
+ '[1.0,2.0]',
+ '(,2.0[',
+ '2.1.1.RELEASE',
+ '1.0.+',
+ '2022-05-10_55',
+ ];
+ const suffixes = ['', "'", '"', '\n', ' ', '$'];
+
+ for (const input of inputs) {
+ for (const suffix of suffixes) {
+ expect(versionLikeSubstring(`${input}${suffix}`)).toEqual(input);
+ }
+ }
});
- expect(versionLikeSubstring('')).toBeNull();
- expect(versionLikeSubstring(undefined)).toBeNull();
- expect(versionLikeSubstring(null)).toBeNull();
- expect(versionLikeSubstring('foobar')).toBeNull();
- expect(versionLikeSubstring('latest')).toBeNull();
- });
- it('isDependencyString', () => {
- expect(isDependencyString('foo:bar:1.2.3')).toBeTrue();
- expect(isDependencyString('foo.foo:bar.bar:1.2.3')).toBeTrue();
- expect(isDependencyString('foo:bar:baz:qux')).toBeFalse();
- expect(isDependencyString('foo.bar:baz:1.2.3')).toBeTrue();
- expect(isDependencyString('foo.bar:baz:1.2.3:linux-cpu-x86_64')).toBeTrue();
- expect(isDependencyString('foo.bar:baz:1.2.+')).toBeTrue();
- expect(isDependencyString('foo:bar:baz:qux:quux')).toBeFalse();
- expect(isDependencyString("foo:bar:1.2.3'")).toBeFalse();
- expect(isDependencyString('foo:bar:1.2.3"')).toBeFalse();
- expect(isDependencyString('-Xep:ParameterName:OFF')).toBeFalse();
- expect(isDependencyString('foo$bar:baz:1.2.+')).toBeFalse();
- expect(isDependencyString('scm:git:https://some.git')).toBeFalse();
+ it('returns null for invalid inputs', () => {
+ const inputs = ['', undefined, null, 'foobar', 'latest'];
+ for (const input of inputs) {
+ expect(versionLikeSubstring(input)).toBeNull();
+ }
+ });
});
- it('parseDependencyString', () => {
- expect(parseDependencyString('foo:bar:1.2.3')).toMatchObject({
- depName: 'foo:bar',
- currentValue: '1.2.3',
+ describe('isDependencyString', () => {
+ it.each`
+ input | output
+ ${'foo:bar:1.2.3'} | ${true}
+ ${'foo.foo:bar.bar:1.2.3'} | ${true}
+ ${'foo.bar:baz:1.2.3'} | ${true}
+ ${'foo.bar:baz:1.2.3:linux-cpu-x86_64'} | ${true}
+ ${'foo:bar:1.2.3@zip'} | ${true}
+ ${'foo:bar:x86@x86'} | ${true}
+ ${'foo.bar:baz:1.2.+'} | ${true}
+ ${'foo:bar:baz:qux'} | ${false}
+ ${'foo:bar:baz:qux:quux'} | ${false}
+ ${"foo:bar:1.2.3'"} | ${false}
+ ${'foo:bar:1.2.3"'} | ${false}
+ ${'-Xep:ParameterName:OFF'} | ${false}
+ ${'foo$bar:baz:1.2.+'} | ${false}
+ ${'scm:git:https://some.git'} | ${false}
+ ${'foo.bar:baz:1.2.3:linux-cpu$-x86_64'} | ${false}
+ ${'foo:bar:1.2.3@zip@foo'} | ${false}
+ `('$input', ({ input, output }) => {
+ expect(isDependencyString(input)).toBe(output);
});
- expect(parseDependencyString('foo.foo:bar.bar:1.2.3')).toMatchObject({
- depName: 'foo.foo:bar.bar',
- currentValue: '1.2.3',
- });
- expect(parseDependencyString('foo.bar:baz:1.2.3')).toMatchObject({
- depName: 'foo.bar:baz',
- currentValue: '1.2.3',
- });
- expect(parseDependencyString('foo:bar:1.2.+')).toMatchObject({
- depName: 'foo:bar',
- currentValue: '1.2.+',
+ });
+
+ describe('parseDependencyString', () => {
+ it.each`
+ input | output
+ ${'foo:bar:1.2.3'} | ${{ depName: 'foo:bar', currentValue: '1.2.3' }}
+ ${'foo.foo:bar.bar:1.2.3'} | ${{ depName: 'foo.foo:bar.bar', currentValue: '1.2.3' }}
+ ${'foo.bar:baz:1.2.3'} | ${{ depName: 'foo.bar:baz', currentValue: '1.2.3' }}
+ ${'foo:bar:1.2.+'} | ${{ depName: 'foo:bar', currentValue: '1.2.+' }}
+ ${'foo:bar:1.2.3@zip'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', dataType: 'zip' }}
+ ${'foo:bar:baz:qux'} | ${null}
+ ${'foo:bar:baz:qux:quux'} | ${null}
+ ${"foo:bar:1.2.3'"} | ${null}
+ ${'foo:bar:1.2.3"'} | ${null}
+ ${'-Xep:ParameterName:OFF'} | ${null}
+ `('$input', ({ input, output }) => {
+ expect(parseDependencyString(input)).toEqual(output);
});
- expect(parseDependencyString('foo:bar:baz:qux')).toBeNull();
- expect(parseDependencyString('foo:bar:baz:qux:quux')).toBeNull();
- expect(parseDependencyString("foo:bar:1.2.3'")).toBeNull();
- expect(parseDependencyString('foo:bar:1.2.3"')).toBeNull();
- expect(parseDependencyString('-Xep:ParameterName:OFF')).toBeNull();
+ });
+
+ it('filetype checks', () => {
+ expect(isGradleScriptFile('/a/Somefile.gradle.kts')).toBeTrue();
+ expect(isGradleScriptFile('/a/Somefile.gradle')).toBeTrue();
+ expect(isGradleVersionsFile('/a/versions.gradle.kts')).toBeTrue();
+ expect(isGradleBuildFile('/a/build.gradle')).toBeTrue();
+ expect(isPropsFile('/a/gradle.properties')).toBeTrue();
+ expect(isKotlinSourceFile('/a/Somefile.kt')).toBeTrue();
+ expect(isTOMLFile('/a/Somefile.toml')).toBeTrue();
});
it('reorderFiles', () => {
@@ -175,20 +198,33 @@ describe('modules/manager/gradle/utils', () => {
});
});
- it('updateVars', () => {
- const registry: VariableRegistry = {
- [toAbsolutePath('/foo/bar/baz')]: {
+ describe('updateVars', () => {
+ it('empty registry', () => {
+ const registry: VariableRegistry = {};
+ const newVars: PackageVariables = {
+ qux: { key: 'qux', value: 'qux' },
+ };
+ updateVars(registry, '/foo/bar/baz', newVars);
+ expect(registry).toStrictEqual({ '/foo/bar/baz': newVars });
+ });
+
+ it('updates the registry', () => {
+ const registry: VariableRegistry = {
+ [toAbsolutePath('/foo/bar/baz')]: {
+ bar: { key: 'bar', value: 'bar' },
+ baz: { key: 'baz', value: 'baz' },
+ },
+ };
+
+ updateVars(registry, '/foo/bar/baz', {
+ qux: { key: 'qux', value: 'qux' },
+ });
+ const res = getVars(registry, '/foo/bar/baz/build.gradle');
+ expect(res).toStrictEqual({
bar: { key: 'bar', value: 'bar' },
baz: { key: 'baz', value: 'baz' },
- },
- };
-
- updateVars(registry, '/foo/bar/baz', { qux: { key: 'qux', value: 'qux' } });
- const res = getVars(registry, '/foo/bar/baz/build.gradle');
- expect(res).toStrictEqual({
- bar: { key: 'bar', value: 'bar' },
- baz: { key: 'baz', value: 'baz' },
- qux: { key: 'qux', value: 'qux' },
+ qux: { key: 'qux', value: 'qux' },
+ });
});
});
});
From 4466ccdf0d5e70710cac863a376eec8526063f23 Mon Sep 17 00:00:00 2001
From: Sergei Zharinov
Date: Sat, 11 Jan 2025 16:13:33 -0300
Subject: [PATCH 046/247] refactor: Simplify type inference for result type
helpers (#33576)
---
lib/util/result.ts | 38 +++++++++++++++++++++-----------------
1 file changed, 21 insertions(+), 17 deletions(-)
diff --git a/lib/util/result.ts b/lib/util/result.ts
index 86f48acdf2620b..a4fff1f471f29a 100644
--- a/lib/util/result.ts
+++ b/lib/util/result.ts
@@ -1,5 +1,10 @@
-import type { SafeParseReturnType, ZodType, ZodTypeDef } from 'zod';
-import { ZodError, z } from 'zod';
+import type {
+ SafeParseReturnType,
+ input as ZodInput,
+ output as ZodOutput,
+ ZodType,
+} from 'zod';
+import { NEVER, ZodError, ZodIssueCode } from 'zod';
import { logger } from '../logger';
type Val = NonNullable;
@@ -532,30 +537,26 @@ export class Result {
* Given a `schema` and `input`, returns a `Result` with `val` being the parsed value.
* Additionally, `null` and `undefined` values are converted into Zod error.
*/
- static parse<
- T,
- Schema extends ZodType,
- Input = unknown,
- >(
+ static parse>(
input: unknown,
schema: Schema,
- ): Result>, ZodError> {
+ ): Result>, ZodError>> {
const parseResult = schema
- .transform((result, ctx): NonNullable => {
+ .transform((result, ctx): NonNullable> => {
if (result === undefined) {
ctx.addIssue({
- code: z.ZodIssueCode.custom,
+ code: ZodIssueCode.custom,
message: `Result can't accept nullish values, but input was parsed by Zod schema to undefined`,
});
- return z.NEVER;
+ return NEVER;
}
if (result === null) {
ctx.addIssue({
- code: z.ZodIssueCode.custom,
+ code: ZodIssueCode.custom,
message: `Result can't accept nullish values, but input was parsed by Zod schema to null`,
});
- return z.NEVER;
+ return NEVER;
}
return result;
@@ -569,9 +570,9 @@ export class Result {
* Given a `schema`, returns a `Result` with `val` being the parsed value.
* Additionally, `null` and `undefined` values are converted into Zod error.
*/
- parse, Input = unknown>(
+ parse>(
schema: Schema,
- ): Result>, E | ZodError> {
+ ): Result>, E | ZodError>> {
if (this.res.ok) {
return Result.parse(this.res.val, schema);
}
@@ -862,9 +863,12 @@ export class AsyncResult
* Given a `schema`, returns a `Result` with `val` being the parsed value.
* Additionally, `null` and `undefined` values are converted into Zod error.
*/
- parse, Input = unknown>(
+ parse>(
schema: Schema,
- ): AsyncResult>, E | ZodError> {
+ ): AsyncResult<
+ NonNullable>,
+ E | ZodError>
+ > {
return new AsyncResult(
this.asyncResult
.then((oldResult) => oldResult.parse(schema))
From db603320bc36ffb0c7294059ac5b879384266a19 Mon Sep 17 00:00:00 2001
From: Rhys Arkins
Date: Sat, 11 Jan 2025 22:42:18 +0100
Subject: [PATCH 047/247] feat: libyear (#33521)
---
lib/modules/manager/types.ts | 2 +
.../repository/process/extract-update.ts | 2 +
.../repository/process/libyear.spec.ts | 104 ++++++++++++++++++
lib/workers/repository/process/libyear.ts | 59 ++++++++++
4 files changed, 167 insertions(+)
create mode 100644 lib/workers/repository/process/libyear.spec.ts
create mode 100644 lib/workers/repository/process/libyear.ts
diff --git a/lib/modules/manager/types.ts b/lib/modules/manager/types.ts
index 2ce51aa306a0d9..7fa394d4ebaa11 100644
--- a/lib/modules/manager/types.ts
+++ b/lib/modules/manager/types.ts
@@ -106,6 +106,7 @@ export interface LookupUpdate {
releaseTimestamp?: any;
newVersionAgeInDays?: number;
registryUrl?: string;
+ libYears?: number;
}
/**
@@ -144,6 +145,7 @@ export interface PackageDependency>
digestOneAndOnly?: boolean;
fixedVersion?: string;
currentVersion?: string;
+ currentVersionTimestamp?: string;
lockedVersion?: string;
propSource?: string;
registryUrls?: string[] | null;
diff --git a/lib/workers/repository/process/extract-update.ts b/lib/workers/repository/process/extract-update.ts
index 8cc0163d84d363..f2a42103ec8c52 100644
--- a/lib/workers/repository/process/extract-update.ts
+++ b/lib/workers/repository/process/extract-update.ts
@@ -13,6 +13,7 @@ import { extractAllDependencies } from '../extract';
import { generateFingerprintConfig } from '../extract/extract-fingerprint-config';
import { branchifyUpgrades } from '../updates/branchify';
import { fetchUpdates } from './fetch';
+import { calculateLibYears } from './libyear';
import { sortBranches } from './sort';
import { Vulnerabilities } from './vulnerabilities';
import type { WriteUpdateResult } from './write';
@@ -211,6 +212,7 @@ export async function lookup(
): Promise {
await fetchVulnerabilities(config, packageFiles);
await fetchUpdates(config, packageFiles);
+ calculateLibYears(packageFiles);
const { branches, branchList } = await branchifyUpgrades(
config,
packageFiles,
diff --git a/lib/workers/repository/process/libyear.spec.ts b/lib/workers/repository/process/libyear.spec.ts
new file mode 100644
index 00000000000000..e4a1f1fe24ff43
--- /dev/null
+++ b/lib/workers/repository/process/libyear.spec.ts
@@ -0,0 +1,104 @@
+import { logger } from '../../../../test/util';
+import type { PackageFile } from '../../../modules/manager/types';
+import { calculateLibYears } from './libyear';
+
+describe('workers/repository/process/libyear', () => {
+ describe('calculateLibYears', () => {
+ it('returns early if no packageFiles', () => {
+ calculateLibYears(undefined);
+ expect(logger.logger.debug).not.toHaveBeenCalled();
+ });
+
+ it('calculates libYears', () => {
+ const packageFiles: Record = {
+ dockerfile: [
+ {
+ packageFile: 'Dockerfile',
+ deps: [
+ {
+ depName: 'some/image',
+ currentVersion: '1.0.0',
+ updates: [{ newVersion: '2.0.0' }],
+ },
+ ],
+ },
+ ],
+ npm: [
+ {
+ packageFile: 'package.json',
+ deps: [
+ {
+ depName: 'dep1',
+ currentVersion: '0.1.0',
+ currentVersionTimestamp: '2019-07-01T00:00:00Z',
+ updates: [
+ {
+ newVersion: '1.0.0',
+ releaseTimestamp: '2020-01-01T00:00:00Z',
+ },
+ {
+ newVersion: '2.0.0',
+ releaseTimestamp: '2020-07-01T00:00:00Z',
+ },
+ {
+ newVersion: '3.0.0',
+ },
+ ],
+ },
+ ],
+ },
+ ],
+ bundler: [
+ {
+ packageFile: 'Gemfile',
+ deps: [
+ {
+ depName: 'dep2',
+ currentVersion: '1.0.0',
+ currentVersionTimestamp: '2019-07-01T00:00:00Z',
+ updates: [
+ {
+ newVersion: '2.0.0',
+ releaseTimestamp: '2020-01-01T00:00:00Z',
+ },
+ ],
+ },
+ {
+ depName: 'dep3',
+ currentVersion: '1.0.0',
+ updates: [
+ {
+ newVersion: '2.0.0',
+ releaseTimestamp: '2020-01-01T00:00:00Z',
+ },
+ ],
+ },
+ {
+ depName: 'dep4',
+ },
+ ],
+ },
+ ],
+ };
+ calculateLibYears(packageFiles);
+ expect(logger.logger.debug).toHaveBeenCalledWith(
+ 'No releaseTimestamp for some/image update to 2.0.0',
+ );
+ expect(logger.logger.debug).toHaveBeenCalledWith(
+ 'No releaseTimestamp for dep1 update to 3.0.0',
+ );
+ expect(logger.logger.debug).toHaveBeenCalledWith(
+ {
+ managerLibYears: {
+ bundler: 0.5027322404371585,
+ dockerfile: 0,
+ npm: 1,
+ },
+ // eslint-disable-next-line no-loss-of-precision
+ totalLibYears: 1.5027322404371585,
+ },
+ 'Repository libYears',
+ );
+ });
+ });
+});
diff --git a/lib/workers/repository/process/libyear.ts b/lib/workers/repository/process/libyear.ts
new file mode 100644
index 00000000000000..f2bf607b2aa1e9
--- /dev/null
+++ b/lib/workers/repository/process/libyear.ts
@@ -0,0 +1,59 @@
+import { DateTime } from 'luxon';
+import { logger } from '../../../logger';
+import type { PackageFile } from '../../../modules/manager/types';
+
+export function calculateLibYears(
+ packageFiles?: Record,
+): void {
+ if (!packageFiles) {
+ return;
+ }
+ const managerLibYears: Record = {};
+ for (const [manager, files] of Object.entries(packageFiles)) {
+ for (const file of files) {
+ let fileLibYears = 0;
+ for (const dep of file.deps) {
+ if (dep.updates?.length) {
+ for (const update of dep.updates) {
+ if (!update.releaseTimestamp) {
+ logger.debug(
+ `No releaseTimestamp for ${dep.depName} update to ${update.newVersion}`,
+ );
+ continue;
+ }
+ if (!dep.currentVersionTimestamp) {
+ logger.debug(`No currentVersionTimestamp for ${dep.depName}`);
+ continue;
+ }
+ // timestamps are in ISO format
+ const currentVersionDate = DateTime.fromISO(
+ dep.currentVersionTimestamp,
+ );
+ const releaseDate = DateTime.fromISO(update.releaseTimestamp);
+ const libYears = releaseDate.diff(
+ currentVersionDate,
+ 'years',
+ ).years;
+ if (libYears >= 0) {
+ update.libYears = libYears;
+ }
+ }
+ // Set the highest libYears for the dep
+ const depLibYears = Math.max(
+ ...dep.updates.map((update) => update.libYears ?? 0),
+ 0,
+ );
+ fileLibYears += depLibYears;
+ }
+ }
+ managerLibYears[manager] ??= 0;
+ managerLibYears[manager] += fileLibYears;
+ }
+ }
+ // Sum up the libYears for the repo
+ let totalLibYears = 0;
+ for (const libYears of Object.values(managerLibYears)) {
+ totalLibYears += libYears;
+ }
+ logger.debug({ managerLibYears, totalLibYears }, 'Repository libYears');
+}
From 96912f22b681279909ccc12f6ca390e8ad149285 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 23:04:51 +0100
Subject: [PATCH 048/247] build(deps): update dependency node-html-parser to v7
(#33560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
pnpm-lock.yaml | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package.json b/package.json
index 05a9ef14463049..09d5e193340d1e 100644
--- a/package.json
+++ b/package.json
@@ -223,7 +223,7 @@
"ms": "2.1.3",
"nanoid": "3.3.8",
"neotraverse": "0.6.18",
- "node-html-parser": "6.1.13",
+ "node-html-parser": "7.0.1",
"p-all": "3.0.0",
"p-map": "4.0.0",
"p-queue": "6.6.2",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 1ac6f1faa23cca..2321ecb67cf9c5 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -252,8 +252,8 @@ importers:
specifier: 0.6.18
version: 0.6.18
node-html-parser:
- specifier: 6.1.13
- version: 6.1.13
+ specifier: 7.0.1
+ version: 7.0.1
p-all:
specifier: 3.0.0
version: 3.0.0
@@ -4852,8 +4852,8 @@ packages:
engines: {node: ^16.14.0 || >=18.0.0}
hasBin: true
- node-html-parser@6.1.13:
- resolution: {integrity: sha512-qIsTMOY4C/dAa5Q5vsobRpOOvPfC4pB61UVW2uSwZNUp0QU/jCekTal1vMmbO0DgdHeLUJpv/ARmDqErVxA3Sg==}
+ node-html-parser@7.0.1:
+ resolution: {integrity: sha512-KGtmPY2kS0thCWGK0VuPyOS+pBKhhe8gXztzA2ilAOhbUbxa9homF1bOyKvhGzMLXUoRds9IOmr/v5lr/lqNmA==}
node-int64@0.4.0:
resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==}
@@ -12174,7 +12174,7 @@ snapshots:
- supports-color
optional: true
- node-html-parser@6.1.13:
+ node-html-parser@7.0.1:
dependencies:
css-select: 5.1.0
he: 1.2.0
From 1ad3848721d5b761b842056c0c50c9c5a40ff9f5 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 12 Jan 2025 08:52:10 +0000
Subject: [PATCH 049/247] chore(deps): lock file maintenance (#33580)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
pnpm-lock.yaml | 224 ++++++++++++++++++++++++-------------------------
1 file changed, 112 insertions(+), 112 deletions(-)
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 2321ecb67cf9c5..5f1f5c4ebdc314 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -815,9 +815,9 @@ packages:
resolution: {integrity: sha512-70+xUrdcnencPlCdV9XkRqmgj0vLDb8vm4mcEsgabg5QQ3S80KM0GEuhBAIGMkBWwNQTzCgQy2s7xOUlJPbu+g==}
engines: {node: '>=18.0.0'}
- '@aws-sdk/util-locate-window@3.693.0':
- resolution: {integrity: sha512-ttrag6haJLWABhLqtg1Uf+4LgHWIMOVSYL+VYZmAp2v4PUGOwWmWQH0Zk8RM7YuQcLfH/EoR72/Yxz6A4FKcuw==}
- engines: {node: '>=16.0.0'}
+ '@aws-sdk/util-locate-window@3.723.0':
+ resolution: {integrity: sha512-Yf2CS10BqK688DRsrKI/EO6B8ff5J86NXe4C+VCysK7UOgN0l1zOTeTukZ3H8Q9tYYX3oaF1961o8vRkFm7Nmw==}
+ engines: {node: '>=18.0.0'}
'@aws-sdk/util-user-agent-browser@3.723.0':
resolution: {integrity: sha512-Wh9I6j2jLhNFq6fmXydIpqD1WyQLyTfSxjW9B+PXSnPyk3jtQW8AKQur7p97rO8LAUzVI0bv8kb3ZzDEVbquIg==}
@@ -839,20 +839,20 @@ packages:
resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==}
engines: {node: '>=6.9.0'}
- '@babel/compat-data@7.26.3':
- resolution: {integrity: sha512-nHIxvKPniQXpmQLb0vhY3VaFb3S0YrTAwpOWJZh1wn3oJPjJk9Asva204PsBdmAE8vpzfHudT8DB0scYvy9q0g==}
+ '@babel/compat-data@7.26.5':
+ resolution: {integrity: sha512-XvcZi1KWf88RVbF9wn8MN6tYFloU5qX8KjuF3E1PVBmJ9eypXfs4GRiJwLuTZL0iSnJUKn1BFPa5BPZZJyFzPg==}
engines: {node: '>=6.9.0'}
'@babel/core@7.26.0':
resolution: {integrity: sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==}
engines: {node: '>=6.9.0'}
- '@babel/generator@7.26.3':
- resolution: {integrity: sha512-6FF/urZvD0sTeO7k6/B15pMLC4CHUv1426lzr3N01aHJTl046uCAh9LXW/fzeXXjPNCJ6iABW5XaWOsIZB93aQ==}
+ '@babel/generator@7.26.5':
+ resolution: {integrity: sha512-2caSP6fN9I7HOe6nqhtft7V4g7/V/gfDsC3Ag4W7kEzzvRGKqiv0pu0HogPiZ3KaVSoNDhUws6IJjDjpfmYIXw==}
engines: {node: '>=6.9.0'}
- '@babel/helper-compilation-targets@7.25.9':
- resolution: {integrity: sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ==}
+ '@babel/helper-compilation-targets@7.26.5':
+ resolution: {integrity: sha512-IXuyn5EkouFJscIDuFF5EsiSolseme1s0CZB+QxVugqJLYmKdxI1VfIBOst0SUu4rnk2Z7kqTwmoO1lp3HIfnA==}
engines: {node: '>=6.9.0'}
'@babel/helper-module-imports@7.25.9':
@@ -865,8 +865,8 @@ packages:
peerDependencies:
'@babel/core': ^7.0.0
- '@babel/helper-plugin-utils@7.25.9':
- resolution: {integrity: sha512-kSMlyUVdWe25rEsRGviIgOWnoT/nfABVWlqt9N19/dIPWViAOW2s9wznP5tURbs/IDuNk4gPy3YdYRgH3uxhBw==}
+ '@babel/helper-plugin-utils@7.26.5':
+ resolution: {integrity: sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg==}
engines: {node: '>=6.9.0'}
'@babel/helper-string-parser@7.25.9':
@@ -885,8 +885,8 @@ packages:
resolution: {integrity: sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==}
engines: {node: '>=6.9.0'}
- '@babel/parser@7.26.3':
- resolution: {integrity: sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA==}
+ '@babel/parser@7.26.5':
+ resolution: {integrity: sha512-SRJ4jYmXRqV1/Xc+TIVG84WjHBXKlxO9sHQnA2Pf12QQEAp1LOh6kDzNHXcUnbH1QI0FDoPPVOt+vyUDucxpaw==}
engines: {node: '>=6.0.0'}
hasBin: true
@@ -989,12 +989,12 @@ packages:
resolution: {integrity: sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg==}
engines: {node: '>=6.9.0'}
- '@babel/traverse@7.26.4':
- resolution: {integrity: sha512-fH+b7Y4p3yqvApJALCPJcwb0/XaOSgtK4pzV6WVjPR5GLFQBRI7pfoX2V2iM48NXvX07NUxxm1Vw98YjqTcU5w==}
+ '@babel/traverse@7.26.5':
+ resolution: {integrity: sha512-rkOSPOw+AXbgtwUga3U4u8RpoK9FEFWBNAlTpcnkLFjL5CT+oyHNuUUC/xx6XefEJ16r38r8Bc/lfp6rYuHeJQ==}
engines: {node: '>=6.9.0'}
- '@babel/types@7.26.3':
- resolution: {integrity: sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==}
+ '@babel/types@7.26.5':
+ resolution: {integrity: sha512-L6mZmwFDK6Cjh1nRCLXpa6no13ZIioJDz7mdkzHv399pThrTa/k0nUlNaenOeh2kWu/iaOQYElEpKPUswUa9Vg==}
engines: {node: '>=6.9.0'}
'@bcoe/v8-coverage@0.2.3':
@@ -1278,17 +1278,17 @@ packages:
peerDependencies:
'@octokit/core': ^5
- '@octokit/plugin-retry@7.1.2':
- resolution: {integrity: sha512-XOWnPpH2kJ5VTwozsxGurw+svB2e61aWlmk5EVIYZPwFK5F9h4cyPyj9CIKRyMXMHSwpIsI3mPOdpMmrRhe7UQ==}
+ '@octokit/plugin-retry@7.1.3':
+ resolution: {integrity: sha512-8nKOXvYWnzv89gSyIvgFHmCBAxfQAOPRlkacUHL9r5oWtp5Whxl8Skb2n3ACZd+X6cYijD6uvmrQuPH/UCL5zQ==}
engines: {node: '>= 18'}
peerDependencies:
'@octokit/core': '>=6'
- '@octokit/plugin-throttling@9.3.2':
- resolution: {integrity: sha512-FqpvcTpIWFpMMwIeSoypoJXysSAQ3R+ALJhXXSG1HTP3YZOIeLmcNcimKaXxTcws+Sh6yoRl13SJ5r8sXc1Fhw==}
+ '@octokit/plugin-throttling@9.4.0':
+ resolution: {integrity: sha512-IOlXxXhZA4Z3m0EEYtrrACkuHiArHLZ3CvqWwOez/pURNqRuwfoFlTPbN5Muf28pzFuztxPyiUiNwz8KctdZaQ==}
engines: {node: '>= 18'}
peerDependencies:
- '@octokit/core': ^6.0.0
+ '@octokit/core': ^6.1.3
'@octokit/request-error@5.1.0':
resolution: {integrity: sha512-GETXfE05J0+7H2STzekpKObFe765O5dlAKUTLNGeH+x47z7JjXHfsHKo5z21D/o/IOZTUEI6nyWyR+bZVP/n5Q==}
@@ -2551,8 +2551,8 @@ packages:
resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}
engines: {node: '>=8'}
- browserslist@4.24.3:
- resolution: {integrity: sha512-1CPmv8iobE2fyRMV97dAcMVegvvWKxmq94hkLiAkUGwKVTyDLw33K+ZxiFrREKmmps4rIw6grcCFCnTMSZ/YiA==}
+ browserslist@4.24.4:
+ resolution: {integrity: sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==}
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
@@ -2634,8 +2634,8 @@ packages:
resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==}
engines: {node: '>=10'}
- caniuse-lite@1.0.30001690:
- resolution: {integrity: sha512-5ExiE3qQN6oF8Clf8ifIDcMRCRE/dMGcETG/XGMD8/XiXm6HXQgQTh1yZYLXXpSOsEUlJm1Xr7kGULZTuGtP/w==}
+ caniuse-lite@1.0.30001692:
+ resolution: {integrity: sha512-A95VKan0kdtrsnMubMKxEKUKImOPSuCpYgxSQBo036P5YYgVIcOYJEgt/txJWqObiRQeISNCfef9nvlQ0vbV7A==}
chalk@2.4.2:
resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==}
@@ -2827,8 +2827,8 @@ packages:
convert-source-map@2.0.0:
resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
- core-js-pure@3.39.0:
- resolution: {integrity: sha512-7fEcWwKI4rJinnK+wLTezeg2smbFFdSBP6E2kQZNbnzM2s1rpKQ6aaRteZSSg7FLU3P0HGGVo/gbpfanU36urg==}
+ core-js-pure@3.40.0:
+ resolution: {integrity: sha512-AtDzVIgRrmRKQai62yuSIN5vNiQjcJakJb4fbhVw3ehxx7Lohphvw9SGNWKhLFqSxC4ilD0g/L1huAYFQU3Q6A==}
core-util-is@1.0.3:
resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==}
@@ -3022,8 +3022,8 @@ packages:
resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==}
engines: {node: '>= 4'}
- domutils@3.2.1:
- resolution: {integrity: sha512-xWXmuRnN9OMP6ptPd2+H0cCbcYBULa5YDTbMm/2lvkWvNA3O4wcW+GvzooqBuNM8yy6pl3VIAeJTUUWUbfI5Fw==}
+ domutils@3.2.2:
+ resolution: {integrity: sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==}
dot-prop@5.3.0:
resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==}
@@ -3056,8 +3056,8 @@ packages:
engines: {node: '>=0.10.0'}
hasBin: true
- electron-to-chromium@1.5.76:
- resolution: {integrity: sha512-CjVQyG7n7Sr+eBXE86HIulnL5N8xZY1sgmOPGuq/F0Rr0FJq63lg0kEtOIDfZBk44FnDLf6FUJ+dsJcuiUDdDQ==}
+ electron-to-chromium@1.5.80:
+ resolution: {integrity: sha512-LTrKpW0AqIuHwmlVNV+cjFYTnXtM9K37OGhpe0ZI10ScPSxqVSryZHIY3WnCS5NSYbBODRTZyhRMS2h5FAEqAw==}
email-addresses@5.0.0:
resolution: {integrity: sha512-4OIPYlA6JXqtVn8zpHpGiI7vE6EQOAg16aGnDMIAlZVinnoZ8208tW1hAbjWydgN/4PLTT9q+O1K6AH/vALJGw==}
@@ -4448,8 +4448,8 @@ packages:
lodash@4.17.21:
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
- long@5.2.3:
- resolution: {integrity: sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==}
+ long@5.2.4:
+ resolution: {integrity: sha512-qtzLbJE8hq7VabR3mISmVGtoXP8KGc2Z/AT8OuqlYD7JTR3oqrgwdjnk07wpj1twXxYmgDXgoKVWUG/fReSzHg==}
longest-streak@2.0.4:
resolution: {integrity: sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==}
@@ -6200,8 +6200,8 @@ packages:
resolution: {integrity: sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==}
engines: {node: '>=4'}
- update-browserslist-db@1.1.1:
- resolution: {integrity: sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==}
+ update-browserslist-db@1.1.2:
+ resolution: {integrity: sha512-PPypAm5qvlD7XMZC3BujecnaOxwhrtoFR+Dqkk5Aa/6DssiH0ibKoketaj9w8LP7Bont1rYeoV5plxD7RTEPRg==}
hasBin: true
peerDependencies:
browserslist: '>= 4.21.0'
@@ -6441,7 +6441,7 @@ snapshots:
'@aws-crypto/supports-web-crypto': 5.2.0
'@aws-crypto/util': 5.2.0
'@aws-sdk/types': 3.723.0
- '@aws-sdk/util-locate-window': 3.693.0
+ '@aws-sdk/util-locate-window': 3.723.0
'@smithy/util-utf8': 2.3.0
tslib: 2.8.1
@@ -6451,7 +6451,7 @@ snapshots:
'@aws-crypto/supports-web-crypto': 5.2.0
'@aws-crypto/util': 5.2.0
'@aws-sdk/types': 3.723.0
- '@aws-sdk/util-locate-window': 3.693.0
+ '@aws-sdk/util-locate-window': 3.723.0
'@smithy/util-utf8': 2.3.0
tslib: 2.8.1
@@ -7207,7 +7207,7 @@ snapshots:
'@smithy/types': 4.1.0
tslib: 2.8.1
- '@aws-sdk/util-locate-window@3.693.0':
+ '@aws-sdk/util-locate-window@3.723.0':
dependencies:
tslib: 2.8.1
@@ -7237,20 +7237,20 @@ snapshots:
js-tokens: 4.0.0
picocolors: 1.1.1
- '@babel/compat-data@7.26.3': {}
+ '@babel/compat-data@7.26.5': {}
'@babel/core@7.26.0':
dependencies:
'@ampproject/remapping': 2.3.0
'@babel/code-frame': 7.26.2
- '@babel/generator': 7.26.3
- '@babel/helper-compilation-targets': 7.25.9
+ '@babel/generator': 7.26.5
+ '@babel/helper-compilation-targets': 7.26.5
'@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0)
'@babel/helpers': 7.26.0
- '@babel/parser': 7.26.3
+ '@babel/parser': 7.26.5
'@babel/template': 7.25.9
- '@babel/traverse': 7.26.4
- '@babel/types': 7.26.3
+ '@babel/traverse': 7.26.5
+ '@babel/types': 7.26.5
convert-source-map: 2.0.0
debug: 4.4.0
gensync: 1.0.0-beta.2
@@ -7259,26 +7259,26 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@babel/generator@7.26.3':
+ '@babel/generator@7.26.5':
dependencies:
- '@babel/parser': 7.26.3
- '@babel/types': 7.26.3
+ '@babel/parser': 7.26.5
+ '@babel/types': 7.26.5
'@jridgewell/gen-mapping': 0.3.8
'@jridgewell/trace-mapping': 0.3.25
jsesc: 3.1.0
- '@babel/helper-compilation-targets@7.25.9':
+ '@babel/helper-compilation-targets@7.26.5':
dependencies:
- '@babel/compat-data': 7.26.3
+ '@babel/compat-data': 7.26.5
'@babel/helper-validator-option': 7.25.9
- browserslist: 4.24.3
+ browserslist: 4.24.4
lru-cache: 5.1.1
semver: 6.3.1
'@babel/helper-module-imports@7.25.9':
dependencies:
- '@babel/traverse': 7.26.4
- '@babel/types': 7.26.3
+ '@babel/traverse': 7.26.5
+ '@babel/types': 7.26.5
transitivePeerDependencies:
- supports-color
@@ -7287,11 +7287,11 @@ snapshots:
'@babel/core': 7.26.0
'@babel/helper-module-imports': 7.25.9
'@babel/helper-validator-identifier': 7.25.9
- '@babel/traverse': 7.26.4
+ '@babel/traverse': 7.26.5
transitivePeerDependencies:
- supports-color
- '@babel/helper-plugin-utils@7.25.9': {}
+ '@babel/helper-plugin-utils@7.26.5': {}
'@babel/helper-string-parser@7.25.9': {}
@@ -7302,121 +7302,121 @@ snapshots:
'@babel/helpers@7.26.0':
dependencies:
'@babel/template': 7.25.9
- '@babel/types': 7.26.3
+ '@babel/types': 7.26.5
- '@babel/parser@7.26.3':
+ '@babel/parser@7.26.5':
dependencies:
- '@babel/types': 7.26.3
+ '@babel/types': 7.26.5
'@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/plugin-syntax-import-attributes@7.26.0(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/plugin-syntax-jsx@7.25.9(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/plugin-syntax-typescript@7.25.9(@babel/core@7.26.0)':
dependencies:
'@babel/core': 7.26.0
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@babel/runtime-corejs3@7.26.0':
dependencies:
- core-js-pure: 3.39.0
+ core-js-pure: 3.40.0
regenerator-runtime: 0.14.1
'@babel/template@7.25.9':
dependencies:
'@babel/code-frame': 7.26.2
- '@babel/parser': 7.26.3
- '@babel/types': 7.26.3
+ '@babel/parser': 7.26.5
+ '@babel/types': 7.26.5
- '@babel/traverse@7.26.4':
+ '@babel/traverse@7.26.5':
dependencies:
'@babel/code-frame': 7.26.2
- '@babel/generator': 7.26.3
- '@babel/parser': 7.26.3
+ '@babel/generator': 7.26.5
+ '@babel/parser': 7.26.5
'@babel/template': 7.25.9
- '@babel/types': 7.26.3
+ '@babel/types': 7.26.5
debug: 4.4.0
globals: 11.12.0
transitivePeerDependencies:
- supports-color
- '@babel/types@7.26.3':
+ '@babel/types@7.26.5':
dependencies:
'@babel/helper-string-parser': 7.25.9
'@babel/helper-validator-identifier': 7.25.9
@@ -7813,14 +7813,14 @@ snapshots:
'@octokit/core': 5.2.0
'@octokit/types': 13.7.0
- '@octokit/plugin-retry@7.1.2(@octokit/core@6.1.3)':
+ '@octokit/plugin-retry@7.1.3(@octokit/core@6.1.3)':
dependencies:
'@octokit/core': 6.1.3
'@octokit/request-error': 6.1.6
'@octokit/types': 13.7.0
bottleneck: 2.19.5
- '@octokit/plugin-throttling@9.3.2(@octokit/core@6.1.3)':
+ '@octokit/plugin-throttling@9.4.0(@octokit/core@6.1.3)':
dependencies:
'@octokit/core': 6.1.3
'@octokit/types': 13.7.0
@@ -8189,8 +8189,8 @@ snapshots:
dependencies:
'@octokit/core': 6.1.3
'@octokit/plugin-paginate-rest': 11.4.0(@octokit/core@6.1.3)
- '@octokit/plugin-retry': 7.1.2(@octokit/core@6.1.3)
- '@octokit/plugin-throttling': 9.3.2(@octokit/core@6.1.3)
+ '@octokit/plugin-retry': 7.1.3(@octokit/core@6.1.3)
+ '@octokit/plugin-throttling': 9.4.0(@octokit/core@6.1.3)
'@semantic-release/error': 4.0.0
aggregate-error: 5.0.0
debug: 4.4.0
@@ -8712,24 +8712,24 @@ snapshots:
'@types/babel__core@7.20.5':
dependencies:
- '@babel/parser': 7.26.3
- '@babel/types': 7.26.3
+ '@babel/parser': 7.26.5
+ '@babel/types': 7.26.5
'@types/babel__generator': 7.6.8
'@types/babel__template': 7.4.4
'@types/babel__traverse': 7.20.6
'@types/babel__generator@7.6.8':
dependencies:
- '@babel/types': 7.26.3
+ '@babel/types': 7.26.5
'@types/babel__template@7.4.4':
dependencies:
- '@babel/parser': 7.26.3
- '@babel/types': 7.26.3
+ '@babel/parser': 7.26.5
+ '@babel/types': 7.26.5
'@types/babel__traverse@7.20.6':
dependencies:
- '@babel/types': 7.26.3
+ '@babel/types': 7.26.5
'@types/better-sqlite3@7.6.12':
dependencies:
@@ -9292,7 +9292,7 @@ snapshots:
babel-plugin-istanbul@6.1.1:
dependencies:
- '@babel/helper-plugin-utils': 7.25.9
+ '@babel/helper-plugin-utils': 7.26.5
'@istanbuljs/load-nyc-config': 1.1.0
'@istanbuljs/schema': 0.1.3
istanbul-lib-instrument: 5.2.1
@@ -9303,7 +9303,7 @@ snapshots:
babel-plugin-jest-hoist@29.6.3:
dependencies:
'@babel/template': 7.25.9
- '@babel/types': 7.26.3
+ '@babel/types': 7.26.5
'@types/babel__core': 7.20.5
'@types/babel__traverse': 7.20.6
@@ -9387,12 +9387,12 @@ snapshots:
dependencies:
fill-range: 7.1.1
- browserslist@4.24.3:
+ browserslist@4.24.4:
dependencies:
- caniuse-lite: 1.0.30001690
- electron-to-chromium: 1.5.76
+ caniuse-lite: 1.0.30001692
+ electron-to-chromium: 1.5.80
node-releases: 2.0.19
- update-browserslist-db: 1.1.1(browserslist@4.24.3)
+ update-browserslist-db: 1.1.2(browserslist@4.24.4)
bs-logger@0.2.6:
dependencies:
@@ -9499,7 +9499,7 @@ snapshots:
camelcase@6.3.0: {}
- caniuse-lite@1.0.30001690: {}
+ caniuse-lite@1.0.30001692: {}
chalk@2.4.2:
dependencies:
@@ -9672,7 +9672,7 @@ snapshots:
convert-source-map@2.0.0: {}
- core-js-pure@3.39.0: {}
+ core-js-pure@3.40.0: {}
core-util-is@1.0.3: {}
@@ -9721,7 +9721,7 @@ snapshots:
boolbase: 1.0.0
css-what: 6.1.0
domhandler: 5.0.3
- domutils: 3.2.1
+ domutils: 3.2.2
nth-check: 2.1.1
css-what@6.1.0: {}
@@ -9849,7 +9849,7 @@ snapshots:
dependencies:
domelementtype: 2.3.0
- domutils@3.2.1:
+ domutils@3.2.2:
dependencies:
dom-serializer: 2.0.0
domelementtype: 2.3.0
@@ -9888,7 +9888,7 @@ snapshots:
dependencies:
jake: 10.9.2
- electron-to-chromium@1.5.76: {}
+ electron-to-chromium@1.5.80: {}
email-addresses@5.0.0: {}
@@ -11068,7 +11068,7 @@ snapshots:
istanbul-lib-instrument@5.2.1:
dependencies:
'@babel/core': 7.26.0
- '@babel/parser': 7.26.3
+ '@babel/parser': 7.26.5
'@istanbuljs/schema': 0.1.3
istanbul-lib-coverage: 3.2.2
semver: 6.3.1
@@ -11078,7 +11078,7 @@ snapshots:
istanbul-lib-instrument@6.0.3:
dependencies:
'@babel/core': 7.26.0
- '@babel/parser': 7.26.3
+ '@babel/parser': 7.26.5
'@istanbuljs/schema': 0.1.3
istanbul-lib-coverage: 3.2.2
semver: 7.6.3
@@ -11391,10 +11391,10 @@ snapshots:
jest-snapshot@29.7.0:
dependencies:
'@babel/core': 7.26.0
- '@babel/generator': 7.26.3
+ '@babel/generator': 7.26.5
'@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.26.0)
'@babel/plugin-syntax-typescript': 7.25.9(@babel/core@7.26.0)
- '@babel/types': 7.26.3
+ '@babel/types': 7.26.5
'@jest/expect-utils': 29.7.0
'@jest/transform': 29.7.0
'@jest/types': 29.6.3
@@ -11619,7 +11619,7 @@ snapshots:
lodash@4.17.21: {}
- long@5.2.3: {}
+ long@5.2.4: {}
longest-streak@2.0.4: {}
@@ -12618,7 +12618,7 @@ snapshots:
'@protobufjs/pool': 1.1.0
'@protobufjs/utf8': 1.1.0
'@types/node': 22.10.5
- long: 5.2.3
+ long: 5.2.4
protocols@2.0.1: {}
@@ -13601,9 +13601,9 @@ snapshots:
upath@2.0.1: {}
- update-browserslist-db@1.1.1(browserslist@4.24.3):
+ update-browserslist-db@1.1.2(browserslist@4.24.4):
dependencies:
- browserslist: 4.24.3
+ browserslist: 4.24.4
escalade: 3.2.0
picocolors: 1.1.1
From 174d6e14d8fd685834ce44696d55c951a48d6471 Mon Sep 17 00:00:00 2001
From: Sergei Zharinov
Date: Sun, 12 Jan 2025 09:40:28 -0300
Subject: [PATCH 050/247] feat(batect): Use Zod schema for extract code
(#33579)
---
lib/modules/manager/batect/extract.ts | 132 ++------------------------
lib/modules/manager/batect/schema.ts | 62 ++++++++++++
lib/modules/manager/batect/types.ts | 22 -----
3 files changed, 71 insertions(+), 145 deletions(-)
create mode 100644 lib/modules/manager/batect/schema.ts
diff --git a/lib/modules/manager/batect/extract.ts b/lib/modules/manager/batect/extract.ts
index d7ca1e4e6299f9..4644131b7e8219 100644
--- a/lib/modules/manager/batect/extract.ts
+++ b/lib/modules/manager/batect/extract.ts
@@ -1,121 +1,9 @@
-import is from '@sindresorhus/is';
import upath from 'upath';
import { logger } from '../../../logger';
import { readLocalFile } from '../../../util/fs';
-import { parseSingleYaml } from '../../../util/yaml';
-import { GitTagsDatasource } from '../../datasource/git-tags';
-import { id as dockerVersioning } from '../../versioning/docker';
-import { id as semverVersioning } from '../../versioning/semver';
-import { getDep } from '../dockerfile/extract';
-import type { ExtractConfig, PackageDependency, PackageFile } from '../types';
-import type {
- BatectConfig,
- BatectFileInclude,
- BatectGitInclude,
- BatectInclude,
- ExtractionResult,
-} from './types';
-
-function loadConfig(content: string): BatectConfig {
- const config = parseSingleYaml(content);
-
- if (typeof config !== 'object') {
- throw new Error(
- `Configuration file does not contain a YAML object (it is ${typeof config}).`,
- );
- }
-
- return config as BatectConfig;
-}
-
-function extractImages(config: BatectConfig): string[] {
- if (config.containers === undefined) {
- return [];
- }
-
- return Object.values(config.containers)
- .map((container) => container.image)
- .filter(is.string);
-}
-
-function createImageDependency(tag: string): PackageDependency {
- return {
- ...getDep(tag),
- versioning: dockerVersioning,
- };
-}
-
-function extractImageDependencies(config: BatectConfig): PackageDependency[] {
- const images = extractImages(config);
- const deps = images.map((image) => createImageDependency(image));
-
- logger.trace({ deps }, 'Loaded images from Batect configuration file');
-
- return deps;
-}
-
-function includeIsGitInclude(
- include: BatectInclude,
-): include is BatectGitInclude {
- return typeof include === 'object' && include.type === 'git';
-}
-
-function extractGitBundles(config: BatectConfig): BatectGitInclude[] {
- if (config.include === undefined) {
- return [];
- }
-
- return config.include.filter(includeIsGitInclude);
-}
-
-function createBundleDependency(bundle: BatectGitInclude): PackageDependency {
- return {
- depName: bundle.repo,
- currentValue: bundle.ref,
- versioning: semverVersioning,
- datasource: GitTagsDatasource.id,
- commitMessageTopic: 'bundle {{depName}}',
- };
-}
-
-function extractBundleDependencies(config: BatectConfig): PackageDependency[] {
- const bundles = extractGitBundles(config);
- const deps = bundles.map((bundle) => createBundleDependency(bundle));
-
- logger.trace({ deps }, 'Loaded bundles from Batect configuration file');
-
- return deps;
-}
-
-function includeIsStringFileInclude(include: BatectInclude): include is string {
- return typeof include === 'string';
-}
-
-function includeIsObjectFileInclude(
- include: BatectInclude,
-): include is BatectFileInclude {
- return typeof include === 'object' && include.type === 'file';
-}
-
-function extractReferencedConfigFiles(
- config: BatectConfig,
- fileName: string,
-): string[] {
- if (config.include === undefined) {
- return [];
- }
-
- const dirName = upath.dirname(fileName);
-
- const paths = [
- ...config.include.filter(includeIsStringFileInclude),
- ...config.include
- .filter(includeIsObjectFileInclude)
- .map((include) => include.path),
- ].filter((p) => p !== undefined && p !== null);
-
- return paths.map((p) => upath.join(dirName, p));
-}
+import type { ExtractConfig, PackageFile } from '../types';
+import { BatectConfigSchema } from './schema';
+import type { ExtractionResult } from './types';
export function extractPackageFile(
content: string,
@@ -124,15 +12,13 @@ export function extractPackageFile(
logger.trace(`batect.extractPackageFile(${packageFile})`);
try {
- const config = loadConfig(content);
- const deps = [
- ...extractImageDependencies(config),
- ...extractBundleDependencies(config),
- ];
+ const { imageDependencies, bundleDependencies, fileIncludes } =
+ BatectConfigSchema.parse(content);
+ const deps = [...imageDependencies, ...bundleDependencies];
- const referencedConfigFiles = extractReferencedConfigFiles(
- config,
- packageFile,
+ const dirName = upath.dirname(packageFile);
+ const referencedConfigFiles = fileIncludes.map((file) =>
+ upath.join(dirName, file),
);
return { deps, referencedConfigFiles };
diff --git a/lib/modules/manager/batect/schema.ts b/lib/modules/manager/batect/schema.ts
new file mode 100644
index 00000000000000..a463b51a7cb64e
--- /dev/null
+++ b/lib/modules/manager/batect/schema.ts
@@ -0,0 +1,62 @@
+import { z } from 'zod';
+import { LooseArray, LooseRecord, Yaml } from '../../../util/schema-utils';
+import { GitTagsDatasource } from '../../datasource/git-tags';
+import { id as dockerVersioning } from '../../versioning/docker';
+import { id as semverVersioning } from '../../versioning/semver';
+import { getDep } from '../dockerfile/extract';
+import type { PackageDependency } from '../types';
+
+export const BatectConfigSchema = Yaml.pipe(
+ z.object({
+ containers: LooseRecord(
+ z.string(),
+ z.object({ image: z.string() }).transform(({ image }) => image),
+ )
+ .transform((x) => Object.values(x))
+ .catch([]),
+ include: LooseArray(
+ z.union([
+ z.object({
+ type: z.literal('git'),
+ repo: z.string(),
+ ref: z.string(),
+ }),
+ z.object({
+ type: z.literal('file'),
+ path: z.string(),
+ }),
+ z.string().transform((path) => ({ type: 'file' as const, path })),
+ ]),
+ ).catch([]),
+ }),
+).transform(({ containers, include }) => {
+ const imageDependencies = containers.map((image) => ({
+ ...getDep(image),
+ versioning: dockerVersioning,
+ }));
+
+ const bundleDependencies: PackageDependency[] = [];
+ const fileIncludes: string[] = [];
+
+ for (const item of include) {
+ if (item.type === 'git') {
+ bundleDependencies.push({
+ depName: item.repo,
+ currentValue: item.ref,
+ versioning: semverVersioning,
+ datasource: GitTagsDatasource.id,
+ commitMessageTopic: 'bundle {{depName}}',
+ });
+ } else {
+ fileIncludes.push(item.path);
+ }
+ }
+
+ return {
+ imageDependencies,
+ bundleDependencies,
+ fileIncludes,
+ };
+});
+
+export type BatectConfig = z.infer;
diff --git a/lib/modules/manager/batect/types.ts b/lib/modules/manager/batect/types.ts
index c5a1765e7060cd..ff439c63266c68 100644
--- a/lib/modules/manager/batect/types.ts
+++ b/lib/modules/manager/batect/types.ts
@@ -1,27 +1,5 @@
import type { PackageDependency } from '../types';
-export interface BatectConfig {
- containers?: Record;
- include?: BatectInclude[];
-}
-
-export interface BatectContainer {
- image?: string;
-}
-
-export type BatectInclude = string | BatectFileInclude | BatectGitInclude;
-
-export interface BatectFileInclude {
- type: 'file';
- path: string;
-}
-
-export interface BatectGitInclude {
- type: 'git';
- repo: string;
- ref: string;
-}
-
export interface ExtractionResult {
deps: PackageDependency[];
referencedConfigFiles: string[];
From c450f84663ba427141d0d3ffe54a99114f1cf969 Mon Sep 17 00:00:00 2001
From: Sergei Zharinov
Date: Sun, 12 Jan 2025 14:46:15 -0300
Subject: [PATCH 051/247] refactor: Typed timestamp utility (#33512)
---
lib/modules/datasource/metadata.ts | 3 +
lib/util/timestamp.spec.ts | 39 +++++++++++++
lib/util/timestamp.ts | 92 ++++++++++++++++++++++++++++++
3 files changed, 134 insertions(+)
create mode 100644 lib/util/timestamp.spec.ts
create mode 100644 lib/util/timestamp.ts
diff --git a/lib/modules/datasource/metadata.ts b/lib/modules/datasource/metadata.ts
index 8f6fd5fc56f5cf..bdfbe258b02645 100644
--- a/lib/modules/datasource/metadata.ts
+++ b/lib/modules/datasource/metadata.ts
@@ -64,6 +64,9 @@ function massageGitAtUrl(url: string): string {
return massagedUrl;
}
+/**
+ * @deprecated Use `asTimestamp` instead
+ */
export function normalizeDate(input: any): string | null {
if (
typeof input === 'number' &&
diff --git a/lib/util/timestamp.spec.ts b/lib/util/timestamp.spec.ts
new file mode 100644
index 00000000000000..c084c062f3025e
--- /dev/null
+++ b/lib/util/timestamp.spec.ts
@@ -0,0 +1,39 @@
+import { TimestampSchema, asTimestamp } from './timestamp';
+
+describe('util/timestamp', () => {
+ describe('asTimestamp', () => {
+ test.each`
+ input | expected
+ ${new Date('2021-01-01T00:00:00.000Z')} | ${'2021-01-01T00:00:00.000Z'}
+ ${new Date('2021-01-01T00:00:00.000-03:00')} | ${'2021-01-01T03:00:00.000Z'}
+ ${new Date('1999-01-01T00:00:00.000Z')} | ${null}
+ ${1609459200000} | ${'2021-01-01T00:00:00.000Z'}
+ ${1609459200} | ${'2021-01-01T00:00:00.000Z'}
+ ${-1} | ${null}
+ ${0} | ${null}
+ ${123} | ${null}
+ ${NaN} | ${null}
+ ${'2021-01-01T00:00:00.000Z'} | ${'2021-01-01T00:00:00.000Z'}
+ ${'2021-01-01'} | ${'2021-01-01T00:00:00.000Z'}
+ ${'20210101000000'} | ${'2021-01-01T00:00:00.000Z'}
+ ${'20211231235959'} | ${'2021-12-31T23:59:59.000Z'}
+ ${'Jan 1, 2021'} | ${'2021-01-01T00:00:00.000Z'}
+ ${'2021/01/01'} | ${'2021-01-01T00:00:00.000Z'}
+ ${'2021-01-02T00:00:00+05:30'} | ${'2021-01-01T18:30:00.000Z'}
+ ${'2010-05-20T22:43:19-07:00'} | ${'2010-05-21T05:43:19.000Z'}
+ ${'2021-10-11 07:47:24 -0700'} | ${'2021-10-11T14:47:24.000Z'}
+ ${'Wed, 21 Oct 2015 07:28:00 GMT'} | ${'2015-10-21T07:28:00.000Z'}
+ ${null} | ${null}
+ ${undefined} | ${null}
+ ${{}} | ${null}
+ ${[]} | ${null}
+ ${'invalid date'} | ${null}
+ ${'202x0101000000'} | ${null}
+ `('$input -> $expected', ({ input, expected }) => {
+ expect(asTimestamp(input)).toBe(expected);
+ expect(TimestampSchema.nullable().catch(null).parse(input)).toBe(
+ expected,
+ );
+ });
+ });
+});
diff --git a/lib/util/timestamp.ts b/lib/util/timestamp.ts
new file mode 100644
index 00000000000000..b40fd93ead2d2a
--- /dev/null
+++ b/lib/util/timestamp.ts
@@ -0,0 +1,92 @@
+import { DateTime } from 'luxon';
+import { z } from 'zod';
+
+export type Timestamp = string & { __timestamp: never };
+
+const timezoneOffset = new Date().getTimezoneOffset() * 60000;
+
+const millenium = 946684800000; // 2000-01-01T00:00:00.000Z
+const tomorrowOffset = 86400000; // 24 * 60 * 60 * 1000;
+
+function isValid(date: DateTime): boolean {
+ if (!date.isValid) {
+ return false;
+ }
+ const tomorrow = DateTime.now().toMillis() + tomorrowOffset; // 24 * 60 * 60 * 1000;
+ const ts = date.toMillis();
+ return ts > millenium && ts < tomorrow;
+}
+
+export function asTimestamp(input: unknown): Timestamp | null {
+ if (input instanceof Date) {
+ const date = DateTime.fromJSDate(input, { zone: 'UTC' });
+ if (isValid(date)) {
+ return date.toISO() as Timestamp;
+ }
+
+ return null;
+ }
+
+ if (typeof input === 'number') {
+ const millisDate = DateTime.fromMillis(input, { zone: 'UTC' });
+ if (isValid(millisDate)) {
+ return millisDate.toISO() as Timestamp;
+ }
+
+ const secondsDate = DateTime.fromSeconds(input, { zone: 'UTC' });
+ if (isValid(secondsDate)) {
+ return secondsDate.toISO() as Timestamp;
+ }
+
+ return null;
+ }
+
+ if (typeof input === 'string') {
+ const isoDate = DateTime.fromISO(input, { zone: 'UTC' });
+ if (isValid(isoDate)) {
+ return isoDate.toISO() as Timestamp;
+ }
+
+ const httpDate = DateTime.fromHTTP(input, { zone: 'UTC' });
+ if (isValid(httpDate)) {
+ return httpDate.toISO() as Timestamp;
+ }
+
+ const sqlDate = DateTime.fromSQL(input, { zone: 'UTC' });
+ if (isValid(sqlDate)) {
+ return sqlDate.toISO() as Timestamp;
+ }
+
+ const numberLikeDate = DateTime.fromFormat(input, 'yyyyMMddHHmmss', {
+ zone: 'UTC',
+ });
+ if (isValid(numberLikeDate)) {
+ return numberLikeDate.toISO() as Timestamp;
+ }
+
+ const fallbackDate = DateTime.fromMillis(
+ Date.parse(input) - timezoneOffset,
+ { zone: 'UTC' },
+ );
+ if (isValid(fallbackDate)) {
+ return fallbackDate.toISO() as Timestamp;
+ }
+
+ return null;
+ }
+
+ return null;
+}
+
+export const TimestampSchema = z.unknown().transform((input, ctx) => {
+ const timestamp = asTimestamp(input);
+ if (!timestamp) {
+ ctx.addIssue({
+ code: z.ZodIssueCode.custom,
+ message: 'Invalid timestamp',
+ });
+ return z.NEVER;
+ }
+
+ return timestamp;
+});
From 76ff1df549fc0f32730bf675e5e76f9e94e5fed9 Mon Sep 17 00:00:00 2001
From: Sergei Zharinov
Date: Mon, 13 Jan 2025 06:46:21 -0300
Subject: [PATCH 052/247] refactor(http): Add `getYaml` and `getYamlSafe`
methods (#33578)
---
lib/modules/datasource/conan/index.ts | 10 +-
lib/modules/datasource/conan/schema.ts | 9 +-
.../datasource/glasskube-packages/index.ts | 48 +++---
.../datasource/glasskube-packages/schema.ts | 10 +-
lib/util/http/index.spec.ts | 141 ++++++++++++++++++
lib/util/http/index.ts | 84 ++++++++++-
6 files changed, 257 insertions(+), 45 deletions(-)
diff --git a/lib/modules/datasource/conan/index.ts b/lib/modules/datasource/conan/index.ts
index b944a97dc633be..0319d16719bc94 100644
--- a/lib/modules/datasource/conan/index.ts
+++ b/lib/modules/datasource/conan/index.ts
@@ -53,10 +53,12 @@ export class ConanDatasource extends Datasource {
return null;
}
const url = `https://api.github.com/repos/conan-io/conan-center-index/contents/recipes/${conanName}/config.yml`;
- const res = await this.githubHttp.get(url, {
- headers: { accept: 'application/vnd.github.v3.raw' },
- });
- return ConanCenterReleases.parse(res.body);
+ const { body: result } = await this.githubHttp.getYaml(
+ url,
+ { headers: { accept: 'application/vnd.github.v3.raw' } },
+ ConanCenterReleases,
+ );
+ return result;
}
@cache({
diff --git a/lib/modules/datasource/conan/schema.ts b/lib/modules/datasource/conan/schema.ts
index 2ca42c64f9fd97..c13ec77b8c845f 100644
--- a/lib/modules/datasource/conan/schema.ts
+++ b/lib/modules/datasource/conan/schema.ts
@@ -1,13 +1,12 @@
import { z } from 'zod';
-import { LooseArray, Yaml } from '../../../util/schema-utils';
+import { LooseArray } from '../../../util/schema-utils';
import type { ReleaseResult } from '../types';
import { conanDatasourceRegex } from './common';
-export const ConanCenterReleases = Yaml.pipe(
- z.object({
+export const ConanCenterReleases = z
+ .object({
versions: z.record(z.string(), z.unknown()),
- }),
-)
+ })
.transform(
({ versions }): ReleaseResult => ({
releases: Object.keys(versions).map((version) => ({ version })),
diff --git a/lib/modules/datasource/glasskube-packages/index.ts b/lib/modules/datasource/glasskube-packages/index.ts
index a289e79682dfa5..f36daeb381bf14 100644
--- a/lib/modules/datasource/glasskube-packages/index.ts
+++ b/lib/modules/datasource/glasskube-packages/index.ts
@@ -3,11 +3,7 @@ import { joinUrlParts } from '../../../util/url';
import * as glasskubeVersioning from '../../versioning/glasskube';
import { Datasource } from '../datasource';
import type { GetReleasesConfig, ReleaseResult } from '../types';
-import type { GlasskubePackageVersions } from './schema';
-import {
- GlasskubePackageManifestYaml,
- GlasskubePackageVersionsYaml,
-} from './schema';
+import { GlasskubePackageManifest, GlasskubePackageVersions } from './schema';
export class GlasskubePackagesDatasource extends Datasource {
static readonly id = 'glasskube-packages';
@@ -33,16 +29,17 @@ export class GlasskubePackagesDatasource extends Datasource {
packageName,
registryUrl,
}: GetReleasesConfig): Promise {
- let versions: GlasskubePackageVersions;
const result: ReleaseResult = { releases: [] };
- try {
- const response = await this.http.get(
+ const { val: versions, err: versionsErr } = await this.http
+ .getYamlSafe(
joinUrlParts(registryUrl!, packageName, 'versions.yaml'),
- );
- versions = GlasskubePackageVersionsYaml.parse(response.body);
- } catch (err) {
- this.handleGenericErrors(err);
+ GlasskubePackageVersions,
+ )
+ .unwrap();
+
+ if (versionsErr) {
+ this.handleGenericErrors(versionsErr);
}
result.releases = versions.versions.map((it) => ({
@@ -50,25 +47,28 @@ export class GlasskubePackagesDatasource extends Datasource {
}));
result.tags = { latest: versions.latestVersion };
- try {
- const response = await this.http.get(
+ const { val: latestManifest, err: latestManifestErr } = await this.http
+ .getYamlSafe(
joinUrlParts(
registryUrl!,
packageName,
versions.latestVersion,
'package.yaml',
),
- );
- const latestManifest = GlasskubePackageManifestYaml.parse(response.body);
- for (const ref of latestManifest?.references ?? []) {
- if (ref.label.toLowerCase() === 'github') {
- result.sourceUrl = ref.url;
- } else if (ref.label.toLowerCase() === 'website') {
- result.homepage = ref.url;
- }
+ GlasskubePackageManifest,
+ )
+ .unwrap();
+
+ if (latestManifestErr) {
+ this.handleGenericErrors(latestManifestErr);
+ }
+
+ for (const ref of latestManifest?.references ?? []) {
+ if (ref.label.toLowerCase() === 'github') {
+ result.sourceUrl = ref.url;
+ } else if (ref.label.toLowerCase() === 'website') {
+ result.homepage = ref.url;
}
- } catch (err) {
- this.handleGenericErrors(err);
}
return result;
diff --git a/lib/modules/datasource/glasskube-packages/schema.ts b/lib/modules/datasource/glasskube-packages/schema.ts
index 5e299304b4104f..e459912c14bfb4 100644
--- a/lib/modules/datasource/glasskube-packages/schema.ts
+++ b/lib/modules/datasource/glasskube-packages/schema.ts
@@ -1,12 +1,11 @@
import { z } from 'zod';
-import { Yaml } from '../../../util/schema-utils';
-const GlasskubePackageVersions = z.object({
+export const GlasskubePackageVersions = z.object({
latestVersion: z.string(),
versions: z.array(z.object({ version: z.string() })),
});
-const GlasskubePackageManifest = z.object({
+export const GlasskubePackageManifest = z.object({
references: z.optional(
z.array(
z.object({
@@ -16,8 +15,3 @@ const GlasskubePackageManifest = z.object({
),
),
});
-
-export const GlasskubePackageVersionsYaml = Yaml.pipe(GlasskubePackageVersions);
-export const GlasskubePackageManifestYaml = Yaml.pipe(GlasskubePackageManifest);
-
-export type GlasskubePackageVersions = z.infer;
diff --git a/lib/util/http/index.spec.ts b/lib/util/http/index.spec.ts
index 3c1b37bb755f65..8eda7e35e7e140 100644
--- a/lib/util/http/index.spec.ts
+++ b/lib/util/http/index.spec.ts
@@ -342,6 +342,147 @@ describe('util/http/index', () => {
memCache.reset();
});
+ describe('getPlain', () => {
+ it('gets plain text with correct headers', async () => {
+ httpMock.scope(baseUrl).get('/').reply(200, 'plain text response', {
+ 'content-type': 'text/plain',
+ });
+
+ const res = await http.getPlain('http://renovate.com');
+ expect(res.body).toBe('plain text response');
+ expect(res.headers['content-type']).toBe('text/plain');
+ });
+
+ it('works with custom options', async () => {
+ httpMock
+ .scope(baseUrl)
+ .get('/')
+ .matchHeader('custom', 'header')
+ .reply(200, 'plain text response');
+
+ const res = await http.getPlain('http://renovate.com', {
+ headers: { custom: 'header' },
+ });
+ expect(res.body).toBe('plain text response');
+ });
+ });
+
+ describe('getYaml', () => {
+ it('parses yaml response without schema', async () => {
+ httpMock.scope(baseUrl).get('/').reply(200, 'x: 2\ny: 2');
+
+ const res = await http.getYaml('http://renovate.com');
+ expect(res.body).toEqual({ x: 2, y: 2 });
+ });
+
+ it('parses yaml with schema validation', async () => {
+ httpMock.scope(baseUrl).get('/').reply(200, 'x: 2\ny: 2');
+
+ const res = await http.getYaml('http://renovate.com', SomeSchema);
+ expect(res.body).toBe('2 + 2 = 4');
+ });
+
+ it('parses yaml with options and schema', async () => {
+ httpMock
+ .scope(baseUrl)
+ .get('/')
+ .matchHeader('custom', 'header')
+ .reply(200, 'x: 2\ny: 2');
+
+ const res = await http.getYaml(
+ 'http://renovate.com',
+ { headers: { custom: 'header' } },
+ SomeSchema,
+ );
+ expect(res.body).toBe('2 + 2 = 4');
+ });
+
+ it('throws on invalid yaml', async () => {
+ httpMock.scope(baseUrl).get('/').reply(200, '!@#$%^');
+
+ await expect(http.getYaml('http://renovate.com')).rejects.toThrow();
+ });
+
+ it('throws on schema validation failure', async () => {
+ httpMock.scope(baseUrl).get('/').reply(200, 'foo: bar');
+
+ await expect(
+ http.getYaml('http://renovate.com', SomeSchema),
+ ).rejects.toThrow(z.ZodError);
+ });
+ });
+
+ describe('getYamlSafe', () => {
+ it('returns successful result with schema validation', async () => {
+ httpMock.scope('http://example.com').get('/').reply(200, 'x: 2\ny: 2');
+
+ const { val, err } = await http
+ .getYamlSafe('http://example.com', SomeSchema)
+ .unwrap();
+
+ expect(val).toBe('2 + 2 = 4');
+ expect(err).toBeUndefined();
+ });
+
+ it('returns schema error result', async () => {
+ httpMock
+ .scope('http://example.com')
+ .get('/')
+ .reply(200, 'x: "2"\ny: "2"');
+
+ const { val, err } = await http
+ .getYamlSafe('http://example.com', SomeSchema)
+ .unwrap();
+
+ expect(val).toBeUndefined();
+ expect(err).toBeInstanceOf(ZodError);
+ });
+
+ it('returns error result for invalid yaml', async () => {
+ httpMock.scope('http://example.com').get('/').reply(200, '!@#$%^');
+
+ const { val, err } = await http
+ .getYamlSafe('http://example.com', SomeSchema)
+ .unwrap();
+
+ expect(val).toBeUndefined();
+ expect(err).toBeDefined();
+ });
+
+ it('returns error result for network errors', async () => {
+ httpMock
+ .scope('http://example.com')
+ .get('/')
+ .replyWithError('network error');
+
+ const { val, err } = await http
+ .getYamlSafe('http://example.com', SomeSchema)
+ .unwrap();
+
+ expect(val).toBeUndefined();
+ expect(err).toBeInstanceOf(HttpError);
+ });
+
+ it('works with options and schema', async () => {
+ httpMock
+ .scope('http://example.com')
+ .get('/')
+ .matchHeader('custom', 'header')
+ .reply(200, 'x: 2\ny: 2');
+
+ const { val, err } = await http
+ .getYamlSafe(
+ 'http://example.com',
+ { headers: { custom: 'header' } },
+ SomeSchema,
+ )
+ .unwrap();
+
+ expect(val).toBe('2 + 2 = 4');
+ expect(err).toBeUndefined();
+ });
+ });
+
describe('getJson', () => {
it('uses schema for response body', async () => {
httpMock
diff --git a/lib/util/http/index.ts b/lib/util/http/index.ts
index 34ce5a691ecfa4..b0968a15bb950f 100644
--- a/lib/util/http/index.ts
+++ b/lib/util/http/index.ts
@@ -15,6 +15,7 @@ import { hash } from '../hash';
import { type AsyncResult, Result } from '../result';
import { type HttpRequestStatsDataPoint, HttpStats } from '../stats';
import { resolveBaseUrl } from '../url';
+import { parseSingleYaml } from '../yaml';
import { applyAuthorization, removeAuthorization } from './auth';
import { hooks } from './hooks';
import { applyHostRule, findMatchingRule } from './host-rules';
@@ -38,7 +39,7 @@ export { RequestError as HttpError };
export class EmptyResultError extends Error {}
export type SafeJsonError = RequestError | ZodError | EmptyResultError;
-type JsonArgs<
+type HttpFnArgs<
Opts extends HttpOptions,
ResT = unknown,
Schema extends ZodType = ZodType,
@@ -272,7 +273,7 @@ export class Http {
private async requestJson(
method: InternalHttpOptions['method'],
- { url, httpOptions: requestOptions, schema }: JsonArgs,
+ { url, httpOptions: requestOptions, schema }: HttpFnArgs,
): Promise> {
const { body, ...httpOptions } = { ...requestOptions };
const opts: InternalHttpOptions = {
@@ -302,8 +303,8 @@ export class Http {
arg1: string,
arg2: Opts | ZodType | undefined,
arg3: ZodType | undefined,
- ): JsonArgs {
- const res: JsonArgs = { url: arg1 };
+ ): HttpFnArgs {
+ const res: HttpFnArgs = { url: arg1 };
if (arg2 instanceof ZodType) {
res.schema = arg2;
@@ -328,6 +329,81 @@ export class Http {
});
}
+ async getYaml(url: string, options?: Opts): Promise>;
+ async getYaml = ZodType>(
+ url: string,
+ schema: Schema,
+ ): Promise>>;
+ async getYaml = ZodType>(
+ url: string,
+ options: Opts,
+ schema: Schema,
+ ): Promise>>;
+ async getYaml = ZodType>(
+ arg1: string,
+ arg2?: Opts | Schema,
+ arg3?: Schema,
+ ): Promise> {
+ const { url, httpOptions, schema } = this.resolveArgs(
+ arg1,
+ arg2,
+ arg3,
+ );
+ const opts: InternalHttpOptions = {
+ ...httpOptions,
+ method: 'get',
+ };
+
+ const res = await this.get(url, opts);
+ if (!schema) {
+ const body = parseSingleYaml(res.body);
+ return { ...res, body };
+ }
+
+ const body = await schema.parseAsync(parseSingleYaml(res.body));
+ return { ...res, body };
+ }
+
+ getYamlSafe<
+ ResT extends NonNullable,
+ Schema extends ZodType = ZodType,
+ >(url: string, schema: Schema): AsyncResult, SafeJsonError>;
+ getYamlSafe<
+ ResT extends NonNullable,
+ Schema extends ZodType = ZodType,
+ >(
+ url: string,
+ options: Opts,
+ schema: Schema,
+ ): AsyncResult, SafeJsonError>;
+ getYamlSafe<
+ ResT extends NonNullable,
+ Schema extends ZodType = ZodType,
+ >(
+ arg1: string,
+ arg2: Opts | Schema,
+ arg3?: Schema,
+ ): AsyncResult {
+ const url = arg1;
+ let schema: Schema;
+ let httpOptions: Opts | undefined;
+ if (arg3) {
+ schema = arg3;
+ httpOptions = arg2 as Opts;
+ } else {
+ schema = arg2 as Schema;
+ }
+
+ let res: AsyncResult, SafeJsonError>;
+ if (httpOptions) {
+ res = Result.wrap(this.getYaml(url, httpOptions, schema));
+ } else {
+ res = Result.wrap(this.getYaml(url, schema));
+ }
+
+ return res.transform((response) => Result.ok(response.body));
+ }
+
getJson(url: string, options?: Opts): Promise>;
getJson = ZodType>(
url: string,
From ef48deaf92a165e8fbacd2bb504c00d079bb2e62 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 13 Jan 2025 20:28:10 +0100
Subject: [PATCH 053/247] build(deps): update dependency ignore to v7 (#33556)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
pnpm-lock.yaml | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package.json b/package.json
index 09d5e193340d1e..e849a97a597b75 100644
--- a/package.json
+++ b/package.json
@@ -207,7 +207,7 @@
"got": "11.8.6",
"graph-data-structure": "4.3.0",
"handlebars": "4.7.8",
- "ignore": "6.0.2",
+ "ignore": "7.0.0",
"ini": "5.0.0",
"json-dup-key-validator": "1.0.3",
"json-stringify-pretty-compact": "3.0.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 5f1f5c4ebdc314..42951809e0fdaa 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -204,8 +204,8 @@ importers:
specifier: 4.7.8
version: 4.7.8
ignore:
- specifier: 6.0.2
- version: 6.0.2
+ specifier: 7.0.0
+ version: 7.0.0
ini:
specifier: 5.0.0
version: 5.0.0
@@ -3797,8 +3797,8 @@ packages:
resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}
engines: {node: '>= 4'}
- ignore@6.0.2:
- resolution: {integrity: sha512-InwqeHHN2XpumIkMvpl/DCJVrAHgCsG5+cn1XlnLWGwtZBm8QJfSusItfrwx81CTp5agNZqpKU2J/ccC5nGT4A==}
+ ignore@7.0.0:
+ resolution: {integrity: sha512-lcX8PNQygAa22u/0BysEY8VhaFRzlOkvdlKczDPnJvrkJD1EuqzEky5VYYKM2iySIuaVIDv9N190DfSreSLw2A==}
engines: {node: '>= 4'}
immediate@3.0.6:
@@ -10802,7 +10802,7 @@ snapshots:
ignore@5.3.2: {}
- ignore@6.0.2: {}
+ ignore@7.0.0: {}
immediate@3.0.6: {}
From 738843a024e60c592f72d31b4c7d77c71bb54a3d Mon Sep 17 00:00:00 2001
From: Sergei Zharinov
Date: Mon, 13 Jan 2025 16:34:50 -0300
Subject: [PATCH 054/247] fix: Remove `normalizeDate` function (#33513)
---
lib/modules/datasource/maven/util.ts | 8 +-
lib/modules/datasource/metadata.spec.ts | 20 ----
lib/modules/datasource/metadata.ts | 52 +---------
.../nuget/__snapshots__/index.spec.ts.snap | 94 -------------------
4 files changed, 6 insertions(+), 168 deletions(-)
diff --git a/lib/modules/datasource/maven/util.ts b/lib/modules/datasource/maven/util.ts
index 1edc357068e5cd..dd6fd41961fd7d 100644
--- a/lib/modules/datasource/maven/util.ts
+++ b/lib/modules/datasource/maven/util.ts
@@ -12,8 +12,8 @@ import { Result } from '../../../util/result';
import type { S3UrlParts } from '../../../util/s3';
import { getS3Client, parseS3Url } from '../../../util/s3';
import { streamToString } from '../../../util/streams';
+import { asTimestamp } from '../../../util/timestamp';
import { ensureTrailingSlash, parseUrl } from '../../../util/url';
-import { normalizeDate } from '../metadata';
import { getGoogleAuthToken } from '../util';
import { MAVEN_REPO } from './common';
import type {
@@ -83,7 +83,7 @@ export async function downloadHttpProtocol(
result.isCacheable = true;
}
- const lastModified = normalizeDate(res?.headers?.['last-modified']);
+ const lastModified = asTimestamp(res?.headers?.['last-modified']);
if (lastModified) {
result.lastModified = lastModified;
}
@@ -203,7 +203,7 @@ export async function downloadS3Protocol(
const data = await streamToString(Body);
const result: MavenFetchSuccess = { data };
- const lastModified = normalizeDate(LastModified);
+ const lastModified = asTimestamp(LastModified);
if (lastModified) {
result.lastModified = lastModified;
}
@@ -276,7 +276,7 @@ async function checkHttpResource(
const res = await http.head(pkgUrl.toString());
const timestamp = res?.headers?.['last-modified'];
if (timestamp) {
- const isoTimestamp = normalizeDate(timestamp);
+ const isoTimestamp = asTimestamp(timestamp);
if (isoTimestamp) {
const releaseDate = DateTime.fromISO(isoTimestamp, {
zone: 'UTC',
diff --git a/lib/modules/datasource/metadata.spec.ts b/lib/modules/datasource/metadata.spec.ts
index 0b49c803ce8db8..645d270f98ae1b 100644
--- a/lib/modules/datasource/metadata.spec.ts
+++ b/lib/modules/datasource/metadata.spec.ts
@@ -5,7 +5,6 @@ import {
addMetaData,
massageGithubUrl,
massageUrl,
- normalizeDate,
shouldDeleteHomepage,
} from './metadata';
import { NpmDatasource } from './npm';
@@ -521,23 +520,4 @@ describe('modules/datasource/metadata', () => {
sourceUrl: 'https://github.com/flyingcircusio/pycountry',
});
});
-
- describe('normalizeDate()', () => {
- it('works for number input', () => {
- const now = Date.now();
- expect(normalizeDate(now)).toBe(new Date(now).toISOString());
- });
-
- it('works for string input', () => {
- expect(normalizeDate('2021-01-01')).toBe(
- new Date('2021-01-01').toISOString(),
- );
- });
-
- it('works for Date instance', () => {
- expect(normalizeDate(new Date('2021-01-01'))).toBe(
- new Date('2021-01-01').toISOString(),
- );
- });
- });
});
diff --git a/lib/modules/datasource/metadata.ts b/lib/modules/datasource/metadata.ts
index bdfbe258b02645..6fe5efa54a465a 100644
--- a/lib/modules/datasource/metadata.ts
+++ b/lib/modules/datasource/metadata.ts
@@ -1,10 +1,10 @@
import is from '@sindresorhus/is';
import parse from 'github-url-from-git';
-import { DateTime } from 'luxon';
import { detectPlatform } from '../../util/common';
import { parseGitUrl } from '../../util/git/url';
import * as hostRules from '../../util/host-rules';
import { regEx } from '../../util/regex';
+import { asTimestamp } from '../../util/timestamp';
import { isHttpUrl, parseUrl, trimTrailingSlash } from '../../util/url';
import { manualChangelogUrls, manualSourceUrls } from './metadata-manual';
import type { ReleaseResult } from './types';
@@ -64,59 +64,11 @@ function massageGitAtUrl(url: string): string {
return massagedUrl;
}
-/**
- * @deprecated Use `asTimestamp` instead
- */
-export function normalizeDate(input: any): string | null {
- if (
- typeof input === 'number' &&
- !Number.isNaN(input) &&
- input > 0 &&
- input <= Date.now() + 24 * 60 * 60 * 1000
- ) {
- return new Date(input).toISOString();
- }
-
- if (typeof input === 'string') {
- // `Date.parse()` is more permissive, but it assumes local time zone
- // for inputs like `2021-01-01`.
- //
- // Here we try to parse with default UTC with fallback to `Date.parse()`.
- //
- // It allows us not to care about machine timezones so much, though
- // some misinterpretation is still possible, but only if both:
- //
- // 1. Renovate machine is configured for non-UTC zone
- // 2. Format of `input` is very exotic
- // (from `DateTime.fromISO()` perspective)
- //
-
- let luxonDate = DateTime.fromISO(input, { zone: 'UTC' });
- if (luxonDate.isValid) {
- return luxonDate.toISO();
- }
- luxonDate = DateTime.fromFormat(input, 'yyyyMMddHHmmss', {
- zone: 'UTC',
- });
- if (luxonDate.isValid) {
- return luxonDate.toISO();
- }
-
- return normalizeDate(Date.parse(input));
- }
-
- if (input instanceof Date) {
- return input.toISOString();
- }
-
- return null;
-}
-
function massageTimestamps(dep: ReleaseResult): void {
for (const release of dep.releases || []) {
let { releaseTimestamp } = release;
delete release.releaseTimestamp;
- releaseTimestamp = normalizeDate(releaseTimestamp);
+ releaseTimestamp = asTimestamp(releaseTimestamp);
if (releaseTimestamp) {
release.releaseTimestamp = releaseTimestamp;
}
diff --git a/lib/modules/datasource/nuget/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/nuget/__snapshots__/index.spec.ts.snap
index e668b57267e71e..9b1702cc94ed93 100644
--- a/lib/modules/datasource/nuget/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/nuget/__snapshots__/index.spec.ts.snap
@@ -34,7 +34,6 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v2) 1`]
"version": "2.5.10.11092",
},
{
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "2.6.0.12051",
},
{
@@ -228,7 +227,6 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) fee
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "2.6.0.12051",
},
{
@@ -418,7 +416,6 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) fee
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "2.6.0.12051",
},
{
@@ -604,12 +601,10 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "2.0.1",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "2.0.1.1",
},
{
@@ -638,7 +633,6 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.0.0-rc",
},
{
@@ -651,12 +645,10 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.1.0-alpha1",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.1.0-rc1",
},
{
@@ -665,7 +657,6 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.1.1-rc1",
},
{
@@ -678,7 +669,6 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.2.0-rc1",
},
{
@@ -687,7 +677,6 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.2.1-rc1",
},
{
@@ -704,52 +693,42 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.3.0-alpha1",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.3.0-alpha2",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.3.0-alpha3",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.3.0-alpha4",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.3.0-beta1",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.3.0-beta2",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.3.0-beta3",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.3.0-rc1",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.3.0-rc2",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.3.0-rc3",
},
{
@@ -758,7 +737,6 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.3.1-rc1",
},
{
@@ -779,7 +757,6 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.3.5-alpha1",
},
{
@@ -800,7 +777,6 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.3.9-test-retry-archive",
},
{
@@ -817,112 +793,90 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-alpha1",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-alpha2",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-alpha3",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-alpha4",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-beta-14",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-beta1",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-beta10",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-beta11",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-beta12",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-beta13",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-beta2",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-beta3",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-beta4",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-beta5",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-beta6",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-beta7",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-beta8",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-beta9",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-betaV14",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-betaV15",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-rc1",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.0-rc2",
},
{
@@ -931,12 +885,10 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.1-dev-b4084",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.1-dev-b4085",
},
{
@@ -945,12 +897,10 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.2-rc1",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.2-rc2",
},
{
@@ -967,7 +917,6 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.5-beta1",
},
{
@@ -976,22 +925,18 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.6-beta1",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.6-beta2",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.6-beta3",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.4.6-rc1",
},
{
@@ -1028,97 +973,78 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-alpha01",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-alpha02",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-alpha03",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-alpha04",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-beta01",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-beta02",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-beta03",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-beta04",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-beta05",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-beta06",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-beta07",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-beta08",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-rc01",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-rc02",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-rc03",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-rc04",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-rc05",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-rc06",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.5.0-rc07",
},
{
@@ -1171,17 +1097,14 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.6.0-rc1",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.6.0-rc2",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.6.0-rc3",
},
{
@@ -1222,7 +1145,6 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "4.7.0-rc1",
},
{
@@ -1243,67 +1165,54 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) for
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "5.0.0-beta01",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "5.0.0-beta02",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "5.0.0-beta03",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "5.0.0-beta03-tryoutMutex",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "5.0.0-beta04",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "5.0.0-beta05",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "5.0.0-beta05-test",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "5.0.0-beta06",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "5.0.0-beta07",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "5.0.0-beta08",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "5.0.0-beta09",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "5.0.0-beta10",
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "5.0.0-beta11",
},
],
@@ -1329,7 +1238,6 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) nus
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "2.6.0.12051",
},
{
@@ -1519,7 +1427,6 @@ exports[`modules/datasource/nuget/index getReleases processes real data (v3) nus
},
{
"isDeprecated": true,
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "2.6.0.12051",
},
{
@@ -1868,7 +1775,6 @@ exports[`modules/datasource/nuget/index getReleases returns deduplicated results
{
"isDeprecated": true,
"registryUrl": "https://api.nuget.org/v3/index.json",
- "releaseTimestamp": "1900-01-01T00:00:00.000Z",
"version": "2.6.0.12051",
},
{
From 3c523950918af6dab71bfe11a81602d50b33d327 Mon Sep 17 00:00:00 2001
From: Janus Troelsen
Date: Mon, 13 Jan 2025 15:51:35 -0600
Subject: [PATCH 055/247] feat(manager): add Cabal/Haskell manager using
Hackage/PVP (#33142)
Co-authored-by: Sebastian Poxhofer
---
lib/constants/category.ts | 1 +
lib/modules/manager/api.ts | 2 +
.../manager/haskell-cabal/extract.spec.ts | 94 +++++++++
lib/modules/manager/haskell-cabal/extract.ts | 190 ++++++++++++++++++
.../manager/haskell-cabal/index.spec.ts | 55 +++++
lib/modules/manager/haskell-cabal/index.ts | 57 ++++++
lib/modules/manager/haskell-cabal/readme.md | 10 +
lib/modules/versioning/pvp/index.spec.ts | 10 +-
lib/modules/versioning/pvp/index.ts | 4 +-
tools/docs/manager.ts | 1 +
10 files changed, 417 insertions(+), 7 deletions(-)
create mode 100644 lib/modules/manager/haskell-cabal/extract.spec.ts
create mode 100644 lib/modules/manager/haskell-cabal/extract.ts
create mode 100644 lib/modules/manager/haskell-cabal/index.spec.ts
create mode 100644 lib/modules/manager/haskell-cabal/index.ts
create mode 100644 lib/modules/manager/haskell-cabal/readme.md
diff --git a/lib/constants/category.ts b/lib/constants/category.ts
index a92c54656eeb56..94c22015c9a5cd 100644
--- a/lib/constants/category.ts
+++ b/lib/constants/category.ts
@@ -12,6 +12,7 @@ export const Categories = [
'dotnet',
'elixir',
'golang',
+ 'haskell',
'helm',
'iac',
'java',
diff --git a/lib/modules/manager/api.ts b/lib/modules/manager/api.ts
index e8522f73326a9e..573fcf95375e93 100644
--- a/lib/modules/manager/api.ts
+++ b/lib/modules/manager/api.ts
@@ -44,6 +44,7 @@ import * as gleam from './gleam';
import * as gomod from './gomod';
import * as gradle from './gradle';
import * as gradleWrapper from './gradle-wrapper';
+import * as haskellCabal from './haskell-cabal';
import * as helmRequirements from './helm-requirements';
import * as helmValues from './helm-values';
import * as helmfile from './helmfile';
@@ -150,6 +151,7 @@ api.set('gleam', gleam);
api.set('gomod', gomod);
api.set('gradle', gradle);
api.set('gradle-wrapper', gradleWrapper);
+api.set('haskell-cabal', haskellCabal);
api.set('helm-requirements', helmRequirements);
api.set('helm-values', helmValues);
api.set('helmfile', helmfile);
diff --git a/lib/modules/manager/haskell-cabal/extract.spec.ts b/lib/modules/manager/haskell-cabal/extract.spec.ts
new file mode 100644
index 00000000000000..7625c210396a08
--- /dev/null
+++ b/lib/modules/manager/haskell-cabal/extract.spec.ts
@@ -0,0 +1,94 @@
+import {
+ countPackageNameLength,
+ countPrecedingIndentation,
+ extractNamesAndRanges,
+ findExtents,
+ splitSingleDependency,
+} from './extract';
+
+describe('modules/manager/haskell-cabal/extract', () => {
+ describe('countPackageNameLength', () => {
+ it.each`
+ input | expected
+ ${'-'} | ${null}
+ ${'-j'} | ${null}
+ ${'-H'} | ${null}
+ ${'j-'} | ${null}
+ ${'3-'} | ${null}
+ ${'-3'} | ${null}
+ ${'3'} | ${null}
+ ${'æ'} | ${null}
+ ${'æe'} | ${null}
+ ${'j'} | ${1}
+ ${'H'} | ${1}
+ ${'0ad'} | ${3}
+ ${'3d'} | ${2}
+ ${'aeson'} | ${5}
+ ${'lens'} | ${4}
+ ${'parsec'} | ${6}
+ `('matches $input', ({ input, expected }) => {
+ const maybeIndex = countPackageNameLength(input);
+ expect(maybeIndex).toStrictEqual(expected);
+ });
+ });
+
+ describe('countPrecedingIndentation()', () => {
+ it.each`
+ content | index | expected
+ ${'\tbuild-depends: base\n\tother-field: hi'} | ${1} | ${1}
+ ${' build-depends: base'} | ${1} | ${1}
+ ${'a\tb'} | ${0} | ${0}
+ ${'a\tb'} | ${2} | ${1}
+ ${'a b'} | ${2} | ${1}
+ ${' b'} | ${2} | ${2}
+ `(
+ 'countPrecedingIndentation($content, $index)',
+ ({ content, index, expected }) => {
+ expect(countPrecedingIndentation(content, index)).toBe(expected);
+ },
+ );
+ });
+
+ describe('findExtents()', () => {
+ it.each`
+ content | indent | expected
+ ${'a: b\n\tc: d'} | ${1} | ${10}
+ ${'a: b'} | ${2} | ${4}
+ ${'a: b\n\tc: d'} | ${2} | ${4}
+ ${'a: b\n '} | ${2} | ${6}
+ ${'a: b\n c: d\ne: f'} | ${1} | ${10}
+ `('findExtents($indent, $content)', ({ indent, content, expected }) => {
+ expect(findExtents(indent, content)).toBe(expected);
+ });
+ });
+
+ describe('splitSingleDependency()', () => {
+ it.each`
+ depLine | expectedName | expectedRange
+ ${'base >=2 && <3'} | ${'base'} | ${'>=2 && <3'}
+ ${'base >=2 && <3 '} | ${'base'} | ${'>=2 && <3'}
+ ${'base>=2&&<3'} | ${'base'} | ${'>=2&&<3'}
+ ${'base'} | ${'base'} | ${''}
+ `(
+ 'splitSingleDependency($depLine)',
+ ({ depLine, expectedName, expectedRange }) => {
+ const res = splitSingleDependency(depLine);
+ expect(res?.name).toEqual(expectedName);
+ expect(res?.range).toEqual(expectedRange);
+ },
+ );
+
+ // The first hyphen makes the package name invalid
+ expect(splitSingleDependency('-invalid-package-name')).toBeNull();
+ });
+
+ describe('extractNamesAndRanges()', () => {
+ it('trims replaceString', () => {
+ const res = extractNamesAndRanges(' a , b ');
+ expect(res).toEqual([
+ { currentValue: '', packageName: 'a', replaceString: 'a' },
+ { currentValue: '', packageName: 'b', replaceString: 'b' },
+ ]);
+ });
+ });
+});
diff --git a/lib/modules/manager/haskell-cabal/extract.ts b/lib/modules/manager/haskell-cabal/extract.ts
new file mode 100644
index 00000000000000..80231c3e5c7a93
--- /dev/null
+++ b/lib/modules/manager/haskell-cabal/extract.ts
@@ -0,0 +1,190 @@
+import { regEx } from '../../../util/regex';
+
+const buildDependsRegex = regEx(
+ /(?build-depends[ \t]*:)/i,
+);
+function isNonASCII(str: string): boolean {
+ for (let i = 0; i < str.length; i++) {
+ if (str.charCodeAt(i) > 127) {
+ return true;
+ }
+ }
+ return false;
+}
+
+export function countPackageNameLength(input: string): number | null {
+ if (input.length < 1 || isNonASCII(input)) {
+ return null;
+ }
+ if (!regEx(/^[A-Za-z0-9]/).test(input[0])) {
+ // Must start with letter or number
+ return null;
+ }
+ let idx = 1;
+ while (idx < input.length) {
+ if (regEx(/[A-Za-z0-9-]/).test(input[idx])) {
+ idx++;
+ } else {
+ break;
+ }
+ }
+ if (!regEx(/[A-Za-z]/).test(input.slice(0, idx))) {
+ // Must contain a letter
+ return null;
+ }
+ if (idx - 1 < input.length && input[idx - 1] === '-') {
+ // Can't end in a hyphen
+ return null;
+ }
+ return idx;
+}
+
+export interface CabalDependency {
+ packageName: string;
+ currentValue: string;
+ replaceString: string;
+}
+
+/**
+ * Find extents of field contents
+ *
+ * @param {number} indent -
+ * Indention level maintained within the block.
+ * Any indention lower than this means it's outside the field.
+ * Lines with this level or more are included in the field.
+ * @returns {number}
+ * Index just after the end of the block.
+ * Note that it may be after the end of the string.
+ */
+export function findExtents(indent: number, content: string): number {
+ let blockIdx: number = 0;
+ let mode: 'finding-newline' | 'finding-indention' = 'finding-newline';
+ for (;;) {
+ if (mode === 'finding-newline') {
+ while (content[blockIdx++] !== '\n') {
+ if (blockIdx >= content.length) {
+ break;
+ }
+ }
+ if (blockIdx >= content.length) {
+ return content.length;
+ }
+ mode = 'finding-indention';
+ } else {
+ let thisIndent = 0;
+ for (;;) {
+ if ([' ', '\t'].includes(content[blockIdx])) {
+ thisIndent += 1;
+ blockIdx++;
+ if (blockIdx >= content.length) {
+ return content.length;
+ }
+ continue;
+ }
+ mode = 'finding-newline';
+ blockIdx++;
+ break;
+ }
+ if (thisIndent < indent) {
+ // go back to before the newline
+ for (;;) {
+ if (content[blockIdx--] === '\n') {
+ break;
+ }
+ }
+ return blockIdx + 1;
+ }
+ mode = 'finding-newline';
+ }
+ }
+}
+
+/**
+ * Find indention level of build-depends
+ *
+ * @param {number} match -
+ * Search starts at this index, and proceeds backwards.
+ * @returns {number}
+ * Number of indention levels found before 'match'.
+ */
+export function countPrecedingIndentation(
+ content: string,
+ match: number,
+): number {
+ let whitespaceIdx = match - 1;
+ let indent = 0;
+ while (whitespaceIdx >= 0 && [' ', '\t'].includes(content[whitespaceIdx])) {
+ indent += 1;
+ whitespaceIdx--;
+ }
+ return indent;
+}
+
+/**
+ * Find one 'build-depends' field name usage and its field value
+ *
+ * @returns {{buildDependsContent: string, lengthProcessed: number}}
+ * buildDependsContent:
+ * the contents of the field, excluding the field name and the colon.
+ *
+ * lengthProcessed:
+ * points to after the end of the field. Note that the field does _not_
+ * necessarily start at `content.length - lengthProcessed`.
+ *
+ * Returns null if no 'build-depends' field is found.
+ */
+export function findDepends(
+ content: string,
+): { buildDependsContent: string; lengthProcessed: number } | null {
+ const matchObj = buildDependsRegex.exec(content);
+ if (!matchObj?.groups) {
+ return null;
+ }
+ const indent = countPrecedingIndentation(content, matchObj.index);
+ const ourIdx: number =
+ matchObj.index + matchObj.groups['buildDependsFieldName'].length;
+ const extent: number = findExtents(indent + 1, content.slice(ourIdx));
+ return {
+ buildDependsContent: content.slice(ourIdx, ourIdx + extent),
+ lengthProcessed: ourIdx + extent,
+ };
+}
+
+/**
+ * Split a cabal single dependency into its constituent parts.
+ * The first part is the package name, an optional second part contains
+ * the version constraint.
+ *
+ * For example 'base == 3.2' would be split into 'base' and ' == 3.2'.
+ *
+ * @returns {{name: string, range: string}}
+ * Null if the trimmed string doesn't begin with a package name.
+ */
+export function splitSingleDependency(
+ input: string,
+): { name: string; range: string } | null {
+ const match = countPackageNameLength(input);
+ if (match === null) {
+ return null;
+ }
+ const name: string = input.slice(0, match);
+ const range = input.slice(match).trim();
+ return { name, range };
+}
+
+export function extractNamesAndRanges(content: string): CabalDependency[] {
+ const list = content.split(',');
+ const deps = [];
+ for (const untrimmedReplaceString of list) {
+ const replaceString = untrimmedReplaceString.trim();
+ const maybeNameRange = splitSingleDependency(replaceString);
+ if (maybeNameRange !== null) {
+ deps.push({
+ currentValue: maybeNameRange.range,
+ packageName: maybeNameRange.name,
+ replaceString,
+ });
+ }
+ }
+ return deps;
+}
diff --git a/lib/modules/manager/haskell-cabal/index.spec.ts b/lib/modules/manager/haskell-cabal/index.spec.ts
new file mode 100644
index 00000000000000..7409938d36745b
--- /dev/null
+++ b/lib/modules/manager/haskell-cabal/index.spec.ts
@@ -0,0 +1,55 @@
+import { codeBlock } from 'common-tags';
+import { extractPackageFile, getRangeStrategy } from '.';
+
+const minimalCabalFile = codeBlock`
+cabal-version: 3.4
+name: minimal
+version: 0.1.0.0
+
+executable my-cli-entry-point
+ main-is: Main.hs
+ build-depends: base>=4.20`;
+
+describe('modules/manager/haskell-cabal/index', () => {
+ describe('extractPackageFile()', () => {
+ it.each`
+ content | expected
+ ${'build-depends: base,'} | ${['base']}
+ ${'build-depends:,other,other2'} | ${['other', 'other2']}
+ ${'build-depends : base'} | ${['base']}
+ ${'Build-Depends: base'} | ${['base']}
+ ${'build-depends: a\nbuild-depends: b'} | ${['a', 'b']}
+ ${'dependencies: base'} | ${[]}
+ `(
+ 'extractPackageFile($content).deps.map(x => x.packageName)',
+ ({ content, expected }) => {
+ expect(
+ extractPackageFile(content).deps.map((x) => x.packageName),
+ ).toStrictEqual(expected);
+ },
+ );
+
+ expect(extractPackageFile(minimalCabalFile).deps).toStrictEqual([
+ {
+ autoReplaceStringTemplate: '{{{depName}}} {{{newValue}}}',
+ currentValue: '>=4.20',
+ datasource: 'hackage',
+ depName: 'base',
+ packageName: 'base',
+ replaceString: 'base>=4.20',
+ versioning: 'pvp',
+ },
+ ]);
+ });
+
+ describe('getRangeStrategy()', () => {
+ it.each`
+ input | expected
+ ${'auto'} | ${'widen'}
+ ${'widen'} | ${'widen'}
+ ${'replace'} | ${'replace'}
+ `('getRangeStrategy({ rangeStrategy: $input })', ({ input, expected }) => {
+ expect(getRangeStrategy({ rangeStrategy: input })).toBe(expected);
+ });
+ });
+});
diff --git a/lib/modules/manager/haskell-cabal/index.ts b/lib/modules/manager/haskell-cabal/index.ts
new file mode 100644
index 00000000000000..2616dd88f17d26
--- /dev/null
+++ b/lib/modules/manager/haskell-cabal/index.ts
@@ -0,0 +1,57 @@
+import type { Category } from '../../../constants';
+import type { RangeStrategy } from '../../../types';
+import { HackageDatasource } from '../../datasource/hackage';
+import * as pvpVersioning from '../../versioning/pvp';
+import type {
+ PackageDependency,
+ PackageFileContent,
+ RangeConfig,
+} from '../types';
+import type { CabalDependency } from './extract';
+import { extractNamesAndRanges, findDepends } from './extract';
+
+export const defaultConfig = {
+ fileMatch: ['\\.cabal$'],
+ pinDigests: false,
+};
+
+export const categories: Category[] = ['haskell'];
+
+export const supportedDatasources = [HackageDatasource.id];
+
+export function extractPackageFile(content: string): PackageFileContent {
+ const deps = [];
+ let current = content;
+ for (;;) {
+ const maybeContent = findDepends(current);
+ if (maybeContent === null) {
+ break;
+ }
+ const cabalDeps: CabalDependency[] = extractNamesAndRanges(
+ maybeContent.buildDependsContent,
+ );
+ for (const cabalDep of cabalDeps) {
+ const dep: PackageDependency = {
+ depName: cabalDep.packageName,
+ currentValue: cabalDep.currentValue,
+ datasource: HackageDatasource.id,
+ packageName: cabalDep.packageName,
+ versioning: pvpVersioning.id,
+ replaceString: cabalDep.replaceString.trim(),
+ autoReplaceStringTemplate: '{{{depName}}} {{{newValue}}}',
+ };
+ deps.push(dep);
+ }
+ current = current.slice(maybeContent.lengthProcessed);
+ }
+ return { deps };
+}
+
+export function getRangeStrategy({
+ rangeStrategy,
+}: RangeConfig): RangeStrategy {
+ if (rangeStrategy === 'auto') {
+ return 'widen';
+ }
+ return rangeStrategy;
+}
diff --git a/lib/modules/manager/haskell-cabal/readme.md b/lib/modules/manager/haskell-cabal/readme.md
new file mode 100644
index 00000000000000..e2c90a6fac4fd3
--- /dev/null
+++ b/lib/modules/manager/haskell-cabal/readme.md
@@ -0,0 +1,10 @@
+Supports dependency extraction from `build-depends` fields in [Cabal package description files](https://cabal.readthedocs.io/en/3.12/cabal-package-description-file.html#pkg-field-build-depends).
+They use the extension `.cabal`, and are used with the [Haskell programming language](https://www.haskell.org/).
+
+Limitations:
+
+- The dependencies of all components are mushed together in one big list.
+- Fields like `pkgconfig-depends` and `build-tool-depends` are not handled.
+- The default PVP versioning is [subject to limitations](../../versioning/pvp/index.md).
+
+If you need to change the versioning format, read the [versioning](../../versioning/index.md) documentation to learn more.
diff --git a/lib/modules/versioning/pvp/index.spec.ts b/lib/modules/versioning/pvp/index.spec.ts
index 900baa3ae7ef8e..de36293d2df97e 100644
--- a/lib/modules/versioning/pvp/index.spec.ts
+++ b/lib/modules/versioning/pvp/index.spec.ts
@@ -141,12 +141,12 @@ describe('modules/versioning/pvp/index', () => {
describe('.getNewValue(newValueConfig)', () => {
it.each`
currentValue | newVersion | rangeStrategy | expected
- ${'>=1.0 && <1.1'} | ${'1.1'} | ${'auto'} | ${'>=1.0 && <1.2'}
- ${'>=1.2 && <1.3'} | ${'1.2.3'} | ${'auto'} | ${null}
+ ${'>=1.0 && <1.1'} | ${'1.1'} | ${'widen'} | ${'>=1.0 && <1.2'}
+ ${'>=1.2 && <1.3'} | ${'1.2.3'} | ${'widen'} | ${null}
${'>=1.0 && <1.1'} | ${'1.2.3'} | ${'update-lockfile'} | ${null}
- ${'gibberish'} | ${'1.2.3'} | ${'auto'} | ${null}
- ${'>=1.0 && <1.1'} | ${'0.9'} | ${'auto'} | ${null}
- ${'>=1.0 && <1.1'} | ${''} | ${'auto'} | ${null}
+ ${'gibberish'} | ${'1.2.3'} | ${'widen'} | ${null}
+ ${'>=1.0 && <1.1'} | ${'0.9'} | ${'widen'} | ${null}
+ ${'>=1.0 && <1.1'} | ${''} | ${'widen'} | ${null}
`(
'pvp.getNewValue({currentValue: "$currentValue", newVersion: "$newVersion", rangeStrategy: "$rangeStrategy"}) === $expected',
({ currentValue, newVersion, rangeStrategy, expected }) => {
diff --git a/lib/modules/versioning/pvp/index.ts b/lib/modules/versioning/pvp/index.ts
index 59e8b3026ab91c..ca6c5953796ebc 100644
--- a/lib/modules/versioning/pvp/index.ts
+++ b/lib/modules/versioning/pvp/index.ts
@@ -9,7 +9,7 @@ export const id = 'pvp';
export const displayName = 'Package Versioning Policy (Haskell)';
export const urls = ['https://pvp.haskell.org'];
export const supportsRanges = true;
-export const supportedRangeStrategies: RangeStrategy[] = ['auto'];
+export const supportedRangeStrategies: RangeStrategy[] = ['widen'];
const digitsAndDots = regEx(/^[\d.]+$/);
@@ -112,7 +112,7 @@ function getNewValue({
newVersion,
rangeStrategy,
}: NewValueConfig): string | null {
- if (rangeStrategy !== 'auto') {
+ if (rangeStrategy !== 'widen') {
logger.info(
{ rangeStrategy, currentValue, newVersion },
`PVP can't handle this range strategy.`,
diff --git a/tools/docs/manager.ts b/tools/docs/manager.ts
index 73da0d3c09ff04..70b9c0a2435b72 100644
--- a/tools/docs/manager.ts
+++ b/tools/docs/manager.ts
@@ -48,6 +48,7 @@ export const CategoryNames: Record = {
dotnet: '.NET',
elixir: 'Elixir',
golang: 'Go',
+ haskell: 'Haskell',
helm: 'Helm',
iac: 'Infrastructure as Code',
java: 'Java',
From 0d23707604ab05404c67da7c74120cfbe80327db Mon Sep 17 00:00:00 2001
From: RahulGautamSingh
Date: Tue, 14 Jan 2025 18:33:05 +0530
Subject: [PATCH 056/247] refactor(logger): remove templating from WARN log
messages (#33488)
---
lib/modules/datasource/bitrise/index.ts | 4 ++--
lib/modules/datasource/deb/index.ts | 3 ++-
lib/modules/datasource/deno/index.spec.ts | 3 ++-
lib/modules/datasource/deno/index.ts | 4 ++--
lib/modules/datasource/galaxy-collection/index.ts | 12 ++++++------
lib/modules/datasource/galaxy/index.ts | 2 +-
lib/modules/datasource/hex/index.ts | 5 ++++-
lib/modules/datasource/index.ts | 2 +-
lib/modules/datasource/npm/npmrc.ts | 2 +-
lib/modules/manager/cargo/artifacts.ts | 3 ++-
lib/modules/manager/cargo/extract.ts | 2 +-
.../manager/npm/update/package-version/index.ts | 2 +-
lib/modules/manager/pip-compile/common.ts | 3 ++-
lib/modules/manager/pip-compile/extract.spec.ts | 6 ++++--
lib/modules/manager/pip-compile/extract.ts | 8 ++++++--
lib/modules/manager/pipenv/artifacts.ts | 3 ++-
lib/modules/platform/azure/azure-helper.ts | 4 ++--
lib/modules/platform/azure/index.ts | 12 +++++++-----
lib/modules/platform/bitbucket-server/index.ts | 5 ++---
lib/modules/platform/gerrit/scm.ts | 3 ++-
lib/modules/platform/gitea/index.ts | 3 ++-
lib/modules/versioning/pep440/range.ts | 2 +-
lib/util/cache/repository/impl/s3.spec.ts | 3 ++-
lib/util/cache/repository/impl/s3.ts | 3 ++-
lib/util/git/auth.ts | 11 ++++++-----
lib/util/git/index.ts | 5 +----
lib/workers/global/config/parse/util.ts | 11 ++++-------
lib/workers/repository/init/index.spec.ts | 6 ++++--
lib/workers/repository/init/index.ts | 6 ++++--
.../repository/process/vulnerabilities.spec.ts | 4 ++--
lib/workers/repository/process/vulnerabilities.ts | 4 ++--
lib/workers/repository/update/branch/schedule.ts | 8 ++++++--
tools/docs/presets.ts | 5 ++++-
33 files changed, 92 insertions(+), 67 deletions(-)
diff --git a/lib/modules/datasource/bitrise/index.ts b/lib/modules/datasource/bitrise/index.ts
index 0a412c1dc974b7..5b6465797593d2 100644
--- a/lib/modules/datasource/bitrise/index.ts
+++ b/lib/modules/datasource/bitrise/index.ts
@@ -103,8 +103,8 @@ export class BitriseDatasource extends Datasource {
}
if (body.encoding !== 'base64') {
logger.warn(
- { data: body, url: stepUrl },
- `Got unexpected encoding for Bitrise step location '${body.encoding}'`,
+ { encoding: body.encoding, data: body, url: stepUrl },
+ `Got unexpected encoding for Bitrise step location`,
);
return null;
}
diff --git a/lib/modules/datasource/deb/index.ts b/lib/modules/datasource/deb/index.ts
index 006d81d2897939..192bc6fdb25910 100644
--- a/lib/modules/datasource/deb/index.ts
+++ b/lib/modules/datasource/deb/index.ts
@@ -214,7 +214,8 @@ export class DebDatasource extends Datasource {
return response.statusCode !== 304;
} catch (error) {
logger.warn(
- `Could not determine if ${packageUrl} is modified since ${lastDownloadTimestamp.toUTCString()}: ${error.message}`,
+ { packageUrl, lastDownloadTimestamp, errorMessage: error.message },
+ 'Could not determine if package file is modified since last download',
);
return true; // Assume it needs to be downloaded if check fails
}
diff --git a/lib/modules/datasource/deno/index.spec.ts b/lib/modules/datasource/deno/index.spec.ts
index a720572b7cf566..9554fc28aa279d 100644
--- a/lib/modules/datasource/deno/index.spec.ts
+++ b/lib/modules/datasource/deno/index.spec.ts
@@ -66,8 +66,9 @@ describe('modules/datasource/deno/index', () => {
expect(logger.logger.warn).toHaveBeenCalledWith(
expect.objectContaining({
err: expect.any(ZodError),
+ version: '0.161.0',
}),
- `Deno: failed to get version details for 0.161.0`,
+ 'Deno: failed to get version details',
);
});
diff --git a/lib/modules/datasource/deno/index.ts b/lib/modules/datasource/deno/index.ts
index e9ca1cca0527e2..c2178451eba9dd 100644
--- a/lib/modules/datasource/deno/index.ts
+++ b/lib/modules/datasource/deno/index.ts
@@ -102,8 +102,8 @@ export class DenoDatasource extends Datasource {
url,
DenoAPIModuleVersionResponse.catch(({ error: err }) => {
logger.warn(
- { err },
- `Deno: failed to get version details for ${version}`,
+ { err, version },
+ 'Deno: failed to get version details',
);
return { version };
}),
diff --git a/lib/modules/datasource/galaxy-collection/index.ts b/lib/modules/datasource/galaxy-collection/index.ts
index ffd91268ea96d8..bfafa69db2b63d 100644
--- a/lib/modules/datasource/galaxy-collection/index.ts
+++ b/lib/modules/datasource/galaxy-collection/index.ts
@@ -65,8 +65,8 @@ export class GalaxyCollectionDatasource extends Datasource {
.getJsonSafe(baseUrl, GalaxyV3)
.onError((err) => {
logger.warn(
- { datasource: this.id, packageName, err },
- `Error fetching ${baseUrl}`,
+ { url: baseUrl, datasource: this.id, packageName, err },
+ 'Error fetching from url',
);
})
.unwrap();
@@ -80,8 +80,8 @@ export class GalaxyCollectionDatasource extends Datasource {
.getJsonSafe(versionsUrl, GalaxyV3Versions)
.onError((err) => {
logger.warn(
- { datasource: this.id, packageName, err },
- `Error fetching ${versionsUrl}`,
+ { url: versionsUrl, datasource: this.id, packageName, err },
+ 'Error fetching from url',
);
})
.unwrap();
@@ -136,8 +136,8 @@ export class GalaxyCollectionDatasource extends Datasource {
.getJsonSafe(detailedVersionUrl, GalaxyV3DetailedVersion)
.onError((err) => {
logger.warn(
- { datasource: this.id, packageName, err },
- `Error fetching ${versionsUrl}`,
+ { url: versionsUrl, datasource: this.id, packageName, err },
+ 'Error fetching from url',
);
})
.unwrap();
diff --git a/lib/modules/datasource/galaxy/index.ts b/lib/modules/datasource/galaxy/index.ts
index a0a01011c53241..d855a1d4b6225a 100644
--- a/lib/modules/datasource/galaxy/index.ts
+++ b/lib/modules/datasource/galaxy/index.ts
@@ -57,7 +57,7 @@ export class GalaxyDatasource extends Datasource {
if (!body.results.length) {
logger.warn(
{ dependency: packageName, userName },
- `Multiple results from galaxy for ${packageName}, none match`,
+ `No matching result from galaxy for package`,
);
return null;
}
diff --git a/lib/modules/datasource/hex/index.ts b/lib/modules/datasource/hex/index.ts
index ebf03fbfb47089..35c63c0802f6e2 100644
--- a/lib/modules/datasource/hex/index.ts
+++ b/lib/modules/datasource/hex/index.ts
@@ -55,7 +55,10 @@ export class HexDatasource extends Datasource {
const { val: result, err } = await this.http
.getJsonSafe(hexUrl, HexRelease)
.onError((err) => {
- logger.warn({ datasource: 'hex', packageName, err }, `Error fetching ${hexUrl}`); // prettier-ignore
+ logger.warn(
+ { url: hexUrl, datasource: 'hex', packageName, err },
+ 'Error fetching from url',
+ );
})
.unwrap();
diff --git a/lib/modules/datasource/index.ts b/lib/modules/datasource/index.ts
index 8fa5355a125ceb..fec86165a9c690 100644
--- a/lib/modules/datasource/index.ts
+++ b/lib/modules/datasource/index.ts
@@ -287,7 +287,7 @@ async function fetchReleases(
let { registryUrls } = config;
// istanbul ignore if: need test
if (!datasourceName || getDatasourceFor(datasourceName) === undefined) {
- logger.warn('Unknown datasource: ' + datasourceName);
+ logger.warn({ datasource: datasourceName }, 'Unknown datasource');
return null;
}
if (datasourceName === 'npm') {
diff --git a/lib/modules/datasource/npm/npmrc.ts b/lib/modules/datasource/npm/npmrc.ts
index 086bb07338bfe5..5129f50ea82a8d 100644
--- a/lib/modules/datasource/npm/npmrc.ts
+++ b/lib/modules/datasource/npm/npmrc.ts
@@ -26,7 +26,7 @@ function envReplace(value: any, env = process.env): any {
return value.replace(ENV_EXPR, (match, _esc, envVarName) => {
if (env[envVarName] === undefined) {
- logger.warn('Failed to replace env in config: ' + match);
+ logger.warn({ match }, 'Failed to replace env in config');
throw new Error('env-replace');
}
return env[envVarName];
diff --git a/lib/modules/manager/cargo/artifacts.ts b/lib/modules/manager/cargo/artifacts.ts
index 8ac570605d2008..4d144f83fb353a 100644
--- a/lib/modules/manager/cargo/artifacts.ts
+++ b/lib/modules/manager/cargo/artifacts.ts
@@ -135,7 +135,8 @@ async function updateArtifactsImpl(
// If there is a dependency without a locked version then log a warning
// and perform a regular workspace lockfile update.
logger.warn(
- `Missing locked version for dependency \`${missingDep.depName}\``,
+ { dependency: missingDep.depName },
+ 'Missing locked version for dependency',
);
await cargoUpdate(
packageFileName,
diff --git a/lib/modules/manager/cargo/extract.ts b/lib/modules/manager/cargo/extract.ts
index 3d090e52b7a3e8..35e9d6926bfbad 100644
--- a/lib/modules/manager/cargo/extract.ts
+++ b/lib/modules/manager/cargo/extract.ts
@@ -134,7 +134,7 @@ function resolveRegistryIndex(
`Replacing index of cargo registry ${registryName} with ${replacementName}`,
);
if (originalNames.has(replacementName)) {
- logger.warn(`${registryName} cargo registry resolves to itself`);
+ logger.warn({ registryName }, 'cargo registry resolves to itself');
return null;
}
return resolveRegistryIndex(
diff --git a/lib/modules/manager/npm/update/package-version/index.ts b/lib/modules/manager/npm/update/package-version/index.ts
index d40c34be61b408..03f70cfb76ac2c 100644
--- a/lib/modules/manager/npm/update/package-version/index.ts
+++ b/lib/modules/manager/npm/update/package-version/index.ts
@@ -35,7 +35,7 @@ export function bumpPackageVersion(
parsedContent.optionalDependencies?.[mirrorPackage] ??
parsedContent.peerDependencies?.[mirrorPackage];
if (!newPjVersion) {
- logger.warn('bumpVersion mirror package not found: ' + mirrorPackage);
+ logger.warn({ mirrorPackage }, 'bumpVersion mirror package not found');
return { bumpedContent };
}
} else {
diff --git a/lib/modules/manager/pip-compile/common.ts b/lib/modules/manager/pip-compile/common.ts
index 6ec0b128fc9f56..5a2126198900be 100644
--- a/lib/modules/manager/pip-compile/common.ts
+++ b/lib/modules/manager/pip-compile/common.ts
@@ -216,7 +216,8 @@ export function extractPythonVersion(
const match = pythonVersionRegex.exec(content);
if (match?.groups === undefined) {
logger.warn(
- `pip-compile: failed to extract Python version from header in ${fileName} ${content}`,
+ { fileName, content },
+ 'pip-compile: failed to extract Python version from header in file',
);
return undefined;
}
diff --git a/lib/modules/manager/pip-compile/extract.spec.ts b/lib/modules/manager/pip-compile/extract.spec.ts
index fd70448a9a3e1e..9fe1b1dbb65230 100644
--- a/lib/modules/manager/pip-compile/extract.spec.ts
+++ b/lib/modules/manager/pip-compile/extract.spec.ts
@@ -473,7 +473,8 @@ describe('modules/manager/pip-compile/extract', () => {
const packageFiles = await extractAllPackageFiles({}, lockFiles);
expect(packageFiles?.map((p) => p.lockFiles)).toEqual([['2.txt']]);
expect(logger.warn).toHaveBeenCalledWith(
- 'pip-compile: 1.in references reqs-no-headers.txt which does not appear to be a requirements file managed by pip-compile',
+ { packageFile: '1.in', requirementsFile: 'reqs-no-headers.txt' },
+ 'pip-compile: Package file references a file which does not appear to be a requirements file managed by pip-compile',
);
});
@@ -494,7 +495,8 @@ describe('modules/manager/pip-compile/extract', () => {
const packageFiles = await extractAllPackageFiles({}, lockFiles);
expect(packageFiles?.map((p) => p.lockFiles)).toEqual([['2.txt']]);
expect(logger.warn).toHaveBeenCalledWith(
- 'pip-compile: 1.in references unmanaged-file.txt which does not appear to be a requirements file managed by pip-compile',
+ { packageFile: '1.in', requirementsFile: 'unmanaged-file.txt' },
+ 'pip-compile: Package file references a file which does not appear to be a requirements file managed by pip-compile',
);
});
diff --git a/lib/modules/manager/pip-compile/extract.ts b/lib/modules/manager/pip-compile/extract.ts
index 1ef63fc65d9ca0..d040d676015699 100644
--- a/lib/modules/manager/pip-compile/extract.ts
+++ b/lib/modules/manager/pip-compile/extract.ts
@@ -66,7 +66,10 @@ export async function extractAllPackageFiles(
compileArgs = extractHeaderCommand(fileContent, fileMatch);
compileDir = inferCommandExecDir(fileMatch, compileArgs.outputFile);
} catch (error) {
- logger.warn({ fileMatch }, `pip-compile: ${error.message}`);
+ logger.warn(
+ { fileMatch, errorMessage: error.message },
+ 'pip-compile error',
+ );
continue;
}
lockFileArgs.set(fileMatch, compileArgs);
@@ -212,7 +215,8 @@ export async function extractAllPackageFiles(
}
if (!sourceFiles) {
logger.warn(
- `pip-compile: ${packageFile.packageFile} references ${reqFile} which does not appear to be a requirements file managed by pip-compile`,
+ { packageFile: packageFile.packageFile, requirementsFile: reqFile },
+ 'pip-compile: Package file references a file which does not appear to be a requirements file managed by pip-compile',
);
continue;
}
diff --git a/lib/modules/manager/pipenv/artifacts.ts b/lib/modules/manager/pipenv/artifacts.ts
index 8d2760ce357aa6..41ae62a97864b1 100644
--- a/lib/modules/manager/pipenv/artifacts.ts
+++ b/lib/modules/manager/pipenv/artifacts.ts
@@ -72,7 +72,8 @@ export function addExtraEnvVariable(
extraEnv[environmentVariableName] !== environmentValue
) {
logger.warn(
- `Possible misconfiguration, ${environmentVariableName} is already set to a different value`,
+ { envVar: environmentVariableName },
+ 'Possible misconfiguration, environment variable already set to a different value',
);
}
extraEnv[environmentVariableName] = environmentValue;
diff --git a/lib/modules/platform/azure/azure-helper.ts b/lib/modules/platform/azure/azure-helper.ts
index 3fb4602d5547f6..3c96fc94caf5a9 100644
--- a/lib/modules/platform/azure/azure-helper.ts
+++ b/lib/modules/platform/azure/azure-helper.ts
@@ -87,11 +87,11 @@ export async function getFile(
const result = WrappedExceptionSchema.safeParse(fileContent);
if (result.success) {
if (result.data.typeKey === 'GitItemNotFoundException') {
- logger.warn(`Unable to find file ${filePath}`);
+ logger.warn({ filePath }, 'Unable to find file');
return null;
}
if (result.data.typeKey === 'GitUnresolvableToCommitException') {
- logger.warn(`Unable to find branch ${branchName}`);
+ logger.warn({ branchName }, 'Unable to find branch');
return null;
}
}
diff --git a/lib/modules/platform/azure/index.ts b/lib/modules/platform/azure/index.ts
index 37deb70b83b355..0fd6bb8ccefcf1 100644
--- a/lib/modules/platform/azure/index.ts
+++ b/lib/modules/platform/azure/index.ts
@@ -822,11 +822,13 @@ export async function mergePr({
if (!isClosed) {
logger.warn(
- { pullRequestId, status: pr.status },
- `Expected PR to have status ${
- PullRequestStatus[PullRequestStatus.Completed]
- // TODO #22198
- }. However, it is ${PullRequestStatus[pr.status!]}.`,
+ {
+ pullRequestId,
+ status: pr.status,
+ expectedPRStatus: PullRequestStatus[PullRequestStatus.Completed],
+ actualPRStatus: PullRequestStatus[pr.status!],
+ },
+ 'Expected PR to have completed status. However, the PR has a different status',
);
}
return true;
diff --git a/lib/modules/platform/bitbucket-server/index.ts b/lib/modules/platform/bitbucket-server/index.ts
index 5978a3682a6cc1..3c4274f2e95808 100644
--- a/lib/modules/platform/bitbucket-server/index.ts
+++ b/lib/modules/platform/bitbucket-server/index.ts
@@ -204,9 +204,8 @@ export async function getRawFile(
if (isLastPage) {
return lines.map(({ text }) => text).join('\n');
}
- const msg = `The file is too big (${size}B)`;
- logger.warn({ size }, msg);
- throw new Error(msg);
+ logger.warn({ size }, 'The file is too big');
+ throw new Error(`The file is too big (${size}B)`);
}
export async function getJsonFile(
diff --git a/lib/modules/platform/gerrit/scm.ts b/lib/modules/platform/gerrit/scm.ts
index 887e77ab2461c7..1e95a2a55af44c 100644
--- a/lib/modules/platform/gerrit/scm.ts
+++ b/lib/modules/platform/gerrit/scm.ts
@@ -73,7 +73,8 @@ export class GerritScm extends DefaultGitScm {
return !mergeInfo.mergeable;
} else {
logger.warn(
- `There is no open change with branch=${branch} and baseBranch=${baseBranch}`,
+ { branch, baseBranch },
+ 'There is no open change with this branch',
);
return true;
}
diff --git a/lib/modules/platform/gitea/index.ts b/lib/modules/platform/gitea/index.ts
index 31450e6c4480ff..73b5b6a442a7e7 100644
--- a/lib/modules/platform/gitea/index.ts
+++ b/lib/modules/platform/gitea/index.ts
@@ -592,7 +592,8 @@ const platform: Platform = {
// would cause a HTTP 409 conflict error, which we hereby gracefully handle.
if (err.statusCode === 409) {
logger.warn(
- `Attempting to gracefully recover from 409 Conflict response in createPr(${title}, ${sourceBranch})`,
+ { prTitle: title, sourceBranch },
+ 'Attempting to gracefully recover from 409 Conflict response in createPr()',
);
// Refresh cached PR list and search for pull request with matching information
diff --git a/lib/modules/versioning/pep440/range.ts b/lib/modules/versioning/pep440/range.ts
index a4f4c5b26bb717..b450219bb72532 100644
--- a/lib/modules/versioning/pep440/range.ts
+++ b/lib/modules/versioning/pep440/range.ts
@@ -121,7 +121,7 @@ export function getNewValue({
if (!ranges.length) {
// an empty string is an allowed value for PEP440 range
// it means get any version
- logger.warn('Empty currentValue: ' + currentValue);
+ logger.warn({ currentValue }, 'Empty currentValue');
return currentValue;
}
} catch (err) {
diff --git a/lib/util/cache/repository/impl/s3.spec.ts b/lib/util/cache/repository/impl/s3.spec.ts
index 8d2d102fbf5b14..f461b5e6ee2de1 100644
--- a/lib/util/cache/repository/impl/s3.spec.ts
+++ b/lib/util/cache/repository/impl/s3.spec.ts
@@ -129,7 +129,8 @@ describe('util/cache/repository/impl/s3', () => {
s3Mock.on(GetObjectCommand, getObjectCommandInput).resolvesOnce({});
await expect(s3Cache.read()).resolves.toBeNull();
expect(logger.warn).toHaveBeenCalledWith(
- "RepoCacheS3.read() - failure - expecting Readable return type got 'undefined' type instead",
+ { returnType: 'undefined' },
+ 'RepoCacheS3.read() - failure - got unexpected return type',
);
});
diff --git a/lib/util/cache/repository/impl/s3.ts b/lib/util/cache/repository/impl/s3.ts
index 42bf18d134e932..a068066ff55841 100644
--- a/lib/util/cache/repository/impl/s3.ts
+++ b/lib/util/cache/repository/impl/s3.ts
@@ -41,7 +41,8 @@ export class RepoCacheS3 extends RepoCacheBase {
return await streamToString(res);
}
logger.warn(
- `RepoCacheS3.read() - failure - expecting Readable return type got '${typeof res}' type instead`,
+ { returnType: typeof res },
+ 'RepoCacheS3.read() - failure - got unexpected return type',
);
} catch (err) {
// https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
diff --git a/lib/util/git/auth.ts b/lib/util/git/auth.ts
index ad2726797ba201..7eefd20c6a6495 100644
--- a/lib/util/git/auth.ts
+++ b/lib/util/git/auth.ts
@@ -26,8 +26,8 @@ export function getGitAuthenticatedEnvironmentVariables(
): NodeJS.ProcessEnv {
if (!token && !(username && password)) {
logger.warn(
- // TODO: types (#22198)
- `Could not create environment variable for ${matchHost!} as neither token or username and password was set`,
+ { host: matchHost },
+ `Could not create environment variable for host as neither token or username and password was set`,
);
return { ...environmentVariables };
}
@@ -41,9 +41,10 @@ export function getGitAuthenticatedEnvironmentVariables(
gitConfigCount = parseInt(gitConfigCountEnvVariable, 10);
if (Number.isNaN(gitConfigCount)) {
logger.warn(
- `Found GIT_CONFIG_COUNT env variable, but couldn't parse the value to an integer: ${String(
- process.env.GIT_CONFIG_COUNT,
- )}. Ignoring it.`,
+ {
+ GIT_CONFIG_COUNT: process.env.GIT_CONFIG_COUNT,
+ },
+ `Found GIT_CONFIG_COUNT env variable, but couldn't parse the value to an integer. Ignoring it.`,
);
gitConfigCount = 0;
}
diff --git a/lib/util/git/index.ts b/lib/util/git/index.ts
index 475fb958b908dc..cabe042fb38fe0 100644
--- a/lib/util/git/index.ts
+++ b/lib/util/git/index.ts
@@ -369,10 +369,7 @@ export async function cloneSubmodules(
git.submoduleUpdate(['--init', '--recursive', submodule]),
);
} catch (err) {
- logger.warn(
- { err },
- `Unable to initialise git submodule at ${submodule}`,
- );
+ logger.warn({ err, submodule }, `Unable to initialise git submodule`);
}
}
}
diff --git a/lib/workers/global/config/parse/util.ts b/lib/workers/global/config/parse/util.ts
index 9d007c8df4b4d8..2d0720599ea408 100644
--- a/lib/workers/global/config/parse/util.ts
+++ b/lib/workers/global/config/parse/util.ts
@@ -12,8 +12,8 @@ export async function migrateAndValidateConfig(
const { isMigrated, migratedConfig } = migrateConfig(config);
if (isMigrated) {
logger.warn(
- { originalConfig: config, migratedConfig },
- `${configType} needs migrating`,
+ { configType, originalConfig: config, migratedConfig },
+ 'Config needs migrating',
);
}
const massagedConfig = massageConfig(migratedConfig);
@@ -25,13 +25,10 @@ export async function migrateAndValidateConfig(
const { warnings, errors } = await validateConfig('global', massagedConfig);
if (warnings.length) {
- logger.warn(
- { warnings },
- `Config validation warnings found in ${configType}`,
- );
+ logger.warn({ configType, warnings }, 'Config validation warnings found');
}
if (errors.length) {
- logger.warn({ errors }, `Config validation errors found in ${configType}`);
+ logger.warn({ configType, errors }, 'Config validation errors found');
}
return massagedConfig;
diff --git a/lib/workers/repository/init/index.spec.ts b/lib/workers/repository/init/index.spec.ts
index 54e412fa97d74c..f36df0329d3686 100644
--- a/lib/workers/repository/init/index.spec.ts
+++ b/lib/workers/repository/init/index.spec.ts
@@ -61,10 +61,12 @@ describe('workers/repository/init/index', () => {
);
await initRepo({});
expect(logger.logger.warn).toHaveBeenCalledWith(
- "Configuration option 'filterUnavailableUsers' is not supported on the current platform 'undefined'.",
+ { platform: undefined },
+ "Configuration option 'filterUnavailableUsers' is not supported on the current platform.",
);
expect(logger.logger.warn).toHaveBeenCalledWith(
- "Configuration option 'expandCodeOwnersGroups' is not supported on the current platform 'undefined'.",
+ { platform: undefined },
+ "Configuration option 'expandCodeOwnersGroups' is not supported on the current platform.",
);
});
});
diff --git a/lib/workers/repository/init/index.ts b/lib/workers/repository/init/index.ts
index e8b36f4433224d..2e016734dfbd9f 100644
--- a/lib/workers/repository/init/index.ts
+++ b/lib/workers/repository/init/index.ts
@@ -30,7 +30,8 @@ function warnOnUnsupportedOptions(config: RenovateConfig): void {
// TODO: types (#22198)
const platform = GlobalConfig.get('platform')!;
logger.warn(
- `Configuration option 'filterUnavailableUsers' is not supported on the current platform '${platform}'.`,
+ { platform },
+ `Configuration option 'filterUnavailableUsers' is not supported on the current platform.`,
);
}
@@ -38,7 +39,8 @@ function warnOnUnsupportedOptions(config: RenovateConfig): void {
// TODO: types (#22198)
const platform = GlobalConfig.get('platform')!;
logger.warn(
- `Configuration option 'expandCodeOwnersGroups' is not supported on the current platform '${platform}'.`,
+ { platform },
+ `Configuration option 'expandCodeOwnersGroups' is not supported on the current platform.`,
);
}
}
diff --git a/lib/workers/repository/process/vulnerabilities.spec.ts b/lib/workers/repository/process/vulnerabilities.spec.ts
index db30414b2edfa9..ada896774595a5 100644
--- a/lib/workers/repository/process/vulnerabilities.spec.ts
+++ b/lib/workers/repository/process/vulnerabilities.spec.ts
@@ -296,8 +296,8 @@ describe('workers/repository/process/vulnerabilities', () => {
packageFiles,
);
expect(logger.logger.warn).toHaveBeenCalledWith(
- { err },
- 'Error fetching vulnerability information for lodash',
+ { err, packageName: 'lodash' },
+ 'Error fetching vulnerability information for package',
);
});
diff --git a/lib/workers/repository/process/vulnerabilities.ts b/lib/workers/repository/process/vulnerabilities.ts
index 48991ea669bbcf..5a44b9cfde0b68 100644
--- a/lib/workers/repository/process/vulnerabilities.ts
+++ b/lib/workers/repository/process/vulnerabilities.ts
@@ -249,8 +249,8 @@ export class Vulnerabilities {
return { vulnerabilities, versioningApi };
} catch (err) {
logger.warn(
- { err },
- `Error fetching vulnerability information for ${packageName}`,
+ { err, packageName },
+ 'Error fetching vulnerability information for package',
);
return null;
}
diff --git a/lib/workers/repository/update/branch/schedule.ts b/lib/workers/repository/update/branch/schedule.ts
index 7789ebcc4c0e66..aa85a8ede739bc 100644
--- a/lib/workers/repository/update/branch/schedule.ts
+++ b/lib/workers/repository/update/branch/schedule.ts
@@ -108,7 +108,10 @@ export function cronMatches(
const nextRun = parsedCron.nextRun();
// istanbul ignore if: should not happen
if (!nextRun) {
- logger.warn(`Invalid cron schedule ${cron}. No next run is possible`);
+ logger.warn(
+ { schedule: cron },
+ 'Invalid cron schedule. No next run is possible',
+ );
return false;
}
@@ -144,7 +147,8 @@ export function isScheduledNow(
}
if (!is.array(configSchedule)) {
logger.warn(
- `config schedule is not an array: ${JSON.stringify(configSchedule)}`,
+ { schedule: configSchedule },
+ 'config schedule is not an array',
);
configSchedule = [configSchedule];
}
diff --git a/tools/docs/presets.ts b/tools/docs/presets.ts
index 7c08b7eccffb1e..3a82d844fc46cd 100644
--- a/tools/docs/presets.ts
+++ b/tools/docs/presets.ts
@@ -70,7 +70,10 @@ export async function generatePresets(dist: string): Promise {
if (presetDescription) {
body += `\n\n${presetDescription}\n`;
} else {
- logger.warn(`Preset ${name}:${preset} has no description`);
+ logger.warn(
+ { preset: `${name}:${preset}` },
+ 'Preset has no description',
+ );
}
body += '\n```json\n';
body += JSON.stringify(value, null, 2);
From e788cd8d5446d20aa7481684ddf07d296ca07444 Mon Sep 17 00:00:00 2001
From: Justin Clareburt <122523970+justo-mend@users.noreply.github.com>
Date: Tue, 14 Jan 2025 14:23:12 +0100
Subject: [PATCH 057/247] docs: updated contents of Mend-hosted Apps overview
page (#33599)
---
docs/usage/mend-hosted/.pages | 2 +-
docs/usage/mend-hosted/renovate-plans.md | 54 ++++++++++++------------
2 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/docs/usage/mend-hosted/.pages b/docs/usage/mend-hosted/.pages
index 6b4053c88bf23d..fae3c0c0bf42c4 100644
--- a/docs/usage/mend-hosted/.pages
+++ b/docs/usage/mend-hosted/.pages
@@ -1,6 +1,6 @@
title: Mend-hosted Apps
nav:
- - 'Renovate Plans': 'renovate-plans.md'
+ - 'Overview': 'renovate-plans.md'
- 'Configuration': 'hosted-apps-config.md'
- 'Credentials': 'credentials.md'
- 'Migrating Secrets': 'migrating-secrets.md'
diff --git a/docs/usage/mend-hosted/renovate-plans.md b/docs/usage/mend-hosted/renovate-plans.md
index e946575399b5cb..acea1ced6bd85c 100644
--- a/docs/usage/mend-hosted/renovate-plans.md
+++ b/docs/usage/mend-hosted/renovate-plans.md
@@ -1,19 +1,25 @@
-# Renovate Plans on Mend-Hosted Apps
+# Mend Renovate Cloud-hosted (Community and Enterprise)
-Mend provides cloud hosting services for running Renovate on repositories hosted on the following cloud platforms:
+Mend provides cloud hosting services for running Renovate in free and paid versions:
+
+- Mend Renovate Community Cloud (Free)
+- Mend Renovate Enterprise Cloud
+
+They are available for Git repositories hosted on the following cloud platforms:
- GitHub
- Bitbucket Cloud
- Azure DevOps
-Mend Cloud will regularly schedule Renovate jobs against all installed repositories.
+Mend Renovate cloud will regularly schedule Renovate jobs against all installed repositories.
It also listens to webhooks and enqueues a Renovate job when relevant changes occur in a repo, or when actions are triggered from the Renovate PRs or Dashboard issue.
There is a web UI with functionality to view and interact with installed repositories, their jobs and job logs.
-## Accessing Mend Cloud via the Web UI
+## Getting started
+
+To get started using Mend Renovate Cloud versions, access the Developer Portal at [https://developer.mend.io/](https://developer.mend.io/).
-Users can access the cloud-hosted Renovate service via the Developer Portal at [https://developer.mend.io/](https://developer.mend.io/).
-Developers can log in with OAuth credentials from their cloud-based Git repository.
+Developers can log in using the OAuth credentials from their cloud-based Git repository.
![Developer Portal sign-in screen](../assets/images/portal-sign-in.png)
@@ -26,28 +32,22 @@ Features of the Developer Portal include:
## Resources and Scheduling
-The plan assigned to each Org determines the resources, scheduling and concurrency of Renoate jobs.
-Mend Cloud has free and paid Renovate plans. Details of the plans are shown in the table below.
-
-| | Community (Free) | Pioneer (Free) | OSS Select (Free) | Enterprise |
-| ----------------------------- | ---------------- | -------------- | ----------------- | ------------ |
-| Concurrent jobs per Org | 1 | 8 | 2 | 16 |
-| Job scheduling (active repos) | Every 4 hours | Every 4 hours | Hourly | Hourly (\*1) |
-| Job runner CPUs | 1 CPU | 1 CPU | 1 CPU | 2 CPU |
-| Job runner Memory | 2Gb | 3.5Gb | 6Gb | 8Gb |
-| Job runner Disk space | 15Gb | 15Gb | 25Gb | 40Gb |
-| Job timeout | 30 minutes | 30 minutes | 60 minutes | 60 minutes |
-| Merge Confidence Workflows | Not included | Not included | Included | Included |
-| Mend.io Helpdesk Support | Not included | Not included | Not Included | Included |
-
-(1) Bitbucket repositories on the Renovate Enterprise plan are scheduled to run every 4 hours, to avoid hitting rate limits on GitHub APIs.
-
-### Plan descriptions
+The resources, scheduling and concurrency of Renovate jobs is determined by the version of Mend Renovate used by the Org.
+Details of the Mend Renovate Cloud versions are shown in the table below.
-**Community (Free)** - This plan is available for free for all repositories.
+| | Mend Renovate Community Cloud (Free) | Mend Renovate Enterprise Cloud |
+| ----------------------------- | ------------------------------------ | ------------------------------ |
+| Concurrent jobs per Org | 1 | 16 |
+| Job scheduling (active repos) | Every 4 hours | Hourly (\*1) |
+| Job runner CPUs | 1 CPU | 2 CPU |
+| Job runner Memory | 2Gb | 8Gb |
+| Job runner Disk space | 15Gb | 40Gb |
+| Job timeout | 30 minutes | 60 minutes |
+| Merge Confidence Workflows | Not included | Included |
+| Mend.io Helpdesk Support | Not included | Included |
-**Pioneer (Free)** - This plan is available for a limited time for Orgs that were installed on Renovate Cloud before 2025. Users on this plan will be transitioned to other plans over time.
+(1) Bitbucket repositories running Mend Renovate Enterprise are scheduled to run every 4 hours, to avoid hitting rate limits on GitHub APIs.
-**OSS Select (Free)** - This is a premium plan granted for free to selected OSS Orgs. If you would like your Org to be considered for the free OSS Select plan, create a “[Suggest an Idea](https://github.com/renovatebot/renovate/discussions/categories/suggest-an-idea)” item on the Renovate discussions board on GitHub. Acceptance is at the discretion of Mend.io.
+**Mend Renovate Community Cloud (Free)** - Available for free for all repositories.
-**Enterprise** - A supported, paid plan available for purchase through Mend.io. Contact Mend at [sales@mend.io](mailto:sales@mend.io) for purchase details.
+**Mend Renovate Enterprise Cloud** - Supported premium version. Contact Mend at [sales@mend.io](mailto:sales@mend.io) for purchase details.
From 28984db0a928e92750dc9af158b5dc6ccfa062f7 Mon Sep 17 00:00:00 2001
From: Justin Clareburt <122523970+justo-mend@users.noreply.github.com>
Date: Tue, 14 Jan 2025 17:42:37 +0100
Subject: [PATCH 058/247] docs: rename Mend-hosted apps overview page (#33614)
---
docs/usage/mend-hosted/.pages | 2 +-
docs/usage/mend-hosted/{renovate-plans.md => overview.md} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename docs/usage/mend-hosted/{renovate-plans.md => overview.md} (100%)
diff --git a/docs/usage/mend-hosted/.pages b/docs/usage/mend-hosted/.pages
index fae3c0c0bf42c4..4dda5349d7d4e7 100644
--- a/docs/usage/mend-hosted/.pages
+++ b/docs/usage/mend-hosted/.pages
@@ -1,6 +1,6 @@
title: Mend-hosted Apps
nav:
- - 'Overview': 'renovate-plans.md'
+ - 'Overview': 'overview.md'
- 'Configuration': 'hosted-apps-config.md'
- 'Credentials': 'credentials.md'
- 'Migrating Secrets': 'migrating-secrets.md'
diff --git a/docs/usage/mend-hosted/renovate-plans.md b/docs/usage/mend-hosted/overview.md
similarity index 100%
rename from docs/usage/mend-hosted/renovate-plans.md
rename to docs/usage/mend-hosted/overview.md
From eac9330a5a9d7aa870da1e29b70e808dc78dde2a Mon Sep 17 00:00:00 2001
From: Justin Clareburt <122523970+justo-mend@users.noreply.github.com>
Date: Tue, 14 Jan 2025 18:25:15 +0100
Subject: [PATCH 059/247] docs: added note that OSS orgs can request increased
resources (#33618)
---
docs/usage/mend-hosted/overview.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/usage/mend-hosted/overview.md b/docs/usage/mend-hosted/overview.md
index acea1ced6bd85c..576072aa088234 100644
--- a/docs/usage/mend-hosted/overview.md
+++ b/docs/usage/mend-hosted/overview.md
@@ -51,3 +51,9 @@ Details of the Mend Renovate Cloud versions are shown in the table below.
**Mend Renovate Community Cloud (Free)** - Available for free for all repositories.
**Mend Renovate Enterprise Cloud** - Supported premium version. Contact Mend at [sales@mend.io](mailto:sales@mend.io) for purchase details.
+
+
+!!! note
+ OSS-licensed orgs can request increased resources on Mend Renovate Community Cloud.
+ To request increased resources, create a “[Suggest an Idea](https://github.com/renovatebot/renovate/discussions/categories/suggest-an-idea)” item on the Renovate discussions board on GitHub.
+ Acceptance is at the discretion of Mend.io.
From bddef47b5a844dfbe10f69dbff2b6601616341da Mon Sep 17 00:00:00 2001
From: Michael Kriese
Date: Wed, 15 Jan 2025 10:13:02 +0100
Subject: [PATCH 060/247] fix(gitea): sort commit status by id (#33622)
---
.../platform/gitea/gitea-helper.spec.ts | 18 +++++++++++-------
lib/modules/platform/gitea/gitea-helper.ts | 10 ++++------
lib/modules/platform/gitea/types.ts | 4 ++--
3 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/lib/modules/platform/gitea/gitea-helper.spec.ts b/lib/modules/platform/gitea/gitea-helper.spec.ts
index 9f06e6750abf06..e3680f6d11978d 100644
--- a/lib/modules/platform/gitea/gitea-helper.spec.ts
+++ b/lib/modules/platform/gitea/gitea-helper.spec.ts
@@ -685,37 +685,41 @@ describe('modules/platform/gitea/gitea-helper', () => {
});
it('should properly determine worst commit status', async () => {
- const statuses: {
- status: CommitStatusType;
- created_at: string;
+ const statuses: (Pick & {
expected: CommitStatusType;
- }[] = [
+ })[] = [
{
+ id: 122,
status: 'unknown',
created_at: '2020-03-25T01:00:00Z',
expected: 'unknown',
},
{
+ id: 124,
status: 'pending',
created_at: '2020-03-25T03:00:00Z',
expected: 'pending',
},
{
+ id: 125,
status: 'warning',
created_at: '2020-03-25T04:00:00Z',
expected: 'warning',
},
{
+ id: 126,
status: 'failure',
created_at: '2020-03-25T05:00:00Z',
expected: 'failure',
},
{
+ id: 123,
status: 'success',
created_at: '2020-03-25T02:00:00Z',
expected: 'failure',
},
{
+ id: 127,
status: 'success',
created_at: '2020-03-25T06:00:00Z',
expected: 'success',
@@ -726,13 +730,13 @@ describe('modules/platform/gitea/gitea-helper', () => {
{ ...mockCommitStatus, status: 'unknown' },
];
- for (const statusElem of statuses) {
- const { status, expected } = statusElem;
+ for (const { id, status, expected, created_at } of statuses) {
// Add current status ot list of commit statuses, then mock the API to return the whole list
commitStatuses.push({
...mockCommitStatus,
+ id,
status,
- created_at: statusElem.created_at,
+ created_at,
});
httpMock
.scope(baseUrl)
diff --git a/lib/modules/platform/gitea/gitea-helper.ts b/lib/modules/platform/gitea/gitea-helper.ts
index 2514faf3e74672..84a8025010f837 100644
--- a/lib/modules/platform/gitea/gitea-helper.ts
+++ b/lib/modules/platform/gitea/gitea-helper.ts
@@ -394,10 +394,7 @@ export const renovateToGiteaStatusMapping: Record<
function filterStatus(data: CommitStatus[]): CommitStatus[] {
const ret: Record = {};
for (const i of data) {
- if (
- !ret[i.context] ||
- new Date(ret[i.context].created_at) < new Date(i.created_at)
- ) {
+ if (!ret[i.context] || ret[i.context].id < i.id) {
ret[i.context] = i;
}
}
@@ -418,13 +415,14 @@ export async function getCombinedCommitStatus(
});
let worstState = 0;
- for (const cs of filterStatus(res.body)) {
+ const statuses = filterStatus(res.body);
+ for (const cs of statuses) {
worstState = Math.max(worstState, commitStatusStates.indexOf(cs.status));
}
return {
worstStatus: commitStatusStates[worstState],
- statuses: res.body,
+ statuses,
};
}
diff --git a/lib/modules/platform/gitea/types.ts b/lib/modules/platform/gitea/types.ts
index cf4fb50b22645b..9a20bad14708fe 100644
--- a/lib/modules/platform/gitea/types.ts
+++ b/lib/modules/platform/gitea/types.ts
@@ -138,8 +138,8 @@ export interface CommitStatus {
id: number;
status: CommitStatusType;
context: string;
- description: string;
- target_url: string;
+ description?: string;
+ target_url?: string;
created_at: string;
}
From e9bc921eecc36766e11a56f4ac8ab45fef7ed5d3 Mon Sep 17 00:00:00 2001
From: Michael Kriese
Date: Wed, 15 Jan 2025 10:40:17 +0100
Subject: [PATCH 061/247] fix(gitea): handle null PR as temporary error
(#33623)
---
lib/modules/platform/gitea/index.spec.ts | 13 +++++++++++++
lib/modules/platform/gitea/pr-cache.ts | 13 +++++++++++--
2 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/lib/modules/platform/gitea/index.spec.ts b/lib/modules/platform/gitea/index.spec.ts
index 84031f86974876..23494f1ed8f1f9 100644
--- a/lib/modules/platform/gitea/index.spec.ts
+++ b/lib/modules/platform/gitea/index.spec.ts
@@ -9,6 +9,7 @@ import {
REPOSITORY_CHANGED,
REPOSITORY_EMPTY,
REPOSITORY_MIRRORED,
+ TEMPORARY_ERROR,
} from '../../../constants/error-messages';
import type { logger as _logger } from '../../../logger';
import type * as _git from '../../../util/git';
@@ -1309,6 +1310,18 @@ describe('modules/platform/gitea/index', () => {
expect(res).toBeNull();
});
+
+ it('should throw temporary error for null pull request', async () => {
+ const scope = httpMock
+ .scope('https://gitea.com/api/v1')
+ .get('/repos/some/repo/pulls')
+ .query({ state: 'all', sort: 'recentupdate' })
+ .reply(200, [null]); // TODO: 404 should be handled
+ await initFakePlatform(scope);
+ await initFakeRepo(scope);
+
+ await expect(gitea.getPr(42)).rejects.toThrow(TEMPORARY_ERROR);
+ });
});
describe('findPr', () => {
diff --git a/lib/modules/platform/gitea/pr-cache.ts b/lib/modules/platform/gitea/pr-cache.ts
index e6f363500dd03e..936689ef14810c 100644
--- a/lib/modules/platform/gitea/pr-cache.ts
+++ b/lib/modules/platform/gitea/pr-cache.ts
@@ -1,5 +1,7 @@
import { dequal } from 'dequal';
import { DateTime } from 'luxon';
+import { TEMPORARY_ERROR } from '../../../constants/error-messages';
+import { logger } from '../../../logger';
import * as memCache from '../../../util/cache/memory';
import { getCache } from '../../../util/cache/repository';
import type { GiteaHttp } from '../../../util/http/gitea';
@@ -83,7 +85,7 @@ export class GiteaPrCache {
prCache.setPr(item);
}
- private reconcile(rawItems: PR[]): boolean {
+ private reconcile(rawItems: (PR | null)[]): boolean {
const { items } = this.cache;
let { updated_at } = this.cache;
const cacheTime = updated_at ? DateTime.fromISO(updated_at) : null;
@@ -91,6 +93,12 @@ export class GiteaPrCache {
let needNextPage = true;
for (const rawItem of rawItems) {
+ if (!rawItem) {
+ logger.warn('Gitea PR is empty, throwing temporary error');
+ // Gitea API sometimes returns empty PRs, so we throw a temporary error
+ // https://github.com/go-gitea/gitea/blob/fcd096231ac2deaefbca10a7db1b9b01f1da93d7/services/convert/pull.go#L34-L52
+ throw new Error(TEMPORARY_ERROR);
+ }
const id = rawItem.number;
const newItem = toRenovatePR(rawItem, this.author);
@@ -127,7 +135,8 @@ export class GiteaPrCache {
`${API_PATH}/repos/${this.repo}/pulls?${query}`;
while (url) {
- const res: HttpResponse = await http.getJson(url, {
+ // TODO: use zod, typescript can't infer the type of the response #22198
+ const res: HttpResponse<(PR | null)[]> = await http.getJson(url, {
memCache: false,
paginate: false,
});
From 2b2d306fb0f9ba7c7f75b31b62293c5667ff9b51 Mon Sep 17 00:00:00 2001
From: Ivan Ka <5395690+ivankatliarchuk@users.noreply.github.com>
Date: Thu, 16 Jan 2025 08:43:46 +0000
Subject: [PATCH 062/247] fix(versioning/ubuntu): support suffixed codename
versions (#33308)
Signed-off-by: ivan katliarchuk
Co-authored-by: Rhys Arkins
---
lib/modules/versioning/ubuntu/common.ts | 18 +-
lib/modules/versioning/ubuntu/index.spec.ts | 248 ++++++++++----------
lib/modules/versioning/ubuntu/index.ts | 16 ++
3 files changed, 161 insertions(+), 121 deletions(-)
diff --git a/lib/modules/versioning/ubuntu/common.ts b/lib/modules/versioning/ubuntu/common.ts
index abcb173c0486ea..0cd4b958c7f392 100644
--- a/lib/modules/versioning/ubuntu/common.ts
+++ b/lib/modules/versioning/ubuntu/common.ts
@@ -1,11 +1,13 @@
import { regEx } from '../../../util/regex';
+const regex = regEx(/^(?\w+)-(?\d{8})(?\.\d{1,2})?$/);
+
function isDatedCodeName(input: string): boolean {
- return regEx(/^(?\w+)-(?\d{8})$/).test(input);
+ return regex.test(input);
}
function getDatedContainerImageCodename(version: string): null | string {
- const groups = regEx(/^(?\w+)-(?\d{8})$/).exec(version);
+ const groups = regex.exec(version);
if (!groups?.groups) {
return null;
}
@@ -13,7 +15,7 @@ function getDatedContainerImageCodename(version: string): null | string {
}
function getDatedContainerImageVersion(version: string): null | number {
- const groups = regEx(/^(?\w+)-(?\d{8})$/).exec(version);
+ const groups = regex.exec(version);
if (!groups?.groups) {
return null;
}
@@ -21,8 +23,18 @@ function getDatedContainerImageVersion(version: string): null | number {
return parseInt(groups.groups.date, 10);
}
+function getDatedContainerImageSuffix(version: string): null | string {
+ const groups = regex.exec(version);
+ if (!groups?.groups?.suffix) {
+ return null;
+ }
+
+ return groups.groups.suffix;
+}
+
export {
isDatedCodeName,
getDatedContainerImageCodename,
getDatedContainerImageVersion,
+ getDatedContainerImageSuffix,
};
diff --git a/lib/modules/versioning/ubuntu/index.spec.ts b/lib/modules/versioning/ubuntu/index.spec.ts
index eaa5de4e2842bf..5a60006fa9e83e 100644
--- a/lib/modules/versioning/ubuntu/index.spec.ts
+++ b/lib/modules/versioning/ubuntu/index.spec.ts
@@ -5,84 +5,88 @@ describe('modules/versioning/ubuntu/index', () => {
const dt = DateTime.fromISO('2022-04-20');
it.each`
- version | expected
- ${undefined} | ${false}
- ${null} | ${false}
- ${''} | ${false}
- ${'xenial'} | ${true}
- ${'04.10'} | ${true}
- ${'05.04'} | ${true}
- ${'05.10'} | ${true}
- ${'6.06'} | ${true}
- ${'6.10'} | ${true}
- ${'7.04'} | ${true}
- ${'7.10'} | ${true}
- ${'8.04'} | ${true}
- ${'8.10'} | ${true}
- ${'9.04'} | ${true}
- ${'9.10'} | ${true}
- ${'10.04.4'} | ${true}
- ${'10.10'} | ${true}
- ${'11.04'} | ${true}
- ${'11.10'} | ${true}
- ${'12.04.5'} | ${true}
- ${'12.10'} | ${true}
- ${'13.04'} | ${true}
- ${'13.10'} | ${true}
- ${'14.04.6'} | ${true}
- ${'14.10'} | ${true}
- ${'15.04'} | ${true}
- ${'15.10'} | ${true}
- ${'16.04.7'} | ${true}
- ${'16.10'} | ${true}
- ${'17.04'} | ${true}
- ${'17.10'} | ${true}
- ${'18.04.5'} | ${true}
- ${'18.10'} | ${true}
- ${'19.04'} | ${true}
- ${'19.10'} | ${true}
- ${'20.04'} | ${true}
- ${'20.10'} | ${true}
- ${'2020.04'} | ${false}
- ${'xenial'} | ${true}
- ${'warty'} | ${true}
- ${'hoary'} | ${true}
- ${'breezy'} | ${true}
- ${'dapper'} | ${true}
- ${'edgy'} | ${true}
- ${'feisty'} | ${true}
- ${'gutsy'} | ${true}
- ${'hardy'} | ${true}
- ${'intrepid'} | ${true}
- ${'jaunty'} | ${true}
- ${'karmic'} | ${true}
- ${'lucid.4'} | ${false}
- ${'maverick'} | ${true}
- ${'natty'} | ${true}
- ${'oneiric'} | ${true}
- ${'precise.5'} | ${false}
- ${'quantal'} | ${true}
- ${'raring'} | ${true}
- ${'saucy'} | ${true}
- ${'trusty.6'} | ${false}
- ${'utopic'} | ${true}
- ${'vivid'} | ${true}
- ${'wily'} | ${true}
- ${'xenial.7'} | ${false}
- ${'yakkety'} | ${true}
- ${'zesty'} | ${true}
- ${'artful'} | ${true}
- ${'bionic.5'} | ${false}
- ${'cosmic'} | ${true}
- ${'disco'} | ${true}
- ${'eoan'} | ${true}
- ${'focal'} | ${true}
- ${'groovy'} | ${true}
- ${'hirsute'} | ${true}
- ${'impish'} | ${true}
- ${'jammy'} | ${true}
- ${'jammy-20230816'} | ${true}
- ${'jammy-2023086'} | ${false}
+ version | expected
+ ${undefined} | ${false}
+ ${null} | ${false}
+ ${''} | ${false}
+ ${'xenial'} | ${true}
+ ${'04.10'} | ${true}
+ ${'05.04'} | ${true}
+ ${'05.10'} | ${true}
+ ${'6.06'} | ${true}
+ ${'6.10'} | ${true}
+ ${'7.04'} | ${true}
+ ${'7.10'} | ${true}
+ ${'8.04'} | ${true}
+ ${'8.10'} | ${true}
+ ${'9.04'} | ${true}
+ ${'9.10'} | ${true}
+ ${'10.04.4'} | ${true}
+ ${'10.10'} | ${true}
+ ${'11.04'} | ${true}
+ ${'11.10'} | ${true}
+ ${'12.04.5'} | ${true}
+ ${'12.10'} | ${true}
+ ${'13.04'} | ${true}
+ ${'13.10'} | ${true}
+ ${'14.04.6'} | ${true}
+ ${'14.10'} | ${true}
+ ${'15.04'} | ${true}
+ ${'15.10'} | ${true}
+ ${'16.04.7'} | ${true}
+ ${'16.10'} | ${true}
+ ${'17.04'} | ${true}
+ ${'17.10'} | ${true}
+ ${'18.04.5'} | ${true}
+ ${'18.10'} | ${true}
+ ${'19.04'} | ${true}
+ ${'19.10'} | ${true}
+ ${'20.04'} | ${true}
+ ${'20.10'} | ${true}
+ ${'2020.04'} | ${false}
+ ${'xenial'} | ${true}
+ ${'warty'} | ${true}
+ ${'hoary'} | ${true}
+ ${'breezy'} | ${true}
+ ${'dapper'} | ${true}
+ ${'edgy'} | ${true}
+ ${'feisty'} | ${true}
+ ${'gutsy'} | ${true}
+ ${'hardy'} | ${true}
+ ${'intrepid'} | ${true}
+ ${'jaunty'} | ${true}
+ ${'karmic'} | ${true}
+ ${'lucid.4'} | ${false}
+ ${'maverick'} | ${true}
+ ${'natty'} | ${true}
+ ${'oneiric'} | ${true}
+ ${'precise.5'} | ${false}
+ ${'quantal'} | ${true}
+ ${'raring'} | ${true}
+ ${'saucy'} | ${true}
+ ${'trusty.6'} | ${false}
+ ${'utopic'} | ${true}
+ ${'vivid'} | ${true}
+ ${'wily'} | ${true}
+ ${'xenial.7'} | ${false}
+ ${'yakkety'} | ${true}
+ ${'zesty'} | ${true}
+ ${'artful'} | ${true}
+ ${'bionic.5'} | ${false}
+ ${'cosmic'} | ${true}
+ ${'disco'} | ${true}
+ ${'eoan'} | ${true}
+ ${'focal'} | ${true}
+ ${'groovy'} | ${true}
+ ${'hirsute'} | ${true}
+ ${'impish'} | ${true}
+ ${'jammy'} | ${true}
+ ${'jammy-20230816'} | ${true}
+ ${'jammy-20230816'} | ${true}
+ ${'yakkety-20160806.1'} | ${true}
+ ${'utopic-20150228.11'} | ${true}
+ ${'utopic-20150228.11.1'} | ${false}
+ ${'oracular-20240811.'} | ${false}
`('isValid("$version") === $expected', ({ version, expected }) => {
expect(ubuntu.isValid(version)).toBe(expected);
});
@@ -272,51 +276,59 @@ describe('modules/versioning/ubuntu/index', () => {
);
it.each`
- a | b | expected
- ${'20.04'} | ${'2020.04'} | ${false}
- ${'17.10'} | ${'artful'} | ${true}
- ${'xenial'} | ${'artful'} | ${false}
- ${'17.04'} | ${'artful'} | ${false}
- ${'artful'} | ${'17.10'} | ${true}
- ${'16.04'} | ${'xenial'} | ${true}
- ${'focal'} | ${'20.04'} | ${true}
- ${'20.04'} | ${'focal'} | ${true}
- ${'19.10'} | ${'19.10'} | ${true}
- ${'jammy'} | ${'jammy-20230816'} | ${false}
- ${'jammy-20230816'} | ${'jammy-20230816'} | ${true}
- ${'jammy-20230716'} | ${'jammy-20230816'} | ${false}
+ a | b | expected
+ ${'20.04'} | ${'2020.04'} | ${false}
+ ${'17.10'} | ${'artful'} | ${true}
+ ${'xenial'} | ${'artful'} | ${false}
+ ${'17.04'} | ${'artful'} | ${false}
+ ${'artful'} | ${'17.10'} | ${true}
+ ${'16.04'} | ${'xenial'} | ${true}
+ ${'focal'} | ${'20.04'} | ${true}
+ ${'20.04'} | ${'focal'} | ${true}
+ ${'19.10'} | ${'19.10'} | ${true}
+ ${'jammy'} | ${'jammy-20230816'} | ${false}
+ ${'jammy-20230816'} | ${'jammy-20230816'} | ${true}
+ ${'jammy-20230716'} | ${'jammy-20230816'} | ${false}
+ ${'jammy-20230716.1'} | ${'jammy-20230716.1'} | ${true}
+ ${'jammy-20230716.1'} | ${'jammy-20230716.2'} | ${false}
+ ${'jammy-20230716.1'} | ${'jammy-20230816.11'} | ${false}
`('equals($a, $b) === $expected', ({ a, b, expected }) => {
expect(ubuntu.equals(a, b)).toBe(expected);
});
it.each`
- a | b | expected
- ${'20.04'} | ${'20.10'} | ${false}
- ${'20.10'} | ${'20.04'} | ${true}
- ${'19.10'} | ${'20.04'} | ${false}
- ${'20.04'} | ${'19.10'} | ${true}
- ${'16.04'} | ${'16.04.7'} | ${false}
- ${'16.04.7'} | ${'16.04'} | ${true}
- ${'16.04.1'} | ${'16.04.7'} | ${false}
- ${'16.04.7'} | ${'16.04.1'} | ${true}
- ${'19.10.1'} | ${'20.04.1'} | ${false}
- ${'20.04.1'} | ${'19.10.1'} | ${true}
- ${'xxx'} | ${'yyy'} | ${false}
- ${'focal'} | ${'groovy'} | ${false}
- ${'groovy'} | ${'focal'} | ${true}
- ${'eoan'} | ${'focal'} | ${false}
- ${'focal'} | ${'eoan'} | ${true}
- ${'vivid'} | ${'saucy'} | ${true}
- ${'impish'} | ${'focal'} | ${true}
- ${'eoan'} | ${'quantal'} | ${true}
- ${'focal'} | ${'lucid'} | ${true}
- ${'eoan'} | ${'focal'} | ${false}
- ${'focal'} | ${'eoan'} | ${true}
- ${'jammy'} | ${'focal'} | ${true}
- ${'jammy-20230816'} | ${'focal'} | ${true}
- ${'jammy-20230816'} | ${'jammy-20230716'} | ${true}
- ${'jammy-20230716'} | ${'jammy-20230816'} | ${false}
- ${'focal-20230816'} | ${'jammy-20230716'} | ${false}
+ a | b | expected
+ ${'20.04'} | ${'20.10'} | ${false}
+ ${'20.10'} | ${'20.04'} | ${true}
+ ${'19.10'} | ${'20.04'} | ${false}
+ ${'20.04'} | ${'19.10'} | ${true}
+ ${'16.04'} | ${'16.04.7'} | ${false}
+ ${'16.04.7'} | ${'16.04'} | ${true}
+ ${'16.04.1'} | ${'16.04.7'} | ${false}
+ ${'16.04.7'} | ${'16.04.1'} | ${true}
+ ${'19.10.1'} | ${'20.04.1'} | ${false}
+ ${'20.04.1'} | ${'19.10.1'} | ${true}
+ ${'xxx'} | ${'yyy'} | ${false}
+ ${'focal'} | ${'groovy'} | ${false}
+ ${'groovy'} | ${'focal'} | ${true}
+ ${'eoan'} | ${'focal'} | ${false}
+ ${'focal'} | ${'eoan'} | ${true}
+ ${'vivid'} | ${'saucy'} | ${true}
+ ${'impish'} | ${'focal'} | ${true}
+ ${'eoan'} | ${'quantal'} | ${true}
+ ${'focal'} | ${'lucid'} | ${true}
+ ${'eoan'} | ${'focal'} | ${false}
+ ${'focal'} | ${'eoan'} | ${true}
+ ${'jammy'} | ${'focal'} | ${true}
+ ${'jammy-20230816'} | ${'focal'} | ${true}
+ ${'jammy-20230816'} | ${'jammy-20230716'} | ${true}
+ ${'jammy-20230716'} | ${'jammy-20230816'} | ${false}
+ ${'focal-20230816'} | ${'jammy-20230716'} | ${false}
+ ${'zesty-20170517.1'} | ${'jammy-20240627.1'} | ${false}
+ ${'jammy-20240627.3'} | ${'jammy-20240627.1'} | ${true}
+ ${'jammy-20240627.3'} | ${'jammy-20240627.4'} | ${false}
+ ${'jammy-20240627.1'} | ${'precise-20150228.11'} | ${true}
+ ${'jammy-20240627'} | ${'precise-20150228.11'} | ${true}
`('isGreaterThan("$a", "$b") === $expected', ({ a, b, expected }) => {
expect(ubuntu.isGreaterThan(a, b)).toBe(expected);
});
diff --git a/lib/modules/versioning/ubuntu/index.ts b/lib/modules/versioning/ubuntu/index.ts
index 338b419ecb18ca..ce41ab1a3a0d80 100644
--- a/lib/modules/versioning/ubuntu/index.ts
+++ b/lib/modules/versioning/ubuntu/index.ts
@@ -4,6 +4,7 @@ import { DistroInfo } from '../distro';
import type { NewValueConfig, VersioningApi } from '../types';
import {
getDatedContainerImageCodename,
+ getDatedContainerImageSuffix,
getDatedContainerImageVersion,
isDatedCodeName,
} from './common';
@@ -105,6 +106,12 @@ function equals(version: string, other: string): boolean {
return false;
}
+ const verSuffix = getDatedContainerImageSuffix(version);
+ const otherSuffix = getDatedContainerImageSuffix(other);
+ if (verSuffix !== otherSuffix) {
+ return false;
+ }
+
const ver = getVersionByCodename(version);
const otherVer = getVersionByCodename(other);
return isVersion(ver) && isVersion(otherVer) && ver === otherVer;
@@ -138,6 +145,15 @@ function isGreaterThan(version: string, other: string): boolean {
return false;
}
+ const xSuffixVersion = getDatedContainerImageSuffix(version) ?? 0;
+ const ySuffixVersion = getDatedContainerImageSuffix(other) ?? 0;
+ if (xSuffixVersion > ySuffixVersion) {
+ return true;
+ }
+ if (xSuffixVersion < ySuffixVersion) {
+ return false;
+ }
+
const xPatch = getPatch(version) ?? 0;
const yPatch = getPatch(other) ?? 0;
return xPatch > yPatch;
From ef1cf5906c761961464ff381cd31a61c85e22b22 Mon Sep 17 00:00:00 2001
From: Jonas Rutishauser
Date: Thu, 16 Jan 2025 09:52:17 +0100
Subject: [PATCH 063/247] feat(datasource/maven): Use relocation information
(#32636)
Co-authored-by: Rhys Arkins
---
lib/modules/datasource/maven/index.spec.ts | 67 ++++++++++++++++++++++
lib/modules/datasource/maven/types.ts | 7 ++-
lib/modules/datasource/maven/util.ts | 17 ++++++
3 files changed, 90 insertions(+), 1 deletion(-)
diff --git a/lib/modules/datasource/maven/index.spec.ts b/lib/modules/datasource/maven/index.spec.ts
index 4a87d5323f416e..d8d903184d6816 100644
--- a/lib/modules/datasource/maven/index.spec.ts
+++ b/lib/modules/datasource/maven/index.spec.ts
@@ -1,5 +1,6 @@
import { HeadObjectCommand, S3Client } from '@aws-sdk/client-s3';
import { mockClient } from 'aws-sdk-client-mock';
+import { codeBlock } from 'common-tags';
import { GoogleAuth as _googleAuth } from 'google-auth-library';
import { DateTime } from 'luxon';
import type { Release, ReleaseResult } from '..';
@@ -315,6 +316,72 @@ describe('modules/datasource/maven/index', () => {
expect(res?.sourceUrl).toBe('https://github.com/example/test');
});
+ describe('supports relocation', () => {
+ it('with only groupId present', async () => {
+ const pom = codeBlock`
+
+
+
+ io.example
+
+
+
+ `;
+ mockGenericPackage({ pom });
+
+ const res = await get();
+
+ expect(res).toMatchObject({
+ replacementName: 'io.example:package',
+ replacementVersion: '2.0.0',
+ });
+ });
+
+ it('with only artifactId present', async () => {
+ const pom = codeBlock`
+
+
+
+ foo
+
+
+
+ `;
+ mockGenericPackage({ pom });
+
+ const res = await get();
+
+ expect(res).toMatchObject({
+ replacementName: 'org.example:foo',
+ replacementVersion: '2.0.0',
+ });
+ });
+
+ it('with all elments present', async () => {
+ const pom = codeBlock`
+
+
+
+ io.example
+ foo
+ 1.2.3
+ test relocation
+
+
+
+ `;
+ mockGenericPackage({ pom });
+
+ const res = await get();
+
+ expect(res).toMatchObject({
+ replacementName: 'io.example:foo',
+ replacementVersion: '1.2.3',
+ deprecationMessage: 'test relocation',
+ });
+ });
+ });
+
it('removes authentication header after redirect', async () => {
const frontendHost = 'frontend_for_private_s3_repository';
const frontendUrl = `https://${frontendHost}/maven2`;
diff --git a/lib/modules/datasource/maven/types.ts b/lib/modules/datasource/maven/types.ts
index 853326887eaadc..f367802cd21735 100644
--- a/lib/modules/datasource/maven/types.ts
+++ b/lib/modules/datasource/maven/types.ts
@@ -18,7 +18,12 @@ export type HttpResourceCheckResult = 'found' | 'not-found' | 'error' | Date;
export type DependencyInfo = Pick<
ReleaseResult,
- 'homepage' | 'sourceUrl' | 'packageScope'
+ | 'homepage'
+ | 'sourceUrl'
+ | 'packageScope'
+ | 'replacementName'
+ | 'replacementVersion'
+ | 'deprecationMessage'
>;
export interface MavenFetchSuccess {
diff --git a/lib/modules/datasource/maven/util.ts b/lib/modules/datasource/maven/util.ts
index dd6fd41961fd7d..696836fd41f913 100644
--- a/lib/modules/datasource/maven/util.ts
+++ b/lib/modules/datasource/maven/util.ts
@@ -543,6 +543,23 @@ export async function getDependencyInfo(
}
}
+ const relocation = pomContent.descendantWithPath(
+ 'distributionManagement.relocation',
+ );
+ if (relocation) {
+ const relocationGroup =
+ relocation.valueWithPath('groupId') ?? dependency.group;
+ const relocationName =
+ relocation.valueWithPath('artifactId') ?? dependency.name;
+ result.replacementName = `${relocationGroup}:${relocationName}`;
+ const relocationVersion = relocation.valueWithPath('version');
+ result.replacementVersion = relocationVersion ?? version;
+ const relocationMessage = relocation.valueWithPath('message');
+ if (relocationMessage) {
+ result.deprecationMessage = relocationMessage;
+ }
+ }
+
const groupId = pomContent.valueWithPath('groupId');
if (groupId) {
result.packageScope = groupId;
From b3bd91be5c05c12722c4ab84b5f03002217483fb Mon Sep 17 00:00:00 2001
From: RahulGautamSingh
Date: Thu, 16 Jan 2025 14:41:05 +0530
Subject: [PATCH 064/247] feat(logger): replace INFO with DEBUG logs (#33478)
---
lib/modules/datasource/galaxy/index.ts | 5 ++---
lib/modules/manager/git-submodules/artifacts.ts | 2 +-
.../npm/update/locked-dependency/package-lock/index.ts | 2 +-
lib/modules/versioning/schema.ts | 3 +--
lib/workers/repository/process/vulnerabilities.spec.ts | 4 ++--
lib/workers/repository/process/vulnerabilities.ts | 2 +-
6 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/lib/modules/datasource/galaxy/index.ts b/lib/modules/datasource/galaxy/index.ts
index d855a1d4b6225a..cae51402213a80 100644
--- a/lib/modules/datasource/galaxy/index.ts
+++ b/lib/modules/datasource/galaxy/index.ts
@@ -63,9 +63,8 @@ export class GalaxyDatasource extends Datasource {
}
}
if (body.results.length === 0) {
- logger.info(
- { dependency: packageName },
- `Received no results from ${galaxyAPIUrl}`,
+ logger.debug(
+ `Received no results for ${packageName} from ${galaxyAPIUrl} `,
);
return null;
}
diff --git a/lib/modules/manager/git-submodules/artifacts.ts b/lib/modules/manager/git-submodules/artifacts.ts
index 531588df13c5f0..c8f6c334771c2b 100644
--- a/lib/modules/manager/git-submodules/artifacts.ts
+++ b/lib/modules/manager/git-submodules/artifacts.ts
@@ -7,7 +7,7 @@ export default function updateArtifacts({
const res: UpdateArtifactsResult[] = [];
updatedDeps.forEach((dep) => {
// TODO: types (#22198)
- logger.info(`Updating submodule ${dep.depName}`);
+ logger.debug(`Updating submodule ${dep.depName}`);
res.push({
file: { type: 'addition', path: dep.depName!, contents: '' },
});
diff --git a/lib/modules/manager/npm/update/locked-dependency/package-lock/index.ts b/lib/modules/manager/npm/update/locked-dependency/package-lock/index.ts
index 5e95a770667f67..b9419d3c63e082 100644
--- a/lib/modules/manager/npm/update/locked-dependency/package-lock/index.ts
+++ b/lib/modules/manager/npm/update/locked-dependency/package-lock/index.ts
@@ -48,7 +48,7 @@ export async function updateLockedDependency(
currentVersion,
);
if (lockedDeps.some((dep) => dep.bundled)) {
- logger.info(
+ logger.debug(
`Package ${depName}@${currentVersion} is bundled and cannot be updated`,
);
return { status: 'update-failed' };
diff --git a/lib/modules/versioning/schema.ts b/lib/modules/versioning/schema.ts
index 3bf4db93da042a..b7d55562f67278 100644
--- a/lib/modules/versioning/schema.ts
+++ b/lib/modules/versioning/schema.ts
@@ -12,8 +12,7 @@ export const Versioning = z
let versioning = versionings.get(versioningName);
if (!versioning) {
- logger.info(
- { versioning: versioningSpec },
+ logger.debug(
`Versioning: '${versioningSpec}' not found, falling back to ${defaultVersioning.id}`,
);
return defaultVersioning.api;
diff --git a/lib/workers/repository/process/vulnerabilities.spec.ts b/lib/workers/repository/process/vulnerabilities.spec.ts
index ada896774595a5..8922742ae9def5 100644
--- a/lib/workers/repository/process/vulnerabilities.spec.ts
+++ b/lib/workers/repository/process/vulnerabilities.spec.ts
@@ -407,7 +407,7 @@ describe('workers/repository/process/vulnerabilities', () => {
config,
packageFiles,
);
- expect(logger.logger.info).toHaveBeenCalledWith(
+ expect(logger.logger.debug).toHaveBeenCalledWith(
'No fixed version available for vulnerability GHSA-xxxx-yyyy-zzzz in fake 4.17.11',
);
});
@@ -449,7 +449,7 @@ describe('workers/repository/process/vulnerabilities', () => {
config,
packageFiles,
);
- expect(logger.logger.info).toHaveBeenCalledWith(
+ expect(logger.logger.debug).toHaveBeenCalledWith(
'No fixed version available for vulnerability GHSA-xxxx-yyyy-zzzz in fake 1.5.1',
);
});
diff --git a/lib/workers/repository/process/vulnerabilities.ts b/lib/workers/repository/process/vulnerabilities.ts
index 5a44b9cfde0b68..96e7af3a3fe6ea 100644
--- a/lib/workers/repository/process/vulnerabilities.ts
+++ b/lib/workers/repository/process/vulnerabilities.ts
@@ -483,7 +483,7 @@ export class Vulnerabilities {
packageFileConfig,
} = vul;
if (is.nullOrUndefined(fixedVersion)) {
- logger.info(
+ logger.debug(
`No fixed version available for vulnerability ${vulnerability.id} in ${packageName} ${depVersion}`,
);
return null;
From ea64bf5935bd5b3d0fda822f94b6af353d2ddc4e Mon Sep 17 00:00:00 2001
From: Sergei Zharinov
Date: Thu, 16 Jan 2025 07:54:10 -0300
Subject: [PATCH 065/247] feat(helm): Use schema for datasource (#33577)
Co-authored-by: Rhys Arkins
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
lib/modules/datasource/helm/common.spec.ts | 26 -------
lib/modules/datasource/helm/common.ts | 43 ------------
lib/modules/datasource/helm/index.ts | 76 ++++----------------
lib/modules/datasource/helm/schema.spec.ts | 41 +++++++++++
lib/modules/datasource/helm/schema.ts | 82 ++++++++++++++++++++++
lib/modules/datasource/helm/types.ts | 16 -----
6 files changed, 137 insertions(+), 147 deletions(-)
delete mode 100644 lib/modules/datasource/helm/common.spec.ts
delete mode 100644 lib/modules/datasource/helm/common.ts
create mode 100644 lib/modules/datasource/helm/schema.spec.ts
create mode 100644 lib/modules/datasource/helm/schema.ts
delete mode 100644 lib/modules/datasource/helm/types.ts
diff --git a/lib/modules/datasource/helm/common.spec.ts b/lib/modules/datasource/helm/common.spec.ts
deleted file mode 100644
index 84b88120db135a..00000000000000
--- a/lib/modules/datasource/helm/common.spec.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { Fixtures } from '../../../../test/fixtures';
-import { parseSingleYaml } from '../../../util/yaml';
-import { findSourceUrl } from './common';
-import type { HelmRepository } from './types';
-
-// Truncated index.yaml file
-const repo = parseSingleYaml(Fixtures.get('sample.yaml'));
-
-describe('modules/datasource/helm/common', () => {
- describe('findSourceUrl', () => {
- it.each`
- input | output
- ${'airflow'} | ${'https://github.com/bitnami/charts/tree/master/bitnami/airflow'}
- ${'coredns'} | ${'https://github.com/coredns/helm'}
- ${'pgadmin4'} | ${'https://github.com/rowanruseler/helm-charts'}
- ${'private-chart-github'} | ${'https://github.example.com/some-org/charts/tree/master/private-chart'}
- ${'private-chart-gitlab'} | ${'https://gitlab.example.com/some/group/charts/-/tree/master/private-chart'}
- ${'dummy'} | ${null}
- `(
- '$input -> $output',
- ({ input, output }: { input: string; output: string }) => {
- expect(findSourceUrl(repo.entries[input][0])).toEqual(output);
- },
- );
- });
-});
diff --git a/lib/modules/datasource/helm/common.ts b/lib/modules/datasource/helm/common.ts
deleted file mode 100644
index 0b32a3c33fa971..00000000000000
--- a/lib/modules/datasource/helm/common.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-import { detectPlatform } from '../../../util/common';
-import { parseGitUrl } from '../../../util/git/url';
-import { regEx } from '../../../util/regex';
-import type { HelmRelease } from './types';
-
-const chartRepo = regEx(/charts?|helm|helm-charts/i);
-const githubRelease = regEx(
- /^(https:\/\/github\.com\/[^/]+\/[^/]+)\/releases\//,
-);
-
-function isPossibleChartRepo(url: string): boolean {
- if (detectPlatform(url) === null) {
- return false;
- }
-
- const parsed = parseGitUrl(url);
- return chartRepo.test(parsed.name);
-}
-
-export function findSourceUrl(release: HelmRelease): string | null {
- // it's a github release :)
- const releaseMatch = githubRelease.exec(release.urls[0]);
- if (releaseMatch) {
- return releaseMatch[1];
- }
-
- if (release.home && isPossibleChartRepo(release.home)) {
- return release.home;
- }
-
- if (!release.sources?.length) {
- return null;
- }
-
- for (const url of release.sources) {
- if (isPossibleChartRepo(url)) {
- return url;
- }
- }
-
- // fallback
- return release.sources[0];
-}
diff --git a/lib/modules/datasource/helm/index.ts b/lib/modules/datasource/helm/index.ts
index 6ca3681c98103e..506b6a46904271 100644
--- a/lib/modules/datasource/helm/index.ts
+++ b/lib/modules/datasource/helm/index.ts
@@ -1,14 +1,11 @@
-import is from '@sindresorhus/is';
import { logger } from '../../../logger';
import { cache } from '../../../util/cache/package/decorator';
-import type { HttpResponse } from '../../../util/http/types';
import { ensureTrailingSlash } from '../../../util/url';
-import { parseSingleYaml } from '../../../util/yaml';
import * as helmVersioning from '../../versioning/helm';
import { Datasource } from '../datasource';
import type { GetReleasesConfig, ReleaseResult } from '../types';
-import { findSourceUrl } from './common';
-import type { HelmRepository, HelmRepositoryData } from './types';
+import type { HelmRepositoryData } from './schema';
+import { HelmRepositorySchema } from './schema';
export class HelmDatasource extends Datasource {
static readonly id = 'helm';
@@ -34,63 +31,22 @@ export class HelmDatasource extends Datasource {
@cache({
namespace: `datasource-${HelmDatasource.id}`,
- key: (helmRepository: string) => helmRepository,
+ key: (helmRepository: string) => `repository-data:${helmRepository}`,
})
- async getRepositoryData(
- helmRepository: string,
- ): Promise {
- let res: HttpResponse;
- try {
- res = await this.http.get('index.yaml', {
- baseUrl: ensureTrailingSlash(helmRepository),
- });
- if (!res?.body) {
- logger.warn(
- { helmRepository },
- `Received invalid response from helm repository`,
- );
- return null;
- }
- } catch (err) {
+ async getRepositoryData(helmRepository: string): Promise {
+ const { val, err } = await this.http
+ .getYamlSafe(
+ 'index.yaml',
+ { baseUrl: ensureTrailingSlash(helmRepository) },
+ HelmRepositorySchema,
+ )
+ .unwrap();
+
+ if (err) {
this.handleGenericErrors(err);
}
- try {
- // TODO: use schema (#9610)
- const doc = parseSingleYaml(res.body);
- if (!is.plainObject(doc)) {
- logger.warn(
- { helmRepository },
- `Failed to parse index.yaml from helm repository`,
- );
- return null;
- }
- const result: HelmRepositoryData = {};
- for (const [name, releases] of Object.entries(doc.entries)) {
- if (releases.length === 0) {
- continue;
- }
- const latestRelease = releases[0];
- const sourceUrl = findSourceUrl(latestRelease);
- result[name] = {
- homepage: latestRelease.home,
- sourceUrl,
- releases: releases.map((release) => ({
- version: release.version,
- releaseTimestamp: release.created ?? null,
- // The Helm repository at Gitlab does not include a digest (#24280)
- newDigest: release.digest ?? undefined,
- })),
- };
- }
- return result;
- } catch (err) {
- logger.debug(
- { helmRepository, err },
- `Failed to parse index.yaml from helm repository`,
- );
- return null;
- }
+ return val;
}
async getReleases({
@@ -103,10 +59,6 @@ export class HelmDatasource extends Datasource {
}
const repositoryData = await this.getRepositoryData(helmRepository);
- if (!repositoryData) {
- logger.debug(`Missing repo data from ${helmRepository}`);
- return null;
- }
const releases = repositoryData[packageName];
if (!releases) {
logger.debug(
diff --git a/lib/modules/datasource/helm/schema.spec.ts b/lib/modules/datasource/helm/schema.spec.ts
new file mode 100644
index 00000000000000..52f10871fb436f
--- /dev/null
+++ b/lib/modules/datasource/helm/schema.spec.ts
@@ -0,0 +1,41 @@
+import { Fixtures } from '../../../../test/fixtures';
+import { Yaml } from '../../../util/schema-utils';
+import { HelmRepositorySchema } from './schema';
+
+describe('modules/datasource/helm/schema', () => {
+ describe('sourceUrl', () => {
+ it('works', () => {
+ const repo = Yaml.pipe(HelmRepositorySchema).parse(
+ Fixtures.get('sample.yaml'),
+ );
+ expect(repo).toMatchObject({
+ airflow: {
+ homepage:
+ 'https://github.com/bitnami/charts/tree/master/bitnami/airflow',
+ sourceUrl:
+ 'https://github.com/bitnami/charts/tree/master/bitnami/airflow',
+ },
+ coredns: {
+ homepage: 'https://coredns.io',
+ sourceUrl: 'https://github.com/coredns/helm',
+ },
+ pgadmin4: {
+ homepage: 'https://www.pgadmin.org/',
+ sourceUrl: 'https://github.com/rowanruseler/helm-charts',
+ },
+ 'private-chart-github': {
+ homepage:
+ 'https://github.example.com/some-org/charts/tree/master/private-chart',
+ sourceUrl:
+ 'https://github.example.com/some-org/charts/tree/master/private-chart',
+ },
+ 'private-chart-gitlab': {
+ homepage:
+ 'https://gitlab.example.com/some/group/charts/-/tree/master/private-chart',
+ sourceUrl:
+ 'https://gitlab.example.com/some/group/charts/-/tree/master/private-chart',
+ },
+ });
+ });
+ });
+});
diff --git a/lib/modules/datasource/helm/schema.ts b/lib/modules/datasource/helm/schema.ts
new file mode 100644
index 00000000000000..d10d90120b86ab
--- /dev/null
+++ b/lib/modules/datasource/helm/schema.ts
@@ -0,0 +1,82 @@
+import { z } from 'zod';
+import { detectPlatform } from '../../../util/common';
+import { parseGitUrl } from '../../../util/git/url';
+import { regEx } from '../../../util/regex';
+import { LooseRecord } from '../../../util/schema-utils';
+import type { Release } from '../types';
+
+const HelmReleaseSchema = z.object({
+ version: z.string(),
+ created: z.string().nullable().catch(null),
+ digest: z.string().optional().catch(undefined),
+ home: z.string().optional().catch(undefined),
+ sources: z.array(z.string()).catch([]),
+ urls: z.array(z.string()).catch([]),
+});
+type HelmRelease = z.infer;
+
+const chartRepo = regEx(/charts?|helm|helm-charts/i);
+
+function isPossibleChartRepo(url: string): boolean {
+ if (detectPlatform(url) === null) {
+ return false;
+ }
+
+ const parsed = parseGitUrl(url);
+ return chartRepo.test(parsed.name);
+}
+
+const githubRelease = regEx(
+ /^(https:\/\/github\.com\/[^/]+\/[^/]+)\/releases\//,
+);
+
+function getSourceUrl(release: HelmRelease): string | undefined {
+ // it's a github release :)
+ const [githubUrl] = release.urls;
+ const releaseMatch = githubRelease.exec(githubUrl);
+ if (releaseMatch) {
+ return releaseMatch[1];
+ }
+
+ if (release.home && isPossibleChartRepo(release.home)) {
+ return release.home;
+ }
+
+ for (const url of release.sources) {
+ if (isPossibleChartRepo(url)) {
+ return url;
+ }
+ }
+
+ // fallback
+ return release.sources[0];
+}
+
+export const HelmRepositorySchema = z
+ .object({
+ entries: LooseRecord(
+ z.string(),
+ HelmReleaseSchema.array()
+ .min(1)
+ .transform((helmReleases) => {
+ const latestRelease = helmReleases[0];
+ const homepage = latestRelease.home;
+ const sourceUrl = getSourceUrl(latestRelease);
+ const releases = helmReleases.map(
+ ({
+ version,
+ created: releaseTimestamp,
+ digest: newDigest,
+ }): Release => ({
+ version,
+ releaseTimestamp,
+ newDigest,
+ }),
+ );
+ return { homepage, sourceUrl, releases };
+ }),
+ ),
+ })
+ .transform(({ entries }) => entries);
+
+export type HelmRepositoryData = z.infer;
diff --git a/lib/modules/datasource/helm/types.ts b/lib/modules/datasource/helm/types.ts
deleted file mode 100644
index 3c89e124e6f589..00000000000000
--- a/lib/modules/datasource/helm/types.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import type { ReleaseResult } from '../types';
-
-export interface HelmRelease {
- home?: string;
- sources?: string[];
- version: string;
- created: string;
- digest: string | null;
- urls: string[];
-}
-
-export interface HelmRepository {
- entries: Record;
-}
-
-export type HelmRepositoryData = Record;
From 545b10855b597c7ca81a7cc664d458ce62b37196 Mon Sep 17 00:00:00 2001
From: Jonas Rutishauser
Date: Thu, 16 Jan 2025 12:42:40 +0100
Subject: [PATCH 066/247] feat(maven): Add maven relocation support (#32550)
Co-authored-by: Rhys Arkins
Co-authored-by: Michael Kriese
---
.../repository/process/lookup/index.spec.ts | 23 +++++++++++++++++++
.../repository/process/lookup/index.ts | 6 +++++
2 files changed, 29 insertions(+)
diff --git a/lib/workers/repository/process/lookup/index.spec.ts b/lib/workers/repository/process/lookup/index.spec.ts
index 986d8bc395d6f4..26e13ba8e45673 100644
--- a/lib/workers/repository/process/lookup/index.spec.ts
+++ b/lib/workers/repository/process/lookup/index.spec.ts
@@ -4947,6 +4947,29 @@ describe('workers/repository/process/lookup/index', () => {
]);
});
+ it('handles replacements - from datasource', async () => {
+ config.currentValue = '2.0.0';
+ config.packageName = 'org.example:foo';
+ config.datasource = MavenDatasource.id;
+ getMavenReleases.mockResolvedValueOnce({
+ releases: [{ version: '2.0.0' }],
+ replacementName: 'foo:bar',
+ replacementVersion: '2.0.0',
+ });
+
+ const { updates } = await Result.wrap(
+ lookup.lookupUpdates(config),
+ ).unwrapOrThrow();
+
+ expect(updates).toEqual([
+ {
+ updateType: 'replacement',
+ newName: 'foo:bar',
+ newValue: '2.0.0',
+ },
+ ]);
+ });
+
it('rollback for invalid version to last stable version', async () => {
config.currentValue = '2.5.17';
config.packageName = 'vue';
diff --git a/lib/workers/repository/process/lookup/index.ts b/lib/workers/repository/process/lookup/index.ts
index e481f6b3acbc0d..7c674c80080dd1 100644
--- a/lib/workers/repository/process/lookup/index.ts
+++ b/lib/workers/repository/process/lookup/index.ts
@@ -571,6 +571,12 @@ export async function lookupUpdates(
if (isReplacementRulesConfigured(config)) {
addReplacementUpdateIfValid(res.updates, config);
+ } else if (dependency?.replacementName && dependency.replacementVersion) {
+ res.updates.push({
+ updateType: 'replacement',
+ newName: dependency.replacementName,
+ newValue: dependency.replacementVersion,
+ });
}
// Record if the dep is fixed to a version
From 3cae4d8c214a3205dadbd4e9bf2dc76f769521f7 Mon Sep 17 00:00:00 2001
From: Sergei Zharinov
Date: Thu, 16 Jan 2025 11:00:52 -0300
Subject: [PATCH 067/247] fix(artifactory): Fix timestamp handling (#33645)
---
lib/modules/datasource/artifactory/index.ts | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/lib/modules/datasource/artifactory/index.ts b/lib/modules/datasource/artifactory/index.ts
index 77eff31975492b..54657508be9b5d 100644
--- a/lib/modules/datasource/artifactory/index.ts
+++ b/lib/modules/datasource/artifactory/index.ts
@@ -3,6 +3,7 @@ import { cache } from '../../../util/cache/package/decorator';
import { parse } from '../../../util/html';
import { HttpError } from '../../../util/http';
import { regEx } from '../../../util/regex';
+import { asTimestamp } from '../../../util/timestamp';
import { joinUrlParts } from '../../../util/url';
import { Datasource } from '../datasource';
import type { GetReleasesConfig, Release, ReleaseResult } from '../types';
@@ -72,13 +73,13 @@ export class ArtifactoryDatasource extends Datasource {
? node.innerHTML.slice(0, -1)
: node.innerHTML;
- const published = ArtifactoryDatasource.parseReleaseTimestamp(
- node.nextSibling!.text, // TODO: can be null (#22198)
+ const releaseTimestamp = asTimestamp(
+ node.nextSibling?.text?.trimStart()?.split(regEx(/\s{2,}/))?.[0],
);
const thisRelease: Release = {
version,
- releaseTimestamp: published,
+ releaseTimestamp,
};
result.releases.push(thisRelease);
@@ -112,11 +113,4 @@ export class ArtifactoryDatasource extends Datasource {
return result.releases.length ? result : null;
}
-
- private static parseReleaseTimestamp(rawText: string): string {
- return (
- rawText.split(regEx(/\s{2,}/)).filter((e) => !isNaN(Date.parse(e)))[0] +
- 'Z'
- );
- }
}
From 0c2eaaf8bbfd4d79c5f53a2f9ac9fcbe8f44102b Mon Sep 17 00:00:00 2001
From: Rhys Arkins
Date: Thu, 16 Jan 2025 16:05:07 +0100
Subject: [PATCH 068/247] feat: sharedVariableName (#33111)
Co-authored-by: Michael Kriese
---
lib/config/types.ts | 1 +
lib/modules/manager/cocoapods/extract.ts | 16 +-
lib/modules/manager/cocoapods/types.ts | 2 +-
lib/modules/manager/gradle/extract.spec.ts | 190 ++++++++++++++++--
.../manager/gradle/extract/catalog.spec.ts | 12 +-
lib/modules/manager/gradle/extract/catalog.ts | 8 +-
.../consistent-versions-plugin.spec.ts | 10 +-
.../extract/consistent-versions-plugin.ts | 2 +-
lib/modules/manager/gradle/parser.spec.ts | 90 +++++----
lib/modules/manager/gradle/parser/handlers.ts | 16 +-
lib/modules/manager/gradle/update.spec.ts | 2 +-
lib/modules/manager/gradle/update.ts | 2 +-
.../__snapshots__/extract.spec.ts.snap | 2 +-
lib/modules/manager/leiningen/extract.spec.ts | 4 +-
lib/modules/manager/leiningen/extract.ts | 2 +-
lib/modules/manager/maven/extract.spec.ts | 6 +-
lib/modules/manager/maven/extract.ts | 10 +-
lib/modules/manager/maven/update.ts | 2 +-
.../manager/npm/post-update/pnpm.spec.ts | 4 +-
.../nuget/__snapshots__/extract.spec.ts.snap | 4 +-
lib/modules/manager/nuget/extract.ts | 8 +-
lib/modules/manager/poetry/schema.ts | 6 +-
.../sbt/__snapshots__/extract.spec.ts.snap | 14 +-
lib/modules/manager/sbt/extract.spec.ts | 4 +-
lib/modules/manager/sbt/extract.ts | 2 +-
lib/modules/manager/types.ts | 2 +-
.../repository/updates/branch-name.spec.ts | 15 +-
lib/workers/repository/updates/branch-name.ts | 6 +
28 files changed, 315 insertions(+), 127 deletions(-)
diff --git a/lib/config/types.ts b/lib/config/types.ts
index 0798f99d7ca662..7bf0bcaf0237f2 100644
--- a/lib/config/types.ts
+++ b/lib/config/types.ts
@@ -309,6 +309,7 @@ export interface RenovateConfig
branchTopic?: string;
additionalBranchPrefix?: string;
+ sharedVariableName?: string;
}
const CustomDatasourceFormats = ['json', 'plain', 'yaml', 'html'] as const;
diff --git a/lib/modules/manager/cocoapods/extract.ts b/lib/modules/manager/cocoapods/extract.ts
index 041c2a8a0aace5..50faed7450ac8b 100644
--- a/lib/modules/manager/cocoapods/extract.ts
+++ b/lib/modules/manager/cocoapods/extract.ts
@@ -36,12 +36,12 @@ export function parseLine(line: string): ParsedLine {
const depName = result.subspec
? `${result.spec}/${result.subspec}`
: result.spec;
- const groupName = result.spec;
+ const specName = result.spec;
if (depName) {
result.depName = depName;
}
- if (groupName) {
- result.groupName = groupName;
+ if (specName) {
+ result.specName = specName;
}
delete result.spec;
delete result.subspec;
@@ -96,7 +96,7 @@ export async function extractPackageFile(
const parsedLine = parseLine(line);
const {
depName,
- groupName,
+ specName,
currentValue,
git,
tag,
@@ -112,14 +112,14 @@ export async function extractPackageFile(
const managerData = { lineNumber };
let dep: PackageDependency = {
depName,
- groupName,
+ sharedVariableName: specName,
skipReason: 'unspecified-version',
};
if (currentValue) {
dep = {
depName,
- groupName,
+ sharedVariableName: specName,
datasource: PodDatasource.id,
currentValue,
managerData,
@@ -131,14 +131,14 @@ export async function extractPackageFile(
} else {
dep = {
depName,
- groupName,
+ sharedVariableName: specName,
skipReason: 'git-dependency',
};
}
} else if (path) {
dep = {
depName,
- groupName,
+ sharedVariableName: specName,
skipReason: 'path-dependency',
};
}
diff --git a/lib/modules/manager/cocoapods/types.ts b/lib/modules/manager/cocoapods/types.ts
index 74fef13b828c8f..311fb8d867ca32 100644
--- a/lib/modules/manager/cocoapods/types.ts
+++ b/lib/modules/manager/cocoapods/types.ts
@@ -1,6 +1,6 @@
export interface ParsedLine {
depName?: string;
- groupName?: string;
+ specName?: string;
spec?: string;
subspec?: string;
currentValue?: string;
diff --git a/lib/modules/manager/gradle/extract.spec.ts b/lib/modules/manager/gradle/extract.spec.ts
index bd11d3a32ac66c..25c24846e3805c 100644
--- a/lib/modules/manager/gradle/extract.spec.ts
+++ b/lib/modules/manager/gradle/extract.spec.ts
@@ -188,27 +188,27 @@ describe('modules/manager/gradle/extract', () => {
{
depName: 'javax.cache:cache-api',
currentValue: '1.1.0',
- groupName: 'Libraries.jCache',
+ sharedVariableName: 'Libraries.jCache',
},
{
depName: 'com.android.tools.build:gradle',
currentValue: '4.1.2',
- groupName: 'Libraries.Android.Tools.version',
+ sharedVariableName: 'Libraries.Android.Tools.version',
},
{
depName: 'androidx.test:core',
currentValue: '1.3.0-rc01',
- groupName: 'Libraries.Test.version',
+ sharedVariableName: 'Libraries.Test.version',
},
{
depName: 'androidx.test.espresso:espresso-core',
currentValue: '3.3.0-rc01',
- groupName: 'Libraries.Test.Espresso.version',
+ sharedVariableName: 'Libraries.Test.Espresso.version',
},
{
depName: 'androidx.test:core-ktx',
currentValue: '1.3.0-rc01',
- groupName: 'Libraries.Test.version',
+ sharedVariableName: 'Libraries.Test.version',
},
],
},
@@ -218,7 +218,7 @@ describe('modules/manager/gradle/extract', () => {
{
depName: 'org.jetbrains.kotlin:kotlin-stdlib',
currentValue: '1.8.10',
- groupName: 'GradleDeps.Kotlin.version',
+ sharedVariableName: 'GradleDeps.Kotlin.version',
},
],
},
@@ -228,12 +228,12 @@ describe('modules/manager/gradle/extract', () => {
{
depName: 'com.fasterxml.jackson.core:jackson-annotations',
currentValue: '2.9.10',
- groupName: 'Versions.jackson',
+ sharedVariableName: 'Versions.jackson',
},
{
depName: 'io.reactivex.rxjava2:rxjava',
currentValue: '1.2.3',
- groupName: 'Versions.rxjava',
+ sharedVariableName: 'Versions.rxjava',
},
],
},
@@ -513,7 +513,7 @@ describe('modules/manager/gradle/extract', () => {
deps: [
{
depName: 'io.gitlab.arturbosch.detekt:detekt-formatting',
- groupName: 'detekt',
+ sharedVariableName: 'detekt',
currentValue: '1.17.0',
managerData: {
fileReplacePosition: 21,
@@ -522,7 +522,7 @@ describe('modules/manager/gradle/extract', () => {
},
{
depName: 'io.kotest:kotest-assertions-core-jvm',
- groupName: 'kotest',
+ sharedVariableName: 'kotest',
currentValue: '4.6.0',
managerData: {
fileReplacePosition: 51,
@@ -531,7 +531,7 @@ describe('modules/manager/gradle/extract', () => {
},
{
depName: 'io.kotest:kotest-runner-junit5',
- groupName: 'kotest',
+ sharedVariableName: 'kotest',
currentValue: '4.6.0',
managerData: {
fileReplacePosition: 51,
@@ -627,6 +627,58 @@ describe('modules/manager/gradle/extract', () => {
),
).toBeNull();
});
+
+ it('deletes commit message for plugins with version reference', async () => {
+ const fsMock = {
+ 'gradle/libs.versions.toml': codeBlock`
+ [versions]
+ detekt = "1.18.1"
+
+ [plugins]
+ detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" }
+
+ [libraries]
+ detekt-formatting = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt" }
+ `,
+ };
+ mockFs(fsMock);
+
+ const res = await extractAllPackageFiles(
+ partial(),
+ Object.keys(fsMock),
+ );
+ expect(res).toMatchObject([
+ {
+ packageFile: 'gradle/libs.versions.toml',
+ deps: [
+ {
+ depName: 'io.gitlab.arturbosch.detekt:detekt-formatting',
+ sharedVariableName: 'detekt',
+ currentValue: '1.18.1',
+ managerData: {
+ fileReplacePosition: 21,
+ packageFile: 'gradle/libs.versions.toml',
+ },
+ fileReplacePosition: 21,
+ },
+ {
+ depType: 'plugin',
+ depName: 'io.gitlab.arturbosch.detekt',
+ packageName:
+ 'io.gitlab.arturbosch.detekt:io.gitlab.arturbosch.detekt.gradle.plugin',
+ registryUrls: ['https://plugins.gradle.org/m2/'],
+ currentValue: '1.18.1',
+ managerData: {
+ fileReplacePosition: 21,
+ packageFile: 'gradle/libs.versions.toml',
+ },
+ sharedVariableName: 'detekt',
+ fileReplacePosition: 21,
+ },
+ ],
+ },
+ ]);
+ });
});
describe('apply from', () => {
@@ -817,7 +869,7 @@ describe('modules/manager/gradle/extract', () => {
depName: 'org.apache.lucene:lucene-core',
depType: 'dependencies',
fileReplacePosition: 22,
- groupName: 'org.apache.lucene:*',
+ sharedVariableName: 'org.apache.lucene:*',
lockedVersion: '1.2.3',
managerData: {
fileReplacePosition: 22,
@@ -828,7 +880,7 @@ describe('modules/manager/gradle/extract', () => {
depName: 'org.apache.lucene:lucene-codecs',
depType: 'dependencies',
fileReplacePosition: 22,
- groupName: 'org.apache.lucene:*',
+ sharedVariableName: 'org.apache.lucene:*',
lockedVersion: '1.2.3',
managerData: {
fileReplacePosition: 22,
@@ -869,5 +921,117 @@ describe('modules/manager/gradle/extract', () => {
);
expect(res).toBeNull();
});
+
+ it('supports multiple levels of glob', async () => {
+ const fsMock = {
+ 'versions.props': codeBlock`
+ org.apache.* = 4
+ org.apache.lucene:* = 3
+ org.apache.lucene:a.* = 2
+ org.apache.lucene:a.b = 1
+ org.apache.foo*:* = 5
+ `,
+ 'versions.lock': codeBlock`
+ # Run ./gradlew --write-locks to regenerate this file
+ org.apache.solr:x.y:1 (10 constraints: 95be0c15)
+ org.apache.lucene:a.b:1 (10 constraints: 95be0c15)
+ org.apache.lucene:a.c:1 (10 constraints: 95be0c15)
+ org.apache.lucene:a.d:1 (10 constraints: 95be0c15)
+ org.apache.lucene:d:1 (10 constraints: 95be0c15)
+ org.apache.lucene:e.f:1 (10 constraints: 95be0c15)
+ org.apache.foo-bar:a:1 (10 constraints: 95be0c15)
+ `,
+ };
+ mockFs(fsMock);
+
+ const res = await extractAllPackageFiles(
+ partial(),
+ Object.keys(fsMock),
+ );
+
+ // Each lock dep is only present once, with highest prio for exact prop match, then globs from longest to shortest
+ expect(res).toMatchObject([
+ {
+ packageFile: 'versions.lock',
+ deps: [],
+ },
+ {
+ packageFile: 'versions.props',
+ deps: [
+ {
+ managerData: {
+ packageFile: 'versions.props',
+ fileReplacePosition: 91,
+ },
+ depName: 'org.apache.lucene:a.b',
+ currentValue: '1',
+ lockedVersion: '1',
+ fileReplacePosition: 91,
+ depType: 'dependencies',
+ },
+ {
+ managerData: {
+ packageFile: 'versions.props',
+ fileReplacePosition: 65,
+ },
+ depName: 'org.apache.lucene:a.c',
+ currentValue: '2',
+ lockedVersion: '1',
+ sharedVariableName: 'org.apache.lucene:a.*',
+ fileReplacePosition: 65,
+ depType: 'dependencies',
+ },
+ {
+ managerData: {
+ packageFile: 'versions.props',
+ fileReplacePosition: 65,
+ },
+ depName: 'org.apache.lucene:a.d',
+ currentValue: '2',
+ lockedVersion: '1',
+ sharedVariableName: 'org.apache.lucene:a.*',
+ fileReplacePosition: 65,
+ depType: 'dependencies',
+ },
+ {
+ managerData: {
+ packageFile: 'versions.props',
+ fileReplacePosition: 39,
+ },
+ depName: 'org.apache.lucene:d',
+ currentValue: '3',
+ lockedVersion: '1',
+ sharedVariableName: 'org.apache.lucene:*',
+ fileReplacePosition: 39,
+ depType: 'dependencies',
+ },
+ {
+ managerData: {
+ packageFile: 'versions.props',
+ fileReplacePosition: 39,
+ },
+ depName: 'org.apache.lucene:e.f',
+ currentValue: '3',
+ lockedVersion: '1',
+ sharedVariableName: 'org.apache.lucene:*',
+ fileReplacePosition: 39,
+ depType: 'dependencies',
+ },
+ {
+ managerData: {
+ fileReplacePosition: 113,
+ packageFile: 'versions.props',
+ },
+ depName: 'org.apache.foo-bar:a',
+ currentValue: '5',
+ lockedVersion: '1',
+ sharedVariableName: 'org.apache.foo*:*',
+ fileReplacePosition: 113,
+ depType: 'dependencies',
+ },
+ ],
+ },
+ ]);
+ });
});
});
diff --git a/lib/modules/manager/gradle/extract/catalog.spec.ts b/lib/modules/manager/gradle/extract/catalog.spec.ts
index f1dc53281634a5..6f470a04b77c07 100644
--- a/lib/modules/manager/gradle/extract/catalog.spec.ts
+++ b/lib/modules/manager/gradle/extract/catalog.spec.ts
@@ -50,7 +50,7 @@ describe('modules/manager/gradle/extract/catalog', () => {
},
{
depName: 'com.squareup.retrofit2:retrofit',
- groupName: 'retro.fit',
+ sharedVariableName: 'retro.fit',
currentValue: '2.8.2',
managerData: {
fileReplacePosition: 42,
@@ -94,7 +94,7 @@ describe('modules/manager/gradle/extract/catalog', () => {
depName: 'org.jetbrains.kotlin.plugin.serialization',
depType: 'plugin',
currentValue: '1.5.21',
- groupName: 'kotlin',
+ sharedVariableName: 'kotlin',
packageName:
'org.jetbrains.kotlin.plugin.serialization:org.jetbrains.kotlin.plugin.serialization.gradle.plugin',
managerData: {
@@ -133,7 +133,7 @@ describe('modules/manager/gradle/extract/catalog', () => {
expect(res).toStrictEqual([
{
depName: 'io.gitlab.arturbosch.detekt:detekt-formatting',
- groupName: 'detekt',
+ sharedVariableName: 'detekt',
currentValue: '1.18.1',
managerData: {
fileReplacePosition: 21,
@@ -150,7 +150,7 @@ describe('modules/manager/gradle/extract/catalog', () => {
fileReplacePosition: 21,
packageFile: 'gradle/libs.versions.toml',
},
- groupName: 'detekt',
+ sharedVariableName: 'detekt',
},
]);
});
@@ -173,7 +173,7 @@ describe('modules/manager/gradle/extract/catalog', () => {
expect(res).toStrictEqual([
{
depName: 'junit:junit',
- groupName: 'junit',
+ sharedVariableName: 'junit',
currentValue: '1.4.9',
managerData: {
fileReplacePosition: 124,
@@ -182,7 +182,7 @@ describe('modules/manager/gradle/extract/catalog', () => {
},
{
depName: 'mocha-junit:mocha-junit',
- groupName: 'mocha.junit.reporter',
+ sharedVariableName: 'mocha.junit.reporter',
currentValue: '2.0.2',
managerData: {
fileReplacePosition: 82,
diff --git a/lib/modules/manager/gradle/extract/catalog.ts b/lib/modules/manager/gradle/extract/catalog.ts
index e4ed8d634266a6..36a21a5b80639e 100644
--- a/lib/modules/manager/gradle/extract/catalog.ts
+++ b/lib/modules/manager/gradle/extract/catalog.ts
@@ -188,7 +188,7 @@ function extractDependency({
versionSubContent: string;
}): PackageDependency {
if (is.string(descriptor)) {
- const [groupName, name, currentValue] = descriptor.split(':');
+ const [group, name, currentValue] = descriptor.split(':');
if (!currentValue) {
return {
depName,
@@ -196,7 +196,7 @@ function extractDependency({
};
}
return {
- depName: `${groupName}:${name}`,
+ depName: `${group}:${name}`,
currentValue,
managerData: {
fileReplacePosition:
@@ -236,7 +236,7 @@ function extractDependency({
}
if (isVersionPointer(descriptor.version)) {
- dependency.groupName = normalizeAlias(descriptor.version.ref);
+ dependency.sharedVariableName = normalizeAlias(descriptor.version.ref);
}
return dependency;
@@ -298,7 +298,7 @@ export function parseCatalog(
dependency.skipReason = skipReason;
}
if (isVersionPointer(version) && dependency.commitMessageTopic) {
- dependency.groupName = normalizeAlias(version.ref);
+ dependency.sharedVariableName = normalizeAlias(version.ref);
delete dependency.commitMessageTopic;
}
diff --git a/lib/modules/manager/gradle/extract/consistent-versions-plugin.spec.ts b/lib/modules/manager/gradle/extract/consistent-versions-plugin.spec.ts
index fdde721e725453..850031576ba663 100644
--- a/lib/modules/manager/gradle/extract/consistent-versions-plugin.spec.ts
+++ b/lib/modules/manager/gradle/extract/consistent-versions-plugin.spec.ts
@@ -136,7 +136,7 @@ describe('modules/manager/gradle/extract/consistent-versions-plugin', () => {
depName: 'org.apache.lucene:a.c',
currentValue: '2',
lockedVersion: '1',
- groupName: 'org.apache.lucene:a.*',
+ sharedVariableName: 'org.apache.lucene:a.*',
depType: 'dependencies',
},
{
@@ -147,7 +147,7 @@ describe('modules/manager/gradle/extract/consistent-versions-plugin', () => {
depName: 'org.apache.lucene:a.d',
currentValue: '2',
lockedVersion: '1',
- groupName: 'org.apache.lucene:a.*',
+ sharedVariableName: 'org.apache.lucene:a.*',
depType: 'dependencies',
},
{
@@ -158,7 +158,7 @@ describe('modules/manager/gradle/extract/consistent-versions-plugin', () => {
depName: 'org.apache.lucene:d',
currentValue: '3',
lockedVersion: '1',
- groupName: 'org.apache.lucene:*',
+ sharedVariableName: 'org.apache.lucene:*',
depType: 'dependencies',
},
{
@@ -169,7 +169,7 @@ describe('modules/manager/gradle/extract/consistent-versions-plugin', () => {
depName: 'org.apache.lucene:e.f',
currentValue: '3',
lockedVersion: '1',
- groupName: 'org.apache.lucene:*',
+ sharedVariableName: 'org.apache.lucene:*',
depType: 'dependencies',
},
{
@@ -180,7 +180,7 @@ describe('modules/manager/gradle/extract/consistent-versions-plugin', () => {
depName: 'org.apache.foo-bar:a',
currentValue: '5',
lockedVersion: '1',
- groupName: 'org.apache.foo*:*',
+ sharedVariableName: 'org.apache.foo*:*',
depType: 'dependencies',
},
]);
diff --git a/lib/modules/manager/gradle/extract/consistent-versions-plugin.ts b/lib/modules/manager/gradle/extract/consistent-versions-plugin.ts
index 4feeb371208802..22ec356576adbe 100644
--- a/lib/modules/manager/gradle/extract/consistent-versions-plugin.ts
+++ b/lib/modules/manager/gradle/extract/consistent-versions-plugin.ts
@@ -102,7 +102,7 @@ export function parseGcv(
currentValue: propVerAndPos.version,
lockedVersion: lockVersionAndDepType.version,
depType: lockVersionAndDepType.depType,
- groupName: propDepGlob,
+ sharedVariableName: propDepGlob,
} satisfies PackageDependency;
extractedDeps.push(newDep);
// Remove from the lockfile map so the same lib will not be included in more generic globs later
diff --git a/lib/modules/manager/gradle/parser.spec.ts b/lib/modules/manager/gradle/parser.spec.ts
index 6e835a56d6be00..037799c81c6e3b 100644
--- a/lib/modules/manager/gradle/parser.spec.ts
+++ b/lib/modules/manager/gradle/parser.spec.ts
@@ -179,32 +179,32 @@ describe('modules/manager/gradle/parser', () => {
expect(deps).toMatchObject([
{
depName: 'org.slf4j:jcl-over-slf4j',
- groupName: 'slfj4Version',
+ sharedVariableName: 'slfj4Version',
currentValue: '2.0.0',
},
{
depName: 'org.jetbrains.kotlinx:kotlinx-coroutines-core',
- groupName: 'libraries.releaseCoroutines',
+ sharedVariableName: 'libraries.releaseCoroutines',
currentValue: '0.26.1-eap13',
},
{
depName: 'org.slf4j:slf4j-api',
- groupName: 'slfj4Version',
+ sharedVariableName: 'slfj4Version',
currentValue: '2.0.0',
},
{
depName: 'androidx.lifecycle:lifecycle-runtime-ktx',
- groupName: 'lifecycle_version',
+ sharedVariableName: 'lifecycle_version',
currentValue: '2.5.1',
},
{
depName: 'androidx.lifecycle:lifecycle-viewmodel-ktx',
- groupName: 'lifecycle_version',
+ sharedVariableName: 'lifecycle_version',
currentValue: '2.5.1',
},
{
depName: 'org.slf4j:slf4j-ext',
- groupName: 'slfj4Version',
+ sharedVariableName: 'slfj4Version',
currentValue: '2.0.0',
},
]);
@@ -333,17 +333,17 @@ describe('modules/manager/gradle/parser', () => {
expect(deps).toMatchObject([
{
depName: 'org.slf4j:jcl-over-slf4j',
- groupName: 'slfj4Version',
+ sharedVariableName: 'slfj4Version',
currentValue: '2.0.0',
},
{
depName: 'org.jetbrains.kotlinx:kotlinx-coroutines-core',
- groupName: 'libraries.releaseCoroutines',
+ sharedVariableName: 'libraries.releaseCoroutines',
currentValue: '0.26.1-eap13',
},
{
depName: 'org.slf4j:slf4j-api',
- groupName: 'slfj4Version',
+ sharedVariableName: 'slfj4Version',
currentValue: '2.0.0',
},
]);
@@ -372,18 +372,18 @@ describe('modules/manager/gradle/parser', () => {
${'foo = "1.2.3"'} | ${'"foo:bar:$foo@@@"'} | ${null}
${''} | ${'"foo:bar:$baz"'} | ${null}
${'foo = "1"; bar = "2"; baz = "3"'} | ${'"foo:bar:$foo.$bar.$baz"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', skipReason: 'contains-variable' }}
- ${'baz = "1.2.3"'} | ${'"foo:bar:$baz"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', groupName: 'baz' }}
- ${'foo.bar = "1.2.3"'} | ${'"foo:bar:$foo.bar"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', groupName: 'foo.bar' }}
+ ${'baz = "1.2.3"'} | ${'"foo:bar:$baz"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', sharedVariableName: 'baz' }}
+ ${'foo.bar = "1.2.3"'} | ${'"foo:bar:$foo.bar"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', sharedVariableName: 'foo.bar' }}
${'foo = "1.2.3"'} | ${'"foo:bar_$foo:4.5.6"'} | ${{ depName: 'foo:bar_1.2.3', managerData: { fileReplacePosition: 28 } }}
${'foo = "bar"'} | ${'"foo:${foo}1:1"'} | ${{ depName: 'foo:bar1', currentValue: '1', managerData: { fileReplacePosition: 25 } }}
${'bar = "bar:1.2.3"'} | ${'"foo:$bar"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', skipReason: 'contains-variable' }}
- ${'baz = "1.2.3"'} | ${'foobar = "foo:bar:$baz"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', groupName: 'baz' }}
+ ${'baz = "1.2.3"'} | ${'foobar = "foo:bar:$baz"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', sharedVariableName: 'baz' }}
${'foo = "${bar}"; baz = "1.2.3"'} | ${'"foo:bar:${baz}"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3' }}
- ${'baz = "1.2.3"'} | ${'"foo:bar:${ext[\'baz\']}"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', groupName: 'baz' }}
- ${'baz = "1.2.3"'} | ${'"foo:bar:${ext.baz}"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', groupName: 'baz' }}
- ${'baz = "1.2.3"'} | ${'"foo:bar:${project.ext[\'baz\']}"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', groupName: 'baz' }}
- ${'a = "foo"; b = "bar"; c="1.2.3"'} | ${'"${a}:${b}:${property("c")}"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', groupName: 'c' }}
- ${'a = "foo"; b = "bar"; c="1.2.3"'} | ${'"${a}:${b}:${properties["c"]}"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', groupName: 'c' }}
+ ${'baz = "1.2.3"'} | ${'"foo:bar:${ext[\'baz\']}"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', sharedVariableName: 'baz' }}
+ ${'baz = "1.2.3"'} | ${'"foo:bar:${ext.baz}"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', sharedVariableName: 'baz' }}
+ ${'baz = "1.2.3"'} | ${'"foo:bar:${project.ext[\'baz\']}"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', sharedVariableName: 'baz' }}
+ ${'a = "foo"; b = "bar"; c="1.2.3"'} | ${'"${a}:${b}:${property("c")}"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', sharedVariableName: 'c' }}
+ ${'a = "foo"; b = "bar"; c="1.2.3"'} | ${'"${a}:${b}:${properties["c"]}"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', sharedVariableName: 'c' }}
`('$def | $str', ({ def, str, output }) => {
const { deps } = parseGradle([def, str].join('\n'));
expect(deps).toMatchObject([output].filter(is.truthy));
@@ -434,7 +434,11 @@ describe('modules/manager/gradle/parser', () => {
`;
const { deps } = parseGradle(input);
expect(deps).toMatchObject([
- { depName: 'foo:bar', currentValue: '1.2.3', groupName: 'baz' },
+ {
+ depName: 'foo:bar',
+ currentValue: '1.2.3',
+ sharedVariableName: 'baz',
+ },
]);
});
});
@@ -452,7 +456,7 @@ describe('modules/manager/gradle/parser', () => {
${''} | ${'kotlin("foo", version = "1.2.3")'} | ${output}
${'some = "foo"'} | ${'kotlin(some, version = "1.2.3")'} | ${output}
${'some = "foo"'} | ${'kotlin("${some}", "1.2.3")'} | ${output}
- ${'baz = "1.2.3"'} | ${'kotlin("foo", baz)'} | ${{ ...output, groupName: 'baz' }}
+ ${'baz = "1.2.3"'} | ${'kotlin("foo", baz)'} | ${{ ...output, sharedVariableName: 'baz' }}
${'baz = "1.2.3"'} | ${'kotlin("foo", version = baz)'} | ${output}
${'baz = "1.2.3"'} | ${'kotlin("foo", property("baz"))'} | ${output}
${'baz = "1.2.3"'} | ${'kotlin("foo", "${baz}456")'} | ${{ skipReason: 'unspecified-version' }}
@@ -473,21 +477,21 @@ describe('modules/manager/gradle/parser', () => {
${''} | ${'group: "foo", name: "bar", version: "1.2.3"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3' }}
${''} | ${'group: "foo", name: "bar", version: baz'} | ${null}
${''} | ${'group: "foo", name: "bar", version: "1.2.3@@@"'} | ${null}
- ${'baz = "1.2.3"'} | ${'group: "foo", name: "bar", version: baz'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', groupName: 'baz' }}
+ ${'baz = "1.2.3"'} | ${'group: "foo", name: "bar", version: baz'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', sharedVariableName: 'baz' }}
${'some = "foo"'} | ${'group: property("some"), name: property("some"), version: "1.2.3"'} | ${{ depName: 'foo:foo', currentValue: '1.2.3' }}
${'some = "foo"'} | ${'group: some, name: some, version: "1.2.3"'} | ${{ depName: 'foo:foo', currentValue: '1.2.3' }}
${'some = "foo"'} | ${'group: "${some}", name: "${some}", version: "1.2.3"'} | ${{ depName: 'foo:foo', currentValue: '1.2.3' }}
- ${'baz = "1.2.3"'} | ${'group: "foo", name: "bar", version: "${baz}"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', groupName: 'baz' }}
+ ${'baz = "1.2.3"'} | ${'group: "foo", name: "bar", version: "${baz}"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', sharedVariableName: 'baz' }}
${'baz = "1.2.3"'} | ${'group: "foo", name: "bar", version: "${baz}456"'} | ${{ depName: 'foo:bar', skipReason: 'unspecified-version' }}
${''} | ${'(group: "foo", name: "bar", version: "1.2.3", classifier: "sources")'} | ${{ depName: 'foo:bar', currentValue: '1.2.3' }}
${''} | ${'(group: "foo", name: "bar", version: "1.2.3") {exclude module: "spring-jcl"}'} | ${{ depName: 'foo:bar', currentValue: '1.2.3' }}
${''} | ${"implementation platform(group: 'foo', name: 'bar', version: '1.2.3')"} | ${{ depName: 'foo:bar', currentValue: '1.2.3' }}
${''} | ${'(group = "foo", name = "bar", version = "1.2.3")'} | ${{ depName: 'foo:bar', currentValue: '1.2.3' }}
- ${'baz = "1.2.3"'} | ${'(group = "foo", name = "bar", version = baz)'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', groupName: 'baz' }}
+ ${'baz = "1.2.3"'} | ${'(group = "foo", name = "bar", version = baz)'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', sharedVariableName: 'baz' }}
${'some = "foo"'} | ${'(group = some, name = some, version = "1.2.3")'} | ${{ depName: 'foo:foo', currentValue: '1.2.3' }}
${'some = "foo"'} | ${'(group = "${some}", name = "${some}", version = "1.2.3")'} | ${{ depName: 'foo:foo', currentValue: '1.2.3' }}
${'some = "foo"'} | ${'(group = "${some}" + some, name = some + "bar" + some, version = "1.2.3")'} | ${{ depName: 'foofoo:foobarfoo', currentValue: '1.2.3' }}
- ${'baz = "1.2.3"'} | ${'(group = "foo", name = "bar", version = "${baz}")'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', groupName: 'baz' }}
+ ${'baz = "1.2.3"'} | ${'(group = "foo", name = "bar", version = "${baz}")'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', sharedVariableName: 'baz' }}
${'baz = "1.2.3"'} | ${'(group = "foo", name = "bar", version = "${baz}456")'} | ${{ depName: 'foo:bar', currentValue: '1.2.3456', skipReason: 'unspecified-version' }}
${'baz = "1.2.3"'} | ${'(group = "foo", name = "bar", version = baz + "456")'} | ${{ depName: 'foo:bar', currentValue: '1.2.3456', skipReason: 'unspecified-version' }}
${''} | ${'(group = "foo", name = "bar", version = "1.2.3", changing: true)'} | ${{ depName: 'foo:bar', currentValue: '1.2.3' }}
@@ -515,17 +519,17 @@ describe('modules/manager/gradle/parser', () => {
{
depName: 'org.apache.activemq:activemq-broker',
currentValue: '5.8.0',
- groupName: 'activemq_version',
+ sharedVariableName: 'activemq_version',
},
{
depName: 'org.apache.activemq:activemq-kahadb-store',
currentValue: '5.8.0',
- groupName: 'activemq_version',
+ sharedVariableName: 'activemq_version',
},
{
depName: 'org.apache.activemq:activemq-stomp',
currentValue: '5.8.0',
- groupName: 'activemq_version',
+ sharedVariableName: 'activemq_version',
},
]);
});
@@ -535,16 +539,16 @@ describe('modules/manager/gradle/parser', () => {
{
depName: 'foo:bar1',
currentValue: '1.2.3',
- groupName: 'foo:1.2.3',
+ sharedVariableName: 'foo:1.2.3',
},
{
depName: 'foo:bar2',
currentValue: '1.2.3',
- groupName: 'foo:1.2.3',
+ sharedVariableName: 'foo:1.2.3',
},
];
const validOutput1 = validOutput.map((dep) => {
- return { ...dep, groupName: 'baz' };
+ return { ...dep, sharedVariableName: 'baz' };
});
it.each`
@@ -584,7 +588,7 @@ describe('modules/manager/gradle/parser', () => {
${''} | ${'id("foo.bar") version("1.2.3")'} | ${{ depName: 'foo.bar', packageName: 'foo.bar:foo.bar.gradle.plugin', currentValue: '1.2.3' }}
${''} | ${'id("foo.bar") version "1.2.3"'} | ${{ depName: 'foo.bar', packageName: 'foo.bar:foo.bar.gradle.plugin', currentValue: '1.2.3' }}
${''} | ${'id "foo.bar" version "$baz"'} | ${{ depName: 'foo.bar', skipReason: 'unspecified-version', currentValue: 'baz' }}
- ${'baz = "1.2.3"'} | ${'id "foo.bar" version "$baz"'} | ${{ depName: 'foo.bar', packageName: 'foo.bar:foo.bar.gradle.plugin', currentValue: '1.2.3', groupName: 'baz' }}
+ ${'baz = "1.2.3"'} | ${'id "foo.bar" version "$baz"'} | ${{ depName: 'foo.bar', packageName: 'foo.bar:foo.bar.gradle.plugin', currentValue: '1.2.3', sharedVariableName: 'baz' }}
${'baz = "1.2.3"'} | ${'id("foo.bar") version "$baz"'} | ${{ depName: 'foo.bar', packageName: 'foo.bar:foo.bar.gradle.plugin', currentValue: '1.2.3' }}
${''} | ${'id "foo.bar" version "x${ab}cd"'} | ${{ depName: 'foo.bar', skipReason: 'unspecified-version' }}
${''} | ${'id("foo.bar") version "$baz"'} | ${{ depName: 'foo.bar', skipReason: 'unspecified-version', currentValue: 'baz' }}
@@ -597,7 +601,7 @@ describe('modules/manager/gradle/parser', () => {
${'baz = "1.2.3"'} | ${'id("foo.bar") version baz'} | ${{ depName: 'foo.bar', packageName: 'foo.bar:foo.bar.gradle.plugin', currentValue: '1.2.3' }}
${'baz = "1.2.3"'} | ${'id("foo.bar").version(baz)'} | ${{ depName: 'foo.bar', packageName: 'foo.bar:foo.bar.gradle.plugin', currentValue: '1.2.3' }}
${''} | ${'kotlin("jvm") version "1.3.71"'} | ${{ depName: 'org.jetbrains.kotlin.jvm', packageName: 'org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin', currentValue: '1.3.71' }}
- ${'baz = "1.3.71"'} | ${'kotlin("jvm") version baz'} | ${{ depName: 'org.jetbrains.kotlin.jvm', packageName: 'org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin', currentValue: '1.3.71', groupName: 'baz' }}
+ ${'baz = "1.3.71"'} | ${'kotlin("jvm") version baz'} | ${{ depName: 'org.jetbrains.kotlin.jvm', packageName: 'org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin', currentValue: '1.3.71', sharedVariableName: 'baz' }}
`('$def | $input', ({ def, input, output }) => {
const { deps } = parseGradle([def, input].join('\n'));
expect(deps).toMatchObject([output].filter(is.truthy));
@@ -735,7 +739,7 @@ describe('modules/manager/gradle/parser', () => {
${'f = "foo"; b = "bar"'} | ${'library("foo.bar", "${f}", "${b}").version("1.2.3")'} | ${{ depName: 'foo:bar', currentValue: '1.2.3' }}
${'f = "foo"; b = "bar"; v = "1.2.3"'} | ${'library("foo.bar", property("f"), "${b}").version(v)'} | ${{ depName: 'foo:bar', currentValue: '1.2.3' }}
${'f = "foo"; b = "bar"'} | ${'library("foo.bar", "${f}" + f, "${b}").version("1.2.3")'} | ${{ depName: 'foofoo:bar', currentValue: '1.2.3' }}
- ${'version("baz", "1.2.3")'} | ${'library("foo.bar", "foo", "bar").versionRef("baz")'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', groupName: 'baz' }}
+ ${'version("baz", "1.2.3")'} | ${'library("foo.bar", "foo", "bar").versionRef("baz")'} | ${{ depName: 'foo:bar', currentValue: '1.2.3', sharedVariableName: 'baz' }}
${'library("foo-bar_baz-qux", "foo", "bar")'} | ${'"${libs.foo.bar.baz.qux}:1.2.3"'} | ${{ depName: 'foo:bar', currentValue: '1.2.3' }}
${''} | ${'library(["foo.bar", "foo", "bar"]).version("1.2.3")'} | ${null}
${''} | ${'library("foo", "bar", "baz", "qux").version("1.2.3")'} | ${null}
@@ -807,7 +811,7 @@ describe('modules/manager/gradle/parser', () => {
{
currentValue: '1.5.2.RELEASE',
depName: 'org.springframework.boot:spring-boot-gradle-plugin',
- groupName: 'springBootVersion',
+ sharedVariableName: 'springBootVersion',
managerData: {
fileReplacePosition: 53,
packageFile: 'build.gradle',
@@ -1039,7 +1043,7 @@ describe('modules/manager/gradle/parser', () => {
${''} | ${'detekt { toolVersion = "1.2.3" }'} | ${{ depName: 'detekt', packageName: GRADLE_PLUGINS['detekt'][1], currentValue: '1.2.3' }}
${''} | ${'findbugs { toolVersion = "1.2.3" }'} | ${{ depName: 'findbugs', packageName: GRADLE_PLUGINS['findbugs'][1], currentValue: '1.2.3' }}
${''} | ${'googleJavaFormat { toolVersion = "1.2.3" }'} | ${{ depName: 'googleJavaFormat', packageName: GRADLE_PLUGINS['googleJavaFormat'][1], currentValue: '1.2.3' }}
- ${'baz = "1.2.3"'} | ${'jacoco { toolVersion = baz }'} | ${{ depName: 'jacoco', packageName: GRADLE_PLUGINS['jacoco'][1], currentValue: '1.2.3', groupName: 'baz' }}
+ ${'baz = "1.2.3"'} | ${'jacoco { toolVersion = baz }'} | ${{ depName: 'jacoco', packageName: GRADLE_PLUGINS['jacoco'][1], currentValue: '1.2.3', sharedVariableName: 'baz' }}
${'baz = "1.2.3"'} | ${'jacoco { toolVersion = property("baz") }'} | ${{ depName: 'jacoco', packageName: GRADLE_PLUGINS['jacoco'][1], currentValue: '1.2.3' }}
${''} | ${'lombok { version = "1.2.3" }'} | ${{ depName: 'lombok', packageName: GRADLE_PLUGINS['lombok'][1], currentValue: '1.2.3' }}
${''} | ${'lombok { version.set("1.2.3") }'} | ${{ depName: 'lombok', packageName: GRADLE_PLUGINS['lombok'][1], currentValue: '1.2.3' }}
@@ -1093,7 +1097,7 @@ describe('modules/manager/gradle/parser', () => {
deps: [
{
depName: 'org.slf4j:slf4j-api',
- groupName: 'Versions.baz',
+ sharedVariableName: 'Versions.baz',
currentValue: '1.2.3',
},
{
@@ -1102,17 +1106,17 @@ describe('modules/manager/gradle/parser', () => {
},
{
depName: 'androidx.core:core-ktx',
- groupName: 'Versions.baz',
+ sharedVariableName: 'Versions.baz',
currentValue: '1.2.3',
},
{
depName: 'androidx.webkit:webkit',
- groupName: 'Versions.baz',
+ sharedVariableName: 'Versions.baz',
currentValue: '1.2.3',
},
{
depName: 'foo:bar',
- groupName: 'Versions.baz',
+ sharedVariableName: 'Versions.baz',
currentValue: '1.2.3',
},
],
@@ -1166,22 +1170,22 @@ describe('modules/manager/gradle/parser', () => {
{
depName: 'org.jetbrains.kotlin:kotlin-stdlib-jdk7',
currentValue: '1.5.31',
- groupName: 'Deps.kotlinVersion',
+ sharedVariableName: 'Deps.kotlinVersion',
},
{
depName: 'androidx.test:core',
currentValue: '1.3.0-rc01',
- groupName: 'Deps.Test.version',
+ sharedVariableName: 'Deps.Test.version',
},
{
depName: 'androidx.test.espresso:espresso-core',
currentValue: '3.3.0-rc01',
- groupName: 'Deps.Test.Espresso.Release.version',
+ sharedVariableName: 'Deps.Test.Espresso.Release.version',
},
{
depName: 'androidx.test:core-ktx',
currentValue: '1.3.0-rc01',
- groupName: 'Deps.Test.version',
+ sharedVariableName: 'Deps.Test.version',
},
],
});
@@ -1218,7 +1222,7 @@ describe('modules/manager/gradle/parser', () => {
{
depName: 'com.h2database:h2',
currentValue: '2.0.206',
- groupName: 'ModuleConfiguration.Build.Database.h2Version',
+ sharedVariableName: 'ModuleConfiguration.Build.Database.h2Version',
},
],
});
diff --git a/lib/modules/manager/gradle/parser/handlers.ts b/lib/modules/manager/gradle/parser/handlers.ts
index 4cb6fe719b1118..5aaba92f773cf7 100644
--- a/lib/modules/manager/gradle/parser/handlers.ts
+++ b/lib/modules/manager/gradle/parser/handlers.ts
@@ -40,7 +40,7 @@ export function handleAssignment(ctx: Ctx): Ctx {
// = string value
const dep = parseDependencyString(valTokens[0].value);
if (dep) {
- dep.groupName = key;
+ dep.sharedVariableName = key;
dep.managerData = {
fileReplacePosition: valTokens[0].offset + dep.depName!.length + 1,
packageFile: ctx.packageFile,
@@ -82,7 +82,7 @@ export function handleDepString(ctx: Ctx): Ctx {
fileReplacePosition = varData.fileReplacePosition;
if (varData.value === dep.currentValue) {
dep.managerData = { fileReplacePosition, packageFile };
- dep.groupName = varData.key;
+ dep.sharedVariableName = varData.key;
}
}
}
@@ -102,7 +102,7 @@ export function handleDepString(ctx: Ctx): Ctx {
fileReplacePosition =
lastToken.offset + lastToken.value.lastIndexOf(dep.currentValue);
}
- delete dep.groupName;
+ delete dep.sharedVariableName;
} else {
dep.skipReason = 'contains-variable';
}
@@ -143,7 +143,7 @@ export function handleKotlinShortNotationDep(ctx: Ctx): Ctx {
} else if (versionTokens[0].type === 'symbol') {
const varData = findVariable(versionTokens[0].value, ctx);
if (varData) {
- dep.groupName = varData.key;
+ dep.sharedVariableName = varData.key;
dep.currentValue = varData.value;
dep.managerData = {
fileReplacePosition: varData.fileReplacePosition,
@@ -197,7 +197,7 @@ export function handleLongFormDep(ctx: Ctx): Ctx {
} else if (versionTokens[0].type === 'symbol') {
const varData = findVariable(versionTokens[0].value, ctx);
if (varData) {
- dep.groupName = varData.key;
+ dep.sharedVariableName = varData.key;
dep.managerData = {
fileReplacePosition: varData.fileReplacePosition,
packageFile: varData.packageFile,
@@ -206,7 +206,7 @@ export function handleLongFormDep(ctx: Ctx): Ctx {
} else {
// = string value
if (methodName?.[0]?.value === 'dependencySet') {
- dep.groupName = `${groupId}:${version}`;
+ dep.sharedVariableName = `${groupId}:${version}`;
}
dep.managerData = {
fileReplacePosition: versionTokens[0].offset,
@@ -247,7 +247,7 @@ export function handlePlugin(ctx: Ctx): Ctx {
} else if (pluginVersion[0].type === 'symbol') {
const varData = findVariable(pluginVersion[0].value, ctx);
if (varData) {
- dep.groupName = varData.key;
+ dep.sharedVariableName = varData.key;
dep.currentValue = varData.value;
dep.managerData = {
fileReplacePosition: varData.fileReplacePosition,
@@ -429,7 +429,7 @@ export function handleImplicitGradlePlugin(ctx: Ctx): Ctx {
} else if (versionTokens[0].type === 'symbol') {
const varData = findVariable(versionTokens[0].value, ctx);
if (varData) {
- dep.groupName = varData.key;
+ dep.sharedVariableName = varData.key;
dep.currentValue = varData.value;
dep.managerData = {
fileReplacePosition: varData.fileReplacePosition,
diff --git a/lib/modules/manager/gradle/update.spec.ts b/lib/modules/manager/gradle/update.spec.ts
index 4d0a77623d5810..cd46e12ca1a167 100644
--- a/lib/modules/manager/gradle/update.spec.ts
+++ b/lib/modules/manager/gradle/update.spec.ts
@@ -23,7 +23,7 @@ describe('modules/manager/gradle/update', () => {
upgrade: {
currentValue: '1.2.3',
newValue: '1.2.5',
- groupName: 'group',
+ sharedVariableName: 'group',
managerData: {
fileReplacePosition: 3,
},
diff --git a/lib/modules/manager/gradle/update.ts b/lib/modules/manager/gradle/update.ts
index 0839c2c7e20bb3..4286535ece0b47 100644
--- a/lib/modules/manager/gradle/update.ts
+++ b/lib/modules/manager/gradle/update.ts
@@ -23,7 +23,7 @@ export function updateDependency({
if (version === newValue) {
return fileContent;
}
- if (version === currentValue || upgrade.groupName) {
+ if (version === currentValue || upgrade.sharedVariableName) {
// TODO: types (#22198)
return `${leftPart}${newValue}${restPart}`;
}
diff --git a/lib/modules/manager/leiningen/__snapshots__/extract.spec.ts.snap b/lib/modules/manager/leiningen/__snapshots__/extract.spec.ts.snap
index 53d474d9490a58..147031d8545874 100644
--- a/lib/modules/manager/leiningen/__snapshots__/extract.spec.ts.snap
+++ b/lib/modules/manager/leiningen/__snapshots__/extract.spec.ts.snap
@@ -116,13 +116,13 @@ exports[`modules/manager/leiningen/extract extractPackageFile 1`] = `
"datasource": "clojure",
"depName": "clj-stacktrace:clj-stacktrace",
"depType": "dependencies",
- "groupName": "clj-stacktrace-version",
"registryUrls": [
"https://download.java.net/maven/2",
"https://oss.sonatype.org/content/repositories/releases",
"https://blueant.com/archiva/snapshots",
"https://blueant.com/archiva/internal",
],
+ "sharedVariableName": "clj-stacktrace-version",
},
{
"currentValue": "0.12.0",
diff --git a/lib/modules/manager/leiningen/extract.spec.ts b/lib/modules/manager/leiningen/extract.spec.ts
index 76e3d765e03d4e..867a2a5d964dcd 100644
--- a/lib/modules/manager/leiningen/extract.spec.ts
+++ b/lib/modules/manager/leiningen/extract.spec.ts
@@ -38,7 +38,7 @@ describe('modules/manager/leiningen/extract', () => {
datasource: ClojureDatasource.id,
depName: 'foo:bar',
currentValue: '1.2.3',
- groupName: 'baz',
+ sharedVariableName: 'baz',
},
]);
expect(
@@ -86,7 +86,7 @@ describe('modules/manager/leiningen/extract', () => {
{
depName: 'clj-stacktrace:clj-stacktrace',
currentValue: '0.2.4',
- groupName: 'clj-stacktrace-version',
+ sharedVariableName: 'clj-stacktrace-version',
},
{
depName: 'clj-time:clj-time',
diff --git a/lib/modules/manager/leiningen/extract.ts b/lib/modules/manager/leiningen/extract.ts
index 680b5f14cb025f..54ede6bd46fe68 100644
--- a/lib/modules/manager/leiningen/extract.ts
+++ b/lib/modules/manager/leiningen/extract.ts
@@ -58,7 +58,7 @@ export function extractFromVectors(
datasource: ClojureDatasource.id,
depName,
currentValue,
- groupName: varName,
+ sharedVariableName: varName,
});
}
} else {
diff --git a/lib/modules/manager/maven/extract.spec.ts b/lib/modules/manager/maven/extract.spec.ts
index 3efc9d99aea9fa..f564c877d543a3 100644
--- a/lib/modules/manager/maven/extract.spec.ts
+++ b/lib/modules/manager/maven/extract.spec.ts
@@ -476,7 +476,7 @@ describe('modules/manager/maven/extract', () => {
depType: 'compile',
editFile: 'parent.pom.xml',
fileReplacePosition: 470,
- groupName: 'quuxVersion',
+ sharedVariableName: 'quuxVersion',
registryUrls: [
'http://example.com/',
'http://example.com/nexus/xyz',
@@ -697,12 +697,12 @@ describe('modules/manager/maven/extract', () => {
{
depName: 'org.example:quux',
currentValue: '1.2.3.4',
- groupName: 'quuxVersion',
+ sharedVariableName: 'quuxVersion',
},
{
depName: 'org.example:quux-test',
currentValue: '1.2.3.4',
- groupName: 'quuxVersion',
+ sharedVariableName: 'quuxVersion',
},
{
depName: 'org.example:quuz',
diff --git a/lib/modules/manager/maven/extract.ts b/lib/modules/manager/maven/extract.ts
index ef06fe3911228c..939e31e25c1e8a 100644
--- a/lib/modules/manager/maven/extract.ts
+++ b/lib/modules/manager/maven/extract.ts
@@ -224,7 +224,7 @@ function applyPropsInternal(
let fileReplacePosition = dep.fileReplacePosition;
let propSource = dep.propSource;
- let groupName: string | null = null;
+ let sharedVariableName: string | null = null;
const currentValue = dep.currentValue!.replace(
regEx(/^\${[^}]*?}$/),
(substr) => {
@@ -232,8 +232,8 @@ function applyPropsInternal(
// TODO: wrong types here, props is already `MavenProp`
const propValue = (props as any)[propKey] as MavenProp;
if (propValue) {
- if (!groupName) {
- groupName = propKey;
+ if (!sharedVariableName) {
+ sharedVariableName = propKey;
}
fileReplacePosition = propValue.fileReplacePosition;
propSource =
@@ -261,8 +261,8 @@ function applyPropsInternal(
currentValue,
};
- if (groupName) {
- result.groupName = groupName;
+ if (sharedVariableName) {
+ result.sharedVariableName = sharedVariableName;
}
if (propSource && depPackageFile !== propSource) {
diff --git a/lib/modules/manager/maven/update.ts b/lib/modules/manager/maven/update.ts
index b22261c0a85162..413892c462cf83 100644
--- a/lib/modules/manager/maven/update.ts
+++ b/lib/modules/manager/maven/update.ts
@@ -25,7 +25,7 @@ export function updateAtPosition(
if (version === newValue) {
return fileContent;
}
- if (version === currentValue || upgrade.groupName) {
+ if (version === currentValue || upgrade.sharedVariableName) {
// TODO: validate newValue (#22198)
const replacedPart = versionPart.replace(version, newValue!);
return leftPart + replacedPart + restPart;
diff --git a/lib/modules/manager/npm/post-update/pnpm.spec.ts b/lib/modules/manager/npm/post-update/pnpm.spec.ts
index 6c9d28db1b8a50..41c7e9dffac96c 100644
--- a/lib/modules/manager/npm/post-update/pnpm.spec.ts
+++ b/lib/modules/manager/npm/post-update/pnpm.spec.ts
@@ -104,13 +104,13 @@ describe('modules/manager/npm/post-update/pnpm', () => {
fs.readLocalFile.mockResolvedValue('package-lock-contents');
const res = await pnpmHelper.generateLockFile('some-folder', {}, config, [
{
- groupName: 'some-group',
+ sharedVariableName: 'some-group',
packageName: 'some-dep',
newVersion: '1.1.0',
isLockfileUpdate: true,
},
{
- groupName: 'some-group',
+ sharedVariableName: 'some-group',
packageName: 'some-other-dep',
newVersion: '1.1.0',
isLockfileUpdate: false,
diff --git a/lib/modules/manager/nuget/__snapshots__/extract.spec.ts.snap b/lib/modules/manager/nuget/__snapshots__/extract.spec.ts.snap
index a8d2ae43fc717d..60fcf38b3c7145 100644
--- a/lib/modules/manager/nuget/__snapshots__/extract.spec.ts.snap
+++ b/lib/modules/manager/nuget/__snapshots__/extract.spec.ts.snap
@@ -134,14 +134,14 @@ exports[`modules/manager/nuget/extract extractPackageFile() extracts all depende
"datasource": "nuget",
"depName": "Autofac.Extensions.DependencyInjection",
"depType": "nuget",
- "groupName": "AutofacVersion",
+ "sharedVariableName": "AutofacVersion",
},
{
"currentValue": "4.5.0",
"datasource": "nuget",
"depName": "Autofac",
"depType": "nuget",
- "groupName": "AutofacVersion",
+ "sharedVariableName": "AutofacVersion",
},
]
`;
diff --git a/lib/modules/manager/nuget/extract.ts b/lib/modules/manager/nuget/extract.ts
index 56e832df34ec72..3c9e6d8e9d768f 100644
--- a/lib/modules/manager/nuget/extract.ts
+++ b/lib/modules/manager/nuget/extract.ts
@@ -80,21 +80,21 @@ function extractDepsFromXml(xmlNode: XmlDocument): NugetPackageDependency[] {
dep.skipReason = 'invalid-version';
}
- let groupName: string | undefined;
+ let sharedVariableName: string | undefined;
currentValue = currentValue
?.trim()
?.replace(/^\$\((\w+)\)$/, (match, key) => {
const val = vars.get(key);
if (val) {
- groupName = key;
+ sharedVariableName = key;
return val;
}
return match;
});
- if (groupName) {
- dep.groupName = groupName;
+ if (sharedVariableName) {
+ dep.sharedVariableName = sharedVariableName;
}
currentValue = checkVersion
diff --git a/lib/modules/manager/poetry/schema.ts b/lib/modules/manager/poetry/schema.ts
index 6e650c21b2d0fc..eb4df77fca1858 100644
--- a/lib/modules/manager/poetry/schema.ts
+++ b/lib/modules/manager/poetry/schema.ts
@@ -195,9 +195,9 @@ export const PoetryGroupDependencies = LooseRecord(
.transform(({ dependencies }) => dependencies),
).transform((record) => {
const deps: PackageDependency[] = [];
- for (const [groupName, group] of Object.entries(record)) {
- for (const dep of Object.values(group)) {
- dep.depType = groupName;
+ for (const [name, val] of Object.entries(record)) {
+ for (const dep of Object.values(val)) {
+ dep.depType = name;
deps.push(dep);
}
}
diff --git a/lib/modules/manager/sbt/__snapshots__/extract.spec.ts.snap b/lib/modules/manager/sbt/__snapshots__/extract.spec.ts.snap
index e369d665da0fc2..87d51705bf4989 100644
--- a/lib/modules/manager/sbt/__snapshots__/extract.spec.ts.snap
+++ b/lib/modules/manager/sbt/__snapshots__/extract.spec.ts.snap
@@ -22,9 +22,9 @@ exports[`modules/manager/sbt/extract extractPackageFile() extract deps from nati
"currentValue": "1.2.3",
"datasource": "sbt-package",
"depName": "com.abc:abc",
- "groupName": "abcVersion",
"packageName": "com.abc:abc",
"registryUrls": [],
+ "sharedVariableName": "abcVersion",
"variableName": "abcVersion",
},
],
@@ -57,36 +57,36 @@ exports[`modules/manager/sbt/extract extractPackageFile() extract deps from nati
"currentValue": "1.2.3",
"datasource": "sbt-package",
"depName": "com.abc:abc",
- "groupName": "abcVersion",
"packageName": "com.abc:abc",
"registryUrls": [],
+ "sharedVariableName": "abcVersion",
"variableName": "abcVersion",
},
{
"currentValue": "1.2.3",
"datasource": "sbt-package",
"depName": "com.abc:abc-a",
- "groupName": "abcVersion",
"packageName": "com.abc:abc-a",
"registryUrls": [],
+ "sharedVariableName": "abcVersion",
"variableName": "abcVersion",
},
{
"currentValue": "1.2.3",
"datasource": "sbt-package",
"depName": "com.abc:abc-b",
- "groupName": "abcVersion",
"packageName": "com.abc:abc-b",
"registryUrls": [],
+ "sharedVariableName": "abcVersion",
"variableName": "abcVersion",
},
{
"currentValue": "1.2.3",
"datasource": "sbt-package",
"depName": "com.abc:abc-c",
- "groupName": "abcVersion",
"packageName": "com.abc:abc-c",
"registryUrls": [],
+ "sharedVariableName": "abcVersion",
"variableName": "abcVersion",
},
],
@@ -240,7 +240,6 @@ exports[`modules/manager/sbt/extract extractPackageFile() extracts deps for gene
"datasource": "sbt-package",
"depName": "org.example:grault",
"depType": "Test",
- "groupName": "versionExample",
"packageName": "org.example:grault",
"registryUrls": [
"https://example.com/repos/1/",
@@ -249,6 +248,7 @@ exports[`modules/manager/sbt/extract extractPackageFile() extracts deps for gene
"https://example.com/repos/4/",
"https://example.com/repos/5/",
],
+ "sharedVariableName": "versionExample",
"variableName": "versionExample",
},
{
@@ -401,7 +401,6 @@ exports[`modules/manager/sbt/extract extractPackageFile() extracts deps when sca
"datasource": "sbt-package",
"depName": "org.example:grault",
"depType": "Test",
- "groupName": "versionExample",
"packageName": "org.example:grault",
"registryUrls": [
"https://example.com/repos/1/",
@@ -410,6 +409,7 @@ exports[`modules/manager/sbt/extract extractPackageFile() extracts deps when sca
"https://example.com/repos/4/",
"https://example.com/repos/5/",
],
+ "sharedVariableName": "versionExample",
"variableName": "versionExample",
},
{
diff --git a/lib/modules/manager/sbt/extract.spec.ts b/lib/modules/manager/sbt/extract.spec.ts
index 7410b282ae382c..03f3cbf232c2f7 100644
--- a/lib/modules/manager/sbt/extract.spec.ts
+++ b/lib/modules/manager/sbt/extract.spec.ts
@@ -116,7 +116,7 @@ describe('modules/manager/sbt/extract', () => {
deps: [
{
currentValue: '1.2.3',
- groupName: 'version',
+ sharedVariableName: 'version',
},
],
});
@@ -137,7 +137,7 @@ describe('modules/manager/sbt/extract', () => {
datasource: 'sbt-plugin',
depName: 'com.github.gseitz:sbt-release',
depType: 'plugin',
- groupName: 'sbtReleaseVersion',
+ sharedVariableName: 'sbtReleaseVersion',
packageName: 'com.github.gseitz:sbt-release',
registryUrls: [],
variableName: 'sbtReleaseVersion',
diff --git a/lib/modules/manager/sbt/extract.ts b/lib/modules/manager/sbt/extract.ts
index fd5a9173769dd0..80bfc399ee0acf 100644
--- a/lib/modules/manager/sbt/extract.ts
+++ b/lib/modules/manager/sbt/extract.ts
@@ -218,7 +218,7 @@ function depHandler(ctx: Ctx): Ctx {
}
if (variableName) {
- dep.groupName = variableName;
+ dep.sharedVariableName = variableName;
dep.variableName = variableName;
}
diff --git a/lib/modules/manager/types.ts b/lib/modules/manager/types.ts
index 7fa394d4ebaa11..6c93b44a19556a 100644
--- a/lib/modules/manager/types.ts
+++ b/lib/modules/manager/types.ts
@@ -120,7 +120,7 @@ export interface PackageDependency>
depName?: string;
depType?: string;
fileReplacePosition?: number;
- groupName?: string;
+ sharedVariableName?: string;
lineNumber?: number;
packageName?: string;
target?: string;
diff --git a/lib/workers/repository/updates/branch-name.spec.ts b/lib/workers/repository/updates/branch-name.spec.ts
index a4b4dd5993954e..5feb61bb8e0e57 100644
--- a/lib/workers/repository/updates/branch-name.spec.ts
+++ b/lib/workers/repository/updates/branch-name.spec.ts
@@ -3,9 +3,22 @@ import { generateBranchName } from './branch-name';
describe('workers/repository/updates/branch-name', () => {
describe('getBranchName()', () => {
- it('uses groupName if no slug defined', () => {
+ it('falls back to sharedVariableName if no groupName', () => {
+ const upgrade: RenovateConfig = {
+ sharedVariableName: 'some variable name',
+ group: {
+ branchName: '{{groupSlug}}-{{branchTopic}}',
+ branchTopic: 'grouptopic',
+ },
+ };
+ generateBranchName(upgrade);
+ expect(upgrade.branchName).toBe('some-variable-name-grouptopic');
+ });
+
+ it('uses groupName if no slug defined, ignores sharedVariableName', () => {
const upgrade: RenovateConfig = {
groupName: 'some group name',
+ sharedVariableName: 'some variable name',
group: {
branchName: '{{groupSlug}}-{{branchTopic}}',
branchTopic: 'grouptopic',
diff --git a/lib/workers/repository/updates/branch-name.ts b/lib/workers/repository/updates/branch-name.ts
index d151c0772b8c24..36f085dd1fe08d 100644
--- a/lib/workers/repository/updates/branch-name.ts
+++ b/lib/workers/repository/updates/branch-name.ts
@@ -57,6 +57,12 @@ export function generateBranchName(update: RenovateConfig): void {
// Check whether to use a group name
const newMajor = String(update.newMajor);
const newMinor = String(update.newMinor);
+ if (!update.groupName && update.sharedVariableName) {
+ logger.debug(
+ `Using sharedVariableName=${update.sharedVariableName} as groupName for depName=${update.depName}`,
+ );
+ update.groupName = update.sharedVariableName;
+ }
if (update.groupName) {
update.groupName = template.compile(update.groupName, update);
logger.trace('Using group branchName template');
From 1f4790c941953db668bae9ce1e6db19a4417c192 Mon Sep 17 00:00:00 2001
From: Sergei Zharinov
Date: Thu, 16 Jan 2025 13:19:25 -0300
Subject: [PATCH 069/247] feat(timestamp): Parse number-like dates plus offset
(#33647)
---
lib/util/timestamp.spec.ts | 2 ++
lib/util/timestamp.ts | 9 +++++++++
2 files changed, 11 insertions(+)
diff --git a/lib/util/timestamp.spec.ts b/lib/util/timestamp.spec.ts
index c084c062f3025e..1926ea478aed71 100644
--- a/lib/util/timestamp.spec.ts
+++ b/lib/util/timestamp.spec.ts
@@ -17,6 +17,8 @@ describe('util/timestamp', () => {
${'2021-01-01'} | ${'2021-01-01T00:00:00.000Z'}
${'20210101000000'} | ${'2021-01-01T00:00:00.000Z'}
${'20211231235959'} | ${'2021-12-31T23:59:59.000Z'}
+ ${'20210101000000+0000'} | ${'2021-01-01T00:00:00.000Z'}
+ ${'20211231235959+0000'} | ${'2021-12-31T23:59:59.000Z'}
${'Jan 1, 2021'} | ${'2021-01-01T00:00:00.000Z'}
${'2021/01/01'} | ${'2021-01-01T00:00:00.000Z'}
${'2021-01-02T00:00:00+05:30'} | ${'2021-01-01T18:30:00.000Z'}
diff --git a/lib/util/timestamp.ts b/lib/util/timestamp.ts
index b40fd93ead2d2a..5c0e3d32b9c9c1 100644
--- a/lib/util/timestamp.ts
+++ b/lib/util/timestamp.ts
@@ -64,6 +64,15 @@ export function asTimestamp(input: unknown): Timestamp | null {
return numberLikeDate.toISO() as Timestamp;
}
+ const numberLikeOffsetDate = DateTime.fromFormat(
+ input,
+ 'yyyyMMddHHmmssZZZ',
+ { zone: 'UTC' },
+ );
+ if (isValid(numberLikeOffsetDate)) {
+ return numberLikeOffsetDate.toISO() as Timestamp;
+ }
+
const fallbackDate = DateTime.fromMillis(
Date.parse(input) - timezoneOffset,
{ zone: 'UTC' },
From a9985dad340a4bca144a68d2d338d14d51cf3a2c Mon Sep 17 00:00:00 2001
From: Sergei Zharinov
Date: Fri, 17 Jan 2025 03:14:47 -0300
Subject: [PATCH 070/247] refactor(http): Separate `getYaml` and
`getYamlUnchecked` (#33653)
---
lib/util/http/index.spec.ts | 41 ++++++++++++++++++++++++++-------
lib/util/http/index.ts | 45 +++++++++++++++++++++++--------------
2 files changed, 61 insertions(+), 25 deletions(-)
diff --git a/lib/util/http/index.spec.ts b/lib/util/http/index.spec.ts
index 8eda7e35e7e140..36af769a86d7da 100644
--- a/lib/util/http/index.spec.ts
+++ b/lib/util/http/index.spec.ts
@@ -367,14 +367,37 @@ describe('util/http/index', () => {
});
});
- describe('getYaml', () => {
+ describe('getYamlUnchecked', () => {
it('parses yaml response without schema', async () => {
httpMock.scope(baseUrl).get('/').reply(200, 'x: 2\ny: 2');
- const res = await http.getYaml('http://renovate.com');
+ const res = await http.getYamlUnchecked('http://renovate.com');
+ expect(res.body).toEqual({ x: 2, y: 2 });
+ });
+
+ it('parses yaml with options', async () => {
+ httpMock
+ .scope(baseUrl)
+ .get('/')
+ .matchHeader('custom', 'header')
+ .reply(200, 'x: 2\ny: 2');
+
+ const res = await http.getYamlUnchecked('http://renovate.com', {
+ headers: { custom: 'header' },
+ });
expect(res.body).toEqual({ x: 2, y: 2 });
});
+ it('throws on invalid yaml', async () => {
+ httpMock.scope(baseUrl).get('/').reply(200, '!@#$%^');
+
+ await expect(
+ http.getYamlUnchecked('http://renovate.com'),
+ ).rejects.toThrow('Failed to parse YAML file');
+ });
+ });
+
+ describe('getYaml', () => {
it('parses yaml with schema validation', async () => {
httpMock.scope(baseUrl).get('/').reply(200, 'x: 2\ny: 2');
@@ -397,12 +420,6 @@ describe('util/http/index', () => {
expect(res.body).toBe('2 + 2 = 4');
});
- it('throws on invalid yaml', async () => {
- httpMock.scope(baseUrl).get('/').reply(200, '!@#$%^');
-
- await expect(http.getYaml('http://renovate.com')).rejects.toThrow();
- });
-
it('throws on schema validation failure', async () => {
httpMock.scope(baseUrl).get('/').reply(200, 'foo: bar');
@@ -410,6 +427,14 @@ describe('util/http/index', () => {
http.getYaml('http://renovate.com', SomeSchema),
).rejects.toThrow(z.ZodError);
});
+
+ it('throws on invalid yaml', async () => {
+ httpMock.scope(baseUrl).get('/').reply(200, '!@#$%^');
+
+ await expect(
+ http.getYaml('http://renovate.com', SomeSchema),
+ ).rejects.toThrow('Failed to parse YAML file');
+ });
});
describe('getYamlSafe', () => {
diff --git a/lib/util/http/index.ts b/lib/util/http/index.ts
index b0968a15bb950f..c99bfbaad9478b 100644
--- a/lib/util/http/index.ts
+++ b/lib/util/http/index.ts
@@ -329,37 +329,48 @@ export class Http {
});
}
- async getYaml(url: string, options?: Opts): Promise>;
- async getYaml = ZodType>(
+ /**
+ * @deprecated use `getYaml` instead
+ */
+ async getYamlUnchecked(
+ url: string,
+ options?: Opts,
+ ): Promise> {
+ const res = await this.get(url, options);
+ const body = parseSingleYaml(res.body);
+ return { ...res, body };
+ }
+
+ async getYaml>(
url: string,
schema: Schema,
): Promise>>;
- async getYaml = ZodType>(
+ async getYaml>(
url: string,
options: Opts,
schema: Schema,
): Promise>>;
- async getYaml = ZodType>(
+ async getYaml>(
arg1: string,
arg2?: Opts | Schema,
arg3?: Schema,
- ): Promise> {
- const { url, httpOptions, schema } = this.resolveArgs(
- arg1,
- arg2,
- arg3,
- );
+ ): Promise>> {
+ const url = arg1;
+ let schema: Schema;
+ let httpOptions: Opts | undefined;
+ if (arg3) {
+ schema = arg3;
+ httpOptions = arg2 as Opts;
+ } else {
+ schema = arg2 as Schema;
+ }
+
const opts: InternalHttpOptions = {
...httpOptions,
method: 'get',
};
const res = await this.get(url, opts);
- if (!schema) {
- const body = parseSingleYaml(res.body);
- return { ...res, body };
- }
-
const body = await schema.parseAsync(parseSingleYaml(res.body));
return { ...res, body };
}
@@ -396,9 +407,9 @@ export class Http {
let res: AsyncResult, SafeJsonError>;
if (httpOptions) {
- res = Result.wrap(this.getYaml(url, httpOptions, schema));
+ res = Result.wrap(this.getYaml(url, httpOptions, schema));
} else {
- res = Result.wrap(this.getYaml(url, schema));
+ res = Result.wrap(this.getYaml(url, schema));
}
return res.transform((response) => Result.ok(response.body));
From 46db1eeeaeb66c057407a83766c179bb9a275195 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 17 Jan 2025 08:09:19 +0000
Subject: [PATCH 071/247] chore(deps): update python:3.13 docker digest to
d57ec66 (#33661)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
lib/modules/manager/azure-pipelines/readme.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/modules/manager/azure-pipelines/readme.md b/lib/modules/manager/azure-pipelines/readme.md
index 47d9fe7058aacf..ddf32fdbce8e32 100644
--- a/lib/modules/manager/azure-pipelines/readme.md
+++ b/lib/modules/manager/azure-pipelines/readme.md
@@ -44,7 +44,7 @@ resources:
- container: linux
image: ubuntu:24.04
- container: python
- image: python:3.13@sha256:cea505b81701dd9e46b8dde96eaa8054c4bd2035dbb660edeb7af947ed38a0ad
+ image: python:3.13@sha256:d57ec66c94b9497b9f3c66f6cdddc1e4e0bad4c584397e0b57a721baef0e6fdc
stages:
- stage: StageOne
From 24f0de2994ce17a45d6ad0620e4e3e385e9ed61d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 17 Jan 2025 09:09:47 +0000
Subject: [PATCH 072/247] chore(deps): update
ghcr.io/containerbase/devcontainer docker tag to v13.5.10 (#33663)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.devcontainer/Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index 91db290e6bdfc1..3b08960a3a20ab 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -1 +1 @@
-FROM ghcr.io/containerbase/devcontainer:13.5.8
+FROM ghcr.io/containerbase/devcontainer:13.5.10
From 52754b9fc5cda732d617b58e051be47970cc3987 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 17 Jan 2025 09:10:00 +0000
Subject: [PATCH 073/247] chore(deps): update dependency
renovatebot/github-action to v41.0.9 (#33662)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
docs/usage/docker.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/usage/docker.md b/docs/usage/docker.md
index 0667264ac85011..188c30f0a941de 100644
--- a/docs/usage/docker.md
+++ b/docs/usage/docker.md
@@ -307,7 +307,7 @@ Renovate will get the credentials with the [`google-auth-library`](https://www.n
service_account: ${{ env.SERVICE_ACCOUNT }}
- name: renovate
- uses: renovatebot/github-action@v41.0.8
+ uses: renovatebot/github-action@v41.0.9
env:
RENOVATE_HOST_RULES: |
[
From 1b10a43cdb2e72f13e20d9bf305cadcea949d76d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 17 Jan 2025 10:10:03 +0000
Subject: [PATCH 074/247] fix(deps): update ghcr.io/containerbase/sidecar
docker tag to v13.5.10 (#33665)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
lib/config/options/index.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/config/options/index.ts b/lib/config/options/index.ts
index b3e4cfa980501b..ea5da7747594a5 100644
--- a/lib/config/options/index.ts
+++ b/lib/config/options/index.ts
@@ -516,7 +516,7 @@ const options: RenovateOptions[] = [
description:
'Change this value to override the default Renovate sidecar image.',
type: 'string',
- default: 'ghcr.io/containerbase/sidecar:13.5.8',
+ default: 'ghcr.io/containerbase/sidecar:13.5.10',
globalOnly: true,
},
{
From abe61227b6c7f57cc49a79cd821a55e7f1e5556c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 17 Jan 2025 10:10:26 +0000
Subject: [PATCH 075/247] feat(deps): update ghcr.io/renovatebot/base-image
docker tag to v9.33.2 (#33666)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
tools/docker/Dockerfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 6f67a74e29ce02..9a695353f488f3 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -5,19 +5,19 @@ ARG BASE_IMAGE_TYPE=slim
# --------------------------------------
# slim image
# --------------------------------------
-FROM ghcr.io/renovatebot/base-image:9.30.2@sha256:5cd2ac3e6047a2335c55a733648d3add98ad0eb1dca5c3c7ba3814de61665611 AS slim-base
+FROM ghcr.io/renovatebot/base-image:9.33.2@sha256:8b958697ed82f189abb46c92591cbd96600977696014e971c825d776891aac5a AS slim-base
# --------------------------------------
# full image
# --------------------------------------
-FROM ghcr.io/renovatebot/base-image:9.30.2-full@sha256:cf6723892696a8fc3fe6a9df5f639f876335f21d2703fc414afbd18c8249787a AS full-base
+FROM ghcr.io/renovatebot/base-image:9.33.2-full@sha256:a0f2a13b6857c9cfba1c810fed13f4ef2c25020645a006bbe80b6f87cfb535e3 AS full-base
ENV RENOVATE_BINARY_SOURCE=global
# --------------------------------------
# build image
# --------------------------------------
-FROM --platform=$BUILDPLATFORM ghcr.io/renovatebot/base-image:9.30.2@sha256:5cd2ac3e6047a2335c55a733648d3add98ad0eb1dca5c3c7ba3814de61665611 AS build
+FROM --platform=$BUILDPLATFORM ghcr.io/renovatebot/base-image:9.33.2@sha256:8b958697ed82f189abb46c92591cbd96600977696014e971c825d776891aac5a AS build
# We want a specific node version here
# renovate: datasource=node-version
From 9b4e5150248a6b0026acf9c73bb00a295cba4c48 Mon Sep 17 00:00:00 2001
From: Sergei Zharinov
Date: Fri, 17 Jan 2025 11:18:00 -0300
Subject: [PATCH 076/247] refactor(http): Separate `getJson` and
`getJsonUnchecked` (#33651)
---
lib/config/presets/github/index.ts | 2 +-
lib/config/presets/gitlab/index.ts | 2 +-
lib/config/presets/npm/index.ts | 2 +-
.../datasource/bitbucket-tags/index.ts | 18 ++++--
lib/modules/datasource/conan/index.ts | 2 +-
lib/modules/datasource/conda/index.ts | 2 +-
lib/modules/datasource/crate/index.ts | 2 +-
lib/modules/datasource/custom/formats/json.ts | 2 +-
lib/modules/datasource/dart-version/index.ts | 2 +-
lib/modules/datasource/dart/index.ts | 2 +-
lib/modules/datasource/docker/common.ts | 4 +-
lib/modules/datasource/docker/index.ts | 4 +-
.../datasource/flutter-version/index.ts | 2 +-
.../github-release-attachments/index.ts | 14 +++--
lib/modules/datasource/github-tags/index.ts | 2 +-
.../datasource/gitlab-packages/index.ts | 4 +-
.../datasource/gitlab-releases/index.ts | 2 +-
lib/modules/datasource/gitlab-tags/index.ts | 8 ++-
lib/modules/datasource/go/releases-goproxy.ts | 4 +-
.../datasource/gradle-version/index.ts | 3 +-
lib/modules/datasource/hermit/index.ts | 2 +-
lib/modules/datasource/java-version/index.ts | 3 +-
.../datasource/jenkins-plugins/index.ts | 2 +-
lib/modules/datasource/node-version/index.ts | 2 +-
lib/modules/datasource/npm/get.ts | 2 +-
lib/modules/datasource/nuget/v3.ts | 8 ++-
lib/modules/datasource/packagist/index.ts | 10 +--
lib/modules/datasource/pod/index.ts | 2 +-
lib/modules/datasource/puppet-forge/index.ts | 2 +-
lib/modules/datasource/pypi/index.ts | 4 +-
lib/modules/datasource/repology/index.ts | 2 +-
.../datasource/terraform-module/base.ts | 2 +-
.../datasource/terraform-module/index.ts | 5 +-
.../datasource/terraform-provider/index.ts | 21 ++++---
.../platform/bitbucket-server/index.ts | 20 +++---
.../platform/bitbucket-server/utils.ts | 2 +-
lib/modules/platform/bitbucket/comments.ts | 2 +-
lib/modules/platform/bitbucket/index.ts | 22 +++----
lib/modules/platform/bitbucket/pr-cache.ts | 2 +-
lib/modules/platform/gerrit/client.ts | 29 ++++-----
lib/modules/platform/gitea/gitea-helper.ts | 31 +++++-----
lib/modules/platform/gitea/pr-cache.ts | 11 ++--
lib/modules/platform/github/index.ts | 43 ++++++++-----
lib/modules/platform/github/pr.ts | 2 +-
lib/modules/platform/github/user.ts | 22 ++++---
lib/modules/platform/gitlab/http.ts | 11 +++-
lib/modules/platform/gitlab/index.ts | 37 ++++++-----
lib/modules/platform/gitlab/merge-request.ts | 2 +-
lib/util/http/bitbucket.spec.ts | 10 ++-
.../repository-http-cache-provider.spec.ts | 22 +++----
lib/util/http/gerrit.spec.ts | 2 +-
lib/util/http/gitea.spec.ts | 13 ++--
lib/util/http/github.spec.ts | 28 ++++++---
lib/util/http/gitlab.spec.ts | 14 +++--
lib/util/http/index.spec.ts | 2 +-
lib/util/http/index.ts | 62 +++++++++++++------
lib/util/merge-confidence/index.ts | 4 +-
.../update/pr/changelog/github/index.ts | 6 +-
.../update/pr/changelog/gitlab/index.ts | 11 ++--
tools/docs/github-query-items.ts | 2 +-
60 files changed, 333 insertions(+), 229 deletions(-)
diff --git a/lib/config/presets/github/index.ts b/lib/config/presets/github/index.ts
index 06cca040ac9483..a9063233107ec3 100644
--- a/lib/config/presets/github/index.ts
+++ b/lib/config/presets/github/index.ts
@@ -24,7 +24,7 @@ export async function fetchJSONFile(
logger.trace({ url }, `Preset URL`);
let res: { body: { content: string } };
try {
- res = await http.getJson(url);
+ res = await http.getJsonUnchecked(url);
} catch (err) {
// istanbul ignore if: not testable with nock
if (err instanceof ExternalHostError) {
diff --git a/lib/config/presets/gitlab/index.ts b/lib/config/presets/gitlab/index.ts
index 300bf3e51ff5ee..2af74c99d094cf 100644
--- a/lib/config/presets/gitlab/index.ts
+++ b/lib/config/presets/gitlab/index.ts
@@ -14,7 +14,7 @@ async function getDefaultBranchName(
urlEncodedPkgName: string,
endpoint: string,
): Promise {
- const res = await gitlabApi.getJson(
+ const res = await gitlabApi.getJsonUnchecked(
`${endpoint}projects/${urlEncodedPkgName}`,
);
return res.body.default_branch ?? 'master'; // should never happen, but we keep this to ensure the current behavior
diff --git a/lib/config/presets/npm/index.ts b/lib/config/presets/npm/index.ts
index c01c5c70e0f173..e50201915c0812 100644
--- a/lib/config/presets/npm/index.ts
+++ b/lib/config/presets/npm/index.ts
@@ -31,7 +31,7 @@ export async function getPreset({
'Using npm packages for Renovate presets is now deprecated. Please migrate to repository-based presets instead.',
);
const packageUrl = resolvePackageUrl(registryUrl, pkg);
- const body = (await http.getJson(packageUrl)).body;
+ const body = (await http.getJsonUnchecked(packageUrl)).body;
// TODO: check null #22198
dep = body.versions![body['dist-tags']!.latest];
} catch {
diff --git a/lib/modules/datasource/bitbucket-tags/index.ts b/lib/modules/datasource/bitbucket-tags/index.ts
index f8b59d23196bf3..1ca5ddf1689513 100644
--- a/lib/modules/datasource/bitbucket-tags/index.ts
+++ b/lib/modules/datasource/bitbucket-tags/index.ts
@@ -65,9 +65,12 @@ export class BitbucketTagsDatasource extends Datasource {
}: GetReleasesConfig): Promise {
const url = `/2.0/repositories/${repo}/refs/tags`;
const bitbucketTags = (
- await this.bitbucketHttp.getJson>(url, {
- paginate: true,
- })
+ await this.bitbucketHttp.getJsonUnchecked>(
+ url,
+ {
+ paginate: true,
+ },
+ )
).body.values;
const dependency: ReleaseResult = {
@@ -96,8 +99,9 @@ export class BitbucketTagsDatasource extends Datasource {
): Promise {
const url = `/2.0/repositories/${repo}/refs/tags/${tag}`;
- const bitbucketTag = (await this.bitbucketHttp.getJson(url))
- .body;
+ const bitbucketTag = (
+ await this.bitbucketHttp.getJsonUnchecked(url)
+ ).body;
return bitbucketTag.target?.hash ?? null;
}
@@ -136,7 +140,9 @@ export class BitbucketTagsDatasource extends Datasource {
const url = `/2.0/repositories/${repo}/commits/${mainBranch}`;
const bitbucketCommits = (
- await this.bitbucketHttp.getJson>(url)
+ await this.bitbucketHttp.getJsonUnchecked>(
+ url,
+ )
).body;
if (bitbucketCommits.values.length === 0) {
diff --git a/lib/modules/datasource/conan/index.ts b/lib/modules/datasource/conan/index.ts
index 0319d16719bc94..079600bd4df9e8 100644
--- a/lib/modules/datasource/conan/index.ts
+++ b/lib/modules/datasource/conan/index.ts
@@ -126,7 +126,7 @@ export class ConanDatasource extends Datasource {
);
try {
- const rep = await this.http.getJson(lookupUrl);
+ const rep = await this.http.getJsonUnchecked(lookupUrl);
const conanJson = ConanJSON.parse(rep.body);
if (conanJson) {
logger.trace({ lookupUrl }, 'Got conan api result');
diff --git a/lib/modules/datasource/conda/index.ts b/lib/modules/datasource/conda/index.ts
index 980eb8de9be103..6985d4d4cde7db 100644
--- a/lib/modules/datasource/conda/index.ts
+++ b/lib/modules/datasource/conda/index.ts
@@ -52,7 +52,7 @@ export class CondaDatasource extends Datasource {
let response: { body: CondaPackage };
try {
- response = await this.http.getJson(url);
+ response = await this.http.getJsonUnchecked(url);
result.homepage = response.body.html_url;
result.sourceUrl = response.body.dev_url;
diff --git a/lib/modules/datasource/crate/index.ts b/lib/modules/datasource/crate/index.ts
index 29eb0b84985f23..7e0be2656c71eb 100644
--- a/lib/modules/datasource/crate/index.ts
+++ b/lib/modules/datasource/crate/index.ts
@@ -156,7 +156,7 @@ export class CrateDatasource extends Datasource {
try {
type Response = { crate: CrateMetadata };
- const response = await this.http.getJson(crateUrl);
+ const response = await this.http.getJsonUnchecked(crateUrl);
return response.body.crate;
} catch (err) {
logger.warn(
diff --git a/lib/modules/datasource/custom/formats/json.ts b/lib/modules/datasource/custom/formats/json.ts
index ead333419bbd91..63b7fb70ad4223 100644
--- a/lib/modules/datasource/custom/formats/json.ts
+++ b/lib/modules/datasource/custom/formats/json.ts
@@ -4,7 +4,7 @@ import type { CustomDatasourceFetcher } from './types';
export class JSONFetcher implements CustomDatasourceFetcher {
async fetch(http: Http, registryURL: string): Promise {
- const response = await http.getJson(registryURL);
+ const response = await http.getJsonUnchecked(registryURL);
return response.body;
}
diff --git a/lib/modules/datasource/dart-version/index.ts b/lib/modules/datasource/dart-version/index.ts
index 23f95ccab89124..06b5440f8fbb7d 100644
--- a/lib/modules/datasource/dart-version/index.ts
+++ b/lib/modules/datasource/dart-version/index.ts
@@ -41,7 +41,7 @@ export class DartVersionDatasource extends Datasource {
try {
for (const channel of this.channels) {
const resp = (
- await this.http.getJson(
+ await this.http.getJsonUnchecked(
`${registryUrl}/storage/v1/b/dart-archive/o?delimiter=%2F&prefix=channels%2F${channel}%2Frelease%2F&alt=json`,
)
).body;
diff --git a/lib/modules/datasource/dart/index.ts b/lib/modules/datasource/dart/index.ts
index 88e549cfeb8903..80ea1cf8e3a2b4 100644
--- a/lib/modules/datasource/dart/index.ts
+++ b/lib/modules/datasource/dart/index.ts
@@ -37,7 +37,7 @@ export class DartDatasource extends Datasource {
let raw: HttpResponse | null = null;
try {
- raw = await this.http.getJson