@hpcc-js/wasm-expat 1.11.0 → 1.12.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hpcc-js/wasm-expat",
3
- "version": "1.11.0",
3
+ "version": "1.12.1",
4
4
  "description": "hpcc-js - WASM expat",
5
5
  "type": "module",
6
6
  "exports": {
@@ -36,7 +36,7 @@
36
36
  "update-major": "npx -y npm-check-updates -u"
37
37
  },
38
38
  "devDependencies": {
39
- "@hpcc-js/esbuild-plugins": "1.8.0",
39
+ "@hpcc-js/esbuild-plugins": "1.8.1",
40
40
  "@hpcc-js/wasm-util": "1.0.0"
41
41
  },
42
42
  "keywords": [
@@ -55,5 +55,5 @@
55
55
  },
56
56
  "homepage": "https://hpcc-systems.github.io/hpcc-js-wasm/",
57
57
  "license": "Apache-2.0",
58
- "gitHead": "e34abaa76d55e43967e9da38228c28d75dd4d43a"
58
+ "gitHead": "9d18bfd8d74b23e6b79bb07a05115b2412e3a9c9"
59
59
  }
package/src/expat.ts CHANGED
@@ -22,7 +22,7 @@ function parseAttrs(attrs: map_string_string): Attributes {
22
22
  return retVal;
23
23
  }
24
24
 
25
- let g_expat: Promise<Expat>;
25
+ let g_expat: Promise<Expat> | undefined;
26
26
 
27
27
  /**
28
28
  * Expat XML parser WASM library, provides a simplified wrapper around the Expat XML Parser library.
@@ -77,6 +77,7 @@ export class Expat extends MainModuleEx<MainModule> {
77
77
  */
78
78
  static unload() {
79
79
  reset();
80
+ g_expat = undefined;
80
81
  }
81
82
 
82
83
  /**
@@ -33,7 +33,7 @@ export interface ClassHandle {
33
33
  [Symbol.dispose](): void;
34
34
  clone(): this;
35
35
  }
36
- export interface vector_string extends ClassHandle {
36
+ export interface vector_string extends ClassHandle, Iterable<string> {
37
37
  size(): number;
38
38
  get(_0: number): string | undefined;
39
39
  push_back(_0: EmbindString): void;