File tree Expand file tree Collapse file tree 5 files changed +323
-524
lines changed Expand file tree Collapse file tree 5 files changed +323
-524
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
3
- " node"
4
+ - " 10"
5
+ - " 9"
4
6
- " 8"
5
- - " 7"
6
7
- " 6"
7
- - " 5"
8
- - " 4"
9
- - " 0.12"
10
- - " 0.10"
11
8
sudo : false
12
9
cache :
13
10
directories :
Original file line number Diff line number Diff line change 2
2
3
3
environment :
4
4
matrix :
5
- - nodejs_version : " 4"
6
- - nodejs_version : " 5"
7
5
- nodejs_version : " 6"
8
- - nodejs_version : " 7"
6
+ - nodejs_version : " 8"
7
+ - nodejs_version : " 9"
8
+ - nodejs_version : " 10"
9
9
10
10
install :
11
11
- ps : Install-Product node $env:nodejs_version
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ const fs = require('fs');
13
13
const os = require ( 'os' ) ;
14
14
const path = require ( 'path' ) ;
15
15
const crypto = require ( 'crypto' ) ;
16
- const osTmpDir = require ( 'os-tmpdir' ) ;
17
16
const _c = fs . constants && os . constants ?
18
17
{ fs : fs . constants , os : os . constants } :
19
18
process . binding ( 'constants' ) ;
26
25
* The temporary directory.
27
26
* @type {string }
28
27
*/
29
- tmpDir = osTmpDir ( ) ,
28
+ tmpDir = os . tmpdir ( ) ,
30
29
31
30
// the random characters to choose from
32
31
RANDOM_CHARS = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' ,
You can’t perform that action at this time.
0 commit comments