Skip to content

Commit fdb6905

Browse files
committed
fix: remove structuredClone polyfill, require node >= 17
1 parent 4403cba commit fdb6905

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</div>
1616
<hr />
1717
<div align="center">
18-
⚡ <a href="#tangerine-benchmarks"><i><u><strong>AS FAST AS</strong></u></i></a> native <a href="https://nodejs.org/api/dns.html" target="_blank">Node.js <code>dns</code></a>! 🚀 &bull; Supports Node v16+ with ESM/CJS &bull; Made for <a href="https://forwardemail.net" target="_blank"><strong>Forward Email</strong></a>.
18+
⚡ <a href="#tangerine-benchmarks"><i><u><strong>AS FAST AS</strong></u></i></a> native <a href="https://nodejs.org/api/dns.html" target="_blank">Node.js <code>dns</code></a>! 🚀 &bull; Supports Node v17+ with ESM/CJS &bull; Made for <a href="https://forwardemail.net" target="_blank"><strong>Forward Email</strong></a>.
1919
</div>
2020
<hr />
2121

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/>
2424
<meta
2525
property="og:description"
26-
content="🍊 Tangerine is the best Node.js drop-in replacement for dns.promises.Resolver using DNS over HTTPS via undici with built-in retries, timeouts, smart server rotation, and caching support for multiple backends. ⚡ AS FAST AS native Node.js dns! 🚀 Supports Node v16+ with ESM/CJS. Made for Forward Email."
26+
content="🍊 Tangerine is the best Node.js drop-in replacement for dns.promises.Resolver using DNS over HTTPS via undici with built-in retries, timeouts, smart server rotation, and caching support for multiple backends. ⚡ AS FAST AS native Node.js dns! 🚀 Supports Node v17+ with ESM/CJS. Made for Forward Email."
2727
/>
2828
<meta property="og:site_name" content="Tangerine" />
2929
<meta property="og:type" content="website" />

index.js

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const pMap = require('p-map');
1717
const pWaitFor = require('p-wait-for');
1818
const packet = require('dns-packet');
1919
const semver = require('semver');
20-
const structuredClone = require('@ungap/structured-clone').default;
2120
const { getService } = require('port-numbers');
2221
const pkg = require('./package.json');
2322

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"Forward Email (https://forwardemail.net)"
1111
],
1212
"dependencies": {
13-
"@ungap/structured-clone": "^1.2.0",
1413
"auto-bind": "4",
1514
"dns-packet": "^5.6.1",
1615
"dohdec": "^5.0.3",
@@ -57,7 +56,7 @@
5756
"xo": "^0.58.0"
5857
},
5958
"engines": {
60-
"node": ">=16"
59+
"node": ">=17"
6160
},
6261
"files": [
6362
"index.js"

0 commit comments

Comments
 (0)