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

@automerge/automerge-wasm

Package Overview
Dependencies
Maintainers
4
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@automerge/automerge-wasm - npm Package Compare versions

Comparing version 0.1.22 to 0.1.23

48

bundler/automerge_wasm_bg.js
import * as wasm from './automerge_wasm_bg.wasm';
const heap = new Array(32).fill(undefined);
heap.push(undefined, null, true, false);
function getObject(idx) { return heap[idx]; }
let heap_next = heap.length;
function dropObject(idx) {
if (idx < 36) return;
heap[idx] = heap_next;
heap_next = idx;
}
function takeObject(idx) {
const ret = getObject(idx);
dropObject(idx);
return ret;
}
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;

@@ -42,2 +22,8 @@

const heap = new Array(32).fill(undefined);
heap.push(undefined, null, true, false);
let heap_next = heap.length;
function addHeapObject(obj) {

@@ -52,2 +38,16 @@ if (heap_next === heap.length) heap.push(heap.length + 1);

function getObject(idx) { return heap[idx]; }
function dropObject(idx) {
if (idx < 36) return;
heap[idx] = heap_next;
heap_next = idx;
}
function takeObject(idx) {
const ret = getObject(idx);
dropObject(idx);
return ret;
}
let WASM_VECTOR_LEN = 0;

@@ -1268,6 +1268,2 @@

export function __wbindgen_object_drop_ref(arg0) {
takeObject(arg0);
};
export function __wbindgen_string_new(arg0, arg1) {

@@ -1278,2 +1274,6 @@ const ret = getStringFromWasm0(arg0, arg1);

export function __wbindgen_object_drop_ref(arg0) {
takeObject(arg0);
};
export function __wbindgen_object_clone_ref(arg0) {

@@ -1280,0 +1280,0 @@ const ret = getObject(arg0);

const heap = new Array(32).fill(undefined);
heap.push(undefined, null, true, false);
function getObject(idx) { return heap[idx]; }
let heap_next = heap.length;
function dropObject(idx) {
if (idx < 36) return;
heap[idx] = heap_next;
heap_next = idx;
}
function takeObject(idx) {
const ret = getObject(idx);
dropObject(idx);
return ret;
}
const cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });

@@ -40,2 +20,8 @@

const heap = new Array(32).fill(undefined);
heap.push(undefined, null, true, false);
let heap_next = heap.length;
function addHeapObject(obj) {

@@ -50,2 +36,16 @@ if (heap_next === heap.length) heap.push(heap.length + 1);

function getObject(idx) { return heap[idx]; }
function dropObject(idx) {
if (idx < 36) return;
heap[idx] = heap_next;
heap_next = idx;
}
function takeObject(idx) {
const ret = getObject(idx);
dropObject(idx);
return ret;
}
let WASM_VECTOR_LEN = 0;

@@ -1257,5 +1257,2 @@

__wbindgen_placeholder__: {
__wbindgen_object_drop_ref: function(arg0) {
takeObject(arg0);
},
__wbindgen_string_new: function(arg0, arg1) {

@@ -1265,2 +1262,5 @@ const ret = getStringFromWasm0(arg0, arg1);

},
__wbindgen_object_drop_ref: function(arg0) {
takeObject(arg0);
},
__wbindgen_object_clone_ref: function(arg0) {

@@ -1267,0 +1267,0 @@ const ret = getObject(arg0);

@@ -97,3 +97,3 @@ export type Actor = string;

export type Patch = PutPatch | DelPatch | SplicePatch | IncPatch;
export type Patch = PutPatch | DelPatch | SpliceTextPatch | IncPatch | InsertPatch;

@@ -119,5 +119,11 @@ export type PutPatch = {

export type SplicePatch = {
export type SpliceTextPatch = {
action: 'splice'
path: Prop[],
value: string,
}
export type InsertPatch = {
action: 'insert'
path: Prop[],
values: Value[],

@@ -124,0 +130,0 @@ }

@@ -6,22 +6,2 @@ let imports = {};

const heap = new Array(32).fill(undefined);
heap.push(undefined, null, true, false);
function getObject(idx) { return heap[idx]; }
let heap_next = heap.length;
function dropObject(idx) {
if (idx < 36) return;
heap[idx] = heap_next;
heap_next = idx;
}
function takeObject(idx) {
const ret = getObject(idx);
dropObject(idx);
return ret;
}
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });

@@ -44,2 +24,8 @@

const heap = new Array(32).fill(undefined);
heap.push(undefined, null, true, false);
let heap_next = heap.length;
function addHeapObject(obj) {

@@ -54,2 +40,16 @@ if (heap_next === heap.length) heap.push(heap.length + 1);

function getObject(idx) { return heap[idx]; }
function dropObject(idx) {
if (idx < 36) return;
heap[idx] = heap_next;
heap_next = idx;
}
function takeObject(idx) {
const ret = getObject(idx);
dropObject(idx);
return ret;
}
let WASM_VECTOR_LEN = 0;

@@ -1270,6 +1270,2 @@

module.exports.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
module.exports.__wbindgen_string_new = function(arg0, arg1) {

@@ -1280,2 +1276,6 @@ const ret = getStringFromWasm0(arg0, arg1);

module.exports.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
module.exports.__wbindgen_object_clone_ref = function(arg0) {

@@ -1282,0 +1282,0 @@ const ret = getObject(arg0);

@@ -11,3 +11,3 @@ {

"repository": "github:automerge/automerge-rs",
"version": "0.1.22",
"version": "0.1.23",
"license": "MIT",

@@ -14,0 +14,0 @@ "files": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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