mdream 1.0.4 → 1.0.6
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/iife.js +17 -18
- package/package.json +15 -15
- package/wasm/mdream_edge.js +16 -17
- package/wasm/mdream_edge_bg.wasm +0 -0
- package/wasm/package.json +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mdream",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.6",
|
|
5
5
|
"description": "Ultra-performant HTML to Markdown Convertor Optimized for LLMs and llm.txt artifacts.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -51,22 +51,22 @@
|
|
|
51
51
|
"browser": "./dist/browser.mjs",
|
|
52
52
|
"dependencies": {},
|
|
53
53
|
"optionalDependencies": {
|
|
54
|
-
"@mdream/rust-android-
|
|
55
|
-
"@mdream/rust-darwin-arm64": "1.0.
|
|
56
|
-
"@mdream/rust-
|
|
57
|
-
"@mdream/rust-
|
|
58
|
-
"@mdream/rust-
|
|
59
|
-
"@mdream/rust-linux-
|
|
60
|
-
"@mdream/rust-linux-
|
|
61
|
-
"@mdream/rust-linux-
|
|
62
|
-
"@mdream/rust-linux-
|
|
63
|
-
"@mdream/rust-linux-x64-
|
|
64
|
-
"@mdream/rust-
|
|
65
|
-
"@mdream/rust-win32-
|
|
66
|
-
"@mdream/rust-
|
|
54
|
+
"@mdream/rust-android-arm-eabi": "1.0.6",
|
|
55
|
+
"@mdream/rust-darwin-arm64": "1.0.6",
|
|
56
|
+
"@mdream/rust-freebsd-x64": "1.0.6",
|
|
57
|
+
"@mdream/rust-android-arm64": "1.0.6",
|
|
58
|
+
"@mdream/rust-darwin-x64": "1.0.6",
|
|
59
|
+
"@mdream/rust-linux-arm64-musl": "1.0.6",
|
|
60
|
+
"@mdream/rust-linux-arm-gnueabihf": "1.0.6",
|
|
61
|
+
"@mdream/rust-linux-x64-gnu": "1.0.6",
|
|
62
|
+
"@mdream/rust-linux-arm64-gnu": "1.0.6",
|
|
63
|
+
"@mdream/rust-linux-x64-musl": "1.0.6",
|
|
64
|
+
"@mdream/rust-win32-arm64-msvc": "1.0.6",
|
|
65
|
+
"@mdream/rust-win32-x64-msvc": "1.0.6",
|
|
66
|
+
"@mdream/rust-wasm32-wasi": "1.0.6"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@mdream/js": "1.0.
|
|
69
|
+
"@mdream/js": "1.0.6"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"flame": "pnpm build && unbuild bench/bundle && clinic flame -- node bench/bundle/dist/string.mjs 10",
|
package/wasm/mdream_edge.js
CHANGED
|
@@ -99,30 +99,29 @@ export function htmlToMarkdownResult(html, options) {
|
|
|
99
99
|
const ret = wasm.htmlToMarkdownResult(ptr0, len0, addHeapObject(options));
|
|
100
100
|
return takeObject(ret);
|
|
101
101
|
}
|
|
102
|
-
|
|
103
102
|
function __wbg_get_imports() {
|
|
104
103
|
const import0 = {
|
|
105
104
|
__proto__: null,
|
|
106
|
-
|
|
105
|
+
__wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff: function(arg0) {
|
|
107
106
|
const v = getObject(arg0);
|
|
108
107
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
109
108
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
110
109
|
},
|
|
111
|
-
|
|
110
|
+
__wbg___wbindgen_is_null_52ff4ec04186736f: function(arg0) {
|
|
112
111
|
const ret = getObject(arg0) === null;
|
|
113
112
|
return ret;
|
|
114
113
|
},
|
|
115
|
-
|
|
114
|
+
__wbg___wbindgen_is_undefined_29a43b4d42920abd: function(arg0) {
|
|
116
115
|
const ret = getObject(arg0) === undefined;
|
|
117
116
|
return ret;
|
|
118
117
|
},
|
|
119
|
-
|
|
118
|
+
__wbg___wbindgen_number_get_c7f42aed0525c451: function(arg0, arg1) {
|
|
120
119
|
const obj = getObject(arg1);
|
|
121
120
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
122
121
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
123
122
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
124
123
|
},
|
|
125
|
-
|
|
124
|
+
__wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
|
|
126
125
|
const obj = getObject(arg1);
|
|
127
126
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
128
127
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -130,46 +129,46 @@ function __wbg_get_imports() {
|
|
|
130
129
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
131
130
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
132
131
|
},
|
|
133
|
-
|
|
132
|
+
__wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
|
|
134
133
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
135
134
|
},
|
|
136
|
-
|
|
135
|
+
__wbg_entries_e0b73aa8571ddb56: function(arg0) {
|
|
137
136
|
const ret = Object.entries(getObject(arg0));
|
|
138
137
|
return addHeapObject(ret);
|
|
139
138
|
},
|
|
140
|
-
|
|
139
|
+
__wbg_from_0dbf29f09e7fb200: function(arg0) {
|
|
141
140
|
const ret = Array.from(getObject(arg0));
|
|
142
141
|
return addHeapObject(ret);
|
|
143
142
|
},
|
|
144
|
-
|
|
143
|
+
__wbg_get_6011fa3a58f61074: function() { return handleError(function (arg0, arg1) {
|
|
145
144
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
146
145
|
return addHeapObject(ret);
|
|
147
146
|
}, arguments); },
|
|
148
|
-
|
|
147
|
+
__wbg_get_8360291721e2339f: function(arg0, arg1) {
|
|
149
148
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
150
149
|
return addHeapObject(ret);
|
|
151
150
|
},
|
|
152
|
-
|
|
151
|
+
__wbg_isArray_c3109d14ffc06469: function(arg0) {
|
|
153
152
|
const ret = Array.isArray(getObject(arg0));
|
|
154
153
|
return ret;
|
|
155
154
|
},
|
|
156
|
-
|
|
155
|
+
__wbg_length_3d4ecd04bd8d22f1: function(arg0) {
|
|
157
156
|
const ret = getObject(arg0).length;
|
|
158
157
|
return ret;
|
|
159
158
|
},
|
|
160
|
-
|
|
159
|
+
__wbg_new_682678e2f47e32bc: function() {
|
|
161
160
|
const ret = new Array();
|
|
162
161
|
return addHeapObject(ret);
|
|
163
162
|
},
|
|
164
|
-
|
|
163
|
+
__wbg_new_aa8d0fa9762c29bd: function() {
|
|
165
164
|
const ret = new Object();
|
|
166
165
|
return addHeapObject(ret);
|
|
167
166
|
},
|
|
168
|
-
|
|
167
|
+
__wbg_push_471a5b068a5295f6: function(arg0, arg1) {
|
|
169
168
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
170
169
|
return ret;
|
|
171
170
|
},
|
|
172
|
-
|
|
171
|
+
__wbg_set_022bee52d0b05b19: function() { return handleError(function (arg0, arg1, arg2) {
|
|
173
172
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
174
173
|
return ret;
|
|
175
174
|
}, arguments); },
|
package/wasm/mdream_edge_bg.wasm
CHANGED
|
Binary file
|
package/wasm/package.json
CHANGED