Socket
Socket
Sign inDemoInstall

nat-upnp

Package Overview
Dependencies
72
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

7

lib/nat-upnp/client.js

@@ -90,6 +90,9 @@ var nat = require('../nat-upnp');

gateway.run('GetGenericPortMappingEntry', [
[ 'NewPortMappingIndex', ++i ]
[ 'NewPortMappingIndex', i++ ]
], function(err, data) {
if (err) {
end = true;
// If we got an error on index 0, ignore it in case this router starts indicies on 1
if (i !== 1) {
end = true;
}
return callback(null);

@@ -96,0 +99,0 @@ }

{
"name": "nat-upnp",
"version": "1.0.3",
"version": "1.0.4",
"main": "lib/nat-upnp",

@@ -5,0 +5,0 @@ "author": "Fedor Indutny <fedor@indutny.com>",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc