Skip to content

Commit 7bec36e

Browse files
committed
[bump] Dependencies
1 parent 697ee51 commit 7bec36e

File tree

3 files changed

+42
-25
lines changed

3 files changed

+42
-25
lines changed

lib/replace-in-file.spec.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Dependencies
55
*/
6-
const replace = require('../lib/replace-in-file');
6+
const replace = require('./replace-in-file');
77
const fs = require('fs');
88
const writeFile = Promise.promisify(fs.writeFile);
99
const deleteFile = Promise.promisify(fs.unlink);
@@ -91,7 +91,7 @@ describe('Replace in file', () => {
9191
expect(match).to.equal('re place');
9292
expect(file).to.equal('test1');
9393
return 'b';
94-
}
94+
},
9595
}).then(() => {
9696
const test1 = fs.readFileSync('test1', 'utf8');
9797
const test2 = fs.readFileSync('test2', 'utf8');
@@ -122,7 +122,7 @@ describe('Replace in file', () => {
122122
expect(match).to.equal('re place');
123123
expect(file).to.equal('test1');
124124
return 'b';
125-
}
125+
},
126126
}).then(() => {
127127
const test1 = fs.readFileSync('test1', 'utf8');
128128
expect(test1).to.equal('a b c');
@@ -372,7 +372,7 @@ describe('Replace in file', () => {
372372
expect(match).to.equal('re place');
373373
expect(file).to.equal('test1');
374374
return 'b';
375-
}
375+
},
376376
}, () => {
377377
const test1 = fs.readFileSync('test1', 'utf8');
378378
const test2 = fs.readFileSync('test2', 'utf8');
@@ -403,7 +403,7 @@ describe('Replace in file', () => {
403403
expect(match).to.equal('re place');
404404
expect(file).to.equal('test1');
405405
return 'b';
406-
}
406+
},
407407
}, () => {
408408
const test1 = fs.readFileSync('test1', 'utf8');
409409
expect(test1).to.equal('a b c');
@@ -688,7 +688,7 @@ describe('Replace in file', () => {
688688
expect(match).to.equal('re place');
689689
expect(file).to.equal('test1');
690690
return 'b';
691-
}
691+
},
692692
});
693693
const test1 = fs.readFileSync('test1', 'utf8');
694694
const test2 = fs.readFileSync('test2', 'utf8');
@@ -715,7 +715,7 @@ describe('Replace in file', () => {
715715
expect(match).to.equal('re place');
716716
expect(file).to.equal('test1');
717717
return 'b';
718-
}
718+
},
719719
});
720720
const test1 = fs.readFileSync('test1', 'utf8');
721721
expect(test1).to.equal('a b c');

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"dependencies": {
3434
"chalk": "^2.3.0",
3535
"glob": "^7.1.2",
36-
"yargs": "^10.0.3"
36+
"yargs": "^11.0.0"
3737
},
3838
"devDependencies": {
3939
"babel-cli": "^6.26.0",
@@ -43,7 +43,7 @@
4343
"chai-as-promised": "^7.1.1",
4444
"dirty-chai": "^2.0.1",
4545
"istanbul": "^1.0.0-alpha.2",
46-
"mocha": "^4.0.1"
46+
"mocha": "^5.0.0"
4747
},
4848
"browserify": {
4949
"transform": [

yarn.lock

Lines changed: 33 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ ansi-regex@^2.0.0:
2222
version "2.0.0"
2323
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.0.0.tgz#c5061b6e0ef8a81775e50f5d66151bf6bf371107"
2424

25+
ansi-regex@^3.0.0:
26+
version "3.0.0"
27+
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998"
28+
2529
ansi-styles@^2.2.1:
2630
version "2.2.1"
2731
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
@@ -744,12 +748,12 @@ cliui@^2.1.0:
744748
right-align "^0.1.1"
745749
wordwrap "0.0.2"
746750

747-
cliui@^3.2.0:
748-
version "3.2.0"
749-
resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d"
751+
cliui@^4.0.0:
752+
version "4.0.0"
753+
resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.0.0.tgz#743d4650e05f36d1ed2575b59638d87322bfbbcc"
750754
dependencies:
751-
string-width "^1.0.1"
752-
strip-ansi "^3.0.1"
755+
string-width "^2.1.1"
756+
strip-ansi "^4.0.0"
753757
wrap-ansi "^2.0.0"
754758

755759
clone@^1.0.2:
@@ -1577,9 +1581,9 @@ mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.1, mkdirp@~0.5.1:
15771581
dependencies:
15781582
minimist "0.0.8"
15791583

1580-
mocha@^4.0.1:
1581-
version "4.0.1"
1582-
resolved "https://registry.yarnpkg.com/mocha/-/mocha-4.0.1.tgz#0aee5a95cf69a4618820f5e51fa31717117daf1b"
1584+
mocha@^5.0.0:
1585+
version "5.0.0"
1586+
resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.0.0.tgz#cccac988b0bc5477119cba0e43de7af6d6ad8f4e"
15831587
dependencies:
15841588
browser-stdout "1.3.0"
15851589
commander "2.11.0"
@@ -2035,6 +2039,13 @@ string-width@^2.0.0:
20352039
is-fullwidth-code-point "^2.0.0"
20362040
strip-ansi "^3.0.0"
20372041

2042+
string-width@^2.1.1:
2043+
version "2.1.1"
2044+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"
2045+
dependencies:
2046+
is-fullwidth-code-point "^2.0.0"
2047+
strip-ansi "^4.0.0"
2048+
20382049
string_decoder@~0.10.x:
20392050
version "0.10.31"
20402051
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
@@ -2055,6 +2066,12 @@ strip-ansi@^3.0.0, strip-ansi@^3.0.1:
20552066
dependencies:
20562067
ansi-regex "^2.0.0"
20572068

2069+
strip-ansi@^4.0.0:
2070+
version "4.0.0"
2071+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f"
2072+
dependencies:
2073+
ansi-regex "^3.0.0"
2074+
20582075
strip-eof@^1.0.0:
20592076
version "1.0.0"
20602077
resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf"
@@ -2232,17 +2249,17 @@ yallist@^2.1.2:
22322249
version "2.1.2"
22332250
resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
22342251

2235-
yargs-parser@^8.0.0:
2236-
version "8.0.0"
2237-
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-8.0.0.tgz#21d476330e5a82279a4b881345bf066102e219c6"
2252+
yargs-parser@^9.0.2:
2253+
version "9.0.2"
2254+
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-9.0.2.tgz#9ccf6a43460fe4ed40a9bb68f48d43b8a68cc077"
22382255
dependencies:
22392256
camelcase "^4.1.0"
22402257

2241-
yargs@^10.0.3:
2242-
version "10.0.3"
2243-
resolved "https://registry.yarnpkg.com/yargs/-/yargs-10.0.3.tgz#6542debd9080ad517ec5048fb454efe9e4d4aaae"
2258+
yargs@^11.0.0:
2259+
version "11.0.0"
2260+
resolved "https://registry.yarnpkg.com/yargs/-/yargs-11.0.0.tgz#c052931006c5eee74610e5fc0354bedfd08a201b"
22442261
dependencies:
2245-
cliui "^3.2.0"
2262+
cliui "^4.0.0"
22462263
decamelize "^1.1.1"
22472264
find-up "^2.1.0"
22482265
get-caller-file "^1.0.1"
@@ -2253,7 +2270,7 @@ yargs@^10.0.3:
22532270
string-width "^2.0.0"
22542271
which-module "^2.0.0"
22552272
y18n "^3.2.1"
2256-
yargs-parser "^8.0.0"
2273+
yargs-parser "^9.0.2"
22572274

22582275
yargs@~3.10.0:
22592276
version "3.10.0"

0 commit comments

Comments
 (0)