Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

advent-of-code-wasm

Package Overview
Dependencies
Maintainers
1
Versions
482
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

advent-of-code-wasm - npm Package Compare versions

Comparing version 0.20.0 to 0.21.0

10

advent_of_code_wasm.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc