@fluffylabs/anan-as 1.2.0-9723cd9 → 1.2.0-9f08a39
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/bin/index.js +136 -4
- package/dist/bin/src/trace-parse.js +1 -0
- package/dist/bin/src/trace-replay.js +6 -5
- package/dist/bin/src/tracer.js +16 -13
- package/dist/bin/src/utils.js +2 -2
- package/dist/build/compiler-inline.js +1 -1
- package/dist/build/compiler.d.ts +15 -0
- package/dist/build/compiler.js +17 -1
- package/dist/build/compiler.wasm +0 -0
- package/dist/build/debug-inline.js +1 -1
- package/dist/build/debug-raw-inline.js +1 -1
- package/dist/build/debug-raw.wasm +0 -0
- package/dist/build/debug.wasm +0 -0
- package/dist/build/js/portable/bootstrap.js +1 -0
- package/dist/build/js/portable-bundle.js +5 -4
- package/dist/build/release-inline.js +1 -1
- package/dist/build/release.wasm +0 -0
- package/dist/build/test-inline.js +1 -1
- package/dist/build/test.wasm +0 -0
- package/dist/test/test-trace-format.js +166 -0
- package/package.json +5 -5
|
Binary file
|
package/dist/build/debug.wasm
CHANGED
|
Binary file
|
|
@@ -376,7 +376,8 @@ if (typeof globalScope.ASC_TARGET === "undefined") {
|
|
|
376
376
|
}, defaultComparator = function(a, b) {
|
|
377
377
|
if (a == b) {
|
|
378
378
|
if (a != 0) return 0;
|
|
379
|
-
a = 1 / a
|
|
379
|
+
a = 1 / a;
|
|
380
|
+
b = 1 / b;
|
|
380
381
|
} else {
|
|
381
382
|
let nanA = a != a, nanB = b != b;
|
|
382
383
|
if (nanA | nanB) return nanA - nanB;
|
|
@@ -622,9 +623,9 @@ if (typeof globalScope.ASC_TARGET === "undefined") {
|
|
|
622
623
|
}
|
|
623
624
|
if (!String.prototype.replaceAll) {
|
|
624
625
|
Object.defineProperty(String.prototype, "replaceAll", {
|
|
625
|
-
value: function replaceAll(search,
|
|
626
|
-
let res = this.split(search).join(
|
|
627
|
-
if (!search.length) res =
|
|
626
|
+
value: function replaceAll(search, replacement) {
|
|
627
|
+
let res = this.split(search).join(replacement);
|
|
628
|
+
if (!search.length) res = replacement + res + replacement;
|
|
628
629
|
return res;
|
|
629
630
|
},
|
|
630
631
|
configurable: true
|