@geonosis/walk 2.6.1 → 2.8.0
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/CHANGELOG.md +4 -0
- package/bin/geonosis-walk.mjs +2 -2
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/bin/geonosis-walk.mjs
CHANGED
|
@@ -34,13 +34,13 @@ if (existsSync(src)) {
|
|
|
34
34
|
const built = newest(dist)
|
|
35
35
|
if (built === 0) {
|
|
36
36
|
process.stderr.write(
|
|
37
|
-
'geonosis-walk: this tree has never been built — run pnpm build. No dist here at all, which is what a fresh clone or a linked git worktree starts with; nothing is stale.\n'
|
|
37
|
+
'geonosis-walk: this tree has never been built — run pnpm build. No dist here at all, which is what a fresh clone or a linked git worktree starts with; nothing is stale.\n'
|
|
38
38
|
)
|
|
39
39
|
process.exit(2)
|
|
40
40
|
}
|
|
41
41
|
if (newest(src, NOT_SOURCE) > built) {
|
|
42
42
|
process.stderr.write(
|
|
43
|
-
'geonosis-walk: dist is older than src — run pnpm build before trusting this bin.\n'
|
|
43
|
+
'geonosis-walk: dist is older than src — run pnpm build before trusting this bin.\n'
|
|
44
44
|
)
|
|
45
45
|
process.exit(2)
|
|
46
46
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -147,7 +147,7 @@ type WalkInput = {
|
|
|
147
147
|
* Refusals come BEFORE the browser opens, and a page that did not answer stops the walk. A report
|
|
148
148
|
* with no findings in it must only ever mean the probes looked and found none.
|
|
149
149
|
*/
|
|
150
|
-
declare const walk: ({ browser, options, probes, urls, viewport
|
|
150
|
+
declare const walk: ({ browser, options, probes, urls, viewport }: WalkInput) => Promise<WalkReport>;
|
|
151
151
|
declare const findingsIn: (report: WalkReport) => number;
|
|
152
152
|
|
|
153
153
|
export { DEFAULT_PROBES, type DefectClass, type Finding, PROBES, type PageReport, type Probe, type ProbeContext, type Severity, type Viewport, WALK_DEFAULT, WALK_REPORT, type WalkConfig, WalkError, type WalkInput, type WalkReport, configPath, findingsIn, loadWalkConfig, parseViewport, probeById, walk };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geonosis/walk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"types": "./dist/index.d.ts",
|
|
5
5
|
"description": "The customer walk as a gate: eight computed-DOM probes over a list of URLs, one JSON report, and an exit code that tells a could-not-run from a clean page.",
|
|
6
6
|
"keywords": [
|