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

ntp-time

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ntp-time - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

2

package.json
{
"name": "ntp-time",
"version": "2.0.5",
"version": "2.0.6",
"description": "A ntp library for nodejs",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -84,7 +84,10 @@ const udp = require('dgram');

const message = parse(data);
this.socket.close();
return resolve(message);
try {
const message = parse(data);
return resolve(message);
} catch (error) {
return reject(error);
} finally {
this.socket.close();
}
});

@@ -91,0 +94,0 @@ });

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