Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): update dependency prettier to v3.1.0 #25872

Merged
merged 2 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 4 additions & 6 deletions lib/modules/datasource/docker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -627,9 +627,8 @@ export class DockerDatasource extends Datasource {
ecrRegex.test(registryHost) || ecrPublicRegex.test(registryHost)
? 1000
: 10000;
let url:
| string
| null = `${registryHost}/${dockerRepository}/tags/list?n=${limit}`;
let url: string | null =
`${registryHost}/${dockerRepository}/tags/list?n=${limit}`;
url = ensurePathPrefix(url, '/v2');
const headers = await getAuthHeaders(
this.http,
Expand Down Expand Up @@ -916,9 +915,8 @@ export class DockerDatasource extends Datasource {

async getDockerHubTags(dockerRepository: string): Promise<Release[] | null> {
const result: Release[] = [];
let url:
| null
| string = `https://hub.docker.com/v2/repositories/${dockerRepository}/tags?page_size=1000`;
let url: null | string =
`https://hub.docker.com/v2/repositories/${dockerRepository}/tags?page_size=1000`;
while (url) {
const { val, err } = await this.http
.getJsonSafe(url, DockerHubTagsPage)
Expand Down
5 changes: 2 additions & 3 deletions lib/util/git/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@ export function getGitAuthenticatedEnvironmentVariables(
...environmentVariables,
};
for (const rule of authenticationRules) {
newEnvironmentVariables[
`GIT_CONFIG_KEY_${gitConfigCount}`
] = `url.${rule.url}.insteadOf`;
newEnvironmentVariables[`GIT_CONFIG_KEY_${gitConfigCount}`] =
`url.${rule.url}.insteadOf`;
newEnvironmentVariables[`GIT_CONFIG_VALUE_${gitConfigCount}`] =
rule.insteadOf;
gitConfigCount++;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
"p-queue": "6.6.2",
"p-throttle": "4.1.1",
"parse-link-header": "2.0.0",
"prettier": "3.0.3",
"prettier": "3.1.0",
"redis": "4.6.10",
"remark": "13.0.0",
"remark-github": "10.1.0",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.