universal-parcel-scraper 0.960.3-main.5212 → 0.960.4-main.5215
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.
|
@@ -45,7 +45,10 @@ export default class CanaryReporter {
|
|
|
45
45
|
const rows = [];
|
|
46
46
|
let passed = 0;
|
|
47
47
|
let gated = 0;
|
|
48
|
-
|
|
48
|
+
// An assertion on a lookup's promise names the lookup's own error only in
|
|
49
|
+
// its cause, past the point where the message shortens it.
|
|
50
|
+
const reason = (error) => `${error?.name ?? 'Error'}: ${error?.message ?? 'failed'}`
|
|
51
|
+
+ (error?.cause?.name && error.cause.message ? ` · caused by ${error.cause.name}: ${error.cause.message}` : '');
|
|
49
52
|
for (const testModule of testModules) {
|
|
50
53
|
for (const error of testModule.errors()) {
|
|
51
54
|
rows.push({ result: 'failed', check: testModule.relativeModuleId, reason: reason(error) });
|
package/dist/server/openapi.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "universal-parcel-scraper",
|
|
3
|
-
"version": "0.960.
|
|
3
|
+
"version": "0.960.4-main.5215",
|
|
4
4
|
"description": "Self-hosted parcel tracking: carrier detection, dedicated scrapers and optional universal providers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|