balena-cdsl
Advanced tools
Comparing version 0.8.0 to 0.9.0
@@ -43,19 +43,2 @@ /* tslint:disable */ | ||
/** | ||
* Evaluates the whole JSON | ||
* @param {any} arg0 | ||
* @returns {any} | ||
*/ | ||
module.exports.evaluate = function(arg0) { | ||
return takeObject(wasm.evaluate(addHeapObject(arg0))); | ||
}; | ||
module.exports.__wbg_getTime_ad2f4262ea1c8451 = function(arg0) { | ||
return getObject(arg0).getTime(); | ||
}; | ||
module.exports.__wbg_new0_caf7c3acb88b5964 = function() { | ||
return addHeapObject(new Date()); | ||
}; | ||
const TextDecoder = require('util').TextDecoder; | ||
@@ -86,42 +69,2 @@ | ||
module.exports.__wbg_new_baf10398b0d0c64d = function(arg0, arg1) { | ||
let varg0 = getStringFromWasm(arg0, arg1); | ||
return addHeapObject(new Function(varg0)); | ||
}; | ||
module.exports.__wbg_call_173f04c850a68d5f = function(arg0, arg1) { | ||
return addHeapObject(getObject(arg0).call(getObject(arg1))); | ||
}; | ||
module.exports.__wbg_self_58232ab37cbe6608 = function(arg0) { | ||
return addHeapObject(getObject(arg0).self); | ||
}; | ||
module.exports.__wbg_crypto_329b714d7e7d321d = function(arg0) { | ||
return addHeapObject(getObject(arg0).crypto); | ||
}; | ||
module.exports.__wbg_getRandomValues_2f960218fce3a102 = function(arg0) { | ||
return addHeapObject(getObject(arg0).getRandomValues); | ||
}; | ||
function getArrayU8FromWasm(ptr, len) { | ||
return getUint8Memory().subarray(ptr / 1, ptr / 1 + len); | ||
} | ||
module.exports.__wbg_getRandomValues_5581e85fc6616df6 = function(arg0, arg1, arg2) { | ||
let varg1 = getArrayU8FromWasm(arg1, arg2); | ||
getObject(arg0).getRandomValues(varg1); | ||
}; | ||
module.exports.__wbg_require_4a70cbfd3adc73a8 = function(arg0, arg1) { | ||
let varg0 = getStringFromWasm(arg0, arg1); | ||
return addHeapObject(require(varg0)); | ||
}; | ||
module.exports.__wbg_randomFillSync_355c3fcfa754fa4e = function(arg0, arg1, arg2) { | ||
let varg1 = getArrayU8FromWasm(arg1, arg2); | ||
getObject(arg0).randomFillSync(varg1); | ||
}; | ||
module.exports.__wbindgen_object_drop_ref = function(i) { dropObject(i); }; | ||
@@ -133,6 +76,2 @@ | ||
module.exports.__wbindgen_is_undefined = function(idx) { | ||
return getObject(idx) === undefined ? 1 : 0; | ||
}; | ||
const TextEncoder = require('util').TextEncoder; | ||
@@ -173,18 +112,4 @@ | ||
module.exports.__wbindgen_json_serialize = function(idx, ptrptr) { | ||
const ptr = passStringToWasm(JSON.stringify(getObject(idx))); | ||
getUint32Memory()[ptrptr / 4] = ptr; | ||
return WASM_VECTOR_LEN; | ||
}; | ||
module.exports.__wbindgen_jsval_eq = function(a, b) { | ||
return getObject(a) === getObject(b) ? 1 : 0; | ||
}; | ||
module.exports.__wbindgen_rethrow = function(idx) { throw takeObject(idx); }; | ||
module.exports.__wbindgen_throw = function(ptr, len) { | ||
throw new Error(getStringFromWasm(ptr, len)); | ||
}; | ||
wasm = require('./balena_cdsl_bg'); |
/* tslint:disable */ | ||
export function generate_ui(arg0: any): any; | ||
export function evaluate(arg0: any): any; | ||
@@ -43,19 +43,2 @@ /* tslint:disable */ | ||
/** | ||
* Evaluates the whole JSON | ||
* @param {any} arg0 | ||
* @returns {any} | ||
*/ | ||
export function evaluate(arg0) { | ||
return takeObject(wasm.evaluate(addHeapObject(arg0))); | ||
} | ||
export function __wbg_getTime_ad2f4262ea1c8451(arg0) { | ||
return getObject(arg0).getTime(); | ||
} | ||
export function __wbg_new0_caf7c3acb88b5964() { | ||
return addHeapObject(new Date()); | ||
} | ||
let cachedTextDecoder = new TextDecoder('utf-8'); | ||
@@ -84,42 +67,2 @@ | ||
export function __wbg_new_baf10398b0d0c64d(arg0, arg1) { | ||
let varg0 = getStringFromWasm(arg0, arg1); | ||
return addHeapObject(new Function(varg0)); | ||
} | ||
export function __wbg_call_173f04c850a68d5f(arg0, arg1) { | ||
return addHeapObject(getObject(arg0).call(getObject(arg1))); | ||
} | ||
export function __wbg_self_58232ab37cbe6608(arg0) { | ||
return addHeapObject(getObject(arg0).self); | ||
} | ||
export function __wbg_crypto_329b714d7e7d321d(arg0) { | ||
return addHeapObject(getObject(arg0).crypto); | ||
} | ||
export function __wbg_getRandomValues_2f960218fce3a102(arg0) { | ||
return addHeapObject(getObject(arg0).getRandomValues); | ||
} | ||
function getArrayU8FromWasm(ptr, len) { | ||
return getUint8Memory().subarray(ptr / 1, ptr / 1 + len); | ||
} | ||
export function __wbg_getRandomValues_5581e85fc6616df6(arg0, arg1, arg2) { | ||
let varg1 = getArrayU8FromWasm(arg1, arg2); | ||
getObject(arg0).getRandomValues(varg1); | ||
} | ||
export function __wbg_require_4a70cbfd3adc73a8(arg0, arg1) { | ||
let varg0 = getStringFromWasm(arg0, arg1); | ||
return addHeapObject(require(varg0)); | ||
} | ||
export function __wbg_randomFillSync_355c3fcfa754fa4e(arg0, arg1, arg2) { | ||
let varg1 = getArrayU8FromWasm(arg1, arg2); | ||
getObject(arg0).randomFillSync(varg1); | ||
} | ||
export function __wbindgen_object_drop_ref(i) { dropObject(i); } | ||
@@ -131,6 +74,2 @@ | ||
export function __wbindgen_is_undefined(idx) { | ||
return getObject(idx) === undefined ? 1 : 0; | ||
} | ||
let cachedTextEncoder = new TextEncoder('utf-8'); | ||
@@ -169,17 +108,3 @@ | ||
export function __wbindgen_json_serialize(idx, ptrptr) { | ||
const ptr = passStringToWasm(JSON.stringify(getObject(idx))); | ||
getUint32Memory()[ptrptr / 4] = ptr; | ||
return WASM_VECTOR_LEN; | ||
} | ||
export function __wbindgen_jsval_eq(a, b) { | ||
return getObject(a) === getObject(b) ? 1 : 0; | ||
} | ||
export function __wbindgen_rethrow(idx) { throw takeObject(idx); } | ||
export function __wbindgen_throw(ptr, len) { | ||
throw new Error(getStringFromWasm(ptr, len)); | ||
} | ||
@@ -8,3 +8,3 @@ { | ||
"description": "Configuration DSL", | ||
"version": "0.8.0", | ||
"version": "0.9.0", | ||
"license": "Apache-2.0", | ||
@@ -11,0 +11,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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
1
1
1397953
172