Skip to content

Commit ace5008

Browse files
committed
chore(greenkeeper): Exclude remote-origin-url and yargs from Greenkeeper for now
1 parent 0077b8a commit ace5008

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

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: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"remark": "^7.0.0",
4545
"remark-html": "6.0.0",
4646
"remark-toc": "^4.0.0",
47-
"remote-origin-url": "0.5.2",
47+
"remote-origin-url": "0.4.0",
4848
"resolve": "^1.1.6",
4949
"shelljs": "^0.7.5",
5050
"stream-array": "^1.1.0",
@@ -57,7 +57,7 @@
5757
"vfile-sort": "^2.0.0",
5858
"vinyl": "^2.0.0",
5959
"vinyl-fs": "^2.3.1",
60-
"yargs": "^7.0.2"
60+
"yargs": "^6.0.0"
6161
},
6262
"devDependencies": {
6363
"are-we-flow-yet": "^1.0.0",
@@ -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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy