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

bonjour-service

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bonjour-service - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

4

dist/lib/browser.js

@@ -34,3 +34,3 @@ "use strict";

else {
this.name = service_types_1.toString({ name: opts.type, protocol: opts.protocol || 'tcp' }) + TLD;
this.name = (0, service_types_1.toString)({ name: opts.type, protocol: opts.protocol || 'tcp' }) + TLD;
if (opts.name)

@@ -125,3 +125,3 @@ this.name = opts.name + '.' + this.name;

var name = parts[0];
var types = service_types_1.toType(parts.slice(1, -1).join('.'));
var types = (0, service_types_1.toType)(parts.slice(1, -1).join('.'));
service.name = name;

@@ -128,0 +128,0 @@ service.fqdn = rr.name;

@@ -103,3 +103,3 @@ "use strict";

a.name === b.name &&
es6_1.default(a.data, b.data);
(0, es6_1.default)(a.data, b.data);
};

@@ -106,0 +106,0 @@ }

@@ -43,3 +43,3 @@ "use strict";

if (exists) {
service.stop(service);
service.stop();
console.log(new Error('Service name is already in use on the network'));

@@ -135,4 +135,5 @@ return;

});
if (callback)
if (typeof callback === "function") {
callback.apply(null, arguments);
}
});

@@ -139,0 +140,0 @@ }

@@ -22,3 +22,3 @@ "use strict";

this.protocol = config.protocol || 'tcp';
this.type = service_types_1.toString({ name: config.type, protocol: this.protocol });
this.type = (0, service_types_1.toString)({ name: config.type, protocol: this.protocol });
this.port = config.port;

@@ -25,0 +25,0 @@ this.host = config.host || os_1.default.hostname();

{
"name": "bonjour-service",
"version": "1.0.8",
"version": "1.0.9",
"description": "A Bonjour/Zeroconf implementation in TypeScript",

@@ -10,3 +10,3 @@ "main": "./dist/index.js",

"fast-deep-equal": "^3.1.3",
"multicast-dns": "^7.2.3"
"multicast-dns": "^7.2.4"
},

@@ -21,4 +21,4 @@ "devDependencies": {

"tape": "^5.2.2",
"ts-node-dev": "^1.1.6",
"typescript": "^4.2.3"
"ts-node-dev": "^1.1.8",
"typescript": "^4.4.4"
},

@@ -25,0 +25,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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