Breaking changes for engine strict in version 1.3.1
See original GitHub issueFor projects that use engine strict, the version 1.3.1
of @shelf/jest-mongodb
is a breaking change.
Steps:
$ node -v
v12.19.0
$ npm -v
6.14.8
$ echo engine-strict=true >> .npmrc
$ npm i -s @shelf/jest-mongodb
Error:
npm ERR! code ENOTSUP
npm ERR! notsup Unsupported engine for mongodb-memory-server@7.0.0: wanted: {"node":">=12.22.0"} (current
: {"node":"12.19.0","npm":"6.14.8"})
npm ERR! notsup Not compatible with your version of node/npm: mongodb-memory-server@7.0.0
npm ERR! notsup Not compatible with your version of node/npm: mongodb-memory-server@7.0.0
npm ERR! notsup Required: {"node":">=12.22.0"}
npm ERR! notsup Actual: {"npm":"6.14.8","node":"12.19.0"}
Previous versions did not have this requirement.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
[BUG] engine strict is not working with npm version 8.11.0 #5037
I have searched the existing issues This issue exists in the latest npm version I am using the latest npm Current Behavior "engines": ......
Read more >standard-engine | Yarn - Package Manager
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning. 15.0.0 2022-04-20. In addition to...
Read more >Changelog - npm Docs
Support has been dropped for Node.js versions less than v10. On the "Breaking" in "Breaking Changes". The Semantic Versioning specification precisely defines ...
Read more >Changelog | Meteor API Docs
Patch release to update Node and npm versions. Breaking Changes. N/A. Migration Steps. N/A. Meteor Version Release. meteor ...
Read more >Changelog - hapi.dev
Resolve undefined environment variables to the empty string in the cli. 7.0.0 · Release Notes additional information. breaking changes. #2023. 7.0.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@hasezoey thanks for the detailed explanation 👍🏻
I’m going to revert to a compatible version in 1.x and publish version 2.x that requires node 12+
@mtti-g This is the problem with
mongodb-memory-server
@shelf/jest-mongodb
requires Node.js 8 or higherhttps://github.com/shelfio/jest-mongodb/blob/master/package.json#L62-L64
Here is the commit that introduced this change https://github.com/nodkz/mongodb-memory-server/commit/7d6d018a6fd3357a2ed82f663fd5218143ec0a2a#diff-e4fb67d7357160e9cfde80dde338ba26430ab721f1721f9ce3df3aa495e8ca25L12-L15
Please reopen https://github.com/nodkz/mongodb-memory-server/issues/500 issue