🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@mercuryworkshop/epoxy-tls

Package Overview
Dependencies
Maintainers
0
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mercuryworkshop/epoxy-tls - npm Package Compare versions

Comparing version

to
2.1.14-1

76

full/epoxy.js

@@ -189,3 +189,3 @@ import { object_get, object_set, convert_body_inner, entries_of_object_inner, define_property, ws_key, from_entries } from 'data:application/javascript;base64,CmV4cG9ydCBmdW5jdGlvbiBvYmplY3RfZ2V0KG9iaiwgaykgeyAKCXRyeSB7CgkJcmV0dXJuIG9ialtrXQoJfSBjYXRjaCh4KSB7CgkJcmV0dXJuIHVuZGVmaW5lZAoJfQp9OwpleHBvcnQgZnVuY3Rpb24gb2JqZWN0X3NldChvYmosIGssIHYpIHsKCXRyeSB7IG9ialtrXSA9IHYgfSBjYXRjaCB7fQp9OwoKZXhwb3J0IGFzeW5jIGZ1bmN0aW9uIGNvbnZlcnRfYm9keV9pbm5lcihib2R5KSB7CglsZXQgcmVxID0gbmV3IFJlcXVlc3QoIiIsIHsgbWV0aG9kOiAiUE9TVCIsIGR1cGxleDogImhhbGYiLCBib2R5IH0pOwoJbGV0IHR5cGUgPSByZXEuaGVhZGVycy5nZXQoImNvbnRlbnQtdHlwZSIpOwoJcmV0dXJuIFtuZXcgVWludDhBcnJheShhd2FpdCByZXEuYXJyYXlCdWZmZXIoKSksIHR5cGVdOwp9CgpleHBvcnQgZnVuY3Rpb24gZW50cmllc19vZl9vYmplY3RfaW5uZXIob2JqKSB7CglyZXR1cm4gT2JqZWN0LmVudHJpZXMob2JqKS5tYXAoeCA9PiB4Lm1hcChTdHJpbmcpKTsKfQoKZXhwb3J0IGZ1bmN0aW9uIGRlZmluZV9wcm9wZXJ0eShvYmosIGssIHYpIHsKCU9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosIGssIHsgdmFsdWU6IHYsIHdyaXRhYmxlOiBmYWxzZSB9KTsKfQoKZXhwb3J0IGZ1bmN0aW9uIHdzX2tleSgpIHsKCWxldCBrZXkgPSBuZXcgVWludDhBcnJheSgxNik7CgljcnlwdG8uZ2V0UmFuZG9tVmFsdWVzKGtleSk7CglyZXR1cm4gYnRvYShTdHJpbmcuZnJvbUNoYXJDb2RlLmFwcGx5KG51bGwsIGtleSkpOwp9CgpleHBvcnQgZnVuY3Rpb24gZnJvbV9lbnRyaWVzKGVudHJpZXMpewogICAgdmFyIHJldCA9IHt9OwogICAgZm9yKHZhciBpID0gMDsgaSA8IGVudHJpZXMubGVuZ3RoOyBpKyspIHJldFtlbnRyaWVzW2ldWzBdXSA9IGVudHJpZXNbaV1bMV07CiAgICByZXR1cm4gcmV0Owp9Cg==';

function __wbg_adapter_37(arg0, arg1) {
wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5784612670436a43(arg0, arg1);
wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9620c6e330ab9ade(arg0, arg1);
}

@@ -275,3 +275,3 @@

function notDefined(what) { return () => { throw new Error(`${what} is not defined`); }; }
function __wbg_adapter_169(arg0, arg1, arg2, arg3) {
function __wbg_adapter_171(arg0, arg1, arg2, arg3) {
wasm.closure139_externref_shim(arg0, arg1, arg2, arg3);

@@ -954,3 +954,3 @@ }

};
imports.wbg.__wbg_objectget_32b64ab4edbe5f69 = function(arg0, arg1, arg2) {
imports.wbg.__wbg_objectget_baa1e519f9224593 = function(arg0, arg1, arg2) {
const ret = object_get(arg0, getStringFromWasm0(arg1, arg2));

@@ -983,13 +983,2 @@ return ret;

};
imports.wbg.__wbg_wskey_44d3bad7c02e576b = 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 ret;
};
imports.wbg.__wbg_new_034f913e7636e987 = function() {

@@ -1024,3 +1013,3 @@ const ret = new Array();

}, arguments) };
imports.wbg.__wbg_defineproperty_3016bf54f8ffca4c = function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_defineproperty_173f51b5070e4d5f = function(arg0, arg1, arg2, arg3) {
define_property(arg0, getStringFromWasm0(arg1, arg2), arg3);

@@ -1032,3 +1021,3 @@ };

};
imports.wbg.__wbg_objectset_56a18da992480121 = function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_objectset_14f5907b23d10288 = function(arg0, arg1, arg2, arg3) {
object_set(arg0, getStringFromWasm0(arg1, arg2), arg3);

@@ -1040,2 +1029,13 @@ };

};
imports.wbg.__wbg_wskey_af4561c6b887374b = 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 ret;
};
imports.wbg.__wbindgen_cb_drop = function(arg0) {

@@ -1092,6 +1092,6 @@ const obj = arg0.original;

}, arguments) };
imports.wbg.__wbg_log_7c9965f50e360a0e = function(arg0, arg1) {
imports.wbg.__wbg_log_60cab0f75bd86a19 = function(arg0, arg1) {
console.log(getStringFromWasm0(arg0, arg1));
};
imports.wbg.__wbg_convertbodyinner_1746a970007adf1b = function() { return handleError(function (arg0) {
imports.wbg.__wbg_convertbodyinner_334bc64cc9df7cf6 = function() { return handleError(function (arg0) {
const ret = convert_body_inner(arg0);

@@ -1104,3 +1104,3 @@ return ret;

};
imports.wbg.__wbg_entriesofobjectinner_7f3c15c05b023f20 = function(arg0, arg1) {
imports.wbg.__wbg_entriesofobjectinner_8f1e598667d5fe25 = function(arg0, arg1) {
const ret = entries_of_object_inner(arg1);

@@ -1116,3 +1116,3 @@ const ptr1 = passArrayJsValueToWasm0(ret, wasm.__wbindgen_malloc);

};
imports.wbg.__wbg_error_8dd302c147a3737e = function(arg0, arg1) {
imports.wbg.__wbg_error_73be9b25805f26cb = function(arg0, arg1) {
console.error(getStringFromWasm0(arg0, arg1));

@@ -1158,3 +1158,3 @@ };

};
imports.wbg.__wbg_fromentries_db80199f45d344bd = function() { return handleError(function (arg0) {
imports.wbg.__wbg_fromentries_2748541dd6542310 = function() { return handleError(function (arg0) {
const ret = from_entries(arg0);

@@ -1170,3 +1170,3 @@ return ret;

try {
return __wbg_adapter_169(a, state0.b, arg0, arg1);
return __wbg_adapter_171(a, state0.b, arg0, arg1);
} finally {

@@ -1271,2 +1271,10 @@ state0.a = a;

};
imports.wbg.__wbg_get_ef828680c64da212 = function() { return handleError(function (arg0, arg1) {
const ret = Reflect.get(arg0, arg1);
return ret;
}, arguments) };
imports.wbg.__wbg_now_d3cbc9581625f686 = function(arg0) {
const ret = arg0.now();
return ret;
};
imports.wbg.__wbg_call_a9ef466721e824f2 = function() { return handleError(function (arg0, arg1) {

@@ -1352,2 +1360,8 @@ const ret = arg0.call(arg1);

};
imports.wbg.__wbg_close_cfd08d9cf9f36856 = function() { return handleError(function (arg0) {
arg0.close();
}, arguments) };
imports.wbg.__wbg_enqueue_e693a6fb4f3261c1 = function() { return handleError(function (arg0, arg1) {
arg0.enqueue(arg1);
}, arguments) };
imports.wbg.__wbg_byobRequest_86ac467c94924d3c = function(arg0) {

@@ -1380,8 +1394,2 @@ const ret = arg0.byobRequest;

};
imports.wbg.__wbg_close_cfd08d9cf9f36856 = function() { return handleError(function (arg0) {
arg0.close();
}, arguments) };
imports.wbg.__wbg_enqueue_e693a6fb4f3261c1 = function() { return handleError(function (arg0, arg1) {
arg0.enqueue(arg1);
}, arguments) };
imports.wbg.__wbg_sethighWaterMark_10a9c5bcdaa54044 = function(arg0, arg1) {

@@ -1425,19 +1433,19 @@ arg0.highWaterMark = arg1;

}, arguments) };
imports.wbg.__wbindgen_closure_wrapper416 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper421 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 18, __wbg_adapter_34);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper418 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper423 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 18, __wbg_adapter_37);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper1322 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1330 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 202, __wbg_adapter_40);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper1793 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1800 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 114, __wbg_adapter_43);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper4083 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper4090 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 202, __wbg_adapter_43);

@@ -1529,2 +1537,2 @@ return ret;

export default __wbg_init;
export const info = { version: "2.1.13-1", minimal: 0===1, release: 1===1 };
export const info = { version: "2.1.14-1", minimal: 0===1, release: 1===1 };

@@ -185,3 +185,3 @@ import { object_get, object_set, convert_body_inner, entries_of_object_inner, define_property, from_entries } from 'data:application/javascript;base64,CmV4cG9ydCBmdW5jdGlvbiBvYmplY3RfZ2V0KG9iaiwgaykgeyAKCXRyeSB7CgkJcmV0dXJuIG9ialtrXQoJfSBjYXRjaCh4KSB7CgkJcmV0dXJuIHVuZGVmaW5lZAoJfQp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__wbg_adapter_34(arg0, arg1) {
wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h85ebcfd125f4ac15(arg0, arg1);
wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc4415305fefa51f3(arg0, arg1);
}

@@ -818,3 +818,3 @@

};
imports.wbg.__wbg_objectget_32b64ab4edbe5f69 = function(arg0, arg1, arg2) {
imports.wbg.__wbg_objectget_baa1e519f9224593 = function(arg0, arg1, arg2) {
const ret = object_get(arg0, getStringFromWasm0(arg1, arg2));

@@ -870,3 +870,3 @@ return ret;

};
imports.wbg.__wbg_convertbodyinner_1746a970007adf1b = function() { return handleError(function (arg0) {
imports.wbg.__wbg_convertbodyinner_334bc64cc9df7cf6 = function() { return handleError(function (arg0) {
const ret = convert_body_inner(arg0);

@@ -929,3 +929,3 @@ return ret;

}, arguments) };
imports.wbg.__wbg_defineproperty_3016bf54f8ffca4c = function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_defineproperty_173f51b5070e4d5f = function(arg0, arg1, arg2, arg3) {
define_property(arg0, getStringFromWasm0(arg1, arg2), arg3);

@@ -937,3 +937,3 @@ };

};
imports.wbg.__wbg_objectset_56a18da992480121 = function(arg0, arg1, arg2, arg3) {
imports.wbg.__wbg_objectset_14f5907b23d10288 = function(arg0, arg1, arg2, arg3) {
object_set(arg0, getStringFromWasm0(arg1, arg2), arg3);

@@ -975,6 +975,6 @@ };

}, arguments) };
imports.wbg.__wbg_log_7c9965f50e360a0e = function(arg0, arg1) {
imports.wbg.__wbg_log_60cab0f75bd86a19 = function(arg0, arg1) {
console.log(getStringFromWasm0(arg0, arg1));
};
imports.wbg.__wbg_entriesofobjectinner_7f3c15c05b023f20 = function(arg0, arg1) {
imports.wbg.__wbg_entriesofobjectinner_8f1e598667d5fe25 = function(arg0, arg1) {
const ret = entries_of_object_inner(arg1);

@@ -1028,3 +1028,3 @@ const ptr1 = passArrayJsValueToWasm0(ret, wasm.__wbindgen_malloc);

};
imports.wbg.__wbg_fromentries_db80199f45d344bd = function() { return handleError(function (arg0) {
imports.wbg.__wbg_fromentries_2748541dd6542310 = function() { return handleError(function (arg0) {
const ret = from_entries(arg0);

@@ -1264,7 +1264,7 @@ return ret;

}, arguments) };
imports.wbg.__wbindgen_closure_wrapper231 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper229 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 5, __wbg_adapter_34);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper233 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper231 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 5, __wbg_adapter_37);

@@ -1281,3 +1281,3 @@ return ret;

};
imports.wbg.__wbindgen_closure_wrapper3309 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper3312 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 97, __wbg_adapter_43);

@@ -1369,2 +1369,2 @@ return ret;

export default __wbg_init;
export const info = { version: "2.1.13-1", minimal: 1===1, release: 1===1 };
export const info = { version: "2.1.14-1", minimal: 1===1, release: 1===1 };
{
"name": "@mercuryworkshop/epoxy-tls",
"version": "2.1.13-1",
"version": "2.1.14-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