Skip to content

Commit 630edf1

Browse files
authored
fix(engines): Revert engine back to 16 (#432)
#430 upgraded the Node version to 18, but as a fix (instead of a breaking change). So it breaks consumers of the library (such as [`semantic-release`](https://github.com/semantic-release/semantic-release)) that are still on Node 16. Fixes #431
1 parent f755e88 commit 630edf1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@
8282
]
8383
},
8484
"engines": {
85-
"node": ">= 18"
85+
"node": ">= 16"
8686
}
8787
}

scripts/build.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async function main() {
4242
outdir: "pkg/dist-node",
4343
bundle: true,
4444
platform: "node",
45-
target: "node18",
45+
target: "node16",
4646
format: "cjs",
4747
...sharedOptions,
4848
}),

0 commit comments

Comments
 (0)