Skip to content

Commit 4805274

Browse files
committed
refactor: require NodeJS 16.11
BREAKING CHANGES: require NodeJS 16.11 This will allow us to use the `cause` property` of `Error`.
1 parent 9c3c9cc commit 4805274

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

CHANGELOG.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ This project adheres to [Semantic Versioning][semver].
66
The format of this changelog is [a variant][lib9-versionning] of [Keep a Changelog][keep-changelog].
77
New entries must be placed in a section entitled `Unreleased`.
88

9+
## Unreleased
10+
11+
- BREAKING CHANGES: require NodeJS 16.11.0 or above
12+
13+
This will allow us to use the `cause` property of `Error`.
14+
915
## 0.15.0 (2023-10-19)
1016

11-
- BREAKING CHANGES: require node 16.9.0 or above
17+
- BREAKING CHANGES: require NodeJS 16.9.0 or above
1218

1319
- BREAKING CHANGES: promote regular comments to doc-comments
1420

@@ -324,7 +330,7 @@ This release **widely improves the usage of unions and flat unions**.
324330
325331
bare-ts now publishes _ES2020_ builds.
326332
This outputs smaller builds.
327-
This should cause no issue since we require a node version `^14.18` or `>=16`.
333+
This should cause no issue since we require a NodeJS version `^14.18` or `>=16`.
328334
329335
- Add option `--lib` to prevent `decode` and `encode` generation
330336
@@ -363,7 +369,7 @@ This release **widely improves the usage of unions and flat unions**.
363369
type Message union { Person }
364370
```
365371
366-
- BREAKING CHANGES: Require Node `>=14.18.0`
372+
- BREAKING CHANGES: Require NodeJS `>=14.18.0`
367373
368374
This enables _bare-ts_ to internally use `node:` prefixes for importing nodes' built-ins.
369375
@@ -580,7 +586,7 @@ This release **widely improves the usage of unions and flat unions**.
580586
581587
## 0.7.0 (2022-04-24)
582588
583-
- BREAKING CHANGES: require node versions that support _ESM_
589+
- BREAKING CHANGES: require NodeJS versions that support _ESM_
584590
585591
_bare-ts_ requires now a node versions that support _ECMAScript Modules_.
586592
@@ -908,4 +914,4 @@ This release **widely improves the usage of unions and flat unions**.
908914
909915
[keep-changelog]: https://keepachangelog.com/en/1.0.0/
910916
[lib9-versionning]: https://github.com/lib9/guides/blob/main/lib9-versioning-style-guide.md#keep-a-changelog
911-
[semver]: https://semver.org/spec/v2.0.0.html
917+
[semver]: https://semver.org/spec/v2.0.0.html

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"url": "https://github.com/bare-ts/tools/issues"
2424
},
2525
"engines": {
26-
"node": ">=16.9.0"
26+
"node": ">=16.11.0"
2727
},
2828
"type": "module",
2929
"bin": {
@@ -66,7 +66,7 @@
6666
"devDependencies": {
6767
"@bare-ts/lib": "~0.4.0",
6868
"@biomejs/biome": "^1.8.0",
69-
"@types/node": "16.9.6",
69+
"@types/node": "16.11.68",
7070
"commander": "^12.1.0",
7171
"esbuild": "0.20.1",
7272
"oletus": "4.0.0",

0 commit comments

Comments
 (0)