renovate 43.31.4 → 43.31.6
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/util/unicode.js +5 -1
- package/dist/util/unicode.js.map +1 -1
- package/package.json +2 -2
- package/renovate-schema.json +2 -2
package/dist/util/unicode.js
CHANGED
|
@@ -4,7 +4,11 @@ import { logger } from "../logger/index.js";
|
|
|
4
4
|
//#region lib/util/unicode.ts
|
|
5
5
|
function logWarningIfUnicodeHiddenCharactersInPackageFile(file, content) {
|
|
6
6
|
const hiddenCharacters = content.toString("utf8").match(hiddenUnicodeCharactersRegex);
|
|
7
|
-
if (hiddenCharacters) logger.once.
|
|
7
|
+
if (hiddenCharacters) if (hiddenCharacters.length === 1 && hiddenCharacters[0] === "") logger.once.trace({
|
|
8
|
+
file,
|
|
9
|
+
hiddenCharacters: toUnicodeEscape(hiddenCharacters.join(""))
|
|
10
|
+
}, `Hidden Byte Order Mark (BOM) Unicode characters has been discovered in the file \`${file}\`. This is likely safe, if you are using Microsoft Windows, but please confirm that they are intended to be there, as they could be an attempt to "smuggle" text into your codebase, or used to confuse tools like Renovate or Large Language Models (LLMs)`);
|
|
11
|
+
else logger.once.warn({
|
|
8
12
|
file,
|
|
9
13
|
hiddenCharacters: toUnicodeEscape(hiddenCharacters.join(""))
|
|
10
14
|
}, `Hidden Unicode characters have been discovered in the file \`${file}\`. Please confirm that they are intended to be there, as they could be an attempt to "smuggle" text into your codebase, or used to confuse tools like Renovate or Large Language Models (LLMs)`);
|
package/dist/util/unicode.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unicode.js","names":[],"sources":["../../lib/util/unicode.ts"],"sourcesContent":["import { logger } from '../logger/index.ts';\nimport { hiddenUnicodeCharactersRegex, toUnicodeEscape } from './regex.ts';\n\nexport function logWarningIfUnicodeHiddenCharactersInPackageFile(\n file: string,\n content: string | Buffer,\n): void {\n const hiddenCharacters = content\n .toString('utf8')\n .match(hiddenUnicodeCharactersRegex);\n if (hiddenCharacters) {\n logger.once.
|
|
1
|
+
{"version":3,"file":"unicode.js","names":[],"sources":["../../lib/util/unicode.ts"],"sourcesContent":["import { logger } from '../logger/index.ts';\nimport { hiddenUnicodeCharactersRegex, toUnicodeEscape } from './regex.ts';\n\nexport function logWarningIfUnicodeHiddenCharactersInPackageFile(\n file: string,\n content: string | Buffer,\n): void {\n const hiddenCharacters = content\n .toString('utf8')\n .match(hiddenUnicodeCharactersRegex);\n if (hiddenCharacters) {\n if (hiddenCharacters.length === 1 && hiddenCharacters[0] === '\\uFEFF') {\n logger.once.trace(\n {\n file,\n hiddenCharacters: toUnicodeEscape(hiddenCharacters.join('')),\n },\n `Hidden Byte Order Mark (BOM) Unicode characters has been discovered in the file \\`${file}\\`. This is likely safe, if you are using Microsoft Windows, but please confirm that they are intended to be there, as they could be an attempt to \"smuggle\" text into your codebase, or used to confuse tools like Renovate or Large Language Models (LLMs)`,\n );\n } else {\n logger.once.warn(\n {\n file,\n hiddenCharacters: toUnicodeEscape(hiddenCharacters.join('')),\n },\n `Hidden Unicode characters have been discovered in the file \\`${file}\\`. Please confirm that they are intended to be there, as they could be an attempt to \"smuggle\" text into your codebase, or used to confuse tools like Renovate or Large Language Models (LLMs)`,\n );\n }\n }\n}\n"],"mappings":";;;;AAGA,SAAgB,iDACd,MACA,SACM;CACN,MAAM,mBAAmB,QACtB,SAAS,OAAO,CAChB,MAAM,6BAA6B;AACtC,KAAI,iBACF,KAAI,iBAAiB,WAAW,KAAK,iBAAiB,OAAO,IAC3D,QAAO,KAAK,MACV;EACE;EACA,kBAAkB,gBAAgB,iBAAiB,KAAK,GAAG,CAAC;EAC7D,EACD,qFAAqF,KAAK,8PAC3F;KAED,QAAO,KAAK,KACV;EACE;EACA,kBAAkB,gBAAgB,iBAAiB,KAAK,GAAG,CAAC;EAC7D,EACD,gEAAgE,KAAK,iMACtE"}
|
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": "43.31.
|
|
4
|
+
"version": "43.31.6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"renovate": "dist/renovate.js",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"@opentelemetry/semantic-conventions": "1.39.0",
|
|
119
119
|
"@pnpm/parse-overrides": "1001.0.3",
|
|
120
120
|
"@qnighy/marshal": "0.1.3",
|
|
121
|
-
"@redis/client": "5.
|
|
121
|
+
"@redis/client": "5.11.0",
|
|
122
122
|
"@renovatebot/detect-tools": "1.2.8",
|
|
123
123
|
"@renovatebot/good-enough-parser": "1.2.0",
|
|
124
124
|
"@renovatebot/osv-offline": "2.1.0",
|
package/renovate-schema.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"title": "JSON schema for Renovate 43.31.
|
|
2
|
+
"title": "JSON schema for Renovate 43.31.6 config files (https://renovatebot.com/)",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"x-renovate-version": "43.31.
|
|
4
|
+
"x-renovate-version": "43.31.6",
|
|
5
5
|
"allowComments": true,
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|