update dependencies; delint

This commit is contained in:
Jeff Williams 2017-07-02 15:46:58 -07:00
parent 82d0eff079
commit 68a762e689
4 changed files with 9 additions and 7 deletions

View File

@ -88,6 +88,7 @@ function codeToKind(code) {
}
function unwrap(docletSrc) {
/* eslint-disable no-multi-spaces */
if (!docletSrc) { return ''; }
// note: keep trailing whitespace for @examples
@ -101,6 +102,7 @@ function unwrap(docletSrc) {
.replace(/\s*\\Z$/g, ''); // remove end-marker
return docletSrc;
/* eslint-enable no-multi-spaces */
}
/**

View File

@ -332,7 +332,7 @@ function makeAsyncFunctionFinisher(parser) {
e.code.node.init && e.code.node.init.async) {
doclet.async = true;
}
}
};
}
// TODO: docs

View File

@ -14,11 +14,11 @@
},
"dependencies": {
"babylon": "~7.0.0-beta.16",
"bluebird": "~3.4.6",
"bluebird": "~3.5.0",
"catharsis": "~0.8.8",
"escape-string-regexp": "~1.0.5",
"js2xmlparser": "~1.0.0",
"klaw": "~1.3.0",
"js2xmlparser": "~3.0.0",
"klaw": "~2.0.0",
"marked": "~0.3.6",
"mkdirp": "~0.5.1",
"requizzle": "~0.2.1",
@ -28,13 +28,13 @@
},
"devDependencies": {
"gulp": "~3.9.1",
"gulp-eslint": "~3.0.1",
"gulp-eslint": "~4.0.0",
"gulp-json-editor": "~2.2.1",
"istanbul": "~0.4.5",
"tv4": "https://github.com/hegemonic/tv4/tarball/own-properties"
},
"engines": {
"node": ">=0.10"
"node": ">=4.2.0"
},
"scripts": {
"test": "gulp lint; gulp test"

View File

@ -210,7 +210,7 @@ exports.publish = function(data, opts) {
if (opts.destination === 'console') {
if (opts.query && opts.query.format === 'xml') {
var xml = require('js2xmlparser');
console.log( xml('jsdoc', root) );
console.log( xml.parse('jsdoc', root) );
}
else {
console.log( require('jsdoc/util/dumper').dump(root) );