Skip to content

Commit cf2ef2b

Browse files
greenkeeper[bot]tmcw
authored andcommitted
Update dependencies to enable Greenkeeper 🌴 (#711)
* chore(package): update dependencies https://greenkeeper.io/ * docs(readme): add Greenkeeper badge https://greenkeeper.io/ * chore(greenkeeper): Exclude remote-origin-url and yargs from Greenkeeper for now
1 parent 25152ed commit cf2ef2b

File tree

4 files changed

+26
-18
lines changed

4 files changed

+26
-18
lines changed

‎README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# documentation
22

3+
[![Greenkeeper badge](https://badges.greenkeeper.io/documentationjs/documentation.svg)](https://greenkeeper.io/)
4+
35
[![Circle CI](https://circleci.com/gh/documentationjs/documentation/tree/master.svg?style=shield)](https://circleci.com/gh/documentationjs/documentation/tree/master)
46
[![npm version](https://badge.fury.io/js/documentation.svg)](http://badge.fury.io/js/documentation)
57
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/documentationjs/documentation?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

‎lib/commands/readme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ module.exports.handler = function readme(argv /*: Object*/) {
114114
};
115115

116116
// wrap the inject utility as an remark plugin
117-
function plugin(remark, options) {
117+
function plugin(options) {
118118
return function transform(targetAst, file, next) {
119119
if (!inject(options.section, targetAst, options.toInject)) {
120120
return next(new Error(`Heading ${options.section} not found.`));

‎lib/inline_tokenizer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ var tokenizeTutorial = makeTokenizer(
5656
* This does not handle the `[text]({@link url})` and `[text]({@tutorial url})` forms of these tags.
5757
* That's a JSDoc misfeature; just use regular markdown syntax instead: `[text](url)`.
5858
*
59-
* @param {Object} processor - remark instance
59+
* @param {Object} options - for the plugin
6060
* @returns {undefined}
6161
*/
62-
module.exports = function(processor /*: Object*/) {
63-
var proto = processor.Parser.prototype;
62+
module.exports = function(options /*: Object*/) {
63+
var proto = this.Parser.prototype;
6464
proto.inlineTokenizers.tokenizeLink = tokenizeLink;
6565
proto.inlineTokenizers.tokenizeTutorial = tokenizeTutorial;
6666
var methods = proto.inlineMethods;

‎package.json

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"documentation": "./bin/documentation.js"
88
},
99
"dependencies": {
10-
"ansi-html": "^0.0.6",
10+
"ansi-html": "^0.0.7",
1111
"babel-core": "^6.17.0",
12-
"babel-generator": "6.19.0",
13-
"babel-plugin-system-import-transformer": "2.4.0",
12+
"babel-generator": "6.24.1",
13+
"babel-plugin-system-import-transformer": "3.1.0",
1414
"babel-plugin-transform-decorators-legacy": "^1.3.4",
1515
"babel-preset-es2015": "^6.16.0",
1616
"babel-preset-react": "^6.16.0",
@@ -38,12 +38,12 @@
3838
"micromatch": "^2.1.6",
3939
"mime": "^1.3.4",
4040
"module-deps-sortable": "4.0.6",
41-
"parse-filepath": "^0.6.3",
41+
"parse-filepath": "^1.0.1",
4242
"pify": "^2.3.0",
4343
"read-pkg-up": "^2.0.0",
44-
"remark": "^6.0.1",
45-
"remark-html": "5.0.1",
46-
"remark-toc": "^3.0.0",
44+
"remark": "^7.0.0",
45+
"remark-html": "6.0.0",
46+
"remark-toc": "^4.0.0",
4747
"remote-origin-url": "0.4.0",
4848
"resolve": "^1.1.6",
4949
"shelljs": "^0.7.5",
@@ -62,18 +62,18 @@
6262
"devDependencies": {
6363
"are-we-flow-yet": "^1.0.0",
6464
"chdir": "0.0.0",
65-
"cz-conventional-changelog": "1.2.0",
65+
"cz-conventional-changelog": "2.0.0",
6666
"documentation-schema": "0.0.1",
67-
"flow-bin": "^0.37.4",
68-
"fs-extra": "^1.0.0",
67+
"flow-bin": "^0.43.1",
68+
"fs-extra": "^2.1.2",
6969
"husky": "^0.13.3",
7070
"json-schema": "0.2.3",
7171
"lint-staged": "^3.4.0",
72-
"mock-fs": "^3.5.0",
72+
"mock-fs": "^4.2.0",
7373
"prettier": "^0.22.0",
74-
"standard-changelog": "0.0.1",
75-
"tap": "^8.0.0",
76-
"tmp": "^0.0.29"
74+
"standard-changelog": "1.0.1",
75+
"tap": "^10.3.2",
76+
"tmp": "^0.0.31"
7777
},
7878
"keywords": [
7979
"documentation",
@@ -110,5 +110,11 @@
110110
"*.js": [
111111
"prettier --write --single-quote"
112112
]
113+
},
114+
"greenkeeper": {
115+
"ignore": [
116+
"remote-origin-url",
117+
"yargs"
118+
]
113119
}
114120
}

0 commit comments

Comments
 (0)