mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
update submodule; prevents errors when type expressions contain newlines (#366)
This commit is contained in:
parent
8d6f746091
commit
cf89e494ec
@ -18,7 +18,7 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"async": "0.1.22",
|
||||
"catharsis": "0.5.0",
|
||||
"catharsis": "0.5.1",
|
||||
"crypto-browserify": "git://github.com/dominictarr/crypto-browserify.git#95c5d505",
|
||||
"github-flavored-markdown": "git://github.com/hegemonic/github-flavored-markdown.git",
|
||||
"js2xmlparser": "0.1.0",
|
||||
|
||||
6
node_modules/catharsis/catharsis.js
generated
vendored
6
node_modules/catharsis/catharsis.js
generated
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* catharsis 0.4.2
|
||||
* Catharsis
|
||||
* A parser for Google Closure Compiler type expressions, powered by PEG.js.
|
||||
*
|
||||
* @author Jeff Williams <jeffrey.l.williams@gmail.com>
|
||||
@ -101,6 +101,10 @@ function Catharsis() {
|
||||
Catharsis.prototype.parse = function(typeExpr, options) {
|
||||
options = options || {};
|
||||
|
||||
typeExpr = typeExpr.replace(/[\r\n]/g, '')
|
||||
.replace(/\s+/g, ' ')
|
||||
.trim();
|
||||
|
||||
return cachedParse(typeExpr, options);
|
||||
};
|
||||
|
||||
|
||||
12
node_modules/catharsis/package.json
generated
vendored
12
node_modules/catharsis/package.json
generated
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "jsdoc",
|
||||
"version": "3.2.0-dev",
|
||||
"revision": "1363617959876",
|
||||
"revision": "1363838424893",
|
||||
"description": "An API documentation generator for JavaScript.",
|
||||
"keywords": [ "documentation", "javascript" ],
|
||||
"licenses": [
|
||||
@ -18,7 +18,7 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"async": "0.1.22",
|
||||
"catharsis": "0.5.0",
|
||||
"catharsis": "0.5.1",
|
||||
"crypto-browserify": "git://github.com/dominictarr/crypto-browserify.git#95c5d505",
|
||||
"github-flavored-markdown": "git://github.com/hegemonic/github-flavored-markdown.git",
|
||||
"js2xmlparser": "0.1.0",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user