Skip to content

Commit 0f65620

Browse files
⬆️🔒️ Lock file maintenance (#209)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 6685c20 commit 0f65620

3 files changed

Lines changed: 44 additions & 43 deletions

File tree

dist/update-known-versions/index.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34774,7 +34774,7 @@ class RequestError extends Error {
3477434774

3477534775

3477634776
// pkg/dist-src/version.js
34777-
var dist_bundle_VERSION = "10.0.10";
34777+
var dist_bundle_VERSION = "10.0.11";
3477834778

3477934779
// pkg/dist-src/defaults.js
3478034780
var defaults_default = {
@@ -34931,9 +34931,10 @@ function toErrorMessage(data) {
3493134931
if (data instanceof ArrayBuffer) {
3493234932
return "Unknown error";
3493334933
}
34934-
if ("message" in data) {
34935-
const suffix = "documentation_url" in data ? ` - ${data.documentation_url}` : "";
34936-
return Array.isArray(data.errors) ? `${data.message}: ${data.errors.map((v) => JSON.stringify(v)).join(", ")}${suffix}` : `${data.message}${suffix}`;
34934+
if (typeof data === "object" && data !== null && "message" in data) {
34935+
const objectData = data;
34936+
const suffix = "documentation_url" in objectData ? ` - ${objectData.documentation_url}` : "";
34937+
return Array.isArray(objectData.errors) ? `${objectData.message}: ${objectData.errors.map((v) => JSON.stringify(v)).join(", ")}${suffix}` : `${objectData.message}${suffix}`;
3493734938
}
3493834939
return `Unknown error: ${JSON.stringify(data)}`;
3493934940
}

dist/update-known-versions/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 38 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)