dembrandt 0.31.0 → 0.31.1
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/README.md +1 -1
- package/dist/lib/types.d.ts +20 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -62,7 +62,7 @@ Default is formatted terminal output only. Full flag reference in **[docs/usage.
|
|
|
62
62
|
Extract a preview deployment, compare against a committed baseline, fail the job when tokens moved:
|
|
63
63
|
|
|
64
64
|
```yaml
|
|
65
|
-
- uses: dembrandt/dembrandt@v0.31.
|
|
65
|
+
- uses: dembrandt/dembrandt@v0.31.1
|
|
66
66
|
with:
|
|
67
67
|
url: https://preview.example.com
|
|
68
68
|
baseline: .dembrandt/baseline.json
|
package/dist/lib/types.d.ts
CHANGED
|
@@ -368,6 +368,26 @@ export interface ExtractionMeta {
|
|
|
368
368
|
* an empty value, so a single broken extractor never aborts the whole run.
|
|
369
369
|
*/
|
|
370
370
|
errors?: ExtractorError[];
|
|
371
|
+
/**
|
|
372
|
+
* The URL as passed on the command line or to the tool, before redirect
|
|
373
|
+
* resolution. Differs from the top-level `url` whenever the site redirected.
|
|
374
|
+
*/
|
|
375
|
+
requestedUrl?: string;
|
|
376
|
+
/** Extracted page text length. Low values point at a thin or bot-wall page. */
|
|
377
|
+
contentLength?: number;
|
|
378
|
+
/** Names of waits that timed out during extraction, present only when at least one did. */
|
|
379
|
+
timeouts?: string[];
|
|
380
|
+
/**
|
|
381
|
+
* Present when `--crawl`, `--sitemap` or explicit paths were used to merge
|
|
382
|
+
* more than one page into this result.
|
|
383
|
+
*/
|
|
384
|
+
crawl?: {
|
|
385
|
+
technique: 'explicit-paths' | 'sitemap' | 'auto';
|
|
386
|
+
/** How many pages were asked for, or null when the request had no fixed count. */
|
|
387
|
+
pagesRequested: number | null;
|
|
388
|
+
/** How many pages actually made it into the merged result. */
|
|
389
|
+
pagesFound: number;
|
|
390
|
+
};
|
|
371
391
|
/**
|
|
372
392
|
* Human-readable notes on pages robots.txt disallowed but the run still
|
|
373
393
|
* touched or skipped. The check is advisory: it never blocks extraction,
|
package/dist/package.json
CHANGED
package/package.json
CHANGED