@nxtedition/nxt-undici 6.3.4 → 6.3.5

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.
@@ -1,5 +1,4 @@
1
1
  import net from 'node:net'
2
- import assert from 'node:assert'
3
2
  import * as dns from 'node:dns'
4
3
  import { DecoratorHandler, getFastNow } from '../utils.js'
5
4
 
@@ -95,8 +94,6 @@ export default () => (dispatch) => {
95
94
  throw err
96
95
  }
97
96
 
98
- assert(val.every((x) => x.expires > 0))
99
-
100
97
  records = val
101
98
  } else if (records.some((x) => x.expires < now + 1e3)) {
102
99
  resolve(hostname, { logger, ttl })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/nxt-undici",
3
- "version": "6.3.4",
3
+ "version": "6.3.5",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "main": "lib/index.js",