New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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 2.1.11-1 to 2.1.12-1

58

full/epoxy.js

@@ -184,8 +184,8 @@ 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_34(arg0, arg1, arg2) {
wasm.closure17_externref_shim(arg0, arg1, arg2);
function __wbg_adapter_34(arg0, arg1) {
wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h437c4b983639c08e(arg0, arg1);
}
function __wbg_adapter_37(arg0, arg1) {
wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd39b267b33d88b4a(arg0, arg1);
function __wbg_adapter_37(arg0, arg1, arg2) {
wasm.closure21_externref_shim(arg0, arg1, arg2);
}

@@ -953,3 +953,3 @@

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

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

};
imports.wbg.__wbg_wskey_897aa5b348358121 = 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() {

@@ -1012,3 +1023,3 @@ const ret = new Array();

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

@@ -1020,3 +1031,3 @@ };

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

@@ -1028,13 +1039,2 @@ };

};
imports.wbg.__wbg_wskey_50311db25b0b7455 = 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) {

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

}, arguments) };
imports.wbg.__wbg_log_315bc8b854d2a3e8 = function(arg0, arg1) {
imports.wbg.__wbg_log_6a14468be4582af6 = function(arg0, arg1) {
console.log(getStringFromWasm0(arg0, arg1));
};
imports.wbg.__wbg_convertbodyinner_d6eba677b2e7b139 = function() { return handleError(function (arg0) {
imports.wbg.__wbg_convertbodyinner_2d77f8e4066c5445 = function() { return handleError(function (arg0) {
const ret = convert_body_inner(arg0);

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

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

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

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

@@ -1157,3 +1157,3 @@ };

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

@@ -1420,19 +1420,19 @@ return ret;

}, arguments) };
imports.wbg.__wbindgen_closure_wrapper414 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper420 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 18, __wbg_adapter_34);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper416 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper422 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 18, __wbg_adapter_37);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper1312 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1318 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 203, __wbg_adapter_40);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper1790 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1796 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 115, __wbg_adapter_43);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper4079 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper4087 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 203, __wbg_adapter_43);

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

export default __wbg_init;
export const info = { version: "2.1.11-1", minimal: 0===1, release: 1===1 };
export const info = { version: "2.1.12-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,CmV4cG9ydCBmdW5jdGlvbiBvYmplY3RfZ2V0KG9iaiwgaykgeyAKCXRyeSB7CgkJcmV0dXJuIG9ialtrXQoJfSBjYXRjaCh4KSB7CgkJcmV0dXJuIHVuZGVmaW5lZAoJfQp9OwpleHBvcnQgZnVuY3Rpb24gb2JqZWN0X3NldChvYmosIGssIHYpIHsKCXRyeSB7IG9ialtrXSA9IHYgfSBjYXRjaCB7fQp9OwoKZXhwb3J0IGFzeW5jIGZ1bmN0aW9uIGNvbnZlcnRfYm9keV9pbm5lcihib2R5KSB7CglsZXQgcmVxID0gbmV3IFJlcXVlc3QoIiIsIHsgbWV0aG9kOiAiUE9TVCIsIGR1cGxleDogImhhbGYiLCBib2R5IH0pOwoJbGV0IHR5cGUgPSByZXEuaGVhZGVycy5nZXQoImNvbnRlbnQtdHlwZSIpOwoJcmV0dXJuIFtuZXcgVWludDhBcnJheShhd2FpdCByZXEuYXJyYXlCdWZmZXIoKSksIHR5cGVdOwp9CgpleHBvcnQgZnVuY3Rpb24gZW50cmllc19vZl9vYmplY3RfaW5uZXIob2JqKSB7CglyZXR1cm4gT2JqZWN0LmVudHJpZXMob2JqKS5tYXAoeCA9PiB4Lm1hcChTdHJpbmcpKTsKfQoKZXhwb3J0IGZ1bmN0aW9uIGRlZmluZV9wcm9wZXJ0eShvYmosIGssIHYpIHsKCU9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosIGssIHsgdmFsdWU6IHYsIHdyaXRhYmxlOiBmYWxzZSB9KTsKfQoKZXhwb3J0IGZ1bmN0aW9uIHdzX2tleSgpIHsKCWxldCBrZXkgPSBuZXcgVWludDhBcnJheSgxNik7CgljcnlwdG8uZ2V0UmFuZG9tVmFsdWVzKGtleSk7CglyZXR1cm4gYnRvYShTdHJpbmcuZnJvbUNoYXJDb2RlLmFwcGx5KG51bGwsIGtleSkpOwp9CgpleHBvcnQgZnVuY3Rpb24gZnJvbV9lbnRyaWVzKGVudHJpZXMpewogICAgdmFyIHJldCA9IHt9OwogICAgZm9yKHZhciBpID0gMDsgaSA8IGVudHJpZXMubGVuZ3RoOyBpKyspIHJldFtlbnRyaWVzW2ldWzBdXSA9IGVudHJpZXNbaV1bMV07CiAgICByZXR1cm4gcmV0Owp9Cg==';

function __wbg_adapter_34(arg0, arg1) {
wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2de22d3102292d7e(arg0, arg1);
wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb7dd9ba67bc203ae(arg0, arg1);
}

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

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

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

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

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

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

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

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

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

}, arguments) };
imports.wbg.__wbg_log_315bc8b854d2a3e8 = function(arg0, arg1) {
imports.wbg.__wbg_log_6a14468be4582af6 = function(arg0, arg1) {
console.log(getStringFromWasm0(arg0, arg1));
};
imports.wbg.__wbg_entriesofobjectinner_4f1d39bc6071f18c = function(arg0, arg1) {
imports.wbg.__wbg_entriesofobjectinner_474b3cff08401911 = 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_7db5d855775ed44b = function() { return handleError(function (arg0) {
imports.wbg.__wbg_fromentries_f476600c56046d96 = function() { return handleError(function (arg0) {
const ret = from_entries(arg0);

@@ -1264,19 +1264,19 @@ 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);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper780 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper783 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 98, __wbg_adapter_40);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper1208 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1198 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 98, __wbg_adapter_43);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper3307 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper3312 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 98, __wbg_adapter_43);

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

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

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