Skip to content

Commit 310c60f

Browse files
authored
Merge pull request #171 from poppinlp/bump-node
Bump node version
2 parents 6c3db68 + 8f5d0b4 commit 310c60f

File tree

5 files changed

+323
-524
lines changed

5 files changed

+323
-524
lines changed

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
language: node_js
22
node_js:
33
- "node"
4+
- "10"
5+
- "9"
46
- "8"
5-
- "7"
67
- "6"
7-
- "5"
8-
- "4"
9-
- "0.12"
10-
- "0.10"
118
sudo: false
129
cache:
1310
directories:

appveyor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
environment:
44
matrix:
5-
- nodejs_version: "4"
6-
- nodejs_version: "5"
75
- nodejs_version: "6"
8-
- nodejs_version: "7"
6+
- nodejs_version: "8"
7+
- nodejs_version: "9"
8+
- nodejs_version: "10"
99

1010
install:
1111
- ps: Install-Product node $env:nodejs_version

lib/tmp.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const fs = require('fs');
1313
const os = require('os');
1414
const path = require('path');
1515
const crypto = require('crypto');
16-
const osTmpDir = require('os-tmpdir');
1716
const _c = fs.constants && os.constants ?
1817
{ fs: fs.constants, os: os.constants } :
1918
process.binding('constants');
@@ -26,7 +25,7 @@ const
2625
* The temporary directory.
2726
* @type {string}
2827
*/
29-
tmpDir = osTmpDir(),
28+
tmpDir = os.tmpdir(),
3029

3130
// the random characters to choose from
3231
RANDOM_CHARS = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz',

0 commit comments

Comments
 (0)