reg-cli 0.19.0-rc2 → 0.19.0-rc3
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/reg.wasm +0 -0
- package/dist/runner.cjs +2093 -8
- package/dist/runner.mjs +2092 -7
- package/dist/wasm-memory.cjs +12 -0
- package/dist/wasm-memory.d.cts +5 -0
- package/dist/wasm-memory.d.mts +5 -0
- package/dist/wasm-memory.mjs +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region src/wasm-memory.ts
|
|
3
|
+
const WASM32_MAX_MEMORY_PAGES = 65536;
|
|
4
|
+
const createSharedWasmMemory = () => new WebAssembly.Memory({
|
|
5
|
+
initial: 256,
|
|
6
|
+
maximum: WASM32_MAX_MEMORY_PAGES,
|
|
7
|
+
shared: true
|
|
8
|
+
});
|
|
9
|
+
const toUnsignedWasmPointer = (pointer) => pointer >>> 0;
|
|
10
|
+
//#endregion
|
|
11
|
+
exports.createSharedWasmMemory = createSharedWasmMemory;
|
|
12
|
+
exports.toUnsignedWasmPointer = toUnsignedWasmPointer;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/wasm-memory.ts
|
|
2
|
+
const WASM32_MAX_MEMORY_PAGES = 65536;
|
|
3
|
+
const createSharedWasmMemory = () => new WebAssembly.Memory({
|
|
4
|
+
initial: 256,
|
|
5
|
+
maximum: WASM32_MAX_MEMORY_PAGES,
|
|
6
|
+
shared: true
|
|
7
|
+
});
|
|
8
|
+
const toUnsignedWasmPointer = (pointer) => pointer >>> 0;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { createSharedWasmMemory, toUnsignedWasmPointer };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reg-cli",
|
|
3
|
-
"version": "0.19.0-
|
|
3
|
+
"version": "0.19.0-rc3",
|
|
4
4
|
"description": "Visual regression testing CLI, Wasm-backed. Drop-in compatible with classic reg-cli's CLI flags, reg.json/junit schema, and `compare()` EventEmitter API (verified against reg-suit's processor.ts).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|