Skip to content

Commit

Permalink
chore: require Node.js >= 10
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Require Node.js >= 10
  • Loading branch information
vincentbel committed May 4, 2020
1 parent 4f842de commit d64addd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ cache:
notifications:
email: false
node_js:
- '6'
- '8'
- '10'
- '12'
- '14'
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
Expand Down
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict'

var visit = require('unist-util-visit')
var is = require('unist-util-is')
var pangu = require('pangu')
const visit = require('unist-util-visit')
const is = require('unist-util-is')
const pangu = require('pangu')

// List of Markdown AST: <https://github.com/syntax-tree/mdast>
// AST Explorer: <https://astexplorer.net/#/gist/7a794a8fc43b2e75e27024c85fb77aad/0934495eb735dffdf739dc7943f7848940070f8e>
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,8 @@
"src/**/*.js",
"index.js"
]
},
"engines": {
"node": ">=10"
}
}

0 comments on commit d64addd

Please sign in to comment.