Skip to content

Commit

Permalink
node: support for version 10, 8 and 7
Browse files Browse the repository at this point in the history
  • Loading branch information
mklabs committed Oct 4, 2018
1 parent e4854d9 commit c01b443
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 35 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
sudo: false
language: node_js

matrix:
include:
- node_js: "10"
node_js:
- 10
- 8
- 7

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion lib/installer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fs = require('fs');
const path = require('path');
const untildify = require('untildify');
const { promisify } = require('util');
const { promisify } = require('es6-promisify');
const debug = require('./utils/tabtabDebug')('tabtab:installer');

const readFile = promisify(fs.readFile);
Expand Down
45 changes: 18 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
},
"dependencies": {
"debug": "^4.0.1",
"es6-promisify": "^6.0.0",
"inquirer": "^6.0.0",
"minimist": "^1.2.0",
"untildify": "^3.0.3"
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ node's land.

- Windows is not supported
- Cache has been removed
- Now only support node `> 10.10.0`, for previous version with support for node
6/8 be sure to use tabtab `2.2.x`
- Now only support node `> 7.10.1`, for previous version with support for node
6 be sure to use tabtab `2.2.x`

## Table of Contents

Expand Down
2 changes: 1 addition & 1 deletion test/installer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const assert = require('assert');
const fs = require('fs');
const path = require('path');
const untildify = require('untildify');
const { promisify } = require('util');
const { promisify } = require('es6-promisify');
const {
install,
uninstall,
Expand Down
2 changes: 1 addition & 1 deletion test/tabtab-install.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const debug = require('debug')('tabtab:test:install');
const untildify = require('untildify');
const path = require('path');
const fs = require('fs');
const { promisify } = require('util');
const { promisify } = require('es6-promisify');

const readFile = promisify(fs.readFile);

Expand Down

0 comments on commit c01b443

Please sign in to comment.