New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

anygram

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anygram - npm Package Compare versions

Comparing version 0.1.3 to 0.2.0

15

anygram.js

@@ -18,2 +18,3 @@ #! /usr/bin/env node

.option('-P, --serverPort <n>', 'the port server forwarding to')
.option('--postup <value>', 'postup script')
.parse(process.argv);

@@ -24,2 +25,12 @@

var cp = require('child_process');
var onexit = require('exit-hook');
var run = (script) => {
if (!script) return;
script = cp.exec(script);
onexit(() => {
script.kill();
});
};
var irc = require('./irc')(cmd);

@@ -46,2 +57,4 @@ irc.on('error', e=>{throw Error(e)});

run(cmd.postup);
}).catch(e=>{throw Error(e)});

@@ -62,2 +75,4 @@ }

});
run(cmd.postup);
}

@@ -64,0 +79,0 @@ else {

3

package.json
{
"name": "anygram",
"version": "0.1.3",
"version": "0.2.0",
"description": "Datagram forwarding behind NAT",

@@ -16,2 +16,3 @@ "main": "index.js",

"commander": "^2.9.0",
"exit-hook": "^1.1.1",
"node-stun": "^0.1.0",

@@ -18,0 +19,0 @@ "slate-irc": "^0.9.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