dns2 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/packet.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dns2",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "A DNS Server and Client Implementation in Pure JavaScript with no dependencies.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/packet.js CHANGED
@@ -517,7 +517,8 @@ Packet.Resource.AAAA = {
517
517
  this.address = parts
518
518
  .map(part => part > 0 ? part.toString(16) : '')
519
519
  .join(':')
520
- .replace('::::', '::');
520
+ .replace('::::', '::')
521
+ .replace(':::', '::');
521
522
  return this;
522
523
  },
523
524
  encode: function(record, writer) {