diff --git a/package-lock.json b/package-lock.json index 872dffab..ff2d7c3b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,7 +43,7 @@ "@types/babel__code-frame": "^7.0.3", "@types/jest": "^28.1.8", "@types/micromatch": "^4.0.9", - "@types/node": "~18.19.63", + "@types/node": "^18.19.63", "@types/semver": "^7", "@types/stack-utils": "^2.0.1", "@typescript-eslint/eslint-plugin": "^5.38.0", diff --git a/package.json b/package.json index 81f0a358..d65a0c03 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "@types/babel__code-frame": "^7.0.3", "@types/jest": "^28.1.8", "@types/micromatch": "^4.0.9", - "@types/node": "~18.19.63", + "@types/node": "^18.19.63", "@types/semver": "^7", "@types/stack-utils": "^2.0.1", "@typescript-eslint/eslint-plugin": "^5.38.0", diff --git a/src/push/monitor.ts b/src/push/monitor.ts index c9fa9740..85f39d83 100644 --- a/src/push/monitor.ts +++ b/src/push/monitor.ts @@ -189,9 +189,7 @@ export async function createLightweightMonitors( const bufferContent = await readFile(file); const isUtf8 = NodeBuffer.isUtf8(bufferContent); if (!isUtf8) { - warn( - `file ${file} is not encoded in utf-8. utf-8 encoding is expected. Monitor configurations in this file may be ignored.` - ); + warn(`${file} is not UTF-8 encoded. Monitors might be skipped.`); } const content = bufferContent.toString('utf-8'); const lineCounter = new LineCounter();