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

entry

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

entry - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

examples/server.js

13

lib/index.js

@@ -6,3 +6,4 @@ var Gateway = require('./gateway'),

url_parse = require('url').parse,
utils = require('./utils');
utils = require('./utils'),
inspect = require('util').inspect;

@@ -41,6 +42,10 @@ var gw,

var mapping;
var soap_body = res['s:Envelope']['s:Body'];
var prefixes = ['u:', 'm:']; // some routers use m: as prefix, unlike most
var mapping,
prefixes = ['u:', 'm:'], // some routers use m: as prefix, unlike most
envelope = res['s:Envelope'];
var soap_body = envelope && envelope['s:Body'];
if (!soap_body)
return cb(new Error("Couldn't find soap body in: " + inspect(res)));
for (var i in prefixes) {

@@ -47,0 +52,0 @@ var type = prefixes[i] + type_key;

{
"name": "entry",
"version": "0.2.4",
"version": "0.2.5",
"description": "UPnP library that works.",

@@ -5,0 +5,0 @@ "main": "./lib",

Sorry, the diff of this file is not supported yet

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