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

tlsclientwrapper

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tlsclientwrapper - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

2

package.json
{
"name": "tlsclientwrapper",
"version": "2.0.3",
"version": "2.0.4",
"main": "index.js",

@@ -5,0 +5,0 @@ "scripts": {

@@ -103,2 +103,5 @@ import koffi from 'koffi';

return workerpool.pool(path.join(__dirname, 'client.js'), {
workerThreadOpts: {
argv: [this.TLS_LIB_PATH]
}
})

@@ -112,5 +115,12 @@ }

if (!workerpool.isMainThread) {
const client = new Client();
while (!fs.existsSync(process.argv[2])) {
// Wait for the library to be downloaded
setTimeout(() => { }, 100);
}
const client = new Client({
customLibraryPath: process.argv[2]
});
await client.open();
client.startWorker();
}
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