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

@types/mdns

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/mdns - npm Package Compare versions

Comparing version 0.0.33 to 0.0.34

24

mdns/index.d.ts

@@ -13,3 +13,3 @@ // Type definitions for node_mdns

interface DnsSdError extends Error {
errorCode?:number;
errorCode?:number | undefined;
}

@@ -20,5 +20,5 @@

interface AdvertisementOptions {
name?:string;
interfaceIndex?:number;
networkInterface?:string;
name?:string | undefined;
interfaceIndex?:number | undefined;
networkInterface?:string | undefined;
txtRecord?:any;

@@ -43,5 +43,5 @@ host?:any;

interface BrowserOptions {
resolverSequence?:Array<(service:Service, next:()=>void)=>boolean>;
interfaceIndex?:number;
networkInterface?:string;
resolverSequence?:Array<(service:Service, next:()=>void)=>boolean> | undefined;
interfaceIndex?:number | undefined;
networkInterface?:string | undefined;
domain?:any;

@@ -73,4 +73,4 @@ context?:any;

interfaceIndex: number;
name?:string;
rawTxtRecord?:Buffer;
name?:string | undefined;
rawTxtRecord?:Buffer | undefined;
txtRecord?:any;

@@ -87,3 +87,3 @@ networkInterface:string;

new(serviceTypeIdentifier:Array<string>):ServiceType;
new(serviceTypeIdentifier:{name:string; protocol:string; subtypes?:Array<string>}):ServiceType;
new(serviceTypeIdentifier:{name:string; protocol:string; subtypes?:Array<string> | undefined}):ServiceType;
new(serviceType:ServiceType):ServiceType;

@@ -102,3 +102,3 @@

fromJSON(serviceTypeIdentifier:{name:string; protocol:string; subtypes?:Array<string>}):ServiceType;
fromJSON(serviceTypeIdentifier:{name:string; protocol:string; subtypes?:Array<string> | undefined}):ServiceType;
fromJSON(serviceType:ServiceType):ServiceType;

@@ -141,3 +141,3 @@ }

function makeServiceType(serviceTypeIdentifier:{name:string; protocol:string; subtypes?:Array<string>}):ServiceType;
function makeServiceType(serviceTypeIdentifier:{name:string; protocol:string; subtypes?:Array<string> | undefined}):ServiceType;

@@ -144,0 +144,0 @@ function makeServiceType(serviceType:ServiceType):ServiceType;

{
"name": "@types/mdns",
"version": "0.0.33",
"version": "0.0.34",
"description": "TypeScript definitions for node_mdns",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mdns",
"license": "MIT",

@@ -14,3 +15,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -25,4 +26,4 @@ "type": "git",

},
"typesPublisherContentHash": "d77cf45f7985b7b0e7a3361df66e4d7a223d1379d2bc5d680dc3fa1b3cfa28e9",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "3a8454b9139996e8a6786d6687a9dab096030541e70d48e4c4a5a722697278bd",
"typeScriptVersion": "3.6"
}

@@ -5,13 +5,13 @@ # Installation

# Summary
This package contains type definitions for node_mdns ( https://github.com/agnat/node_mdns ).
This package contains type definitions for node_mdns (https://github.com/agnat/node_mdns).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mdns
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mdns.
Additional Details
* Last updated: Tue, 12 Mar 2019 18:01:38 GMT
* Dependencies: @types/node
### Additional Details
* Last updated: Thu, 08 Jul 2021 16:24:07 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by Stefan Steinhart <https://github.com/reppners>.
These definitions were written by [Stefan Steinhart](https://github.com/reppners).

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