@monogrid/gainmap-js 2.0.1 → 2.0.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.
@@ -27,7 +27,7 @@ Module['ready'] = new Promise((resolve, reject) => {
27
27
  readyPromiseResolve = resolve;
28
28
  readyPromiseReject = reject;
29
29
  });
30
- ["_main","getExceptionMessage","___get_exception_message","_free","_memory","___indirect_function_table","_fflush","onRuntimeInitialized"].forEach((prop) => {
30
+ ["_main","getExceptionMessage","___get_exception_message","_free","_memory","___indirect_function_table","__embind_initialize_bindings","_fflush","onRuntimeInitialized"].forEach((prop) => {
31
31
  if (!Object.getOwnPropertyDescriptor(Module['ready'], prop)) {
32
32
  Object.defineProperty(Module['ready'], prop, {
33
33
  get: () => abort('You are getting ' + prop + ' on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js'),
@@ -359,7 +359,7 @@ assert(!ENVIRONMENT_IS_SHELL, "shell environment detected but not enabled at bui
359
359
  // An online HTML version (which may be of a different version of Emscripten)
360
360
  // is up at http://kripken.github.io/emscripten-site/docs/api_reference/preamble.js.html
361
361
 
362
- var wasmBinary;
362
+ var wasmBinary;
363
363
  if (Module['wasmBinary']) wasmBinary = Module['wasmBinary'];legacyModuleProp('wasmBinary', 'wasmBinary');
364
364
 
365
365
  if (typeof WebAssembly != 'object') {
@@ -383,10 +383,6 @@ var ABORT = false;
383
383
  // but only when noExitRuntime is false.
384
384
  var EXITSTATUS;
385
385
 
386
- // In STRICT mode, we only define assert() when ASSERTIONS is set. i.e. we
387
- // don't define it at all in release modes. This matches the behaviour of
388
- // MINIMAL_RUNTIME.
389
- // TODO(sbc): Make this the default even without STRICT enabled.
390
386
  /** @type {function(*, string=)} */
391
387
  function assert(condition, text) {
392
388
  if (!condition) {
@@ -1018,9 +1014,6 @@ function createWasm() {
1018
1014
  // path.
1019
1015
  if (Module['instantiateWasm']) {
1020
1016
 
1021
-
1022
-
1023
-
1024
1017
  try {
1025
1018
  return Module['instantiateWasm'](info, receiveInstance);
1026
1019
  } catch(e) {
@@ -1238,7 +1231,7 @@ function dbg(text) {
1238
1231
  * @return {string}
1239
1232
  */
1240
1233
  var UTF8ToString = (ptr, maxBytesToRead) => {
1241
- assert(typeof ptr == 'number', `UTF8ToString expects a number (got ${typeof ptr})`);
1234
+ assert(typeof ptr == 'number');
1242
1235
  return ptr ? UTF8ArrayToString(HEAPU8, ptr, maxBytesToRead) : '';
1243
1236
  };
1244
1237
  var getExceptionMessageCommon = (ptr) => withStackSave(() => {
@@ -1596,7 +1589,10 @@ function dbg(text) {
1596
1589
  var setter = field.setter;
1597
1590
  var setterContext = field.setterContext;
1598
1591
  fields[fieldName] = {
1599
- read: (ptr) => getterReturnType['fromWireType'](getter(getterContext, ptr)),
1592
+ read: (ptr) => {
1593
+ return getterReturnType['fromWireType'](
1594
+ getter(getterContext, ptr));
1595
+ },
1600
1596
  write: (ptr, o) => {
1601
1597
  var destructors = [];
1602
1598
  setter(setterContext, ptr, setterArgumentType['toWireType'](destructors, o));
@@ -1863,12 +1859,33 @@ function dbg(text) {
1863
1859
  });
1864
1860
  };
1865
1861
 
1866
- var createNamedFunction = (name, body) => Object.defineProperty(body, 'name', {
1867
- value: name
1868
- });
1862
+ var char_0 = 48;
1863
+
1864
+ var char_9 = 57;
1865
+ var makeLegalFunctionName = (name) => {
1866
+ if (undefined === name) {
1867
+ return '_unknown';
1868
+ }
1869
+ name = name.replace(/[^a-zA-Z0-9_]/g, '$');
1870
+ var f = name.charCodeAt(0);
1871
+ if (f >= char_0 && f <= char_9) {
1872
+ return `_${name}`;
1873
+ }
1874
+ return name;
1875
+ };
1869
1876
 
1870
1877
 
1871
1878
 
1879
+ function createNamedFunction(name, body) {
1880
+ name = makeLegalFunctionName(name);
1881
+ // Use an abject with a computed property name to create a new function with
1882
+ // a name specified at runtime, but without using `new Function` or `eval`.
1883
+ return {
1884
+ [name]: function() {
1885
+ return body.apply(this, arguments);
1886
+ }
1887
+ }[name];
1888
+ }
1872
1889
  function newFunc(constructor, argumentList) {
1873
1890
  if (!(constructor instanceof Function)) {
1874
1891
  throw new TypeError(`new_ called with constructor type ${typeof(constructor)} which is not a function`);
@@ -1937,7 +1954,7 @@ function dbg(text) {
1937
1954
  }
1938
1955
 
1939
1956
  var invokerFnBody = `
1940
- return function (${argsList}) {
1957
+ return function ${makeLegalFunctionName(humanName)}(${argsList}) {
1941
1958
  if (arguments.length !== ${argCount - 2}) {
1942
1959
  throwBindingError('function ${humanName} called with ' + arguments.length + ' arguments, expected ${argCount - 2}');
1943
1960
  }`;
@@ -1990,8 +2007,7 @@ function dbg(text) {
1990
2007
 
1991
2008
  args1.push(invokerFnBody);
1992
2009
 
1993
- var invokerFn = newFunc(Function, args1).apply(null, args2);
1994
- return createNamedFunction(humanName, invokerFn);
2010
+ return newFunc(Function, args1).apply(null, args2);
1995
2011
  }
1996
2012
 
1997
2013
  var ensureOverloadTable = (proto, methodName, humanName) => {
@@ -2323,7 +2339,7 @@ function dbg(text) {
2323
2339
 
2324
2340
 
2325
2341
  var stringToUTF8Array = (str, heap, outIdx, maxBytesToWrite) => {
2326
- assert(typeof str === 'string', `stringToUTF8Array expects a string (got ${typeof str})`);
2342
+ assert(typeof str === 'string');
2327
2343
  // Parameter maxBytesToWrite is not optional. Negative values, 0, null,
2328
2344
  // undefined and false each don't write out any bytes.
2329
2345
  if (!(maxBytesToWrite > 0))
@@ -2768,7 +2784,9 @@ function dbg(text) {
2768
2784
  return symbol;
2769
2785
  };
2770
2786
 
2771
- var __emval_new_cstring = (v) => Emval.toHandle(getStringOrSymbol(v));
2787
+ var __emval_new_cstring = (v) => {
2788
+ return Emval.toHandle(getStringOrSymbol(v));
2789
+ };
2772
2790
 
2773
2791
 
2774
2792
 
@@ -2983,7 +3001,9 @@ function dbg(text) {
2983
3001
  var paths = Array.prototype.slice.call(arguments);
2984
3002
  return PATH.normalize(paths.join('/'));
2985
3003
  },
2986
- join2:(l, r) => PATH.normalize(l + '/' + r),
3004
+ join2:(l, r) => {
3005
+ return PATH.normalize(l + '/' + r);
3006
+ },
2987
3007
  };
2988
3008
 
2989
3009
  var initRandomFill = () => {
@@ -3651,7 +3671,7 @@ function dbg(text) {
3651
3671
 
3652
3672
 
3653
3673
  var FS_createDataFile = (parent, name, fileData, canRead, canWrite, canOwn) => {
3654
- FS.createDataFile(parent, name, fileData, canRead, canWrite, canOwn);
3674
+ return FS.createDataFile(parent, name, fileData, canRead, canWrite, canOwn);
3655
3675
  };
3656
3676
 
3657
3677
  var preloadPlugins = Module['preloadPlugins'] || [];
@@ -3848,128 +3868,7 @@ function dbg(text) {
3848
3868
  };
3849
3869
 
3850
3870
  var ERRNO_CODES = {
3851
- 'EPERM': 63,
3852
- 'ENOENT': 44,
3853
- 'ESRCH': 71,
3854
- 'EINTR': 27,
3855
- 'EIO': 29,
3856
- 'ENXIO': 60,
3857
- 'E2BIG': 1,
3858
- 'ENOEXEC': 45,
3859
- 'EBADF': 8,
3860
- 'ECHILD': 12,
3861
- 'EAGAIN': 6,
3862
- 'EWOULDBLOCK': 6,
3863
- 'ENOMEM': 48,
3864
- 'EACCES': 2,
3865
- 'EFAULT': 21,
3866
- 'ENOTBLK': 105,
3867
- 'EBUSY': 10,
3868
- 'EEXIST': 20,
3869
- 'EXDEV': 75,
3870
- 'ENODEV': 43,
3871
- 'ENOTDIR': 54,
3872
- 'EISDIR': 31,
3873
- 'EINVAL': 28,
3874
- 'ENFILE': 41,
3875
- 'EMFILE': 33,
3876
- 'ENOTTY': 59,
3877
- 'ETXTBSY': 74,
3878
- 'EFBIG': 22,
3879
- 'ENOSPC': 51,
3880
- 'ESPIPE': 70,
3881
- 'EROFS': 69,
3882
- 'EMLINK': 34,
3883
- 'EPIPE': 64,
3884
- 'EDOM': 18,
3885
- 'ERANGE': 68,
3886
- 'ENOMSG': 49,
3887
- 'EIDRM': 24,
3888
- 'ECHRNG': 106,
3889
- 'EL2NSYNC': 156,
3890
- 'EL3HLT': 107,
3891
- 'EL3RST': 108,
3892
- 'ELNRNG': 109,
3893
- 'EUNATCH': 110,
3894
- 'ENOCSI': 111,
3895
- 'EL2HLT': 112,
3896
- 'EDEADLK': 16,
3897
- 'ENOLCK': 46,
3898
- 'EBADE': 113,
3899
- 'EBADR': 114,
3900
- 'EXFULL': 115,
3901
- 'ENOANO': 104,
3902
- 'EBADRQC': 103,
3903
- 'EBADSLT': 102,
3904
- 'EDEADLOCK': 16,
3905
- 'EBFONT': 101,
3906
- 'ENOSTR': 100,
3907
- 'ENODATA': 116,
3908
- 'ETIME': 117,
3909
- 'ENOSR': 118,
3910
- 'ENONET': 119,
3911
- 'ENOPKG': 120,
3912
- 'EREMOTE': 121,
3913
- 'ENOLINK': 47,
3914
- 'EADV': 122,
3915
- 'ESRMNT': 123,
3916
- 'ECOMM': 124,
3917
- 'EPROTO': 65,
3918
- 'EMULTIHOP': 36,
3919
- 'EDOTDOT': 125,
3920
- 'EBADMSG': 9,
3921
- 'ENOTUNIQ': 126,
3922
- 'EBADFD': 127,
3923
- 'EREMCHG': 128,
3924
- 'ELIBACC': 129,
3925
- 'ELIBBAD': 130,
3926
- 'ELIBSCN': 131,
3927
- 'ELIBMAX': 132,
3928
- 'ELIBEXEC': 133,
3929
- 'ENOSYS': 52,
3930
- 'ENOTEMPTY': 55,
3931
- 'ENAMETOOLONG': 37,
3932
- 'ELOOP': 32,
3933
- 'EOPNOTSUPP': 138,
3934
- 'EPFNOSUPPORT': 139,
3935
- 'ECONNRESET': 15,
3936
- 'ENOBUFS': 42,
3937
- 'EAFNOSUPPORT': 5,
3938
- 'EPROTOTYPE': 67,
3939
- 'ENOTSOCK': 57,
3940
- 'ENOPROTOOPT': 50,
3941
- 'ESHUTDOWN': 140,
3942
- 'ECONNREFUSED': 14,
3943
- 'EADDRINUSE': 3,
3944
- 'ECONNABORTED': 13,
3945
- 'ENETUNREACH': 40,
3946
- 'ENETDOWN': 38,
3947
- 'ETIMEDOUT': 73,
3948
- 'EHOSTDOWN': 142,
3949
- 'EHOSTUNREACH': 23,
3950
- 'EINPROGRESS': 26,
3951
- 'EALREADY': 7,
3952
- 'EDESTADDRREQ': 17,
3953
- 'EMSGSIZE': 35,
3954
- 'EPROTONOSUPPORT': 66,
3955
- 'ESOCKTNOSUPPORT': 137,
3956
- 'EADDRNOTAVAIL': 4,
3957
- 'ENETRESET': 39,
3958
- 'EISCONN': 30,
3959
- 'ENOTCONN': 53,
3960
- 'ETOOMANYREFS': 141,
3961
- 'EUSERS': 136,
3962
- 'EDQUOT': 19,
3963
- 'ESTALE': 72,
3964
- 'ENOTSUP': 138,
3965
- 'ENOMEDIUM': 148,
3966
- 'EILSEQ': 25,
3967
- 'EOVERFLOW': 61,
3968
- 'ECANCELED': 11,
3969
- 'ENOTRECOVERABLE': 56,
3970
- 'EOWNERDEAD': 62,
3971
- 'ESTRPIPE': 135,
3972
- };
3871
+ };
3973
3872
 
3974
3873
  var demangle = (func) => {
3975
3874
  warnOnce('warning: build with -sDEMANGLE_SUPPORT to link in libcxxabi demangling');
@@ -5310,6 +5209,7 @@ function dbg(text) {
5310
5209
  FS.close(stream);
5311
5210
  FS.chmod(node, mode);
5312
5211
  }
5212
+ return node;
5313
5213
  },
5314
5214
  createDevice(parent, name, input, output) {
5315
5215
  var path = PATH.join2(typeof parent == 'string' ? parent : FS.getPath(parent), name);
@@ -5609,19 +5509,19 @@ function dbg(text) {
5609
5509
  HEAP32[(((buf)+(12))>>2)] = stat.uid;
5610
5510
  HEAP32[(((buf)+(16))>>2)] = stat.gid;
5611
5511
  HEAP32[(((buf)+(20))>>2)] = stat.rdev;
5612
- (tempI64 = [stat.size>>>0,(tempDouble = stat.size,(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(24))>>2)] = tempI64[0],HEAP32[(((buf)+(28))>>2)] = tempI64[1]);
5512
+ (tempI64 = [stat.size>>>0,(tempDouble=stat.size,(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(24))>>2)] = tempI64[0],HEAP32[(((buf)+(28))>>2)] = tempI64[1]);
5613
5513
  HEAP32[(((buf)+(32))>>2)] = 4096;
5614
5514
  HEAP32[(((buf)+(36))>>2)] = stat.blocks;
5615
5515
  var atime = stat.atime.getTime();
5616
5516
  var mtime = stat.mtime.getTime();
5617
5517
  var ctime = stat.ctime.getTime();
5618
- (tempI64 = [Math.floor(atime / 1000)>>>0,(tempDouble = Math.floor(atime / 1000),(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(40))>>2)] = tempI64[0],HEAP32[(((buf)+(44))>>2)] = tempI64[1]);
5518
+ (tempI64 = [Math.floor(atime / 1000)>>>0,(tempDouble=Math.floor(atime / 1000),(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(40))>>2)] = tempI64[0],HEAP32[(((buf)+(44))>>2)] = tempI64[1]);
5619
5519
  HEAPU32[(((buf)+(48))>>2)] = (atime % 1000) * 1000;
5620
- (tempI64 = [Math.floor(mtime / 1000)>>>0,(tempDouble = Math.floor(mtime / 1000),(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(56))>>2)] = tempI64[0],HEAP32[(((buf)+(60))>>2)] = tempI64[1]);
5520
+ (tempI64 = [Math.floor(mtime / 1000)>>>0,(tempDouble=Math.floor(mtime / 1000),(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(56))>>2)] = tempI64[0],HEAP32[(((buf)+(60))>>2)] = tempI64[1]);
5621
5521
  HEAPU32[(((buf)+(64))>>2)] = (mtime % 1000) * 1000;
5622
- (tempI64 = [Math.floor(ctime / 1000)>>>0,(tempDouble = Math.floor(ctime / 1000),(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(72))>>2)] = tempI64[0],HEAP32[(((buf)+(76))>>2)] = tempI64[1]);
5522
+ (tempI64 = [Math.floor(ctime / 1000)>>>0,(tempDouble=Math.floor(ctime / 1000),(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(72))>>2)] = tempI64[0],HEAP32[(((buf)+(76))>>2)] = tempI64[1]);
5623
5523
  HEAPU32[(((buf)+(80))>>2)] = (ctime % 1000) * 1000;
5624
- (tempI64 = [stat.ino>>>0,(tempDouble = stat.ino,(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(88))>>2)] = tempI64[0],HEAP32[(((buf)+(92))>>2)] = tempI64[1]);
5524
+ (tempI64 = [stat.ino>>>0,(tempDouble=stat.ino,(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(88))>>2)] = tempI64[0],HEAP32[(((buf)+(92))>>2)] = tempI64[1]);
5625
5525
  return 0;
5626
5526
  },
5627
5527
  doMsync(addr, stream, len, flags, offset) {
@@ -5763,7 +5663,7 @@ function dbg(text) {
5763
5663
  if (isNaN(offset)) return 61;
5764
5664
  var stream = SYSCALLS.getStreamFromFD(fd);
5765
5665
  FS.llseek(stream, offset, whence);
5766
- (tempI64 = [stream.position>>>0,(tempDouble = stream.position,(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[((newOffset)>>2)] = tempI64[0],HEAP32[(((newOffset)+(4))>>2)] = tempI64[1]);
5666
+ (tempI64 = [stream.position>>>0,(tempDouble=stream.position,(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[((newOffset)>>2)] = tempI64[0],HEAP32[(((newOffset)+(4))>>2)] = tempI64[1]);
5767
5667
  if (stream.getdents && offset === 0 && whence === 0) stream.getdents = null; // reset readdir state
5768
5668
  return 0;
5769
5669
  } catch (e) {
@@ -5803,7 +5703,9 @@ function dbg(text) {
5803
5703
  }
5804
5704
  }
5805
5705
 
5806
- var isLeapYear = (year) => year%4 === 0 && (year%100 !== 0 || year%400 === 0);
5706
+ var isLeapYear = (year) => {
5707
+ return year%4 === 0 && (year%100 !== 0 || year%400 === 0);
5708
+ };
5807
5709
 
5808
5710
  var arraySum = (array, index) => {
5809
5711
  var sum = 0;
@@ -6178,6 +6080,129 @@ UnboundTypeError = Module['UnboundTypeError'] = extendError(Error, 'UnboundTypeE
6178
6080
  FS.FSNode = FSNode;
6179
6081
  FS.createPreloadedFile = FS_createPreloadedFile;
6180
6082
  FS.staticInit();;
6083
+ ERRNO_CODES = {
6084
+ 'EPERM': 63,
6085
+ 'ENOENT': 44,
6086
+ 'ESRCH': 71,
6087
+ 'EINTR': 27,
6088
+ 'EIO': 29,
6089
+ 'ENXIO': 60,
6090
+ 'E2BIG': 1,
6091
+ 'ENOEXEC': 45,
6092
+ 'EBADF': 8,
6093
+ 'ECHILD': 12,
6094
+ 'EAGAIN': 6,
6095
+ 'EWOULDBLOCK': 6,
6096
+ 'ENOMEM': 48,
6097
+ 'EACCES': 2,
6098
+ 'EFAULT': 21,
6099
+ 'ENOTBLK': 105,
6100
+ 'EBUSY': 10,
6101
+ 'EEXIST': 20,
6102
+ 'EXDEV': 75,
6103
+ 'ENODEV': 43,
6104
+ 'ENOTDIR': 54,
6105
+ 'EISDIR': 31,
6106
+ 'EINVAL': 28,
6107
+ 'ENFILE': 41,
6108
+ 'EMFILE': 33,
6109
+ 'ENOTTY': 59,
6110
+ 'ETXTBSY': 74,
6111
+ 'EFBIG': 22,
6112
+ 'ENOSPC': 51,
6113
+ 'ESPIPE': 70,
6114
+ 'EROFS': 69,
6115
+ 'EMLINK': 34,
6116
+ 'EPIPE': 64,
6117
+ 'EDOM': 18,
6118
+ 'ERANGE': 68,
6119
+ 'ENOMSG': 49,
6120
+ 'EIDRM': 24,
6121
+ 'ECHRNG': 106,
6122
+ 'EL2NSYNC': 156,
6123
+ 'EL3HLT': 107,
6124
+ 'EL3RST': 108,
6125
+ 'ELNRNG': 109,
6126
+ 'EUNATCH': 110,
6127
+ 'ENOCSI': 111,
6128
+ 'EL2HLT': 112,
6129
+ 'EDEADLK': 16,
6130
+ 'ENOLCK': 46,
6131
+ 'EBADE': 113,
6132
+ 'EBADR': 114,
6133
+ 'EXFULL': 115,
6134
+ 'ENOANO': 104,
6135
+ 'EBADRQC': 103,
6136
+ 'EBADSLT': 102,
6137
+ 'EDEADLOCK': 16,
6138
+ 'EBFONT': 101,
6139
+ 'ENOSTR': 100,
6140
+ 'ENODATA': 116,
6141
+ 'ETIME': 117,
6142
+ 'ENOSR': 118,
6143
+ 'ENONET': 119,
6144
+ 'ENOPKG': 120,
6145
+ 'EREMOTE': 121,
6146
+ 'ENOLINK': 47,
6147
+ 'EADV': 122,
6148
+ 'ESRMNT': 123,
6149
+ 'ECOMM': 124,
6150
+ 'EPROTO': 65,
6151
+ 'EMULTIHOP': 36,
6152
+ 'EDOTDOT': 125,
6153
+ 'EBADMSG': 9,
6154
+ 'ENOTUNIQ': 126,
6155
+ 'EBADFD': 127,
6156
+ 'EREMCHG': 128,
6157
+ 'ELIBACC': 129,
6158
+ 'ELIBBAD': 130,
6159
+ 'ELIBSCN': 131,
6160
+ 'ELIBMAX': 132,
6161
+ 'ELIBEXEC': 133,
6162
+ 'ENOSYS': 52,
6163
+ 'ENOTEMPTY': 55,
6164
+ 'ENAMETOOLONG': 37,
6165
+ 'ELOOP': 32,
6166
+ 'EOPNOTSUPP': 138,
6167
+ 'EPFNOSUPPORT': 139,
6168
+ 'ECONNRESET': 15,
6169
+ 'ENOBUFS': 42,
6170
+ 'EAFNOSUPPORT': 5,
6171
+ 'EPROTOTYPE': 67,
6172
+ 'ENOTSOCK': 57,
6173
+ 'ENOPROTOOPT': 50,
6174
+ 'ESHUTDOWN': 140,
6175
+ 'ECONNREFUSED': 14,
6176
+ 'EADDRINUSE': 3,
6177
+ 'ECONNABORTED': 13,
6178
+ 'ENETUNREACH': 40,
6179
+ 'ENETDOWN': 38,
6180
+ 'ETIMEDOUT': 73,
6181
+ 'EHOSTDOWN': 142,
6182
+ 'EHOSTUNREACH': 23,
6183
+ 'EINPROGRESS': 26,
6184
+ 'EALREADY': 7,
6185
+ 'EDESTADDRREQ': 17,
6186
+ 'EMSGSIZE': 35,
6187
+ 'EPROTONOSUPPORT': 66,
6188
+ 'ESOCKTNOSUPPORT': 137,
6189
+ 'EADDRNOTAVAIL': 4,
6190
+ 'ENETRESET': 39,
6191
+ 'EISCONN': 30,
6192
+ 'ENOTCONN': 53,
6193
+ 'ETOOMANYREFS': 141,
6194
+ 'EUSERS': 136,
6195
+ 'EDQUOT': 19,
6196
+ 'ESTALE': 72,
6197
+ 'ENOTSUP': 138,
6198
+ 'ENOMEDIUM': 148,
6199
+ 'EILSEQ': 25,
6200
+ 'EOVERFLOW': 61,
6201
+ 'ECANCELED': 11,
6202
+ 'ENOTRECOVERABLE': 56,
6203
+ 'EOWNERDEAD': 62,
6204
+ 'ESTRPIPE': 135,
6205
+ };;
6181
6206
  function checkIncomingModuleAPI() {
6182
6207
  ignoredModuleProp('fetchSettings');
6183
6208
  }
@@ -6313,6 +6338,7 @@ var _free = Module['_free'] = createExportWrapper('free');
6313
6338
  var ___errno_location = createExportWrapper('__errno_location');
6314
6339
  var setTempRet0 = createExportWrapper('setTempRet0');
6315
6340
  var ___getTypeName = createExportWrapper('__getTypeName');
6341
+ var __embind_initialize_bindings = Module['__embind_initialize_bindings'] = createExportWrapper('_embind_initialize_bindings');
6316
6342
  var _fflush = Module['_fflush'] = createExportWrapper('fflush');
6317
6343
  var _setThrew = createExportWrapper('setThrew');
6318
6344
  var _emscripten_stack_init = () => (_emscripten_stack_init = wasmExports['emscripten_stack_init'])();
@@ -6771,11 +6797,8 @@ var missingLibrarySymbols = [
6771
6797
  'downcastPointer',
6772
6798
  'upcastPointer',
6773
6799
  'validateThis',
6774
- 'char_0',
6775
- 'char_9',
6776
- 'makeLegalFunctionName',
6800
+ 'craftEmvalAllocator',
6777
6801
  'emval_get_global',
6778
- 'emval_returnValue',
6779
6802
  'emval_lookupTypes',
6780
6803
  'emval_addMethodCaller',
6781
6804
  ];
@@ -6962,14 +6985,17 @@ var unexportedSymbols = [
6962
6985
  'detachFinalizer_deps',
6963
6986
  'deletionQueue',
6964
6987
  'delayFunction',
6988
+ 'char_0',
6989
+ 'char_9',
6990
+ 'makeLegalFunctionName',
6965
6991
  'emval_handles',
6966
6992
  'emval_symbols',
6967
6993
  'init_emval',
6968
6994
  'count_emval_handles',
6969
6995
  'getStringOrSymbol',
6970
6996
  'Emval',
6997
+ 'emval_newers',
6971
6998
  'emval_methodCallers',
6972
- 'reflectConstruct',
6973
6999
  ];
6974
7000
  unexportedSymbols.forEach(unexportedRuntimeSymbol);
6975
7001
 
@@ -7124,7 +7150,7 @@ run();
7124
7150
 
7125
7151
  return moduleArg.ready
7126
7152
  }
7153
+
7127
7154
  );
7128
7155
  })();
7129
- ;
7130
7156
  export default Module;