advent-of-code-wasm
Advanced tools
Comparing version 0.20.0 to 0.21.0
@@ -42,3 +42,3 @@ let imports = {}; | ||
const buf = cachedTextEncoder.encode(arg); | ||
const ptr = malloc(buf.length) >>> 0; | ||
const ptr = malloc(buf.length, 1) >>> 0; | ||
getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf); | ||
@@ -50,3 +50,3 @@ WASM_VECTOR_LEN = buf.length; | ||
let len = arg.length; | ||
let ptr = malloc(len) >>> 0; | ||
let ptr = malloc(len, 1) >>> 0; | ||
@@ -67,3 +67,3 @@ const mem = getUint8Memory0(); | ||
} | ||
ptr = realloc(ptr, len, len = offset + arg.length * 3) >>> 0; | ||
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; | ||
const view = getUint8Memory0().subarray(ptr + offset, ptr + len); | ||
@@ -164,3 +164,3 @@ const ret = encodeString(arg, view); | ||
heap[stack_pointer++] = undefined; | ||
wasm.__wbindgen_free(deferred3_0, deferred3_1); | ||
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1); | ||
} | ||
@@ -194,3 +194,3 @@ }; | ||
module.exports.__wbg_new_87297f22973157c8 = function(arg0, arg1) { | ||
module.exports.__wbg_new_ab87fd305ed9004b = function(arg0, arg1) { | ||
const ret = new Error(getStringFromWasm0(arg0, arg1)); | ||
@@ -197,0 +197,0 @@ return addHeapObject(ret); |
@@ -10,3 +10,3 @@ { | ||
"description": "Solutions to Advent of Code written in Rust", | ||
"version": "0.20.0", | ||
"version": "0.21.0", | ||
"license": "MIT", | ||
@@ -13,0 +13,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1081099