@monogrid/gainmap-js 2.0.1 → 2.0.3
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/CHANGELOG.md +15 -0
- package/dist/{QuadRenderer-2NcH1MyZ.js → QuadRenderer-IyQj4ZsN.js} +1 -1
- package/dist/{_commonjsHelpers-A0Fo_jMO.js → _commonjsHelpers-sElGEoua.js} +1 -1
- package/dist/{compress-nWDFn7nF.js → compress-sMTWjMym.js} +1 -1
- package/dist/decode.js +87 -17
- package/dist/decode.umd.js +86 -16
- package/dist/encode.js +3 -3
- package/dist/encode.umd.js +1 -1
- package/dist/libultrahdr-esm.wasm +0 -0
- package/dist/libultrahdr.js +183 -154
- package/dist/libultrahdr.umd.js +183 -154
- package/dist/worker-interface.js +2 -2
- package/dist/worker-interface.umd.js +1 -1
- package/dist/worker.js +3 -3
- package/dist/worker.umd.js +1 -1
- package/libultrahdr-wasm/build/libultrahdr-debug.js +182 -156
- package/libultrahdr-wasm/build/libultrahdr-debug.wasm +0 -0
- package/libultrahdr-wasm/build/libultrahdr-esm.js +182 -153
- package/libultrahdr-wasm/build/libultrahdr-esm.wasm +0 -0
- package/libultrahdr-wasm/build/libultrahdr.js +180 -151
- package/libultrahdr-wasm/build/libultrahdr.wasm +0 -0
- package/package.json +1 -1
|
@@ -335,7 +335,7 @@ assert(!ENVIRONMENT_IS_SHELL, "shell environment detected but not enabled at bui
|
|
|
335
335
|
// An online HTML version (which may be of a different version of Emscripten)
|
|
336
336
|
// is up at http://kripken.github.io/emscripten-site/docs/api_reference/preamble.js.html
|
|
337
337
|
|
|
338
|
-
var wasmBinary;
|
|
338
|
+
var wasmBinary;
|
|
339
339
|
if (Module['wasmBinary']) wasmBinary = Module['wasmBinary'];legacyModuleProp('wasmBinary', 'wasmBinary');
|
|
340
340
|
|
|
341
341
|
if (typeof WebAssembly != 'object') {
|
|
@@ -359,10 +359,6 @@ var ABORT = false;
|
|
|
359
359
|
// but only when noExitRuntime is false.
|
|
360
360
|
var EXITSTATUS;
|
|
361
361
|
|
|
362
|
-
// In STRICT mode, we only define assert() when ASSERTIONS is set. i.e. we
|
|
363
|
-
// don't define it at all in release modes. This matches the behaviour of
|
|
364
|
-
// MINIMAL_RUNTIME.
|
|
365
|
-
// TODO(sbc): Make this the default even without STRICT enabled.
|
|
366
362
|
/** @type {function(*, string=)} */
|
|
367
363
|
function assert(condition, text) {
|
|
368
364
|
if (!condition) {
|
|
@@ -1214,7 +1210,10 @@ function dbg(text) {
|
|
|
1214
1210
|
var setter = field.setter;
|
|
1215
1211
|
var setterContext = field.setterContext;
|
|
1216
1212
|
fields[fieldName] = {
|
|
1217
|
-
read: (ptr) =>
|
|
1213
|
+
read: (ptr) => {
|
|
1214
|
+
return getterReturnType['fromWireType'](
|
|
1215
|
+
getter(getterContext, ptr));
|
|
1216
|
+
},
|
|
1218
1217
|
write: (ptr, o) => {
|
|
1219
1218
|
var destructors = [];
|
|
1220
1219
|
setter(setterContext, ptr, setterArgumentType['toWireType'](destructors, o));
|
|
@@ -1481,12 +1480,33 @@ function dbg(text) {
|
|
|
1481
1480
|
});
|
|
1482
1481
|
};
|
|
1483
1482
|
|
|
1484
|
-
var
|
|
1485
|
-
value: name
|
|
1486
|
-
});
|
|
1483
|
+
var char_0 = 48;
|
|
1487
1484
|
|
|
1485
|
+
var char_9 = 57;
|
|
1486
|
+
var makeLegalFunctionName = (name) => {
|
|
1487
|
+
if (undefined === name) {
|
|
1488
|
+
return '_unknown';
|
|
1489
|
+
}
|
|
1490
|
+
name = name.replace(/[^a-zA-Z0-9_]/g, '$');
|
|
1491
|
+
var f = name.charCodeAt(0);
|
|
1492
|
+
if (f >= char_0 && f <= char_9) {
|
|
1493
|
+
return `_${name}`;
|
|
1494
|
+
}
|
|
1495
|
+
return name;
|
|
1496
|
+
};
|
|
1488
1497
|
|
|
1489
1498
|
|
|
1499
|
+
|
|
1500
|
+
function createNamedFunction(name, body) {
|
|
1501
|
+
name = makeLegalFunctionName(name);
|
|
1502
|
+
// Use an abject with a computed property name to create a new function with
|
|
1503
|
+
// a name specified at runtime, but without using `new Function` or `eval`.
|
|
1504
|
+
return {
|
|
1505
|
+
[name]: function() {
|
|
1506
|
+
return body.apply(this, arguments);
|
|
1507
|
+
}
|
|
1508
|
+
}[name];
|
|
1509
|
+
}
|
|
1490
1510
|
function newFunc(constructor, argumentList) {
|
|
1491
1511
|
if (!(constructor instanceof Function)) {
|
|
1492
1512
|
throw new TypeError(`new_ called with constructor type ${typeof(constructor)} which is not a function`);
|
|
@@ -1555,7 +1575,7 @@ function dbg(text) {
|
|
|
1555
1575
|
}
|
|
1556
1576
|
|
|
1557
1577
|
var invokerFnBody = `
|
|
1558
|
-
return function (${argsList}) {
|
|
1578
|
+
return function ${makeLegalFunctionName(humanName)}(${argsList}) {
|
|
1559
1579
|
if (arguments.length !== ${argCount - 2}) {
|
|
1560
1580
|
throwBindingError('function ${humanName} called with ' + arguments.length + ' arguments, expected ${argCount - 2}');
|
|
1561
1581
|
}`;
|
|
@@ -1608,8 +1628,7 @@ function dbg(text) {
|
|
|
1608
1628
|
|
|
1609
1629
|
args1.push(invokerFnBody);
|
|
1610
1630
|
|
|
1611
|
-
|
|
1612
|
-
return createNamedFunction(humanName, invokerFn);
|
|
1631
|
+
return newFunc(Function, args1).apply(null, args2);
|
|
1613
1632
|
}
|
|
1614
1633
|
|
|
1615
1634
|
var ensureOverloadTable = (proto, methodName, humanName) => {
|
|
@@ -1941,7 +1960,7 @@ function dbg(text) {
|
|
|
1941
1960
|
|
|
1942
1961
|
|
|
1943
1962
|
var stringToUTF8Array = (str, heap, outIdx, maxBytesToWrite) => {
|
|
1944
|
-
assert(typeof str === 'string'
|
|
1963
|
+
assert(typeof str === 'string');
|
|
1945
1964
|
// Parameter maxBytesToWrite is not optional. Negative values, 0, null,
|
|
1946
1965
|
// undefined and false each don't write out any bytes.
|
|
1947
1966
|
if (!(maxBytesToWrite > 0))
|
|
@@ -2085,7 +2104,7 @@ function dbg(text) {
|
|
|
2085
2104
|
* @return {string}
|
|
2086
2105
|
*/
|
|
2087
2106
|
var UTF8ToString = (ptr, maxBytesToRead) => {
|
|
2088
|
-
assert(typeof ptr == 'number'
|
|
2107
|
+
assert(typeof ptr == 'number');
|
|
2089
2108
|
return ptr ? UTF8ArrayToString(HEAPU8, ptr, maxBytesToRead) : '';
|
|
2090
2109
|
};
|
|
2091
2110
|
var __embind_register_std_string = (rawType, name) => {
|
|
@@ -2459,7 +2478,9 @@ function dbg(text) {
|
|
|
2459
2478
|
return symbol;
|
|
2460
2479
|
};
|
|
2461
2480
|
|
|
2462
|
-
var __emval_new_cstring = (v) =>
|
|
2481
|
+
var __emval_new_cstring = (v) => {
|
|
2482
|
+
return Emval.toHandle(getStringOrSymbol(v));
|
|
2483
|
+
};
|
|
2463
2484
|
|
|
2464
2485
|
|
|
2465
2486
|
|
|
@@ -2674,7 +2695,9 @@ function dbg(text) {
|
|
|
2674
2695
|
var paths = Array.prototype.slice.call(arguments);
|
|
2675
2696
|
return PATH.normalize(paths.join('/'));
|
|
2676
2697
|
},
|
|
2677
|
-
join2:(l, r) =>
|
|
2698
|
+
join2:(l, r) => {
|
|
2699
|
+
return PATH.normalize(l + '/' + r);
|
|
2700
|
+
},
|
|
2678
2701
|
};
|
|
2679
2702
|
|
|
2680
2703
|
var initRandomFill = () => {
|
|
@@ -3342,7 +3365,7 @@ function dbg(text) {
|
|
|
3342
3365
|
|
|
3343
3366
|
|
|
3344
3367
|
var FS_createDataFile = (parent, name, fileData, canRead, canWrite, canOwn) => {
|
|
3345
|
-
FS.createDataFile(parent, name, fileData, canRead, canWrite, canOwn);
|
|
3368
|
+
return FS.createDataFile(parent, name, fileData, canRead, canWrite, canOwn);
|
|
3346
3369
|
};
|
|
3347
3370
|
|
|
3348
3371
|
var preloadPlugins = Module['preloadPlugins'] || [];
|
|
@@ -3539,128 +3562,7 @@ function dbg(text) {
|
|
|
3539
3562
|
};
|
|
3540
3563
|
|
|
3541
3564
|
var ERRNO_CODES = {
|
|
3542
|
-
|
|
3543
|
-
'ENOENT': 44,
|
|
3544
|
-
'ESRCH': 71,
|
|
3545
|
-
'EINTR': 27,
|
|
3546
|
-
'EIO': 29,
|
|
3547
|
-
'ENXIO': 60,
|
|
3548
|
-
'E2BIG': 1,
|
|
3549
|
-
'ENOEXEC': 45,
|
|
3550
|
-
'EBADF': 8,
|
|
3551
|
-
'ECHILD': 12,
|
|
3552
|
-
'EAGAIN': 6,
|
|
3553
|
-
'EWOULDBLOCK': 6,
|
|
3554
|
-
'ENOMEM': 48,
|
|
3555
|
-
'EACCES': 2,
|
|
3556
|
-
'EFAULT': 21,
|
|
3557
|
-
'ENOTBLK': 105,
|
|
3558
|
-
'EBUSY': 10,
|
|
3559
|
-
'EEXIST': 20,
|
|
3560
|
-
'EXDEV': 75,
|
|
3561
|
-
'ENODEV': 43,
|
|
3562
|
-
'ENOTDIR': 54,
|
|
3563
|
-
'EISDIR': 31,
|
|
3564
|
-
'EINVAL': 28,
|
|
3565
|
-
'ENFILE': 41,
|
|
3566
|
-
'EMFILE': 33,
|
|
3567
|
-
'ENOTTY': 59,
|
|
3568
|
-
'ETXTBSY': 74,
|
|
3569
|
-
'EFBIG': 22,
|
|
3570
|
-
'ENOSPC': 51,
|
|
3571
|
-
'ESPIPE': 70,
|
|
3572
|
-
'EROFS': 69,
|
|
3573
|
-
'EMLINK': 34,
|
|
3574
|
-
'EPIPE': 64,
|
|
3575
|
-
'EDOM': 18,
|
|
3576
|
-
'ERANGE': 68,
|
|
3577
|
-
'ENOMSG': 49,
|
|
3578
|
-
'EIDRM': 24,
|
|
3579
|
-
'ECHRNG': 106,
|
|
3580
|
-
'EL2NSYNC': 156,
|
|
3581
|
-
'EL3HLT': 107,
|
|
3582
|
-
'EL3RST': 108,
|
|
3583
|
-
'ELNRNG': 109,
|
|
3584
|
-
'EUNATCH': 110,
|
|
3585
|
-
'ENOCSI': 111,
|
|
3586
|
-
'EL2HLT': 112,
|
|
3587
|
-
'EDEADLK': 16,
|
|
3588
|
-
'ENOLCK': 46,
|
|
3589
|
-
'EBADE': 113,
|
|
3590
|
-
'EBADR': 114,
|
|
3591
|
-
'EXFULL': 115,
|
|
3592
|
-
'ENOANO': 104,
|
|
3593
|
-
'EBADRQC': 103,
|
|
3594
|
-
'EBADSLT': 102,
|
|
3595
|
-
'EDEADLOCK': 16,
|
|
3596
|
-
'EBFONT': 101,
|
|
3597
|
-
'ENOSTR': 100,
|
|
3598
|
-
'ENODATA': 116,
|
|
3599
|
-
'ETIME': 117,
|
|
3600
|
-
'ENOSR': 118,
|
|
3601
|
-
'ENONET': 119,
|
|
3602
|
-
'ENOPKG': 120,
|
|
3603
|
-
'EREMOTE': 121,
|
|
3604
|
-
'ENOLINK': 47,
|
|
3605
|
-
'EADV': 122,
|
|
3606
|
-
'ESRMNT': 123,
|
|
3607
|
-
'ECOMM': 124,
|
|
3608
|
-
'EPROTO': 65,
|
|
3609
|
-
'EMULTIHOP': 36,
|
|
3610
|
-
'EDOTDOT': 125,
|
|
3611
|
-
'EBADMSG': 9,
|
|
3612
|
-
'ENOTUNIQ': 126,
|
|
3613
|
-
'EBADFD': 127,
|
|
3614
|
-
'EREMCHG': 128,
|
|
3615
|
-
'ELIBACC': 129,
|
|
3616
|
-
'ELIBBAD': 130,
|
|
3617
|
-
'ELIBSCN': 131,
|
|
3618
|
-
'ELIBMAX': 132,
|
|
3619
|
-
'ELIBEXEC': 133,
|
|
3620
|
-
'ENOSYS': 52,
|
|
3621
|
-
'ENOTEMPTY': 55,
|
|
3622
|
-
'ENAMETOOLONG': 37,
|
|
3623
|
-
'ELOOP': 32,
|
|
3624
|
-
'EOPNOTSUPP': 138,
|
|
3625
|
-
'EPFNOSUPPORT': 139,
|
|
3626
|
-
'ECONNRESET': 15,
|
|
3627
|
-
'ENOBUFS': 42,
|
|
3628
|
-
'EAFNOSUPPORT': 5,
|
|
3629
|
-
'EPROTOTYPE': 67,
|
|
3630
|
-
'ENOTSOCK': 57,
|
|
3631
|
-
'ENOPROTOOPT': 50,
|
|
3632
|
-
'ESHUTDOWN': 140,
|
|
3633
|
-
'ECONNREFUSED': 14,
|
|
3634
|
-
'EADDRINUSE': 3,
|
|
3635
|
-
'ECONNABORTED': 13,
|
|
3636
|
-
'ENETUNREACH': 40,
|
|
3637
|
-
'ENETDOWN': 38,
|
|
3638
|
-
'ETIMEDOUT': 73,
|
|
3639
|
-
'EHOSTDOWN': 142,
|
|
3640
|
-
'EHOSTUNREACH': 23,
|
|
3641
|
-
'EINPROGRESS': 26,
|
|
3642
|
-
'EALREADY': 7,
|
|
3643
|
-
'EDESTADDRREQ': 17,
|
|
3644
|
-
'EMSGSIZE': 35,
|
|
3645
|
-
'EPROTONOSUPPORT': 66,
|
|
3646
|
-
'ESOCKTNOSUPPORT': 137,
|
|
3647
|
-
'EADDRNOTAVAIL': 4,
|
|
3648
|
-
'ENETRESET': 39,
|
|
3649
|
-
'EISCONN': 30,
|
|
3650
|
-
'ENOTCONN': 53,
|
|
3651
|
-
'ETOOMANYREFS': 141,
|
|
3652
|
-
'EUSERS': 136,
|
|
3653
|
-
'EDQUOT': 19,
|
|
3654
|
-
'ESTALE': 72,
|
|
3655
|
-
'ENOTSUP': 138,
|
|
3656
|
-
'ENOMEDIUM': 148,
|
|
3657
|
-
'EILSEQ': 25,
|
|
3658
|
-
'EOVERFLOW': 61,
|
|
3659
|
-
'ECANCELED': 11,
|
|
3660
|
-
'ENOTRECOVERABLE': 56,
|
|
3661
|
-
'EOWNERDEAD': 62,
|
|
3662
|
-
'ESTRPIPE': 135,
|
|
3663
|
-
};
|
|
3565
|
+
};
|
|
3664
3566
|
|
|
3665
3567
|
var demangle = (func) => {
|
|
3666
3568
|
warnOnce('warning: build with -sDEMANGLE_SUPPORT to link in libcxxabi demangling');
|
|
@@ -5001,6 +4903,7 @@ function dbg(text) {
|
|
|
5001
4903
|
FS.close(stream);
|
|
5002
4904
|
FS.chmod(node, mode);
|
|
5003
4905
|
}
|
|
4906
|
+
return node;
|
|
5004
4907
|
},
|
|
5005
4908
|
createDevice(parent, name, input, output) {
|
|
5006
4909
|
var path = PATH.join2(typeof parent == 'string' ? parent : FS.getPath(parent), name);
|
|
@@ -5300,19 +5203,19 @@ function dbg(text) {
|
|
|
5300
5203
|
HEAP32[(((buf)+(12))>>2)] = stat.uid;
|
|
5301
5204
|
HEAP32[(((buf)+(16))>>2)] = stat.gid;
|
|
5302
5205
|
HEAP32[(((buf)+(20))>>2)] = stat.rdev;
|
|
5303
|
-
(tempI64 = [stat.size>>>0,(tempDouble
|
|
5206
|
+
(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]);
|
|
5304
5207
|
HEAP32[(((buf)+(32))>>2)] = 4096;
|
|
5305
5208
|
HEAP32[(((buf)+(36))>>2)] = stat.blocks;
|
|
5306
5209
|
var atime = stat.atime.getTime();
|
|
5307
5210
|
var mtime = stat.mtime.getTime();
|
|
5308
5211
|
var ctime = stat.ctime.getTime();
|
|
5309
|
-
(tempI64 = [Math.floor(atime / 1000)>>>0,(tempDouble
|
|
5212
|
+
(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]);
|
|
5310
5213
|
HEAPU32[(((buf)+(48))>>2)] = (atime % 1000) * 1000;
|
|
5311
|
-
(tempI64 = [Math.floor(mtime / 1000)>>>0,(tempDouble
|
|
5214
|
+
(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]);
|
|
5312
5215
|
HEAPU32[(((buf)+(64))>>2)] = (mtime % 1000) * 1000;
|
|
5313
|
-
(tempI64 = [Math.floor(ctime / 1000)>>>0,(tempDouble
|
|
5216
|
+
(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]);
|
|
5314
5217
|
HEAPU32[(((buf)+(80))>>2)] = (ctime % 1000) * 1000;
|
|
5315
|
-
(tempI64 = [stat.ino>>>0,(tempDouble
|
|
5218
|
+
(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]);
|
|
5316
5219
|
return 0;
|
|
5317
5220
|
},
|
|
5318
5221
|
doMsync(addr, stream, len, flags, offset) {
|
|
@@ -5453,7 +5356,7 @@ function dbg(text) {
|
|
|
5453
5356
|
if (isNaN(offset)) return 61;
|
|
5454
5357
|
var stream = SYSCALLS.getStreamFromFD(fd);
|
|
5455
5358
|
FS.llseek(stream, offset, whence);
|
|
5456
|
-
(tempI64 = [stream.position>>>0,(tempDouble
|
|
5359
|
+
(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]);
|
|
5457
5360
|
if (stream.getdents && offset === 0 && whence === 0) stream.getdents = null; // reset readdir state
|
|
5458
5361
|
return 0;
|
|
5459
5362
|
} catch (e) {
|
|
@@ -5493,7 +5396,9 @@ function dbg(text) {
|
|
|
5493
5396
|
}
|
|
5494
5397
|
}
|
|
5495
5398
|
|
|
5496
|
-
var isLeapYear = (year) =>
|
|
5399
|
+
var isLeapYear = (year) => {
|
|
5400
|
+
return year%4 === 0 && (year%100 !== 0 || year%400 === 0);
|
|
5401
|
+
};
|
|
5497
5402
|
|
|
5498
5403
|
var arraySum = (array, index) => {
|
|
5499
5404
|
var sum = 0;
|
|
@@ -5868,6 +5773,129 @@ UnboundTypeError = Module['UnboundTypeError'] = extendError(Error, 'UnboundTypeE
|
|
|
5868
5773
|
FS.FSNode = FSNode;
|
|
5869
5774
|
FS.createPreloadedFile = FS_createPreloadedFile;
|
|
5870
5775
|
FS.staticInit();;
|
|
5776
|
+
ERRNO_CODES = {
|
|
5777
|
+
'EPERM': 63,
|
|
5778
|
+
'ENOENT': 44,
|
|
5779
|
+
'ESRCH': 71,
|
|
5780
|
+
'EINTR': 27,
|
|
5781
|
+
'EIO': 29,
|
|
5782
|
+
'ENXIO': 60,
|
|
5783
|
+
'E2BIG': 1,
|
|
5784
|
+
'ENOEXEC': 45,
|
|
5785
|
+
'EBADF': 8,
|
|
5786
|
+
'ECHILD': 12,
|
|
5787
|
+
'EAGAIN': 6,
|
|
5788
|
+
'EWOULDBLOCK': 6,
|
|
5789
|
+
'ENOMEM': 48,
|
|
5790
|
+
'EACCES': 2,
|
|
5791
|
+
'EFAULT': 21,
|
|
5792
|
+
'ENOTBLK': 105,
|
|
5793
|
+
'EBUSY': 10,
|
|
5794
|
+
'EEXIST': 20,
|
|
5795
|
+
'EXDEV': 75,
|
|
5796
|
+
'ENODEV': 43,
|
|
5797
|
+
'ENOTDIR': 54,
|
|
5798
|
+
'EISDIR': 31,
|
|
5799
|
+
'EINVAL': 28,
|
|
5800
|
+
'ENFILE': 41,
|
|
5801
|
+
'EMFILE': 33,
|
|
5802
|
+
'ENOTTY': 59,
|
|
5803
|
+
'ETXTBSY': 74,
|
|
5804
|
+
'EFBIG': 22,
|
|
5805
|
+
'ENOSPC': 51,
|
|
5806
|
+
'ESPIPE': 70,
|
|
5807
|
+
'EROFS': 69,
|
|
5808
|
+
'EMLINK': 34,
|
|
5809
|
+
'EPIPE': 64,
|
|
5810
|
+
'EDOM': 18,
|
|
5811
|
+
'ERANGE': 68,
|
|
5812
|
+
'ENOMSG': 49,
|
|
5813
|
+
'EIDRM': 24,
|
|
5814
|
+
'ECHRNG': 106,
|
|
5815
|
+
'EL2NSYNC': 156,
|
|
5816
|
+
'EL3HLT': 107,
|
|
5817
|
+
'EL3RST': 108,
|
|
5818
|
+
'ELNRNG': 109,
|
|
5819
|
+
'EUNATCH': 110,
|
|
5820
|
+
'ENOCSI': 111,
|
|
5821
|
+
'EL2HLT': 112,
|
|
5822
|
+
'EDEADLK': 16,
|
|
5823
|
+
'ENOLCK': 46,
|
|
5824
|
+
'EBADE': 113,
|
|
5825
|
+
'EBADR': 114,
|
|
5826
|
+
'EXFULL': 115,
|
|
5827
|
+
'ENOANO': 104,
|
|
5828
|
+
'EBADRQC': 103,
|
|
5829
|
+
'EBADSLT': 102,
|
|
5830
|
+
'EDEADLOCK': 16,
|
|
5831
|
+
'EBFONT': 101,
|
|
5832
|
+
'ENOSTR': 100,
|
|
5833
|
+
'ENODATA': 116,
|
|
5834
|
+
'ETIME': 117,
|
|
5835
|
+
'ENOSR': 118,
|
|
5836
|
+
'ENONET': 119,
|
|
5837
|
+
'ENOPKG': 120,
|
|
5838
|
+
'EREMOTE': 121,
|
|
5839
|
+
'ENOLINK': 47,
|
|
5840
|
+
'EADV': 122,
|
|
5841
|
+
'ESRMNT': 123,
|
|
5842
|
+
'ECOMM': 124,
|
|
5843
|
+
'EPROTO': 65,
|
|
5844
|
+
'EMULTIHOP': 36,
|
|
5845
|
+
'EDOTDOT': 125,
|
|
5846
|
+
'EBADMSG': 9,
|
|
5847
|
+
'ENOTUNIQ': 126,
|
|
5848
|
+
'EBADFD': 127,
|
|
5849
|
+
'EREMCHG': 128,
|
|
5850
|
+
'ELIBACC': 129,
|
|
5851
|
+
'ELIBBAD': 130,
|
|
5852
|
+
'ELIBSCN': 131,
|
|
5853
|
+
'ELIBMAX': 132,
|
|
5854
|
+
'ELIBEXEC': 133,
|
|
5855
|
+
'ENOSYS': 52,
|
|
5856
|
+
'ENOTEMPTY': 55,
|
|
5857
|
+
'ENAMETOOLONG': 37,
|
|
5858
|
+
'ELOOP': 32,
|
|
5859
|
+
'EOPNOTSUPP': 138,
|
|
5860
|
+
'EPFNOSUPPORT': 139,
|
|
5861
|
+
'ECONNRESET': 15,
|
|
5862
|
+
'ENOBUFS': 42,
|
|
5863
|
+
'EAFNOSUPPORT': 5,
|
|
5864
|
+
'EPROTOTYPE': 67,
|
|
5865
|
+
'ENOTSOCK': 57,
|
|
5866
|
+
'ENOPROTOOPT': 50,
|
|
5867
|
+
'ESHUTDOWN': 140,
|
|
5868
|
+
'ECONNREFUSED': 14,
|
|
5869
|
+
'EADDRINUSE': 3,
|
|
5870
|
+
'ECONNABORTED': 13,
|
|
5871
|
+
'ENETUNREACH': 40,
|
|
5872
|
+
'ENETDOWN': 38,
|
|
5873
|
+
'ETIMEDOUT': 73,
|
|
5874
|
+
'EHOSTDOWN': 142,
|
|
5875
|
+
'EHOSTUNREACH': 23,
|
|
5876
|
+
'EINPROGRESS': 26,
|
|
5877
|
+
'EALREADY': 7,
|
|
5878
|
+
'EDESTADDRREQ': 17,
|
|
5879
|
+
'EMSGSIZE': 35,
|
|
5880
|
+
'EPROTONOSUPPORT': 66,
|
|
5881
|
+
'ESOCKTNOSUPPORT': 137,
|
|
5882
|
+
'EADDRNOTAVAIL': 4,
|
|
5883
|
+
'ENETRESET': 39,
|
|
5884
|
+
'EISCONN': 30,
|
|
5885
|
+
'ENOTCONN': 53,
|
|
5886
|
+
'ETOOMANYREFS': 141,
|
|
5887
|
+
'EUSERS': 136,
|
|
5888
|
+
'EDQUOT': 19,
|
|
5889
|
+
'ESTALE': 72,
|
|
5890
|
+
'ENOTSUP': 138,
|
|
5891
|
+
'ENOMEDIUM': 148,
|
|
5892
|
+
'EILSEQ': 25,
|
|
5893
|
+
'EOVERFLOW': 61,
|
|
5894
|
+
'ECANCELED': 11,
|
|
5895
|
+
'ENOTRECOVERABLE': 56,
|
|
5896
|
+
'EOWNERDEAD': 62,
|
|
5897
|
+
'ESTRPIPE': 135,
|
|
5898
|
+
};;
|
|
5871
5899
|
function checkIncomingModuleAPI() {
|
|
5872
5900
|
ignoredModuleProp('fetchSettings');
|
|
5873
5901
|
}
|
|
@@ -5952,6 +5980,7 @@ var _main = Module['_main'] = createExportWrapper('main');
|
|
|
5952
5980
|
var _free = createExportWrapper('free');
|
|
5953
5981
|
var ___errno_location = createExportWrapper('__errno_location');
|
|
5954
5982
|
var ___getTypeName = createExportWrapper('__getTypeName');
|
|
5983
|
+
var __embind_initialize_bindings = Module['__embind_initialize_bindings'] = createExportWrapper('_embind_initialize_bindings');
|
|
5955
5984
|
var _fflush = Module['_fflush'] = createExportWrapper('fflush');
|
|
5956
5985
|
var _setThrew = createExportWrapper('setThrew');
|
|
5957
5986
|
var _emscripten_stack_init = () => (_emscripten_stack_init = wasmExports['emscripten_stack_init'])();
|
|
@@ -6218,11 +6247,8 @@ var missingLibrarySymbols = [
|
|
|
6218
6247
|
'downcastPointer',
|
|
6219
6248
|
'upcastPointer',
|
|
6220
6249
|
'validateThis',
|
|
6221
|
-
'
|
|
6222
|
-
'char_9',
|
|
6223
|
-
'makeLegalFunctionName',
|
|
6250
|
+
'craftEmvalAllocator',
|
|
6224
6251
|
'emval_get_global',
|
|
6225
|
-
'emval_returnValue',
|
|
6226
6252
|
'emval_lookupTypes',
|
|
6227
6253
|
'emval_addMethodCaller',
|
|
6228
6254
|
];
|
|
@@ -6403,14 +6429,17 @@ var unexportedSymbols = [
|
|
|
6403
6429
|
'detachFinalizer_deps',
|
|
6404
6430
|
'deletionQueue',
|
|
6405
6431
|
'delayFunction',
|
|
6432
|
+
'char_0',
|
|
6433
|
+
'char_9',
|
|
6434
|
+
'makeLegalFunctionName',
|
|
6406
6435
|
'emval_handles',
|
|
6407
6436
|
'emval_symbols',
|
|
6408
6437
|
'init_emval',
|
|
6409
6438
|
'count_emval_handles',
|
|
6410
6439
|
'getStringOrSymbol',
|
|
6411
6440
|
'Emval',
|
|
6441
|
+
'emval_newers',
|
|
6412
6442
|
'emval_methodCallers',
|
|
6413
|
-
'reflectConstruct',
|
|
6414
6443
|
];
|
|
6415
6444
|
unexportedSymbols.forEach(unexportedRuntimeSymbol);
|
|
6416
6445
|
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monogrid/gainmap-js",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "A Javascript (TypeScript) Port of Adobe Gainmap Technology for storing HDR Images using an SDR Image + a gain map",
|
|
5
5
|
"homepage": "https://github.com/MONOGRID/gainmap-js#readme",
|
|
6
6
|
"repository": {
|