From b1a89f3bccadf1243d87c6ef98217091f8abceeb Mon Sep 17 00:00:00 2001 From: TheoPierne Date: Thu, 18 Jul 2024 17:32:00 +0200 Subject: [PATCH 1/2] doc: bump nodejs version --- CHANGELOG.md | 6 +++++- README.md | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 512de42..a389926 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 1.0.3 +## Fix +- Bumped minimal NodeJs required version to v16. `require('node:events')` doesn't exist before NodeJs v16 +## Docs +- Bumped minimal NodeJs required version to v16 in the readme # 1.0.2 ## Types: - Fixed types declaration @@ -5,5 +10,4 @@ ## Bug fixes: - Fixed types file specification in package.json # 1.0.0 - - Initial version \ No newline at end of file diff --git a/README.md b/README.md index 43423f3..5a2a74e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A simple and lightweight implementation of `threading.Event` in Node.js ## Installation -**Node.js 15.0.0 or newer is required.** +**Node.js v16.0.0 or newer is required.** ```sh npm install node-threading-event From 4a040a01be921fb6df767e530a50fc09d8c7ad4b Mon Sep 17 00:00:00 2001 From: TheoPierne Date: Thu, 18 Jul 2024 17:32:44 +0200 Subject: [PATCH 2/2] fix: bump nodejs version in package.json --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 56f5890..b8c8d9d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-threading-event", - "version": "1.0.2", + "version": "1.0.3", "description": "An implementation of the threading.Event Python package", "main": "src/index.js", "types": "index.d.ts", @@ -19,6 +19,6 @@ "url": "https://github.com/TheoPierne/node-threading-event/issues" }, "engines": { - "node": ">=15.0.0" + "node": ">=16.0.0" } }