Skip to content

Commit

Permalink
Merge pull request #5 from Gandi/feature/engines-constraint
Browse files Browse the repository at this point in the history
Add an engines constraint on Node >= 22.1
  • Loading branch information
pascalduez authored Sep 9, 2024
2 parents 529be8e + 6a81bb0 commit 76f80f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Fixed
- Add `engines` key to package.json to forbid Node.js versions prior to `22.1.0`.
We now rely on `CustomEvent` which was made stable and available from that version.

## [1.1.0] - 2024-09-09
### Added
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
"test": "mocha -t 5000 -b -R spec spec.js",
"prepublishOnly": "npm test"
},
"engines": {
"node": ">=22.1.0"
},
"packageManager": "npm@10.8.3+sha512.d08425c8062f56d43bb8e84315864218af2492eb769e1f1ca40740f44e85bd148969382d651660363942e5909cb7ffcbef7ca0ae963ddc2c57a51243b4da8f56",
"dependencies": {
"date-names": "^0.1.11",
Expand Down

0 comments on commit 76f80f9

Please sign in to comment.