Socket
Socket
Sign inDemoInstall

budp

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

budp - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

11

lib/udp.js

@@ -130,7 +130,12 @@ /*!

return new Promise((resolve, reject) => {
args.push(resolve);
const cb = (err) => {
if (err)
this.emit('error', err);
resolve();
};
try {
this.socket.send(...args);
this.socket.send(...args, cb);
} catch (e) {
;
this.emit('error', e);
}

@@ -137,0 +142,0 @@ });

{
"name": "budp",
"version": "0.1.4",
"version": "0.1.5",
"description": "UDP wrapper for node.js",

@@ -18,7 +18,7 @@ "keywords": [

"scripts": {
"lint": "eslint lib/ test/ || exit 0",
"lint": "eslint lib/ || exit 0",
"test": "bmocha --reporter spec test/*-test.js"
},
"devDependencies": {
"bmocha": "^1.0.0"
"bmocha": "^1.5.0"
},

@@ -25,0 +25,0 @@ "engines": {

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