Skip to content

Commit 383c378

Browse files
committed
fix: correct gitinfo usage
1 parent 30f908b commit 383c378

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,39 +8,39 @@
88
"dependencies": {
99
"bluebird": "^3.5.5",
1010
"deadlink": "^1.1.3",
11-
"eslint": "^6.0.0",
11+
"eslint": "^6.0.1",
1212
"filesize": "^4.1.2",
1313
"get-urls": "^9.1.0",
14-
"gitinfo": "^2.2.0",
14+
"gitinfo": "^2.4.0",
1515
"glob": "^7.1.4",
1616
"jsonfile": "^5.0.0",
17-
"lodash": "^4.17.11",
17+
"lodash": "^4.17.14",
1818
"markdown-contents": "^1.0.11",
19-
"marked": "^0.6.2",
19+
"marked": "^0.7.0",
2020
"moment": "^2.24.0",
2121
"stack-trace": "^0.0.10",
2222
"yargs": "^13.2.4"
2323
},
2424
"description": "Github markdown preprocessor.",
2525
"devDependencies": {
26-
"@babel/cli": "^7.4.4",
27-
"@babel/core": "^7.4.5",
28-
"@babel/node": "^7.4.5",
26+
"@babel/cli": "^7.5.0",
27+
"@babel/core": "^7.5.4",
28+
"@babel/node": "^7.5.0",
2929
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
30-
"@babel/preset-env": "^7.4.5",
30+
"@babel/preset-env": "^7.5.4",
3131
"@babel/register": "^7.4.4",
3232
"babel-plugin-istanbul": "^5.1.4",
3333
"chai": "^4.2.0",
3434
"chai-as-promised": "^7.1.1",
35-
"coveralls": "^3.0.4",
36-
"eslint": "^6.0.0",
37-
"eslint-config-canonical": "^17.1.1",
38-
"husky": "^2.4.1",
35+
"coveralls": "^3.0.5",
36+
"eslint": "^6.0.1",
37+
"eslint-config-canonical": "^17.1.4",
38+
"husky": "^3.0.0",
3939
"mocha": "^6.1.4",
4040
"nock": "^10.0.6",
4141
"nyc": "^14.1.1",
4242
"require-uncached": "^2",
43-
"semantic-release": "^15.13.16",
43+
"semantic-release": "^15.13.18",
4444
"sinon": "^7.3.2"
4545
},
4646
"husky": {

src/helpers/gitinfo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const helper = {};
22
const _ = require('lodash');
3-
const createGitinfo = require('gitinfo');
3+
const createGitinfo = require('gitinfo').default;
44

55
helper.compile = (config, context) => {
66
const parserConfig = context.gitdown.getConfig().gitinfo;

0 commit comments

Comments
 (0)