Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bump Node support to >= 10.13#10747

Merged
nicolo-ribaudo merged 4 commits intobabel:next-8-devfrom
JLHwung:drop-node-8-support
Feb 6, 2020
Merged

Bump Node support to >= 10.13#10747
nicolo-ribaudo merged 4 commits intobabel:next-8-devfrom
JLHwung:drop-node-8-support

Conversation

@JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Nov 21, 2019

Q                       A
Fixed Issues? Closes #9981
Major: Breaking Change? Yes
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes? Dropped Node.js <10.13 support, use rollup-plugin-node-polyfills
License MIT

In this PR we drop Node.js < 10.13 support.

  • Update engines field in package.json
  • Update babel.config.js
  • Update CI config
  • Bump dependencies that requires node.js >= 10.13
  • remove ad-hoc polyfills for Node.js 6 and Node.js 8 in code base
  • remove minNodeVersion: "8.0.0" test case config
  • replace make-dir by fs.mkdir
  • replace node-environment-flags by process.allowedNodeEnvironmentFlags
  • chore: update acorn to v7.0.0 calvinmetcalf/rollup-plugin-node-globals#34

@JLHwung JLHwung added the PR: Breaking Change 💥 A type of pull request used for our changelog categories for next major release label Nov 21, 2019
@nicolo-ribaudo nicolo-ribaudo mentioned this pull request Nov 21, 2019
34 tasks
@JLHwung JLHwung mentioned this pull request Nov 21, 2019
@kaicataldo
Copy link
Member

Do we also need to update the engines field in the individual packages? Or is that something we should do in a separate PR?

@JLHwung JLHwung force-pushed the drop-node-8-support branch from b9486c0 to 2f566c1 Compare December 17, 2019 16:23
@JLHwung JLHwung changed the title Drop node < 10.9 support Bump Node support to >= 10.13 Dec 17, 2019
@JLHwung JLHwung force-pushed the drop-node-8-support branch from 700bc55 to 426971b Compare December 26, 2019 15:59
@milesj
Copy link

milesj commented Jan 22, 2020

Jest 25 just landed that updated chokidar to v3. Seems like Babel is the last one. Looking forward to this landing :)

@nicolo-ribaudo nicolo-ribaudo changed the base branch from master to next-8-dev February 3, 2020 23:38
Copy link
Member

@nicolo-ribaudo nicolo-ribaudo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to merge this as separate commits (using "Rebase and merge"):

  • Config update
  • Remove polyfills and minNodeVersion
  • Bump deps
  • Replace the rollup plugins with rollup-plugin-node-polyfills

JLHwung and others added 4 commits February 6, 2020 16:23
* chore: drop Node.js <10.9 support
* chore: update engines field
* chore: bump minimum node version to the first Dubrium LTS
* chore: bump other "engines"
* chore: tune testRegex
* chore: remove fs.promises polyfill
* chore: replace make-dir by fs.mkdirSync
* refactor: remove node-environment-flags
* chore: remove unecessary minNodeVersion config

Co-authored-by: Nicolò Ribaudo <[email protected]>
slash -> ^3.0.0
chokidar -> ^3.3.1
globals -> ^12.3.0
find-cache-dir -> ^3.2.0
@nicolo-ribaudo nicolo-ribaudo merged commit e3f045f into babel:next-8-dev Feb 6, 2020
@nicolo-ribaudo nicolo-ribaudo deleted the drop-node-8-support branch February 6, 2020 17:37
@nicolo-ribaudo
Copy link
Member

🎉

nicolo-ribaudo pushed a commit that referenced this pull request Feb 6, 2020
* chore: drop Node.js <10.9 support
* chore: update engines field
* chore: bump minimum node version to the first Dubrium LTS
* chore: bump other "engines"
* chore: tune testRegex
nicolo-ribaudo added a commit that referenced this pull request Feb 6, 2020
* chore: remove fs.promises polyfill
* chore: replace make-dir by fs.mkdirSync
* refactor: remove node-environment-flags
* chore: remove unecessary minNodeVersion config

Co-authored-by: Nicolò Ribaudo <[email protected]>
nicolo-ribaudo pushed a commit that referenced this pull request Feb 6, 2020
slash -> ^3.0.0
chokidar -> ^3.3.1
globals -> ^12.3.0
find-cache-dir -> ^3.2.0
nicolo-ribaudo pushed a commit that referenced this pull request Feb 9, 2020
* chore: drop Node.js <10.9 support
* chore: update engines field
* chore: bump minimum node version to the first Dubrium LTS
* chore: bump other "engines"
* chore: tune testRegex
nicolo-ribaudo added a commit that referenced this pull request Mar 10, 2020
* chore: remove fs.promises polyfill
* chore: replace make-dir by fs.mkdirSync
* refactor: remove node-environment-flags
* chore: remove unecessary minNodeVersion config

Co-authored-by: Nicolò Ribaudo <[email protected]>
nicolo-ribaudo pushed a commit that referenced this pull request Mar 10, 2020
slash -> ^3.0.0
chokidar -> ^3.3.1
globals -> ^12.3.0
find-cache-dir -> ^3.2.0
nicolo-ribaudo pushed a commit that referenced this pull request Mar 11, 2020
* chore: drop Node.js <10.9 support
* chore: update engines field
* chore: bump minimum node version to the first Dubrium LTS
* chore: bump other "engines"
* chore: tune testRegex
nicolo-ribaudo added a commit that referenced this pull request Mar 11, 2020
* chore: remove fs.promises polyfill
* chore: replace make-dir by fs.mkdirSync
* refactor: remove node-environment-flags
* chore: remove unecessary minNodeVersion config

Co-authored-by: Nicolò Ribaudo <[email protected]>
nicolo-ribaudo pushed a commit that referenced this pull request Mar 11, 2020
slash -> ^3.0.0
chokidar -> ^3.3.1
globals -> ^12.3.0
find-cache-dir -> ^3.2.0
nicolo-ribaudo pushed a commit that referenced this pull request Mar 13, 2020
* chore: drop Node.js <10.9 support
* chore: update engines field
* chore: bump minimum node version to the first Dubrium LTS
* chore: bump other "engines"
* chore: tune testRegex
nicolo-ribaudo added a commit that referenced this pull request Mar 13, 2020
* chore: remove fs.promises polyfill
* chore: replace make-dir by fs.mkdirSync
* refactor: remove node-environment-flags
* chore: remove unecessary minNodeVersion config

Co-authored-by: Nicolò Ribaudo <[email protected]>
nicolo-ribaudo pushed a commit that referenced this pull request Mar 13, 2020
slash -> ^3.0.0
chokidar -> ^3.3.1
globals -> ^12.3.0
find-cache-dir -> ^3.2.0
nicolo-ribaudo pushed a commit that referenced this pull request Mar 22, 2020
* chore: drop Node.js <10.9 support
* chore: update engines field
* chore: bump minimum node version to the first Dubrium LTS
* chore: bump other "engines"
* chore: tune testRegex
nicolo-ribaudo added a commit that referenced this pull request Mar 22, 2020
* chore: remove fs.promises polyfill
* chore: replace make-dir by fs.mkdirSync
* refactor: remove node-environment-flags
* chore: remove unecessary minNodeVersion config

Co-authored-by: Nicolò Ribaudo <[email protected]>
nicolo-ribaudo pushed a commit that referenced this pull request Mar 22, 2020
slash -> ^3.0.0
chokidar -> ^3.3.1
globals -> ^12.3.0
find-cache-dir -> ^3.2.0
nicolo-ribaudo pushed a commit that referenced this pull request Apr 11, 2020
* chore: drop Node.js <10.9 support
* chore: update engines field
* chore: bump minimum node version to the first Dubrium LTS
* chore: bump other "engines"
* chore: tune testRegex
nicolo-ribaudo added a commit that referenced this pull request Apr 11, 2020
* chore: remove fs.promises polyfill
* chore: replace make-dir by fs.mkdirSync
* refactor: remove node-environment-flags
* chore: remove unecessary minNodeVersion config

Co-authored-by: Nicolò Ribaudo <[email protected]>
nicolo-ribaudo pushed a commit that referenced this pull request Apr 11, 2020
slash -> ^3.0.0
chokidar -> ^3.3.1
globals -> ^12.3.0
find-cache-dir -> ^3.2.0
@eps1lon eps1lon mentioned this pull request Apr 15, 2020
nicolo-ribaudo pushed a commit that referenced this pull request Apr 20, 2020
* chore: drop Node.js <10.9 support
* chore: update engines field
* chore: bump minimum node version to the first Dubrium LTS
* chore: bump other "engines"
* chore: tune testRegex
nicolo-ribaudo added a commit that referenced this pull request Apr 20, 2020
* chore: remove fs.promises polyfill
* chore: replace make-dir by fs.mkdirSync
* refactor: remove node-environment-flags
* chore: remove unecessary minNodeVersion config

Co-authored-by: Nicolò Ribaudo <[email protected]>
nicolo-ribaudo pushed a commit that referenced this pull request Apr 20, 2020
slash -> ^3.0.0
chokidar -> ^3.3.1
globals -> ^12.3.0
find-cache-dir -> ^3.2.0
nicolo-ribaudo pushed a commit that referenced this pull request Apr 21, 2020
* chore: drop Node.js <10.9 support
* chore: update engines field
* chore: bump minimum node version to the first Dubrium LTS
* chore: bump other "engines"
* chore: tune testRegex
nicolo-ribaudo added a commit that referenced this pull request Apr 21, 2020
* chore: remove fs.promises polyfill
* chore: replace make-dir by fs.mkdirSync
* refactor: remove node-environment-flags
* chore: remove unecessary minNodeVersion config

Co-authored-by: Nicolò Ribaudo <[email protected]>
nicolo-ribaudo pushed a commit that referenced this pull request Apr 21, 2020
slash -> ^3.0.0
chokidar -> ^3.3.1
globals -> ^12.3.0
find-cache-dir -> ^3.2.0
nicolo-ribaudo added a commit that referenced this pull request Apr 21, 2020
* chore: remove fs.promises polyfill
* chore: replace make-dir by fs.mkdirSync
* refactor: remove node-environment-flags
* chore: remove unecessary minNodeVersion config

Co-authored-by: Nicolò Ribaudo <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Breaking Change 💥 A type of pull request used for our changelog categories for next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop support for node <8.9.0

5 participants