renovate 42.11.0 → 42.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/monorepo.json +1 -0
- package/dist/modules/datasource/pypi/common.js +3 -2
- package/dist/modules/datasource/pypi/common.js.map +1 -1
- package/dist/util/mutex.d.ts +1 -0
- package/dist/util/mutex.js +5 -1
- package/dist/util/mutex.js.map +1 -1
- package/dist/workers/repository/init/index.js +2 -0
- package/dist/workers/repository/init/index.js.map +1 -1
- package/package.json +8 -8
- package/renovate-schema.json +2 -2
package/dist/data/monorepo.json
CHANGED
|
@@ -590,6 +590,7 @@
|
|
|
590
590
|
"slf4j": "https://github.com/qos-ch/slf4j",
|
|
591
591
|
"slim-message-bus": "https://github.com/zarusz/SlimMessageBus",
|
|
592
592
|
"spectre-console": "https://github.com/spectreconsole/spectre.console",
|
|
593
|
+
"spectre-console-cli": "https://github.com/spectreconsole/spectre.console.cli",
|
|
593
594
|
"springfox": "https://github.com/springfox/springfox",
|
|
594
595
|
"stack-exchange-redis-extensions": "https://github.com/imperugo/StackExchange.Redis.Extensions",
|
|
595
596
|
"statsig-js-client": "https://github.com/statsig-io/js-client-monorepo",
|
|
@@ -3,9 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.isGitHubRepo = isGitHubRepo;
|
|
4
4
|
exports.normalizePythonDepName = normalizePythonDepName;
|
|
5
5
|
const regex_1 = require("../../../util/regex");
|
|
6
|
-
const githubRepoPattern = (0, regex_1.regEx)(/^https?:\/\/github\.com\/[^/]
|
|
6
|
+
const githubRepoPattern = (0, regex_1.regEx)(/^https?:\/\/github\.com\/([^/]+)\/[^/]+$/);
|
|
7
7
|
function isGitHubRepo(url) {
|
|
8
|
-
|
|
8
|
+
const m = url.match(githubRepoPattern);
|
|
9
|
+
return !!m && m[1] !== 'sponsors';
|
|
9
10
|
}
|
|
10
11
|
// https://packaging.python.org/en/latest/specifications/name-normalization/
|
|
11
12
|
function normalizePythonDepName(name) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../lib/modules/datasource/pypi/common.ts"],"names":[],"mappings":";;AAIA,
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../lib/modules/datasource/pypi/common.ts"],"names":[],"mappings":";;AAIA,oCAGC;AAGD,wDAEC;AAZD,+CAA4C;AAE5C,MAAM,iBAAiB,GAAG,IAAA,aAAK,EAAC,0CAA0C,CAAC,CAAC;AAE5E,SAAgB,YAAY,CAAC,GAAW;IACtC,MAAM,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACvC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC;AACpC,CAAC;AAED,4EAA4E;AAC5E,SAAgB,sBAAsB,CAAC,IAAY;IACjD,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC;AACpD,CAAC","sourcesContent":["import { regEx } from '../../../util/regex';\n\nconst githubRepoPattern = regEx(/^https?:\\/\\/github\\.com\\/([^/]+)\\/[^/]+$/);\n\nexport function isGitHubRepo(url: string): boolean {\n const m = url.match(githubRepoPattern);\n return !!m && m[1] !== 'sponsors';\n}\n\n// https://packaging.python.org/en/latest/specifications/name-normalization/\nexport function normalizePythonDepName(name: string): string {\n return name.replace(/[-_.]+/g, '-').toLowerCase();\n}\n"]}
|
package/dist/util/mutex.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { type MutexInterface } from 'async-mutex';
|
|
2
|
+
export declare function initMutexes(): void;
|
|
2
3
|
export declare function getMutex(key: string, namespace?: string): MutexInterface;
|
|
3
4
|
export declare function acquireLock(key: string, namespace?: string): Promise<MutexInterface.Releaser>;
|
package/dist/util/mutex.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.initMutexes = initMutexes;
|
|
3
4
|
exports.getMutex = getMutex;
|
|
4
5
|
exports.acquireLock = acquireLock;
|
|
5
6
|
const async_mutex_1 = require("async-mutex");
|
|
6
7
|
const DEFAULT_NAMESPACE = 'default';
|
|
7
|
-
|
|
8
|
+
let mutexes = {};
|
|
9
|
+
function initMutexes() {
|
|
10
|
+
mutexes = {};
|
|
11
|
+
}
|
|
8
12
|
function getMutex(key, namespace = DEFAULT_NAMESPACE) {
|
|
9
13
|
mutexes[namespace] ??= {};
|
|
10
14
|
// create a new mutex if it doesn't exist with a timeout of 2 minutes
|
package/dist/util/mutex.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutex.js","sourceRoot":"","sources":["../../lib/util/mutex.ts"],"names":[],"mappings":";;AAKA,4BAQC;AAED,kCAKC;
|
|
1
|
+
{"version":3,"file":"mutex.js","sourceRoot":"","sources":["../../lib/util/mutex.ts"],"names":[],"mappings":";;AAKA,kCAEC;AAED,4BAQC;AAED,kCAKC;AAxBD,6CAAsE;AAEtE,MAAM,iBAAiB,GAAG,SAAS,CAAC;AACpC,IAAI,OAAO,GAAmD,EAAE,CAAC;AAEjE,SAAgB,WAAW;IACzB,OAAO,GAAG,EAAE,CAAC;AACf,CAAC;AAED,SAAgB,QAAQ,CACtB,GAAW,EACX,YAAoB,iBAAiB;IAErC,OAAO,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;IAC1B,qEAAqE;IACrE,OAAO,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,KAAK,IAAA,yBAAW,EAAC,IAAI,mBAAK,EAAE,EAAE,IAAI,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;IACpE,OAAO,OAAO,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC;AACjC,CAAC;AAED,SAAgB,WAAW,CACzB,GAAW,EACX,YAAoB,iBAAiB;IAErC,OAAO,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC,OAAO,EAAE,CAAC;AAC5C,CAAC","sourcesContent":["import { Mutex, type MutexInterface, withTimeout } from 'async-mutex';\n\nconst DEFAULT_NAMESPACE = 'default';\nlet mutexes: Record<string, Record<string, MutexInterface>> = {};\n\nexport function initMutexes(): void {\n mutexes = {};\n}\n\nexport function getMutex(\n key: string,\n namespace: string = DEFAULT_NAMESPACE,\n): MutexInterface {\n mutexes[namespace] ??= {};\n // create a new mutex if it doesn't exist with a timeout of 2 minutes\n mutexes[namespace][key] ??= withTimeout(new Mutex(), 1000 * 60 * 2);\n return mutexes[namespace][key];\n}\n\nexport function acquireLock(\n key: string,\n namespace: string = DEFAULT_NAMESPACE,\n): Promise<MutexInterface.Releaser> {\n return getMutex(key, namespace).acquire();\n}\n"]}
|
|
@@ -11,6 +11,7 @@ const memCache = tslib_1.__importStar(require("../../../util/cache/memory"));
|
|
|
11
11
|
const clone_1 = require("../../../util/clone");
|
|
12
12
|
const git_1 = require("../../../util/git");
|
|
13
13
|
const host_rules_1 = require("../../../util/host-rules");
|
|
14
|
+
const mutex_1 = require("../../../util/mutex");
|
|
14
15
|
const configured_1 = require("../configured");
|
|
15
16
|
const package_files_1 = require("../package-files");
|
|
16
17
|
const apis_1 = require("./apis");
|
|
@@ -43,6 +44,7 @@ async function initRepo(config_) {
|
|
|
43
44
|
await (0, cache_1.resetCaches)();
|
|
44
45
|
logger_1.logger.once.reset();
|
|
45
46
|
memCache.init();
|
|
47
|
+
(0, mutex_1.initMutexes)();
|
|
46
48
|
config = await (0, apis_1.initApis)(config);
|
|
47
49
|
await (0, cache_1.initializeCaches)(config);
|
|
48
50
|
config = await (0, config_1.getRepoConfig)(config);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/workers/repository/init/index.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","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AK,EAAE,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,CAAC;IAChB,IAAA,mBAAW,GAAE,CAAC;IACd,MAAM,GAAG,MAAM,IAAA,eAAQ,EAAC,MAAM,CAAC,CAAC;IAChC,MAAM,IAAA,wBAAgB,EAAC,MAA8B,CAAC,CAAC;IACvD,MAAM,GAAG,MAAM,IAAA,sBAAa,EAAC,MAAM,CAAC,CAAC;IACrC,IAAA,mCAA2B,EAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IAClD,IAAI,MAAM,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC7B,eAAM,CAAC,IAAI,CACT,mFAAmF,CACpF,CAAC;IACJ,CAAC;IACD,IAAA,8BAAiB,EAAC,MAAM,CAAC,CAAC;IAC1B,wBAAwB,CAAC,MAAM,CAAC,CAAC;IACjC,MAAM,GAAG,IAAA,0CAAgC,EAAC;QACxC,MAAM;KACP,CAAC,CAAC;IACH,IAAA,uBAAiB,EAAC,MAAM,CAAC,CAAC;IAC1B,MAAM,GAAG,MAAM,IAAA,yCAAyB,EAAC,MAAM,CAAC,CAAC;IACjD,qBAAqB;IACrB,IAAI,MAAM,CAAC,WAAW,EAAE,CAAC;QACvB,eAAM,CAAC,IAAI,CACT,EAAE,MAAM,EAAE,SAAS,EAAE,IAAA,mBAAM,GAAE,EAAE,EAC/B,sDAAsD,CACvD,CAAC;IACJ,CAAC;IACD,MAAM,IAAA,qBAAe,EAAC,CAAC,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAC9E,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import { GlobalConfig } from '../../../config/global';\nimport { applySecretsAndVariablesToConfig } from '../../../config/secrets';\nimport type { RenovateConfig } from '../../../config/types';\nimport { logger } from '../../../logger';\nimport { setRepositoryLogLevelRemaps } from '../../../logger/remap';\nimport { platform } from '../../../modules/platform';\nimport * as memCache from '../../../util/cache/memory';\nimport { clone } from '../../../util/clone';\nimport { cloneSubmodules, setUserRepoConfig } from '../../../util/git';\nimport { getAll } from '../../../util/host-rules';\nimport { initMutexes } from '../../../util/mutex';\nimport { checkIfConfigured } from '../configured';\nimport { PackageFiles } from '../package-files';\nimport type { WorkerPlatformConfig } from './apis';\nimport { initApis } from './apis';\nimport { initializeCaches, resetCaches } from './cache';\nimport { getRepoConfig } from './config';\nimport { detectVulnerabilityAlerts } from './vulnerability';\n\nfunction initializeConfig(config: RenovateConfig): RenovateConfig {\n return {\n ...clone(config),\n errors: [],\n warnings: [],\n branchList: [],\n };\n}\n\nfunction warnOnUnsupportedOptions(config: RenovateConfig): void {\n if (config.filterUnavailableUsers && !platform.filterUnavailableUsers) {\n // TODO: types (#22198)\n const platform = GlobalConfig.get('platform')!;\n logger.warn(\n { platform },\n `Configuration option 'filterUnavailableUsers' is not supported on the current platform.`,\n );\n }\n\n if (config.expandCodeOwnersGroups && !platform.expandGroupMembers) {\n // TODO: types (#22198)\n const platform = GlobalConfig.get('platform')!;\n logger.warn(\n { platform },\n `Configuration option 'expandCodeOwnersGroups' is not supported on the current platform.`,\n );\n }\n}\n\nexport async function initRepo(\n config_: RenovateConfig,\n): Promise<RenovateConfig> {\n PackageFiles.clear();\n let config: RenovateConfig = initializeConfig(config_);\n await resetCaches();\n logger.once.reset();\n memCache.init();\n initMutexes();\n config = await initApis(config);\n await initializeCaches(config as WorkerPlatformConfig);\n config = await getRepoConfig(config);\n setRepositoryLogLevelRemaps(config.logLevelRemap);\n if (config.mode === 'silent') {\n logger.info(\n 'Repository is running with mode=silent and will not make Issues or PRs by default',\n );\n }\n checkIfConfigured(config);\n warnOnUnsupportedOptions(config);\n config = applySecretsAndVariablesToConfig({\n config,\n });\n setUserRepoConfig(config);\n config = await detectVulnerabilityAlerts(config);\n // istanbul ignore if\n if (config.printConfig) {\n logger.info(\n { config, hostRules: getAll() },\n 'Full resolved config and hostRules including presets',\n );\n }\n await cloneSubmodules(!!config.cloneSubmodules, config.cloneSubmodulesFilter);\n return config;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "renovate",
|
|
3
3
|
"description": "Automated dependency updates. Flexible so you don't need to be.",
|
|
4
|
-
"version": "42.
|
|
4
|
+
"version": "42.12.1",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"bin": {
|
|
7
7
|
"renovate": "dist/renovate.js",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
},
|
|
89
89
|
"volta": {
|
|
90
90
|
"node": "24.11.1",
|
|
91
|
-
"pnpm": "10.
|
|
91
|
+
"pnpm": "10.21.0"
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
94
|
"@aws-sdk/client-codecommit": "3.922.0",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"@renovatebot/pgp": "1.1.1",
|
|
124
124
|
"@renovatebot/ruby-semver": "4.1.2",
|
|
125
125
|
"@sindresorhus/is": "7.1.1",
|
|
126
|
-
"@yarnpkg/core": "4.
|
|
126
|
+
"@yarnpkg/core": "4.5.0",
|
|
127
127
|
"@yarnpkg/parsers": "3.0.3",
|
|
128
128
|
"ae-cvss-calculator": "1.0.9",
|
|
129
129
|
"agentkeepalive": "4.6.0",
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
"p-all": "5.0.1",
|
|
183
183
|
"p-map": "7.0.3",
|
|
184
184
|
"p-queue": "9.0.0",
|
|
185
|
-
"p-throttle": "8.
|
|
185
|
+
"p-throttle": "8.1.0",
|
|
186
186
|
"parse-link-header": "2.0.0",
|
|
187
187
|
"prettier": "3.6.2",
|
|
188
188
|
"protobufjs": "7.5.4",
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
"optionalDependencies": {
|
|
214
214
|
"better-sqlite3": "12.4.1",
|
|
215
215
|
"openpgp": "6.2.2",
|
|
216
|
-
"re2": "1.22.
|
|
216
|
+
"re2": "1.22.3"
|
|
217
217
|
},
|
|
218
218
|
"devDependencies": {
|
|
219
219
|
"@containerbase/eslint-plugin": "1.1.18",
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
"@types/tmp": "0.2.6",
|
|
262
262
|
"@types/validate-npm-package-name": "4.0.2",
|
|
263
263
|
"@vitest/coverage-v8": "3.2.4",
|
|
264
|
-
"@vitest/eslint-plugin": "1.4.
|
|
264
|
+
"@vitest/eslint-plugin": "1.4.2",
|
|
265
265
|
"ajv": "8.17.1",
|
|
266
266
|
"ajv-formats": "3.0.1",
|
|
267
267
|
"aws-sdk-client-mock": "4.1.0",
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
"common-tags": "1.8.2",
|
|
270
270
|
"conventional-changelog-conventionalcommits": "9.1.0",
|
|
271
271
|
"emojibase-data": "16.0.3",
|
|
272
|
-
"esbuild": "0.
|
|
272
|
+
"esbuild": "0.27.0",
|
|
273
273
|
"eslint": "9.39.1",
|
|
274
274
|
"eslint-config-prettier": "10.1.8",
|
|
275
275
|
"eslint-formatter-gha": "1.6.0",
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
"npm-run-all2": "8.0.4",
|
|
289
289
|
"nyc": "17.1.0",
|
|
290
290
|
"rimraf": "6.1.0",
|
|
291
|
-
"semantic-release": "25.0.
|
|
291
|
+
"semantic-release": "25.0.2",
|
|
292
292
|
"tar": "7.5.2",
|
|
293
293
|
"tmp-promise": "3.0.3",
|
|
294
294
|
"tsx": "4.20.6",
|
package/renovate-schema.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"title": "JSON schema for Renovate 42.
|
|
2
|
+
"title": "JSON schema for Renovate 42.12.1 config files (https://renovatebot.com/)",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"x-renovate-version": "42.
|
|
4
|
+
"x-renovate-version": "42.12.1",
|
|
5
5
|
"allowComments": true,
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|