renovate 40.14.6 → 40.16.0
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.
@@ -8,7 +8,7 @@ const tslib_1 = require("tslib");
|
|
8
8
|
const is_1 = tslib_1.__importDefault(require("@sindresorhus/is"));
|
9
9
|
const logger_1 = require("../../../logger");
|
10
10
|
const external_host_error_1 = require("../../../types/errors/external-host-error");
|
11
|
-
const
|
11
|
+
const repository_http_cache_provider_1 = require("../../../util/http/cache/repository-http-cache-provider");
|
12
12
|
const github_1 = require("../../../util/http/github");
|
13
13
|
const string_1 = require("../../../util/string");
|
14
14
|
const util_1 = require("../util");
|
@@ -24,7 +24,7 @@ async function fetchJSONFile(repo, fileName, endpoint, tag) {
|
|
24
24
|
let res;
|
25
25
|
try {
|
26
26
|
res = await http.getJsonUnchecked(url, {
|
27
|
-
cacheProvider:
|
27
|
+
cacheProvider: repository_http_cache_provider_1.repoCacheProvider,
|
28
28
|
});
|
29
29
|
}
|
30
30
|
catch (err) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/config/presets/github/index.ts"],"names":[],"mappings":";;;AAaA,sCA0BC;AAED,sDAeC;AAED,8BAOC;;AAjED,kEAAkC;AAClC,4CAAyC;AACzC,mFAA8E;AAC9E,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/config/presets/github/index.ts"],"names":[],"mappings":";;;AAaA,sCA0BC;AAED,sDAeC;AAED,8BAOC;;AAjED,kEAAkC;AAClC,4CAAyC;AACzC,mFAA8E;AAC9E,4GAA4F;AAC5F,sDAAuD;AACvD,iDAAkD;AAElD,kCAAyE;AAE5D,QAAA,QAAQ,GAAG,yBAAyB,CAAC;AAElD,MAAM,IAAI,GAAG,IAAI,mBAAU,EAAE,CAAC;AAEvB,KAAK,UAAU,aAAa,CACjC,IAAY,EACZ,QAAgB,EAChB,QAAgB,EAChB,GAAY;IAEZ,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,EAAE,GAAG,CAAC,CAAC;AAC5E,CAAC","sourcesContent":["import is from '@sindresorhus/is';\nimport { logger } from '../../../logger';\nimport { ExternalHostError } from '../../../types/errors/external-host-error';\nimport { repoCacheProvider } from '../../../util/http/cache/repository-http-cache-provider';\nimport { GithubHttp } from '../../../util/http/github';\nimport { fromBase64 } from '../../../util/string';\nimport type { Preset, PresetConfig } from '../types';\nimport { PRESET_DEP_NOT_FOUND, fetchPreset, parsePreset } from '../util';\n\nexport const Endpoint = 'https://api.github.com/';\n\nconst http = new GithubHttp();\n\nexport async function fetchJSONFile(\n repo: string,\n fileName: string,\n endpoint: string,\n tag?: string,\n): Promise<Preset> {\n let ref = '';\n if (is.nonEmptyString(tag)) {\n ref = `?ref=${tag}`;\n }\n const url = `${endpoint}repos/${repo}/contents/${fileName}${ref}`;\n logger.trace({ url }, `Preset URL`);\n let res: { body: { content: string } };\n try {\n res = await http.getJsonUnchecked(url, {\n cacheProvider: repoCacheProvider,\n });\n } catch (err) {\n if (err instanceof ExternalHostError) {\n throw err;\n }\n logger.debug(`Preset file ${fileName} not found in ${repo}`);\n throw new Error(PRESET_DEP_NOT_FOUND);\n }\n\n return parsePreset(fromBase64(res.body.content), fileName);\n}\n\nexport function getPresetFromEndpoint(\n repo: string,\n filePreset: string,\n presetPath?: string,\n endpoint = Endpoint,\n tag?: string,\n): Promise<Preset | undefined> {\n return fetchPreset({\n repo,\n filePreset,\n presetPath,\n endpoint,\n tag,\n fetch: fetchJSONFile,\n });\n}\n\nexport function getPreset({\n repo,\n presetName = 'default',\n presetPath,\n tag,\n}: PresetConfig): Promise<Preset | undefined> {\n return getPresetFromEndpoint(repo, presetName, presetPath, Endpoint, tag);\n}\n"]}
|
package/dist/data/monorepo.json
CHANGED
@@ -484,6 +484,7 @@
|
|
484
484
|
],
|
485
485
|
"playwright": "https://github.com/microsoft/playwright",
|
486
486
|
"playwright-dotnet": "https://github.com/microsoft/playwright-dotnet",
|
487
|
+
"pnpcore": "https://github.com/pnp/pnpcore",
|
487
488
|
"pnpjs": "https://github.com/pnp/pnpjs",
|
488
489
|
"pollyjs": "https://github.com/Netflix/pollyjs",
|
489
490
|
"pothos": "https://github.com/hayes/pothos",
|