-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into acr_metadata-read
- Loading branch information
Showing
69 changed files
with
1,431 additions
and
583 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM containerbase/node:14.19.1@sha256:c2281a0bc1b0e1f9515febee40ce838c8bcfe53cd96993448811f0bf463231c2 | ||
FROM containerbase/node:14.19.1@sha256:5552fd998481adb13a7bd005e6b743cbc89b37c7de5e9c5a9bf1d82700663bf7 | ||
|
||
USER root | ||
|
||
# renovate: datasource=npm | ||
RUN install-tool yarn 1.22.17 | ||
RUN install-tool yarn 1.22.18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
# Security Policy | ||
# Security / Disclosure | ||
|
||
Please send an email to [renovate-disclosure@whitesourcesoftware.com](mailto:renovate-disclosure@whitesourcesoftware.com) describing what you have found. | ||
Please do not raise an issue in this repository or publicize your concern in any other forum without giving us adequate time to investigate first. | ||
If you find any bug with Renovate that may be a security problem, then e-mail us at: [renovate-disclosure@whitesourcesoftware.com](mailto:renovate-disclosure@whitesourcesoftware.com). | ||
This way we can evaluate the bug and hopefully fix it before it gets abused. | ||
Please give us enough time to investigate the bug before you report it anywhere else. | ||
|
||
Please do not create GitHub issues for security-related doubts or problems. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"4.10": "warty", | ||
"5.04": "hoary", | ||
"5.10": "breezy", | ||
"6.06": "dapper", | ||
"6.10": "edgy", | ||
"7.04": "feisty", | ||
"7.10": "gutsy", | ||
"8.04": "hardy", | ||
"8.10": "intrepid", | ||
"9.04": "jaunty", | ||
"9.10": "karmic", | ||
"10.04": "lucid", | ||
"10.10": "maverick", | ||
"11.04": "natty", | ||
"11.10": "oneiric", | ||
"12.04": "precise", | ||
"12.10": "quantal", | ||
"13.04": "raring", | ||
"13.10": "saucy", | ||
"14.04": "trusty", | ||
"14.10": "utopic", | ||
"15.04": "vivid", | ||
"15.10": "wily", | ||
"16.04": "xenial", | ||
"16.10": "yakkety", | ||
"17.04": "zesty", | ||
"17.10": "artful", | ||
"18.04": "bionic", | ||
"18.10": "cosmic", | ||
"19.04": "disco", | ||
"19.10": "eoan", | ||
"20.04": "focal", | ||
"20.10": "groovy", | ||
"21.04": "hirsute", | ||
"21.10": "impish", | ||
"22.04": "jammy" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Renovate style guide | ||
|
||
This document describes the correct style for user-facing text in the: | ||
|
||
- Documentation | ||
- Error and debug messages | ||
- Texts created by the bot in issues and pull requests | ||
|
||
## Use American English | ||
|
||
Set your spell checker to the correct language. | ||
|
||
## Use plain language | ||
|
||
Follow the [Plain language guidelines](https://www.plainlanguage.gov/guidelines/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
lib/config/migrations/custom/ignore-npmrc-file-migration.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { IgnoreNpmrcFileMigration } from './ignore-npmrc-file-migration'; | ||
|
||
describe('config/migrations/custom/ignore-npmrc-file-migration', () => { | ||
it('should init npmrc field', () => { | ||
expect(IgnoreNpmrcFileMigration).toMigrate( | ||
{ | ||
ignoreNpmrcFile: true, | ||
}, | ||
{ | ||
npmrc: '', | ||
} | ||
); | ||
}); | ||
|
||
it('should not change npmrc field if it represents string value', () => { | ||
expect(IgnoreNpmrcFileMigration).toMigrate( | ||
{ | ||
ignoreNpmrcFile: true, | ||
npmrc: '', | ||
}, | ||
{ | ||
npmrc: '', | ||
} | ||
); | ||
}); | ||
|
||
it('should change npmrc field if it not represents string value', () => { | ||
expect(IgnoreNpmrcFileMigration).toMigrate( | ||
{ | ||
ignoreNpmrcFile: true, | ||
npmrc: true, | ||
} as any, | ||
{ | ||
npmrc: '', | ||
} | ||
); | ||
}); | ||
}); |
15 changes: 15 additions & 0 deletions
15
lib/config/migrations/custom/ignore-npmrc-file-migration.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import is from '@sindresorhus/is'; | ||
import { AbstractMigration } from '../base/abstract-migration'; | ||
|
||
export class IgnoreNpmrcFileMigration extends AbstractMigration { | ||
override readonly deprecated = true; | ||
override readonly propertyName = 'ignoreNpmrcFile'; | ||
|
||
override run(): void { | ||
const npmrc = this.get('npmrc'); | ||
|
||
if (!is.string(npmrc)) { | ||
this.setHard('npmrc', ''); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.