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 2022.0.46 to 2022.0.49

20

advent_of_code_wasm.js

@@ -6,3 +6,3 @@ let imports = {};

const heap = new Array(32).fill(undefined);
const heap = new Array(128).fill(undefined);

@@ -15,6 +15,6 @@ heap.push(undefined, null, true, false);

let cachedUint8Memory0 = new Uint8Array();
let cachedUint8Memory0 = null;
function getUint8Memory0() {
if (cachedUint8Memory0.byteLength === 0) {
if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);

@@ -82,6 +82,6 @@ }

let cachedInt32Memory0 = new Int32Array();
let cachedInt32Memory0 = null;
function getInt32Memory0() {
if (cachedInt32Memory0.byteLength === 0) {
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);

@@ -92,6 +92,6 @@ }

let cachedFloat64Memory0 = new Float64Array();
let cachedFloat64Memory0 = null;
function getFloat64Memory0() {
if (cachedFloat64Memory0.byteLength === 0) {
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);

@@ -110,3 +110,3 @@ }

let stack_pointer = 32;
let stack_pointer = 128;

@@ -122,3 +122,3 @@ function addBorrowedObject(obj) {

function dropObject(idx) {
if (idx < 36) return;
if (idx < 132) return;
heap[idx] = heap_next;

@@ -191,3 +191,3 @@ heap_next = idx;

module.exports.__wbg_new_8d2af00bc1e329ee = function(arg0, arg1) {
module.exports.__wbg_new_15d3966e9981a196 = function(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));

@@ -194,0 +194,0 @@ return addHeapObject(ret);

@@ -10,3 +10,3 @@ {

"description": "Solutions to Advent of Code written in Rust",
"version": "2022.0.46",
"version": "2022.0.49",
"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