@xberg-io/crawlberg-wasm 1.12.3 → 1.13.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/package.json +1 -1
- package/pkg/bundler/crawlberg_wasm.d.ts +3 -2
- package/pkg/bundler/crawlberg_wasm_bg.js +1050 -662
- package/pkg/bundler/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/bundler/crawlberg_wasm_bg.wasm.d.ts +5 -5
- package/pkg/bundler/package.json +2 -2
- package/pkg/deno/crawlberg_wasm.d.ts +3 -2
- package/pkg/deno/crawlberg_wasm.js +1047 -659
- package/pkg/deno/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/deno/crawlberg_wasm_bg.wasm.d.ts +5 -5
- package/pkg/nodejs/crawlberg_wasm.d.ts +3 -2
- package/pkg/nodejs/crawlberg_wasm.js +1047 -659
- package/pkg/nodejs/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/nodejs/crawlberg_wasm_bg.wasm.d.ts +5 -5
- package/pkg/nodejs/package.json +2 -2
- package/pkg/web/crawlberg_wasm.d.ts +8 -7
- package/pkg/web/crawlberg_wasm.js +1058 -662
- package/pkg/web/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/web/crawlberg_wasm_bg.wasm.d.ts +5 -5
- package/pkg/web/package.json +2 -2
|
Binary file
|
|
@@ -861,16 +861,16 @@ export const wasmwafblockdetails_set_status: (a: number, b: number) => void;
|
|
|
861
861
|
export const wasmwafblockdetails_set_vendor: (a: number, b: number, c: number) => void;
|
|
862
862
|
export const wasmwafblockdetails_status: (a: number) => number;
|
|
863
863
|
export const wasmwafblockdetails_vendor: (a: number) => [number, number];
|
|
864
|
-
export const
|
|
865
|
-
export const
|
|
866
|
-
export const
|
|
864
|
+
export const wasm_bindgen_ada118ad91144bf___convert__closures_____invoke___js_sys_d0245ee335b06e0e___Function_fn_wasm_bindgen_ada118ad91144bf___JsValue_____wasm_bindgen_ada118ad91144bf___sys__Undefined___js_sys_d0245ee335b06e0e___Function_fn_wasm_bindgen_ada118ad91144bf___JsValue_____wasm_bindgen_ada118ad91144bf___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
865
|
+
export const wasm_bindgen_ada118ad91144bf___convert__closures_____invoke___wasm_bindgen_ada118ad91144bf___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_ada118ad91144bf___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
866
|
+
export const wasm_bindgen_ada118ad91144bf___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
867
867
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
868
868
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
869
|
+
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
869
870
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
870
871
|
export const __externref_table_alloc: () => number;
|
|
871
872
|
export const __wbindgen_externrefs: WebAssembly.Table;
|
|
872
873
|
export const __wbindgen_destroy_closure: (a: number, b: number) => void;
|
|
873
|
-
export const __externref_table_dealloc: (a: number) => void;
|
|
874
|
-
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
875
874
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
875
|
+
export const __externref_table_dealloc: (a: number) => void;
|
|
876
876
|
export const __wbindgen_start: () => void;
|
package/pkg/nodejs/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"Tobias Perlstein <tobias@xberg.io>"
|
|
6
6
|
],
|
|
7
7
|
"description": "High-performance web crawling engine",
|
|
8
|
-
"version": "1.
|
|
8
|
+
"version": "1.13.0",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -24,4 +24,4 @@
|
|
|
24
24
|
"web",
|
|
25
25
|
"spider"
|
|
26
26
|
]
|
|
27
|
-
}
|
|
27
|
+
}
|
|
@@ -515,7 +515,7 @@ export class WasmCrawlConfig {
|
|
|
515
515
|
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
516
516
|
* the generated setter borrows and leaves your handle alive.
|
|
517
517
|
*/
|
|
518
|
-
constructor(crawlStrategy?: WasmCrawlStrategyKind | null, respectRobotsTxt?: boolean | null, softHttpErrors?: boolean | null, stayOnDomain?: boolean | null, allowSubdomains?: boolean | null, includePaths?: string[] | null, excludePaths?: string[] | null, pathPatternsMatchQuery?: boolean | null, pathPatternsMatchUrl?: boolean | null, dedupIncludeQuery?: boolean | null, stripTrackingParams?: boolean | null, trackingParams?: string[] | null, customHeaders?: any | null, requestTimeout?: bigint | null, maxRedirects?: number | null, retryCount?: number | null, retryCodes?: Uint16Array | null, retryInitialDelayMs?: bigint | null, retryMaxDelayMs?: bigint | null, rateLimitJitterRatio?: number | null, cookiesEnabled?: boolean | null, removeTags?: string[] | null, content?: WasmContentConfig | null, downloadAssets?: boolean | null, assetTypes?: WasmAssetCategory[] | null, browser?: WasmBrowserConfig | null, userAgents?: string[] | null, captureScreenshot?: boolean | null, followDocumentUrls?: boolean | null, downloadDocuments?: boolean | null, documentMimeTypes?: string[] | null, saveBrowserProfile?: boolean | null, ssrf?: WasmSsrfPolicy | null, maxDepth?: number | null, maxPages?: number | null, maxLinksPerPage?: number | null, maxConcurrent?: number | null, contentFilter?: WasmContentFilterKind | null, bm25Query?: string | null, bm25Threshold?: number | null, userAgent?: string | null, rateLimitMs?: bigint | null, auth?: any | null, maxBodySize?: number | null, mapLimit?: number | null, mapSearch?: string | null, maxAssetSize?: number | null, proxy?: WasmProxyConfig | null, documentUrlDepth?: number | null, documentMaxSize?: number | null, documentOutputDir?: string | null, documentContentEncoding?: WasmDocumentContentEncoding | null, warcOutput?: string | null, browserProfile?: string | null, ssrfDenyPrivateExplicit?: boolean | null, dangerAcceptInvalidCerts?: boolean | null, subdomainHeaderAllowlist?: string[] | null);
|
|
518
|
+
constructor(crawlStrategy?: WasmCrawlStrategyKind | null, respectRobotsTxt?: boolean | null, softHttpErrors?: boolean | null, stayOnDomain?: boolean | null, allowSubdomains?: boolean | null, includePaths?: string[] | null, excludePaths?: string[] | null, pathPatternsMatchQuery?: boolean | null, pathPatternsMatchUrl?: boolean | null, dedupIncludeQuery?: boolean | null, stripTrackingParams?: boolean | null, trackingParams?: string[] | null, customHeaders?: any | null, requestTimeout?: bigint | null, maxRedirects?: number | null, retryCount?: number | null, retryCodes?: Uint16Array | number[] | null, retryInitialDelayMs?: bigint | null, retryMaxDelayMs?: bigint | null, rateLimitJitterRatio?: number | null, cookiesEnabled?: boolean | null, removeTags?: string[] | null, content?: WasmContentConfig | null, downloadAssets?: boolean | null, assetTypes?: WasmAssetCategory[] | null, browser?: WasmBrowserConfig | null, userAgents?: string[] | null, captureScreenshot?: boolean | null, followDocumentUrls?: boolean | null, downloadDocuments?: boolean | null, documentMimeTypes?: string[] | null, saveBrowserProfile?: boolean | null, ssrf?: WasmSsrfPolicy | null, maxDepth?: number | null, maxPages?: number | null, maxLinksPerPage?: number | null, maxConcurrent?: number | null, contentFilter?: WasmContentFilterKind | null, bm25Query?: string | null, bm25Threshold?: number | null, userAgent?: string | null, rateLimitMs?: bigint | null, auth?: any | null, maxBodySize?: number | null, mapLimit?: number | null, mapSearch?: string | null, maxAssetSize?: number | null, proxy?: WasmProxyConfig | null, documentUrlDepth?: number | null, documentMaxSize?: number | null, documentOutputDir?: string | null, documentContentEncoding?: WasmDocumentContentEncoding | null, warcOutput?: string | null, browserProfile?: string | null, ssrfDenyPrivateExplicit?: boolean | null, dangerAcceptInvalidCerts?: boolean | null, subdomainHeaderAllowlist?: string[] | null);
|
|
519
519
|
/**
|
|
520
520
|
* Validate the configuration, returning an error if any values are invalid.
|
|
521
521
|
*
|
|
@@ -604,7 +604,8 @@ export class WasmCrawlConfig {
|
|
|
604
604
|
get requestTimeout(): bigint | undefined;
|
|
605
605
|
set requestTimeout(value: bigint | null | undefined);
|
|
606
606
|
respectRobotsTxt: boolean;
|
|
607
|
-
retryCodes: Uint16Array;
|
|
607
|
+
get retryCodes(): Uint16Array;
|
|
608
|
+
set retryCodes(value: Uint16Array | number[]);
|
|
608
609
|
retryCount: number;
|
|
609
610
|
retryInitialDelayMs: bigint;
|
|
610
611
|
retryMaxDelayMs: bigint;
|
|
@@ -2619,18 +2620,18 @@ export interface InitOutput {
|
|
|
2619
2620
|
readonly wasmwafblockdetails_set_vendor: (a: number, b: number, c: number) => void;
|
|
2620
2621
|
readonly wasmwafblockdetails_status: (a: number) => number;
|
|
2621
2622
|
readonly wasmwafblockdetails_vendor: (a: number) => [number, number];
|
|
2622
|
-
readonly
|
|
2623
|
-
readonly
|
|
2624
|
-
readonly
|
|
2623
|
+
readonly wasm_bindgen_ada118ad91144bf___convert__closures_____invoke___js_sys_d0245ee335b06e0e___Function_fn_wasm_bindgen_ada118ad91144bf___JsValue_____wasm_bindgen_ada118ad91144bf___sys__Undefined___js_sys_d0245ee335b06e0e___Function_fn_wasm_bindgen_ada118ad91144bf___JsValue_____wasm_bindgen_ada118ad91144bf___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
2624
|
+
readonly wasm_bindgen_ada118ad91144bf___convert__closures_____invoke___wasm_bindgen_ada118ad91144bf___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_ada118ad91144bf___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
2625
|
+
readonly wasm_bindgen_ada118ad91144bf___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
2625
2626
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
2626
2627
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
2628
|
+
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
2627
2629
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
2628
2630
|
readonly __externref_table_alloc: () => number;
|
|
2629
2631
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
2630
2632
|
readonly __wbindgen_destroy_closure: (a: number, b: number) => void;
|
|
2631
|
-
readonly __externref_table_dealloc: (a: number) => void;
|
|
2632
|
-
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
2633
2633
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
2634
|
+
readonly __externref_table_dealloc: (a: number) => void;
|
|
2634
2635
|
readonly __wbindgen_start: () => void;
|
|
2635
2636
|
}
|
|
2636
2637
|
|