doc-parser
Advanced tools
Comparing version 0.4.7 to 0.4.8
@@ -0,1 +1,9 @@ | ||
## [Version 0.4.8](https://github.com/glayzzle/docblock-parser/releases/tag/v0.4.8) (2017-3-12) | ||
### Patches | ||
- https://github.com/glayzzle/doc-parser/issues fix issue of text parsing by using the lexer input function dirrectly: [`ecd6a46`](https://github.com/glayzzle/docblock-parser/commit/ecd6a46) | ||
[...full changes](https://github.com/glayzzle/docblock-parser/compare/v0.4.7...v0.4.8) | ||
## [Version 0.4.7](https://github.com/glayzzle/docblock-parser/releases/tag/v0.4.7) (2017-2-21) | ||
@@ -2,0 +10,0 @@ |
{ | ||
"name": "doc-parser", | ||
"version": "0.4.7", | ||
"version": "0.4.8", | ||
"description": "Parses docblocks comments", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -450,14 +450,12 @@ /*! | ||
} | ||
var line = this.lexer.backup.line; | ||
var offset = this.lexer.backup.offset; | ||
while (this.token !== this.lexer._t.EOF) { | ||
this.token = this.lexer.lex(); // eat && continue | ||
if (this.lexer.line !== line) { | ||
this.lexer.unlex(); | ||
var ch = this.lexer.input(); | ||
while (ch !== null) { | ||
if (ch === '\r' || ch === '\n' || ch === '\r\n') { | ||
break; | ||
} | ||
ch = this.lexer.input(); | ||
} | ||
var result = this.lexer._input.substring(offset, this.lexer.offset).trim(); | ||
var input = this.lexer.text.trim(); | ||
this.token = this.lexer.lex(); // eat && continue | ||
return result; | ||
return input; | ||
}; | ||
@@ -464,0 +462,0 @@ |
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
87966
1945