domq-wasm 0.4.0 → 0.5.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/README.md CHANGED
@@ -85,7 +85,7 @@ Without a bundler, import it from a CDN:
85
85
 
86
86
  ```html
87
87
  <script type="module">
88
- import init, { toText } from "https://cdn.jsdelivr.net/npm/domq@0.3/domq_wasm.js";
88
+ import init, { toText } from "https://cdn.jsdelivr.net/npm/domq-wasm@0.5/domq_wasm.js";
89
89
  await init();
90
90
  console.log(toText("<p>Hello <b>world</b>"));
91
91
  </script>
@@ -94,7 +94,7 @@ Without a bundler, import it from a CDN:
94
94
  ### Deno and Bun
95
95
 
96
96
  ```js
97
- import { select } from "npm:domq-wasm@0.4"; // Deno; in Bun: "domq-wasm"
97
+ import { select } from "npm:domq-wasm@0.5"; // Deno; in Bun: "domq-wasm"
98
98
  ```
99
99
 
100
100
  Both resolve the package's Node entry point, which reads the `.wasm` with
package/domq_wasm.js CHANGED
@@ -411,18 +411,18 @@ function __wbg_get_imports() {
411
411
  __wbg___wbindgen_throw_41e9ee4f547fc59a: function(arg0, arg1) {
412
412
  throw new Error(getStringFromWasm0(arg0, arg1));
413
413
  },
414
- __wbg_new_debb421d9db3ecaf: function(arg0, arg1) {
414
+ __wbg_new_748e891d596487ba: function(arg0, arg1) {
415
415
  const ret = new Error(getStringFromWasm0(arg0, arg1));
416
416
  return addHeapObject(ret);
417
417
  },
418
- __wbg_parse_727b9ce5f066bfca: function(arg0, arg1) {
418
+ __wbg_parse_24474d34223fd9e9: function(arg0, arg1) {
419
419
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
420
420
  return addHeapObject(ret);
421
421
  },
422
- __wbg_set_name_85a0a4c54f07ab5c: function(arg0, arg1, arg2) {
422
+ __wbg_set_name_dd257fbe648c4551: function(arg0, arg1, arg2) {
423
423
  getObject(arg0).name = getStringFromWasm0(arg1, arg2);
424
424
  },
425
- __wbg_set_position_f011541ab3447656: function(arg0, arg1) {
425
+ __wbg_set_position_efbc3e2d27e63fde: function(arg0, arg1) {
426
426
  getObject(arg0).position = arg1 >>> 0;
427
427
  },
428
428
  };
package/domq_wasm_bg.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "iamsaquib8 <saquibulhassan6@gmail.com>"
6
6
  ],
7
7
  "description": "Tiny, forgiving HTML parser for JavaScript (WebAssembly): CSS selectors, readable text, Markdown and JSON from messy HTML. Zero JS dependencies.",
8
- "version": "0.4.0",
8
+ "version": "0.5.0",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
@@ -15,7 +15,6 @@
15
15
  "domq_wasm_bg.wasm",
16
16
  "domq_wasm.js",
17
17
  "domq_wasm.d.ts",
18
- "LICENSE_MIT",
19
18
  "node.js"
20
19
  ],
21
20
  "main": "domq_wasm.js",
package/LICENSE_MIT DELETED
@@ -1,25 +0,0 @@
1
- Copyright (c) 2018 iamsaquib8 <saquibulhassan6@gmail.com>
2
-
3
- Permission is hereby granted, free of charge, to any
4
- person obtaining a copy of this software and associated
5
- documentation files (the "Software"), to deal in the
6
- Software without restriction, including without
7
- limitation the rights to use, copy, modify, merge,
8
- publish, distribute, sublicense, and/or sell copies of
9
- the Software, and to permit persons to whom the Software
10
- is furnished to do so, subject to the following
11
- conditions:
12
-
13
- The above copyright notice and this permission notice
14
- shall be included in all copies or substantial portions
15
- of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
18
- ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
19
- TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
20
- PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
21
- SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
24
- IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25
- DEALINGS IN THE SOFTWARE.