Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

socket_protobuf

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socket_protobuf - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

8

lib/server/ServerListener.js

@@ -112,3 +112,6 @@ "use strict";

for (const details of networkInterfaces[networkName]) {
if (details.family == 'IPv4' && IPv4) {
if (IPv4) {
if (details.family != 'IPv4') {
continue;
}
const address = details.address;

@@ -121,2 +124,5 @@ if (address.substr(0, 3) != "127" &&

else { //获取IPv6地址
if (details.family != 'IPv6') {
continue;
}
const address = details.address;

@@ -123,0 +129,0 @@ if (!address.includes("::1")) { //不包含::1

2

package.json
{
"name": "socket_protobuf",
"version": "1.1.5",
"version": "1.1.6",
"description": "socket发送protobuf二进制流的SDK",

@@ -5,0 +5,0 @@ "main": "App.js",

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