@xberg-io/crawlberg-wasm 1.0.1 → 1.0.3
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 +34 -36
- package/pkg/bundler/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/bundler/crawlberg_wasm_bg.wasm.d.ts +1 -1
- package/pkg/bundler/package.json +1 -1
- package/pkg/deno/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/deno/crawlberg_wasm_bg.wasm.d.ts +1 -1
- package/pkg/nodejs/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/nodejs/crawlberg_wasm_bg.wasm.d.ts +1 -1
- package/pkg/nodejs/package.json +1 -1
- package/pkg/web/crawlberg_wasm.d.ts +1 -1
- package/pkg/web/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/web/crawlberg_wasm_bg.wasm.d.ts +1 -1
- package/pkg/web/package.json +1 -1
package/package.json
CHANGED
|
@@ -1,38 +1,36 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"clean": "rm -rf pkg dist"
|
|
37
|
-
}
|
|
2
|
+
"name": "@xberg-io/crawlberg-wasm",
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "High-performance web crawling engine",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/xberg-io/crawlberg",
|
|
10
|
+
"directory": "crates/crawlberg-wasm"
|
|
11
|
+
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"files": ["pkg", "*.wasm", "*.d.ts", "README.md"],
|
|
17
|
+
"main": "pkg/nodejs/crawlberg_wasm.js",
|
|
18
|
+
"module": "pkg/web/crawlberg_wasm.js",
|
|
19
|
+
"types": "pkg/nodejs/crawlberg_wasm.d.ts",
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": ">= 22"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "wasm-pack build --target nodejs --out-dir pkg/nodejs",
|
|
25
|
+
"build:ci": "wasm-pack build --release --target nodejs --out-dir pkg/nodejs",
|
|
26
|
+
"build:wasm:web": "wasm-pack build --release --target web --out-dir pkg/web",
|
|
27
|
+
"build:wasm:bundler": "wasm-pack build --release --target bundler --out-dir pkg/bundler",
|
|
28
|
+
"build:wasm:nodejs": "wasm-pack build --release --target nodejs --out-dir pkg/nodejs",
|
|
29
|
+
"build:wasm:deno": "wasm-pack build --release --target deno --out-dir pkg/deno",
|
|
30
|
+
"build:all": "npm run build:wasm:web && npm run build:wasm:bundler && npm run build:wasm:nodejs && npm run build:wasm:deno && find pkg -name .gitignore -delete",
|
|
31
|
+
"test": "vitest run",
|
|
32
|
+
"test:watch": "vitest watch",
|
|
33
|
+
"test:coverage": "vitest run --coverage",
|
|
34
|
+
"clean": "rm -rf pkg dist"
|
|
35
|
+
}
|
|
38
36
|
}
|
|
Binary file
|
|
@@ -662,6 +662,7 @@ export const wasmextractionmeta_promptTokens: (a: number) => [number, bigint];
|
|
|
662
662
|
export const wasmpageaction_amount: (a: number) => [number, bigint];
|
|
663
663
|
export const wasmpageaction_milliseconds: (a: number) => [number, bigint];
|
|
664
664
|
export const wasmscraperesult_crawlDelay: (a: number) => [number, bigint];
|
|
665
|
+
export const wasmfaviconinfo_default: () => number;
|
|
665
666
|
export const wasmbatchscraperesults_set_completedCount: (a: number, b: number) => void;
|
|
666
667
|
export const wasmbatchscraperesults_set_failedCount: (a: number, b: number) => void;
|
|
667
668
|
export const wasmbatchscraperesults_set_totalCount: (a: number, b: number) => void;
|
|
@@ -680,7 +681,6 @@ export const wasmimageinfo_width: (a: number) => number;
|
|
|
680
681
|
export const wasmpagemetadata_wordCount: (a: number) => number;
|
|
681
682
|
export const wasmlinkinfo_nofollow: (a: number) => number;
|
|
682
683
|
export const wasmauthconfig_new: () => number;
|
|
683
|
-
export const wasmfaviconinfo_default: () => number;
|
|
684
684
|
export const wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
|
|
685
685
|
export const wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
|
|
686
686
|
export const wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
|
package/pkg/bundler/package.json
CHANGED
|
Binary file
|
|
@@ -662,6 +662,7 @@ export const wasmextractionmeta_promptTokens: (a: number) => [number, bigint];
|
|
|
662
662
|
export const wasmpageaction_amount: (a: number) => [number, bigint];
|
|
663
663
|
export const wasmpageaction_milliseconds: (a: number) => [number, bigint];
|
|
664
664
|
export const wasmscraperesult_crawlDelay: (a: number) => [number, bigint];
|
|
665
|
+
export const wasmfaviconinfo_default: () => number;
|
|
665
666
|
export const wasmbatchscraperesults_set_completedCount: (a: number, b: number) => void;
|
|
666
667
|
export const wasmbatchscraperesults_set_failedCount: (a: number, b: number) => void;
|
|
667
668
|
export const wasmbatchscraperesults_set_totalCount: (a: number, b: number) => void;
|
|
@@ -680,7 +681,6 @@ export const wasmimageinfo_width: (a: number) => number;
|
|
|
680
681
|
export const wasmpagemetadata_wordCount: (a: number) => number;
|
|
681
682
|
export const wasmlinkinfo_nofollow: (a: number) => number;
|
|
682
683
|
export const wasmauthconfig_new: () => number;
|
|
683
|
-
export const wasmfaviconinfo_default: () => number;
|
|
684
684
|
export const wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
|
|
685
685
|
export const wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
|
|
686
686
|
export const wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
|
|
Binary file
|
|
@@ -662,6 +662,7 @@ export const wasmextractionmeta_promptTokens: (a: number) => [number, bigint];
|
|
|
662
662
|
export const wasmpageaction_amount: (a: number) => [number, bigint];
|
|
663
663
|
export const wasmpageaction_milliseconds: (a: number) => [number, bigint];
|
|
664
664
|
export const wasmscraperesult_crawlDelay: (a: number) => [number, bigint];
|
|
665
|
+
export const wasmfaviconinfo_default: () => number;
|
|
665
666
|
export const wasmbatchscraperesults_set_completedCount: (a: number, b: number) => void;
|
|
666
667
|
export const wasmbatchscraperesults_set_failedCount: (a: number, b: number) => void;
|
|
667
668
|
export const wasmbatchscraperesults_set_totalCount: (a: number, b: number) => void;
|
|
@@ -680,7 +681,6 @@ export const wasmimageinfo_width: (a: number) => number;
|
|
|
680
681
|
export const wasmpagemetadata_wordCount: (a: number) => number;
|
|
681
682
|
export const wasmlinkinfo_nofollow: (a: number) => number;
|
|
682
683
|
export const wasmauthconfig_new: () => number;
|
|
683
|
-
export const wasmfaviconinfo_default: () => number;
|
|
684
684
|
export const wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
|
|
685
685
|
export const wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
|
|
686
686
|
export const wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
|
package/pkg/nodejs/package.json
CHANGED
|
@@ -1632,6 +1632,7 @@ export interface InitOutput {
|
|
|
1632
1632
|
readonly wasmpageaction_amount: (a: number) => [number, bigint];
|
|
1633
1633
|
readonly wasmpageaction_milliseconds: (a: number) => [number, bigint];
|
|
1634
1634
|
readonly wasmscraperesult_crawlDelay: (a: number) => [number, bigint];
|
|
1635
|
+
readonly wasmfaviconinfo_default: () => number;
|
|
1635
1636
|
readonly wasmbatchscraperesults_set_completedCount: (a: number, b: number) => void;
|
|
1636
1637
|
readonly wasmbatchscraperesults_set_failedCount: (a: number, b: number) => void;
|
|
1637
1638
|
readonly wasmbatchscraperesults_set_totalCount: (a: number, b: number) => void;
|
|
@@ -1650,7 +1651,6 @@ export interface InitOutput {
|
|
|
1650
1651
|
readonly wasmpagemetadata_wordCount: (a: number) => number;
|
|
1651
1652
|
readonly wasmlinkinfo_nofollow: (a: number) => number;
|
|
1652
1653
|
readonly wasmauthconfig_new: () => number;
|
|
1653
|
-
readonly wasmfaviconinfo_default: () => number;
|
|
1654
1654
|
readonly wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
|
|
1655
1655
|
readonly wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
|
|
1656
1656
|
readonly wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
|
|
Binary file
|
|
@@ -662,6 +662,7 @@ export const wasmextractionmeta_promptTokens: (a: number) => [number, bigint];
|
|
|
662
662
|
export const wasmpageaction_amount: (a: number) => [number, bigint];
|
|
663
663
|
export const wasmpageaction_milliseconds: (a: number) => [number, bigint];
|
|
664
664
|
export const wasmscraperesult_crawlDelay: (a: number) => [number, bigint];
|
|
665
|
+
export const wasmfaviconinfo_default: () => number;
|
|
665
666
|
export const wasmbatchscraperesults_set_completedCount: (a: number, b: number) => void;
|
|
666
667
|
export const wasmbatchscraperesults_set_failedCount: (a: number, b: number) => void;
|
|
667
668
|
export const wasmbatchscraperesults_set_totalCount: (a: number, b: number) => void;
|
|
@@ -680,7 +681,6 @@ export const wasmimageinfo_width: (a: number) => number;
|
|
|
680
681
|
export const wasmpagemetadata_wordCount: (a: number) => number;
|
|
681
682
|
export const wasmlinkinfo_nofollow: (a: number) => number;
|
|
682
683
|
export const wasmauthconfig_new: () => number;
|
|
683
|
-
export const wasmfaviconinfo_default: () => number;
|
|
684
684
|
export const wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
|
|
685
685
|
export const wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
|
|
686
686
|
export const wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
|