Socket
Socket
Sign inDemoInstall

@ionic/discover

Package Overview
Dependencies
Maintainers
13
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic/discover - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

1

dist/publisher.d.ts

@@ -30,1 +30,2 @@ /// <reference types="node" />

export declare function prepareInterfaces(interfaces: any): Interface[];
export declare function newSilentPublisher(namespace: string, name: string, port: number): Publisher;

@@ -112,2 +112,10 @@ "use strict";

exports.prepareInterfaces = prepareInterfaces;
function newSilentPublisher(namespace, name, port) {
name = `${name}@${port}`;
const service = new Publisher(namespace, name, port);
service.on('error', () => { });
service.start().catch(() => { });
return service;
}
exports.newSilentPublisher = newSilentPublisher;
function computeMulticast(address, netmask) {

@@ -114,0 +122,0 @@ const ip = address + '/' + netmask;

2

package.json
{
"name": "@ionic/discover",
"version": "0.3.1",
"version": "0.3.2",
"description": "Simple UDP based protocol for service discovery implemented in pure JS. Not mDNS or bonjour. ",

@@ -5,0 +5,0 @@ "main": "dist/index.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