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

dns-suite

Package Overview
Dependencies
Maintainers
7
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dns-suite - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

4

dns.types.js

@@ -52,6 +52,6 @@ (function (exports) {

// and in reverse
Object.keys(types).forEach(function (key) {
for (var key in types) {
types[types[key]] = key;
});
}
}('undefined' !== typeof window ? window : exports));
{
"name": "dns-suite",
"version": "1.2.4",
"version": "1.2.5",
"description": "testing dns",

@@ -17,3 +17,3 @@ "main": "dns.js",

"type": "git",
"url": "git@git.daplie.com:Daplie/dns-suite.git"
"url": "https://git.coolaj86.com/coolaj86/dns-suite.js.git"
},

@@ -27,4 +27,4 @@ "author": "",

"bluebird": "^3.5.0",
"hexdump.js": "^1.0.4"
"hexdump.js": "git+https://git.coolaj86.com/coolaj86/hexdump.js#v1.0.4"
}
}
(function (exports) {
'use strict';
// RFC 6844 https://tools.ietf.org/html/rfc6844#section-3
// https://support.dnsimple.com/articles/caa-record/
// A Certification Authority Authorization (CAA) record is used to specify which

@@ -32,20 +29,10 @@ // certificate authorities (CAs) are allowed to issue certificates for a domain.

var i = record.rdstart;
var flag = data[i];
var mid = data[i + 1];
i += 2;
var flag = data[i++];
var mid = data[i++];
mid += i;
var end = record.rdstart + record.rdlength;
var tag = '';
var value = '';
var tag = '', value = '';
while (i < mid) { tag += String.fromCharCode(data[i++]); }
while (i < end) { value += String.fromCharCode(data[i++]); }
while (i < mid) {
tag += String.fromCharCode(data[i]);
i += 1;
}
while (i < end) {
value += String.fromCharCode(data[i]);
i += 1;
}
record.flag = flag;

@@ -52,0 +39,0 @@ record.tag = tag;

@@ -1,5 +0,8 @@

dns-suite
dns-suite.js
========
| **dns-suite** | [dig.js](https://git.daplie.com/Daplie/dig.js) | [digd.js](https://git.daplie.com/Daplie/digd.js) |
| **dns-suite.js**
| [dig.js](https://git.coolaj86.com/coolaj86/dig.js)
| [digd.js](https://git.coolaj86.com/coolaj86/digd.js)
|

@@ -60,3 +63,3 @@ Fast, lightweight, and easy-to-extend **pure JavaScript** (ES5.1) implementation for DNS / mDNS.

# latest of v1.x
npm install 'git+https://git@git.daplie.com:Daplie/dns-suite#v1'
npm install 'git+https://git.coolaj86.com/coolaj86/dns-suite.js#v1'
```

@@ -68,6 +71,6 @@

# latest of v1.0.x
npm install 'git+https://git@git.daplie.com:Daplie/dns-suite#v1.0'
npm install 'git+https://git.coolaj86.com/coolaj86/dns-suite.js#v1.0'
# exactly v1.0.2
npm install 'git+https://git@git.daplie.com:Daplie/dns-suite#v1.0.2'
npm install 'git+https://git.coolaj86.com/coolaj86/dns-suite.js#v1.0.2'
```

@@ -109,4 +112,4 @@

For **capturing packets** you should use [`dig.js`](https://git.daplie.com/Daplie/dig.js#options) with the `--output` option.
It can capture mDNS as well. See <https://git.daplie.com/Daplie/dig.js#options>.
For **capturing packets** you should use [`dig.js`](https://git.coolaj86.com/coolaj86/dig.js#options) with the `--output` option.
It can capture mDNS as well. See <https://git.coolaj86.com/coolaj86/dig.js#options>.

@@ -153,7 +156,7 @@ You can also access them directly from `node_modules/dns-suite` in a project:

We have a command line tool for that! See [dig.js](https://git.daplie.com/Daplie/dig.js).
We have a command line tool for that! See [dig.js](https://git.coolaj86.com/coolaj86/dig.js).
```bash
# Install
npm install -g 'git+https://git@git.daplie.com/Daplie/dig.js.git'
npm install -g 'git+https://git.coolaj86.com/coolaj86/dig.js.git'

@@ -160,0 +163,0 @@ # Use with DNS

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