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

native-dns-packet

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

native-dns-packet - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

aexp.raw

7

package.json
{
"name": "native-dns-packet",
"version": "0.0.3",
"version": "0.0.4",
"author": "Timothy J Fontaine <tjfontaine@gmail.com> (http://atxconsulting.com)",
"description": "Raw DNS Packet Parsing and Writing",
"keywords": [ "dns", "parsing" ],
"keywords": [
"dns",
"parsing"
],
"homepage": "http://github.com/tjfontaine/native-dns-packet",

@@ -8,0 +11,0 @@ "bugs": {

@@ -48,6 +48,6 @@ // Copyright 2011 Timothy J Fontaine <tjfontaine@gmail.com>

};
this.question = undefined;
this.answer = undefined;
this.authority = undefined;
this.additional = undefined;
this.question = [];
this.answer = [];
this.authority = [];
this.additional = [];
this.edns_options = [];

@@ -546,6 +546,7 @@ this.payload = undefined;

function parseTxt(val, msg, rdata) {
val.data = '';
val.data = [];
var end = msg.tell() + rdata.len;
while (msg.tell() != end) {
val.data += msg.toString('ascii', msg.readUInt8());
var len = msg.readUInt8();
val.data.push(msg.toString('ascii', len));
}

@@ -552,0 +553,0 @@ return PARSE_RESOURCE_DONE;

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