@mercuryworkshop/epoxy-tls
Advanced tools
Comparing version 2.1.5-1 to 2.1.6-1
@@ -214,7 +214,7 @@ import { object_get, object_set, convert_body_inner, entries_of_object_inner, define_property, ws_key, from_entries } from 'data:application/javascript;base64,CmV4cG9ydCBmdW5jdGlvbiBvYmplY3RfZ2V0KG9iaiwgaykgeyAKCXRyeSB7CgkJcmV0dXJuIG9ialtrXQoJfSBjYXRjaCh4KSB7CgkJcmV0dXJuIHVuZGVmaW5lZAoJfQp9OwpleHBvcnQgZnVuY3Rpb24gb2JqZWN0X3NldChvYmosIGssIHYpIHsKCXRyeSB7IG9ialtrXSA9IHYgfSBjYXRjaCB7fQp9OwoKZXhwb3J0IGFzeW5jIGZ1bmN0aW9uIGNvbnZlcnRfYm9keV9pbm5lcihib2R5KSB7CglsZXQgcmVxID0gbmV3IFJlcXVlc3QoIiIsIHsgbWV0aG9kOiAiUE9TVCIsIGR1cGxleDogImhhbGYiLCBib2R5IH0pOwoJbGV0IHR5cGUgPSByZXEuaGVhZGVycy5nZXQoImNvbnRlbnQtdHlwZSIpOwoJcmV0dXJuIFtuZXcgVWludDhBcnJheShhd2FpdCByZXEuYXJyYXlCdWZmZXIoKSksIHR5cGVdOwp9CgpleHBvcnQgZnVuY3Rpb24gZW50cmllc19vZl9vYmplY3RfaW5uZXIob2JqKSB7CglyZXR1cm4gT2JqZWN0LmVudHJpZXMob2JqKS5tYXAoeCA9PiB4Lm1hcChTdHJpbmcpKTsKfQoKZXhwb3J0IGZ1bmN0aW9uIGRlZmluZV9wcm9wZXJ0eShvYmosIGssIHYpIHsKCU9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosIGssIHsgdmFsdWU6IHYsIHdyaXRhYmxlOiBmYWxzZSB9KTsKfQoKZXhwb3J0IGZ1bmN0aW9uIHdzX2tleSgpIHsKCWxldCBrZXkgPSBuZXcgVWludDhBcnJheSgxNik7CgljcnlwdG8uZ2V0UmFuZG9tVmFsdWVzKGtleSk7CglyZXR1cm4gYnRvYShBcnJheS5mcm9tKGtleSkubWFwKFN0cmluZy5mcm9tQ2hhckNvZGUpLmpvaW4oJycpKTsKfQoKZXhwb3J0IGZ1bmN0aW9uIGZyb21fZW50cmllcyhlbnRyaWVzKXsKICAgIHZhciByZXQgPSB7fTsKICAgIGZvcih2YXIgaSA9IDA7IGkgPCBlbnRyaWVzLmxlbmd0aDsgaSsrKSByZXRbZW50cmllc1tpXVswXV0gPSBlbnRyaWVzW2ldWzFdOwogICAgcmV0dXJuIHJldDsKfQo='; | ||
function __wbg_adapter_32(arg0, arg1) { | ||
wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46794a9a1a923569(arg0, arg1); | ||
wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha93c7e91c057b39c(arg0, arg1); | ||
} | ||
function __wbg_adapter_35(arg0, arg1, arg2) { | ||
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf4c26c3df1efeef3(arg0, arg1, addHeapObject(arg2)); | ||
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__haf2e26cdcceabbb4(arg0, arg1, addHeapObject(arg2)); | ||
} | ||
@@ -1051,3 +1051,3 @@ | ||
}; | ||
imports.wbg.__wbg_objectget_db1eac745f5865ec = function(arg0, arg1, arg2) { | ||
imports.wbg.__wbg_objectget_8532b94a9c11d073 = function(arg0, arg1, arg2) { | ||
const ret = object_get(getObject(arg0), getStringFromWasm0(arg1, arg2)); | ||
@@ -1090,13 +1090,2 @@ return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_wskey_d958602638d89c88 = function(arg0) { | ||
const ret = ws_key(); | ||
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len1 = WASM_VECTOR_LEN; | ||
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
}; | ||
imports.wbg.__wbg_epoxywebsocket_new = function(arg0) { | ||
const ret = EpoxyWebSocket.__wrap(arg0); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_new_a220cf903aa02ca2 = function() { | ||
@@ -1138,3 +1127,3 @@ const ret = new Array(); | ||
}, arguments) }; | ||
imports.wbg.__wbg_defineproperty_764864f7099ebae0 = function(arg0, arg1, arg2, arg3) { | ||
imports.wbg.__wbg_defineproperty_a38a805c31d58eaa = function(arg0, arg1, arg2, arg3) { | ||
define_property(getObject(arg0), getStringFromWasm0(arg1, arg2), takeObject(arg3)); | ||
@@ -1146,3 +1135,3 @@ }; | ||
}; | ||
imports.wbg.__wbg_objectset_c8d3339c39576f8f = function(arg0, arg1, arg2, arg3) { | ||
imports.wbg.__wbg_objectset_2c6be17b4b8e7490 = function(arg0, arg1, arg2, arg3) { | ||
object_set(getObject(arg0), getStringFromWasm0(arg1, arg2), takeObject(arg3)); | ||
@@ -1154,2 +1143,13 @@ }; | ||
}; | ||
imports.wbg.__wbg_wskey_5c0d03749627b76c = function(arg0) { | ||
const ret = ws_key(); | ||
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len1 = WASM_VECTOR_LEN; | ||
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
}; | ||
imports.wbg.__wbg_epoxywebsocket_new = function(arg0) { | ||
const ret = EpoxyWebSocket.__wrap(arg0); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbindgen_object_clone_ref = function(arg0) { | ||
@@ -1203,6 +1203,6 @@ const ret = getObject(arg0); | ||
}, arguments) }; | ||
imports.wbg.__wbg_log_dbe34f0d247b5600 = function(arg0, arg1) { | ||
imports.wbg.__wbg_log_b3b49a680407b5a7 = function(arg0, arg1) { | ||
console.log(getStringFromWasm0(arg0, arg1)); | ||
}; | ||
imports.wbg.__wbg_convertbodyinner_026c0a2a81a76672 = function() { return handleError(function (arg0) { | ||
imports.wbg.__wbg_convertbodyinner_3f5088bfae138530 = function() { return handleError(function (arg0) { | ||
const ret = convert_body_inner(takeObject(arg0)); | ||
@@ -1215,3 +1215,3 @@ return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_entriesofobjectinner_e1c0cba974785d11 = function(arg0, arg1) { | ||
imports.wbg.__wbg_entriesofobjectinner_1b65c2c1606fc76b = function(arg0, arg1) { | ||
const ret = entries_of_object_inner(getObject(arg1)); | ||
@@ -1283,3 +1283,3 @@ const ptr1 = passArrayJsValueToWasm0(ret, wasm.__wbindgen_malloc); | ||
}; | ||
imports.wbg.__wbg_fromentries_5f5667ee4f854a2a = function() { return handleError(function (arg0) { | ||
imports.wbg.__wbg_fromentries_2ecc46c1026f7bcc = function() { return handleError(function (arg0) { | ||
const ret = from_entries(getObject(arg0)); | ||
@@ -1521,3 +1521,3 @@ return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper1272 = function(arg0, arg1, arg2) { | ||
imports.wbg.__wbindgen_closure_wrapper1274 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 113, __wbg_adapter_38); | ||
@@ -1530,3 +1530,3 @@ return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper3995 = function(arg0, arg1, arg2) { | ||
imports.wbg.__wbindgen_closure_wrapper3996 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 113, __wbg_adapter_41); | ||
@@ -1602,2 +1602,2 @@ return addHeapObject(ret); | ||
export default __wbg_init; | ||
export const info = { version: "2.1.5-1", minimal: 0===1, release: 1===1 }; | ||
export const info = { version: "2.1.6-1", minimal: 0===1, release: 1===1 }; |
@@ -213,8 +213,8 @@ import { object_get, object_set, convert_body_inner, entries_of_object_inner, define_property, from_entries } from 'data:application/javasc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XsKICAgIHZhciByZXQgPSB7fTsKICAgIGZvcih2YXIgaSA9IDA7IGkgPCBlbnRyaWVzLmxlbmd0aDsgaSsrKSByZXRbZW50cmllc1tpXVswXV0gPSBlbnRyaWVzW2ldWzFdOwogICAgcmV0dXJuIHJldDsKfQo='; | ||
} | ||
function __wbg_adapter_32(arg0, arg1) { | ||
wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7bda1202d78a798c(arg0, arg1); | ||
function __wbg_adapter_32(arg0, arg1, arg2) { | ||
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h43ec2a29d832160b(arg0, arg1, addHeapObject(arg2)); | ||
} | ||
function __wbg_adapter_35(arg0, arg1, arg2) { | ||
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd356c89fcc130876(arg0, arg1, addHeapObject(arg2)); | ||
function __wbg_adapter_35(arg0, arg1) { | ||
wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he84f8fcd4da31689(arg0, arg1); | ||
} | ||
@@ -826,3 +826,3 @@ | ||
}; | ||
imports.wbg.__wbg_objectget_db1eac745f5865ec = function(arg0, arg1, arg2) { | ||
imports.wbg.__wbg_objectget_8532b94a9c11d073 = function(arg0, arg1, arg2) { | ||
const ret = object_get(getObject(arg0), getStringFromWasm0(arg1, arg2)); | ||
@@ -861,3 +861,3 @@ return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_convertbodyinner_026c0a2a81a76672 = function() { return handleError(function (arg0) { | ||
imports.wbg.__wbg_convertbodyinner_3f5088bfae138530 = function() { return handleError(function (arg0) { | ||
const ret = convert_body_inner(takeObject(arg0)); | ||
@@ -920,3 +920,3 @@ return addHeapObject(ret); | ||
}, arguments) }; | ||
imports.wbg.__wbg_defineproperty_764864f7099ebae0 = function(arg0, arg1, arg2, arg3) { | ||
imports.wbg.__wbg_defineproperty_a38a805c31d58eaa = function(arg0, arg1, arg2, arg3) { | ||
define_property(getObject(arg0), getStringFromWasm0(arg1, arg2), takeObject(arg3)); | ||
@@ -928,3 +928,3 @@ }; | ||
}; | ||
imports.wbg.__wbg_objectset_c8d3339c39576f8f = function(arg0, arg1, arg2, arg3) { | ||
imports.wbg.__wbg_objectset_2c6be17b4b8e7490 = function(arg0, arg1, arg2, arg3) { | ||
object_set(getObject(arg0), getStringFromWasm0(arg1, arg2), takeObject(arg3)); | ||
@@ -945,5 +945,2 @@ }; | ||
}; | ||
imports.wbg.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
imports.wbg.__wbg_cancel_97a2795574a4f522 = function(arg0) { | ||
@@ -961,2 +958,5 @@ const ret = getObject(arg0).cancel(); | ||
}; | ||
imports.wbg.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
imports.wbg.__wbindgen_error_new = function(arg0, arg1) { | ||
@@ -978,6 +978,6 @@ const ret = new Error(getStringFromWasm0(arg0, arg1)); | ||
}, arguments) }; | ||
imports.wbg.__wbg_log_dbe34f0d247b5600 = function(arg0, arg1) { | ||
imports.wbg.__wbg_log_b3b49a680407b5a7 = function(arg0, arg1) { | ||
console.log(getStringFromWasm0(arg0, arg1)); | ||
}; | ||
imports.wbg.__wbg_entriesofobjectinner_e1c0cba974785d11 = function(arg0, arg1) { | ||
imports.wbg.__wbg_entriesofobjectinner_1b65c2c1606fc76b = function(arg0, arg1) { | ||
const ret = entries_of_object_inner(getObject(arg1)); | ||
@@ -1031,3 +1031,3 @@ const ptr1 = passArrayJsValueToWasm0(ret, wasm.__wbindgen_malloc); | ||
}; | ||
imports.wbg.__wbg_fromentries_5f5667ee4f854a2a = function() { return handleError(function (arg0) { | ||
imports.wbg.__wbg_fromentries_2ecc46c1026f7bcc = function() { return handleError(function (arg0) { | ||
const ret = from_entries(getObject(arg0)); | ||
@@ -1269,7 +1269,7 @@ return addHeapObject(ret); | ||
}, arguments) }; | ||
imports.wbg.__wbindgen_closure_wrapper223 = function(arg0, arg1, arg2) { | ||
imports.wbg.__wbindgen_closure_wrapper224 = function(arg0, arg1, arg2) { | ||
const ret = makeClosure(arg0, arg1, 5, __wbg_adapter_32); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper225 = function(arg0, arg1, arg2) { | ||
imports.wbg.__wbindgen_closure_wrapper226 = function(arg0, arg1, arg2) { | ||
const ret = makeClosure(arg0, arg1, 5, __wbg_adapter_35); | ||
@@ -1282,7 +1282,7 @@ return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper1199 = function(arg0, arg1, arg2) { | ||
imports.wbg.__wbindgen_closure_wrapper1200 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 98, __wbg_adapter_41); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper3279 = function(arg0, arg1, arg2) { | ||
imports.wbg.__wbindgen_closure_wrapper3281 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 177, __wbg_adapter_41); | ||
@@ -1358,2 +1358,2 @@ return addHeapObject(ret); | ||
export default __wbg_init; | ||
export const info = { version: "2.1.5-1", minimal: 1===1, release: 1===1 }; | ||
export const info = { version: "2.1.6-1", minimal: 1===1, release: 1===1 }; |
{ | ||
"name": "@mercuryworkshop/epoxy-tls", | ||
"version": "2.1.5-1", | ||
"version": "2.1.6-1", | ||
"description": "A wasm library for using raw encrypted tls/ssl/tcp/udp/https/websocket streams on the browser", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
4730049
16236
6