Skip to content

Commit

Permalink
build(deps): update dependency prettier to v3.1.0 (#25872)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
  • Loading branch information
renovate[bot] and rarkins committed Nov 21, 2023
1 parent a13d4dc commit 8de2126
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
10 changes: 4 additions & 6 deletions lib/modules/datasource/docker/index.ts
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
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
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.

0 comments on commit 8de2126

Please sign in to comment.