Skip to content

Commit aab7af9

Browse files
committed
Update dependencies
1 parent 268d0e2 commit aab7af9

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
"node": ">=0.10.0"
3030
},
3131
"dependencies": {
32-
"fs-extra": "^0.26.2",
32+
"fs-extra": "^0.30.0",
3333
"handlebars": "4.0.5",
3434
"highlight.js": "^9.0.0",
35-
"lodash": "^3.10.1",
35+
"lodash": "^4.13.1",
3636
"marked": "^0.3.5",
3737
"minimatch": "^3.0.0",
3838
"progress": "^1.1.8",
39-
"shelljs": "^0.5.3",
39+
"shelljs": "^0.7.0",
4040
"typedoc-default-themes": "^0.4.0",
4141
"typescript": "1.8.10"
4242
},

src/lib/converter/plugins/GitHubPlugin.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class Repository
5151
var out = <ShellJS.ExecOutputReturnValue>ShellJS.exec('git ls-remote --get-url', {silent:true});
5252
if (out.code == 0) {
5353
var url:RegExpExecArray;
54-
var remotes = out.output.split('\n');
54+
var remotes = out.stdout.split('\n');
5555
for (var i = 0, c = remotes.length; i < c; i++) {
5656
url = /github\.com[:\/]([^\/]+)\/(.*)/.exec(remotes[i]);
5757
if (url) {
@@ -67,7 +67,7 @@ class Repository
6767

6868
out = <ShellJS.ExecOutputReturnValue>ShellJS.exec('git ls-files', {silent:true});
6969
if (out.code == 0) {
70-
out.output.split('\n').forEach((file) => {
70+
out.stdout.split('\n').forEach((file) => {
7171
if (file != '') {
7272
this.files.push(BasePath.normalize(path + '/' + file));
7373
}
@@ -76,7 +76,7 @@ class Repository
7676

7777
out = <ShellJS.ExecOutputReturnValue>ShellJS.exec('git rev-parse --short HEAD', {silent:true});
7878
if (out.code == 0) {
79-
this.branch = out.output.replace('\n', '');
79+
this.branch = out.stdout.replace('\n', '');
8080
}
8181

8282
ShellJS.popd();
@@ -131,7 +131,7 @@ class Repository
131131
ShellJS.popd();
132132

133133
if (out.code != 0) return null;
134-
return new Repository(BasePath.normalize(out.output.replace("\n", '')));
134+
return new Repository(BasePath.normalize(out.stdout.replace("\n", '')));
135135
}
136136
}
137137

src/typings/shelljs/shelljs.d.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ declare module "shelljs"
128128
* @param {string} dest The destination.
129129
*/
130130
export function mv(source: string, dest: string): void;
131-
131+
132132
/**
133133
* Moves files. The wildcard * is accepted.
134134
* @param {string[]} source The source.
@@ -436,7 +436,7 @@ declare module "shelljs"
436436
* Object containing environment variables (both getter and setter). Shortcut to process.env.
437437
*/
438438
export var env: { [key: string]: string };
439-
439+
440440
/**
441441
* Executes the given command synchronously.
442442
* @param {string} command The command to execute.
@@ -476,7 +476,8 @@ declare module "shelljs"
476476
export interface ExecOutputReturnValue
477477
{
478478
code: number;
479-
output: string;
479+
stdout: string;
480+
stderr: string;
480481
}
481482

482483
/**

0 commit comments

Comments
 (0)