New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

doc-parser

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

doc-parser - npm Package Compare versions

Comparing version 0.4.7 to 0.4.8

dist/doc-parser.js

8

CHANGELOG.md

@@ -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 @@

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc