Socket
Socket
Sign inDemoInstall

dns-packet

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dns-packet - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

2

index.js

@@ -916,3 +916,3 @@ 'use strict'

rrp.encodingLength = function (data) {
return 2 + name.encodingLength(data.mbox) + name.encodingLength(data.txt || '.')
return 2 + name.encodingLength(data.mbox || '.') + name.encodingLength(data.txt || '.')
}

@@ -919,0 +919,0 @@

{
"name": "dns-packet",
"version": "5.1.0",
"version": "5.1.1",
"description": "An abstract-encoding compliant module for encoding / decoding DNS packets",

@@ -5,0 +5,0 @@ "author": "Mathias Buus",

@@ -24,3 +24,2 @@ # dns-packet

type: 'A',
class: 'IN',
name: 'google.com'

@@ -277,2 +276,11 @@ }]

#### `RP`
``` js
{
mbox: 'admin.example.com',
txt: 'txt.example.com'
}
```
#### `RRSIG`

@@ -294,11 +302,2 @@

#### `RP`
``` js
{
mbox: 'admin.example.com',
txt: 'txt.example.com'
}
```
#### `SOA`

@@ -305,0 +304,0 @@

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