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.9 to 1.2.10

CHANGELOG

4

dns.types.js

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

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

@@ -5,0 +5,0 @@ "main": "dns.js",

(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

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

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

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

@@ -6,2 +6,3 @@ dns-suite.js

| [dig.js](https://git.coolaj86.com/coolaj86/dig.js)
| [mdig.js](https://git.coolaj86.com/coolaj86/mdig.js)
| [digd.js](https://git.coolaj86.com/coolaj86/digd.js)

@@ -8,0 +9,0 @@ | Sponsored by [Daplie](https://daplie.com).

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