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

tlsclientwrapper

Package Overview
Dependencies
Maintainers
1
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 1.0.4 to 1.0.5

6

index.js

@@ -118,3 +118,7 @@ import Client from "./utils/client.js";

terminate() {
return this.pool.terminate();
try {
return this.pool?.terminate?.();
} catch (error) {
return undefined;
}
}

@@ -121,0 +125,0 @@

2

package.json
{
"name": "tlsclientwrapper",
"version": "1.0.4",
"version": "1.0.5",
"main": "index.js",

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

@@ -136,3 +136,3 @@ import ffiRs from 'ffi-rs';

return workerpool.pool(path.join(__dirname, 'client.js'), {
});
});
}

@@ -144,5 +144,5 @@ }

// For the workerpool to work, you need to run the following code
const client = new Client();
if (!workerpool.isMainThread) {
const client = new Client();
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