Skip to content

Commit

Permalink
fix(worker): downgrade minimum required node version to 10.13 (#10352)
Browse files Browse the repository at this point in the history
  • Loading branch information
nonewcode committed Aug 2, 2020
1 parent fe5b29a commit 321838f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,8 @@

### Fixes

- `[jest-worker]` Downgrade minimum node version to 10.13 ([#10352](https://github.com/facebook/jest/pull/10352))

### Chore & Maintenance

### Performance
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-worker/package.json
Expand Up @@ -21,7 +21,7 @@
"worker-farm": "^1.6.0"
},
"engines": {
"node": ">= 10.14.2"
"node": ">= 10.13.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion scripts/buildUtils.js
Expand Up @@ -34,7 +34,7 @@ module.exports.getPackages = function getPackages() {

assert.equal(
pkg.engines.node,
nodeEngineRequiremnt,
pkg.name === 'jest-worker' ? '>= 10.13.0' : nodeEngineRequiremnt,
`Engine requirement in ${pkg.name} should match root`,
);
});
Expand Down

0 comments on commit 321838f

Please sign in to comment.