Skip to content

Commit c35e6a2

Browse files
committedMay 28, 2019
Update dev dependencies
1 parent 07b6233 commit c35e6a2

File tree

8 files changed

+2208
-1823
lines changed

8 files changed

+2208
-1823
lines changed
 

‎.travis.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
sudo: false
22
language: node_js
33
node_js:
4-
- 6
54
- 8
6-
- node
7-
cache:
8-
yarn: true
5+
- 10
6+
- 12
97
after_script:
108
- cat ./coverage/lcov.info | coveralls

‎__tests__/commit.js

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ describe('#commit()', () => {
2727
while (i--) {
2828
filesystem.writeFileSync(path.join(fixtureDir, 'file-' + i + '.txt'), 'foo');
2929
}
30+
3031
fs.copy(fixtureDir + '/**', output);
3132
rimraf(output, done);
3233
});

‎lib/actions/commit.js

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ function write(file) {
1111
if (!fs.existsSync(dir)) {
1212
mkdirp.sync(dir);
1313
}
14+
1415
fs.writeFileSync(file.path, file.contents, {
1516
mode: file.stat ? file.stat.mode : null
1617
});

‎lib/actions/copy.js

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ exports._copySingle = function (from, to, options, context, tplSettings) {
6464
if (options.process) {
6565
contents = applyProcessingFunc(options.process, file.contents, file.path);
6666
}
67+
6768
if (context) {
6869
to = ejs.render(to, context, tplSettings);
6970
}

‎lib/actions/delete.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ module.exports = function (paths, options) {
1616
if (!Array.isArray(paths)) {
1717
paths = [paths];
1818
}
19+
1920
paths = paths.map(function (filePath) {
2021
return path.resolve(filePath);
2122
});

‎lib/util.js

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ exports.globify = function (filePath) {
3636
if (glob.hasMagic(filePath)) {
3737
return filePath;
3838
}
39+
3940
if (!fs.existsSync(filePath)) {
4041
// The target of a pattern who's not a glob and doesn't match an existing
4142
// entity on the disk is ambiguous. As such, match both files and directories.
@@ -49,8 +50,10 @@ exports.globify = function (filePath) {
4950
if (fsStats.isFile()) {
5051
return filePath;
5152
}
53+
5254
if (fsStats.isDirectory()) {
5355
return path.join(filePath, '**');
5456
}
57+
5558
throw new Error('Only file path or directory path are supported.');
5659
};

‎package-lock.json

+2,187-1,807
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@
1616
"dependencies": {
1717
"commondir": "^1.0.1",
1818
"deep-extend": "^0.6.0",
19-
"ejs": "^2.5.9",
20-
"glob": "^7.0.3",
21-
"globby": "^9.1.0",
22-
"isbinaryfile": "^3.0.2",
19+
"ejs": "^2.6.1",
20+
"glob": "^7.1.4",
21+
"globby": "^9.2.0",
22+
"isbinaryfile": "^3.0.3",
2323
"mkdirp": "^0.5.0",
2424
"multimatch": "^3.0.0",
25-
"rimraf": "^2.2.8",
26-
"through2": "^3.0.0",
27-
"vinyl": "^2.0.1"
25+
"rimraf": "^2.6.3",
26+
"through2": "^3.0.1",
27+
"vinyl": "^2.2.0"
2828
},
2929
"devDependencies": {
30-
"coveralls": "^3.0.0",
30+
"coveralls": "^3.0.3",
3131
"escape-regexp": "0.0.1",
32-
"eslint": "^5.0.1",
33-
"eslint-config-xo-space": "^0.19.0",
34-
"jest": "^23.2.0",
32+
"eslint": "^5.16.0",
33+
"eslint-config-xo-space": "^0.21.0",
34+
"jest": "^24.8.0",
3535
"mem-fs": "^1.0.0",
36-
"sinon": "^7.2.3"
36+
"sinon": "^7.3.2"
3737
},
3838
"jest": {
3939
"collectCoverage": true,

0 commit comments

Comments
 (0)
Please sign in to comment.