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

list-gateway

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

list-gateway - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

20

gateway.js
var coap = require('coap'), server = coap.createServer();
var mqtt = require('mqtt'),
my_topic_name = 'your-adafruit-username/f/feed-name';
/*
server.on('request', function (req, res) {

@@ -13,4 +10,5 @@ res.end('Hello ' + req.url.split('/')[1] + '\n')

server.listen(function () {
var req = coap.request('coap://localhost/Matteo');
var req = coap.request('coap://fe80::68c0:6d50:52ae:432a');
req.on('response', function (res) {

@@ -26,7 +24,11 @@ res.pipe(process.stdout);

*/
var client = mqtt.connect('mqtts://test.mosquitto.org', {
port: 8883,
//username: 'username',
//password: 'apikey'
var mqtt = require('mqtt'),
my_topic_name = 'test/feed-name';
var client = mqtt.connect('mqtts://141.22.28.86', {
port: 1883,
username: 'riotadmin',
password: '2whiteRUSSIAN4me'
});

@@ -33,0 +35,0 @@

{
"name": "list-gateway",
"version": "0.0.9",
"version": "0.0.10",
"description": "LisT Gateway",

@@ -5,0 +5,0 @@ "main": "",

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