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

balena-temen

Package Overview
Dependencies
Maintainers
5
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

balena-temen - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4-test-pr-89b2ecab1d5ee804789dbbd4355727c28f9a0ec1

127

balena_temen_main.js

@@ -1,2 +0,1 @@

/* tslint:disable */
var wasm;

@@ -43,7 +42,7 @@

module.exports.__wbg_getTime_ad2f4262ea1c8451 = function(arg0) {
module.exports.__wbg_getTime_ece6079ef900687a = function(arg0) {
return getObject(arg0).getTime();
};
module.exports.__wbg_new0_caf7c3acb88b5964 = function() {
module.exports.__wbg_new0_7a2568f251003178 = function() {
return addHeapObject(new Date());

@@ -68,3 +67,3 @@ };

module.exports.__wbg_error_cc95a3d302735ca3 = function(arg0, arg1) {
module.exports.__wbg_error_4bb6c2a97407129a = function(arg0, arg1) {
let varg0 = getStringFromWasm(arg0, arg1);

@@ -78,3 +77,63 @@

module.exports.__wbg_new_baf10398b0d0c64d = function(arg0, arg1) {
module.exports.__wbg_new_59cb74e423758ede = function() {
return addHeapObject(new Error());
};
const TextEncoder = require('util').TextEncoder;
let cachedTextEncoder = new TextEncoder('utf-8');
let WASM_VECTOR_LEN = 0;
let passStringToWasm;
if (typeof cachedTextEncoder.encodeInto === 'function') {
passStringToWasm = function(arg) {
let size = arg.length;
let ptr = wasm.__wbindgen_malloc(size);
let writeOffset = 0;
while (true) {
const view = getUint8Memory().subarray(ptr + writeOffset, ptr + size);
const { read, written } = cachedTextEncoder.encodeInto(arg, view);
arg = arg.substring(read);
writeOffset += written;
if (arg.length === 0) {
break;
}
ptr = wasm.__wbindgen_realloc(ptr, size, size * 2);
size *= 2;
}
WASM_VECTOR_LEN = writeOffset;
return ptr;
};
} else {
passStringToWasm = function(arg) {
const buf = cachedTextEncoder.encode(arg);
const ptr = wasm.__wbindgen_malloc(buf.length);
getUint8Memory().set(buf, ptr);
WASM_VECTOR_LEN = buf.length;
return ptr;
};
}
let cachegetUint32Memory = null;
function getUint32Memory() {
if (cachegetUint32Memory === null || cachegetUint32Memory.buffer !== wasm.memory.buffer) {
cachegetUint32Memory = new Uint32Array(wasm.memory.buffer);
}
return cachegetUint32Memory;
}
module.exports.__wbg_stack_558ba5917b466edd = function(ret, arg0) {
const retptr = passStringToWasm(getObject(arg0).stack);
const retlen = WASM_VECTOR_LEN;
const mem = getUint32Memory();
mem[ret / 4] = retptr;
mem[ret / 4 + 1] = retlen;
};
module.exports.__wbg_new_c485e81233f857dc = function(arg0, arg1) {
let varg0 = getStringFromWasm(arg0, arg1);

@@ -84,15 +143,15 @@ return addHeapObject(new Function(varg0));

module.exports.__wbg_call_173f04c850a68d5f = function(arg0, arg1) {
module.exports.__wbg_call_5dd2903e2041df91 = function(arg0, arg1) {
return addHeapObject(getObject(arg0).call(getObject(arg1)));
};
module.exports.__wbg_self_58232ab37cbe6608 = function(arg0) {
module.exports.__wbg_self_593d5fcdf47729c1 = function(arg0) {
return addHeapObject(getObject(arg0).self);
};
module.exports.__wbg_crypto_329b714d7e7d321d = function(arg0) {
module.exports.__wbg_crypto_0255f439f7c7cf2e = function(arg0) {
return addHeapObject(getObject(arg0).crypto);
};
module.exports.__wbg_getRandomValues_2f960218fce3a102 = function(arg0) {
module.exports.__wbg_getRandomValues_00289894188ac3d8 = function(arg0) {
return addHeapObject(getObject(arg0).getRandomValues);

@@ -105,3 +164,3 @@ };

module.exports.__wbg_getRandomValues_5581e85fc6616df6 = function(arg0, arg1, arg2) {
module.exports.__wbg_getRandomValues_957b4e930554e3a0 = function(arg0, arg1, arg2) {
let varg1 = getArrayU8FromWasm(arg1, arg2);

@@ -111,3 +170,3 @@ getObject(arg0).getRandomValues(varg1);

module.exports.__wbg_require_4a70cbfd3adc73a8 = function(arg0, arg1) {
module.exports.__wbg_require_1d9cd4e0b19bc7a1 = function(arg0, arg1) {
let varg0 = getStringFromWasm(arg0, arg1);

@@ -117,3 +176,3 @@ return addHeapObject(require(varg0));

module.exports.__wbg_randomFillSync_355c3fcfa754fa4e = function(arg0, arg1, arg2) {
module.exports.__wbg_randomFillSync_516d812ff22b7f58 = function(arg0, arg1, arg2) {
let varg1 = getArrayU8FromWasm(arg1, arg2);

@@ -123,39 +182,8 @@ getObject(arg0).randomFillSync(varg1);

module.exports.__wbindgen_object_drop_ref = function(i) { dropObject(i); };
module.exports.__wbindgen_string_new = function(p, l) { return addHeapObject(getStringFromWasm(p, l)); };
module.exports.__wbindgen_string_new = function(p, l) {
return addHeapObject(getStringFromWasm(p, l));
};
module.exports.__wbindgen_is_undefined = function(i) { return getObject(i) === undefined ? 1 : 0; };
module.exports.__wbindgen_is_undefined = function(idx) {
return getObject(idx) === undefined ? 1 : 0;
};
module.exports.__wbindgen_json_parse = function(ptr, len) { return addHeapObject(JSON.parse(getStringFromWasm(ptr, len))); };
module.exports.__wbindgen_json_parse = function(ptr, len) {
return addHeapObject(JSON.parse(getStringFromWasm(ptr, len)));
};
const TextEncoder = require('util').TextEncoder;
let cachedTextEncoder = new TextEncoder('utf-8');
let WASM_VECTOR_LEN = 0;
function passStringToWasm(arg) {
const buf = cachedTextEncoder.encode(arg);
const ptr = wasm.__wbindgen_malloc(buf.length);
getUint8Memory().set(buf, ptr);
WASM_VECTOR_LEN = buf.length;
return ptr;
}
let cachegetUint32Memory = null;
function getUint32Memory() {
if (cachegetUint32Memory === null || cachegetUint32Memory.buffer !== wasm.memory.buffer) {
cachegetUint32Memory = new Uint32Array(wasm.memory.buffer);
}
return cachegetUint32Memory;
}
module.exports.__wbindgen_json_serialize = function(idx, ptrptr) {

@@ -167,5 +195,3 @@ const ptr = passStringToWasm(JSON.stringify(getObject(idx)));

module.exports.__wbindgen_jsval_eq = function(a, b) {
return getObject(a) === getObject(b) ? 1 : 0;
};
module.exports.__wbindgen_jsval_eq = function(a, b) { return getObject(a) === getObject(b) ? 1 : 0; };

@@ -178,2 +204,5 @@ module.exports.__wbindgen_rethrow = function(idx) { throw takeObject(idx); };

module.exports.__wbindgen_object_drop_ref = function(i) { dropObject(i); };
wasm = require('./balena_temen_wasm');
/* tslint:disable */
/**
* Evaluates the whole JSON
* @param {any} arg0
* @returns {any}
*/
export function evaluate(arg0: any): any;

@@ -1,2 +0,1 @@

/* tslint:disable */
import * as wasm from './balena_temen_bg';

@@ -43,7 +42,7 @@

export function __wbg_getTime_ad2f4262ea1c8451(arg0) {
export function __wbg_getTime_ece6079ef900687a(arg0) {
return getObject(arg0).getTime();
}
export function __wbg_new0_caf7c3acb88b5964() {
export function __wbg_new0_7a2568f251003178() {
return addHeapObject(new Date());

@@ -66,3 +65,3 @@ }

export function __wbg_error_cc95a3d302735ca3(arg0, arg1) {
export function __wbg_error_4bb6c2a97407129a(arg0, arg1) {
let varg0 = getStringFromWasm(arg0, arg1);

@@ -76,3 +75,61 @@

export function __wbg_new_baf10398b0d0c64d(arg0, arg1) {
export function __wbg_new_59cb74e423758ede() {
return addHeapObject(new Error());
}
let cachedTextEncoder = new TextEncoder('utf-8');
let WASM_VECTOR_LEN = 0;
let passStringToWasm;
if (typeof cachedTextEncoder.encodeInto === 'function') {
passStringToWasm = function(arg) {
let size = arg.length;
let ptr = wasm.__wbindgen_malloc(size);
let writeOffset = 0;
while (true) {
const view = getUint8Memory().subarray(ptr + writeOffset, ptr + size);
const { read, written } = cachedTextEncoder.encodeInto(arg, view);
arg = arg.substring(read);
writeOffset += written;
if (arg.length === 0) {
break;
}
ptr = wasm.__wbindgen_realloc(ptr, size, size * 2);
size *= 2;
}
WASM_VECTOR_LEN = writeOffset;
return ptr;
};
} else {
passStringToWasm = function(arg) {
const buf = cachedTextEncoder.encode(arg);
const ptr = wasm.__wbindgen_malloc(buf.length);
getUint8Memory().set(buf, ptr);
WASM_VECTOR_LEN = buf.length;
return ptr;
};
}
let cachegetUint32Memory = null;
function getUint32Memory() {
if (cachegetUint32Memory === null || cachegetUint32Memory.buffer !== wasm.memory.buffer) {
cachegetUint32Memory = new Uint32Array(wasm.memory.buffer);
}
return cachegetUint32Memory;
}
export function __wbg_stack_558ba5917b466edd(ret, arg0) {
const retptr = passStringToWasm(getObject(arg0).stack);
const retlen = WASM_VECTOR_LEN;
const mem = getUint32Memory();
mem[ret / 4] = retptr;
mem[ret / 4 + 1] = retlen;
}
export function __wbg_new_c485e81233f857dc(arg0, arg1) {
let varg0 = getStringFromWasm(arg0, arg1);

@@ -82,15 +139,15 @@ return addHeapObject(new Function(varg0));

export function __wbg_call_173f04c850a68d5f(arg0, arg1) {
export function __wbg_call_5dd2903e2041df91(arg0, arg1) {
return addHeapObject(getObject(arg0).call(getObject(arg1)));
}
export function __wbg_self_58232ab37cbe6608(arg0) {
export function __wbg_self_593d5fcdf47729c1(arg0) {
return addHeapObject(getObject(arg0).self);
}
export function __wbg_crypto_329b714d7e7d321d(arg0) {
export function __wbg_crypto_0255f439f7c7cf2e(arg0) {
return addHeapObject(getObject(arg0).crypto);
}
export function __wbg_getRandomValues_2f960218fce3a102(arg0) {
export function __wbg_getRandomValues_00289894188ac3d8(arg0) {
return addHeapObject(getObject(arg0).getRandomValues);

@@ -103,3 +160,3 @@ }

export function __wbg_getRandomValues_5581e85fc6616df6(arg0, arg1, arg2) {
export function __wbg_getRandomValues_957b4e930554e3a0(arg0, arg1, arg2) {
let varg1 = getArrayU8FromWasm(arg1, arg2);

@@ -109,3 +166,3 @@ getObject(arg0).getRandomValues(varg1);

export function __wbg_require_4a70cbfd3adc73a8(arg0, arg1) {
export function __wbg_require_1d9cd4e0b19bc7a1(arg0, arg1) {
let varg0 = getStringFromWasm(arg0, arg1);

@@ -115,3 +172,3 @@ return addHeapObject(require(varg0));

export function __wbg_randomFillSync_355c3fcfa754fa4e(arg0, arg1, arg2) {
export function __wbg_randomFillSync_516d812ff22b7f58(arg0, arg1, arg2) {
let varg1 = getArrayU8FromWasm(arg1, arg2);

@@ -121,37 +178,8 @@ getObject(arg0).randomFillSync(varg1);

export function __wbindgen_object_drop_ref(i) { dropObject(i); }
export function __wbindgen_string_new(p, l) { return addHeapObject(getStringFromWasm(p, l)); }
export function __wbindgen_string_new(p, l) {
return addHeapObject(getStringFromWasm(p, l));
}
export function __wbindgen_is_undefined(i) { return getObject(i) === undefined ? 1 : 0; }
export function __wbindgen_is_undefined(idx) {
return getObject(idx) === undefined ? 1 : 0;
}
export function __wbindgen_json_parse(ptr, len) { return addHeapObject(JSON.parse(getStringFromWasm(ptr, len))); }
export function __wbindgen_json_parse(ptr, len) {
return addHeapObject(JSON.parse(getStringFromWasm(ptr, len)));
}
let cachedTextEncoder = new TextEncoder('utf-8');
let WASM_VECTOR_LEN = 0;
function passStringToWasm(arg) {
const buf = cachedTextEncoder.encode(arg);
const ptr = wasm.__wbindgen_malloc(buf.length);
getUint8Memory().set(buf, ptr);
WASM_VECTOR_LEN = buf.length;
return ptr;
}
let cachegetUint32Memory = null;
function getUint32Memory() {
if (cachegetUint32Memory === null || cachegetUint32Memory.buffer !== wasm.memory.buffer) {
cachegetUint32Memory = new Uint32Array(wasm.memory.buffer);
}
return cachegetUint32Memory;
}
export function __wbindgen_json_serialize(idx, ptrptr) {

@@ -163,5 +191,3 @@ const ptr = passStringToWasm(JSON.stringify(getObject(idx)));

export function __wbindgen_jsval_eq(a, b) {
return getObject(a) === getObject(b) ? 1 : 0;
}
export function __wbindgen_jsval_eq(a, b) { return getObject(a) === getObject(b) ? 1 : 0; }

@@ -174,1 +200,3 @@ export function __wbindgen_rethrow(idx) { throw takeObject(idx); }

export function __wbindgen_object_drop_ref(i) { dropObject(i); }

@@ -8,3 +8,3 @@ {

"description": "Templating engine for (not just) JSON",
"version": "0.5.3",
"version": "0.5.4-test-pr-89b2ecab1d5ee804789dbbd4355727c28f9a0ec1",
"license": "Apache-2.0",

@@ -11,0 +11,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