Socket
Socket
Sign inDemoInstall

dns-packet

Package Overview
Dependencies
1
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.2.1 to 5.2.2

2

index.js

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

if (n === '.') return 1
return Buffer.byteLength(n) + 2
return Buffer.byteLength(n.replace(/^\.|\.$/gm, '')) + 2
}

@@ -84,0 +84,0 @@

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc