Skip to content

Commit

Permalink
feat: drop Node 6 support
Browse files Browse the repository at this point in the history
Node 6 reached End-Of-Life at April 30, 2019.

The snyk CLI was the only dependant we had that supported Node 6, and it
recently deprecated Node 6 too: https://github.com/snyk/snyk/releases/tag/v1.301.0

By updating the `target` to `es2017` in `tsconfig.json` we get native `async/await`
  • Loading branch information
michael-go committed Mar 29, 2020
1 parent 62b0ff5 commit f5f494e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -4,9 +4,9 @@ notifications:
email: false
language: node_js
node_js:
- "12"
- "10"
- "8"
- "6"
cache: npm
script:
- "npm run lint"
Expand All @@ -15,7 +15,7 @@ jobs:
include:
- stage: npm release
if: branch = master AND type != pull_request
node_js: "10"
node_js: "12"
script: skip
after_success:
- npx semantic-release
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Expand Up @@ -2,9 +2,9 @@
"compilerOptions": {
"outDir": "./dist",
"pretty": true,
"target": "es5",
"target": "es2017",
"lib": [
"es2015"
"es2017"
],
"module": "commonjs",
"sourceMap": true,
Expand Down

0 comments on commit f5f494e

Please sign in to comment.