Skip to content

Commit 7aa0142

Browse files
committed
Change to require Node.js 16
1 parent d95d0e5 commit 7aa0142

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ or what data types they hold.
5252
## Install
5353

5454
This package is [ESM only][github-gist-esm].
55-
In Node.js (version 14+),
55+
In Node.js (version 16+),
5656
install with [npm][npmjs-install]:
5757

5858
```sh
@@ -317,7 +317,7 @@ console.log(svg.property.unknown)
317317
318318
This package is at least compatible with all maintained versions of Node.js.
319319
As of now,
320-
that is Node.js 14+.
320+
that is Node.js 16+.
321321
It also works in Deno and modern browsers.
322322
323323
## Support

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"declaration": true,
77
"emitDeclarationOnly": true,
88
"exactOptionalPropertyTypes": true,
9-
"lib": ["es2020"],
9+
"lib": ["es2022"],
1010
"module": "node16",
1111
"strict": true,
12-
"target": "es2020"
12+
"target": "es2022"
1313
},
1414
"exclude": ["coverage/", "node_modules/"],
1515
"include": ["**/*.js", "index.d.ts"]

0 commit comments

Comments
 (0)