pagegraph 0.5.0 → 0.5.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/dist/audit.d.ts +3 -3
- package/dist/audit.js +1928 -1
- package/dist/audit.js.map +1 -0
- package/dist/cli.js +33482 -35
- package/dist/cli.js.map +1 -1
- package/dist/index.js +449 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/audit-B96V1x3q.js +0 -1929
- package/dist/audit-B96V1x3q.js.map +0 -1
- package/dist/inspect-html-CHuoiO2s.js +0 -452
- package/dist/inspect-html-CHuoiO2s.js.map +0 -1
- package/dist/main-GFEobQTH.js +0 -750
- package/dist/main-GFEobQTH.js.map +0 -1
package/dist/audit.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Context from "effect/Context";
|
|
2
|
-
import * as Effect
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
3
|
import * as Layer from "effect/Layer";
|
|
4
4
|
import { Data, Schema } from "effect";
|
|
5
5
|
import "node:net";
|
|
@@ -179,7 +179,7 @@ interface Scanner {
|
|
|
179
179
|
readonly id: ScannerId;
|
|
180
180
|
readonly description?: string;
|
|
181
181
|
readonly rules?: readonly ScannerRule[];
|
|
182
|
-
readonly scan: (input: ScannerInput) => Effect
|
|
182
|
+
readonly scan: (input: ScannerInput) => Effect.Effect<ScannerObservation, ScannerFailure>;
|
|
183
183
|
}
|
|
184
184
|
declare const scanner: (definition: Scanner) => Scanner;
|
|
185
185
|
//#endregion
|
|
@@ -213,7 +213,7 @@ interface AuditRequest {
|
|
|
213
213
|
readonly scanners?: readonly string[];
|
|
214
214
|
}
|
|
215
215
|
interface AuditService {
|
|
216
|
-
readonly run: (request: AuditRequest) => Effect
|
|
216
|
+
readonly run: (request: AuditRequest) => Effect.Effect<AuditReport, AuditError>;
|
|
217
217
|
}
|
|
218
218
|
declare namespace Audit {
|
|
219
219
|
const Service_base: Context.ServiceClass<Service, "pagegraph/Audit", AuditService>;
|