@xberg-io/html-to-markdown-wasm 3.10.6 → 3.11.2

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 CHANGED
@@ -1,3 +1,8 @@
1
+ <!-- This file is auto-generated by alef — DO NOT EDIT. -->
2
+ <!-- alef:hash:d32d69ae6c515cbd1d322c0e87cee51f788c2997c4babb6a386781df3818cc45 -->
3
+ <!-- To regenerate: alef readme -->
4
+ <!-- To verify freshness: alef verify -->
5
+
1
6
  <p align="center">
2
7
  <picture>
3
8
  <source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/xberg-io/assets@v1/banner/readme-banner-dark.svg">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xberg-io/html-to-markdown-wasm",
3
- "version": "3.10.6",
3
+ "version": "3.11.2",
4
4
  "private": false,
5
5
  "description": "High-performance HTML to Markdown converter",
6
6
  "license": "MIT",
@@ -13,15 +13,19 @@
13
13
  "access": "public"
14
14
  },
15
15
  "type": "module",
16
- "files": [
17
- "pkg",
18
- "*.wasm",
19
- "*.d.ts",
20
- "README.md"
21
- ],
16
+ "files": ["pkg", "*.wasm", "*.d.ts", "README.md"],
22
17
  "main": "pkg/nodejs/html_to_markdown_wasm.js",
23
18
  "module": "pkg/web/html_to_markdown_wasm.js",
24
19
  "types": "pkg/nodejs/html_to_markdown_wasm.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "types": "./pkg/nodejs/html_to_markdown_wasm.d.ts",
23
+ "browser": "./pkg/web/html_to_markdown_wasm.js",
24
+ "import": "./pkg/nodejs/html_to_markdown_wasm.js",
25
+ "require": "./pkg/nodejs/html_to_markdown_wasm.js",
26
+ "default": "./pkg/nodejs/html_to_markdown_wasm.js"
27
+ }
28
+ },
25
29
  "engines": {
26
30
  "node": ">= 22"
27
31
  },
@@ -1,3 +1,8 @@
1
+ <!-- This file is auto-generated by alef — DO NOT EDIT. -->
2
+ <!-- alef:hash:d32d69ae6c515cbd1d322c0e87cee51f788c2997c4babb6a386781df3818cc45 -->
3
+ <!-- To regenerate: alef readme -->
4
+ <!-- To verify freshness: alef verify -->
5
+
1
6
  <p align="center">
2
7
  <picture>
3
8
  <source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/xberg-io/assets@v1/banner/readme-banner-dark.svg">
@@ -931,12 +931,14 @@ export enum WasmUrlEscapeStyle {
931
931
  * with default behavior, providing custom output, skipping elements,
932
932
  * preserving HTML, or signaling errors.
933
933
  */
934
- export enum WasmVisitResult {
935
- Continue = 0,
936
- Custom = 1,
937
- Skip = 2,
938
- PreserveHtml = 3,
939
- Error = 4,
934
+ export class WasmVisitResult {
935
+ free(): void;
936
+ [Symbol.dispose](): void;
937
+ static default(): WasmVisitResult;
938
+ constructor();
939
+ get 0(): string | undefined;
940
+ set 0(value: string | null | undefined);
941
+ type: string;
940
942
  }
941
943
 
942
944
  /**