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.0 to 0.4.1

8

CHANGELOG.md

@@ -0,1 +1,9 @@

## [Version 0.4.1](https://github.com/glayzzle/docblock-parser/releases/tag/v0.4.1) (2017-1-19)
### Patches
- fix infinite loop when parsing a block: [`4a05f0b`](https://github.com/glayzzle/docblock-parser/commit/4a05f0b)
[...full changes](https://github.com/glayzzle/docblock-parser/compare/v0.4.0...v0.4.1)
## [Version 0.4.0](https://github.com/glayzzle/docblock-parser/releases/tag/v0.4.0) (2017-1-10)

@@ -2,0 +10,0 @@

2

package.json
{
"name": "doc-parser",
"version": "0.4.0",
"version": "0.4.1",
"description": "Parses docblocks comments",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -5,3 +5,3 @@ # DocBlock & Annotations Parser

[![Build Status](https://travis-ci.org/glayzzle/doc-parser.svg?branch=master)](https://travis-ci.org/glayzzle/doc-parser)
[![Coverage Status](https://coveralls.io/repos/github/glayzzle/doc-parser/badge.svg?branch=master)](https://coveralls.io/github/glayzzle/doc-parser?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/glayzzle/doc-parser/badge.svg?branch=master&v=1)](https://coveralls.io/github/glayzzle/doc-parser?branch=master)
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)

@@ -125,1 +125,2 @@ [![Gitter](https://img.shields.io/badge/GITTER-join%20chat-green.svg)](https://gitter.im/glayzzle/Lobby)

This library is released under BSD-3 license clause.

@@ -268,3 +268,3 @@ /*!

};
while (line === this.lexer.line) {
while (line === this.lexer.line && this.token !== this.lexer._t.T_EOF) {
item = this.parseTopStatement();

@@ -271,0 +271,0 @@ if (item !== null) {

@@ -15,2 +15,10 @@ /*!

var ast = doc.parse([
'@foobar'
]);
ast.body[0].kind.should.be.exactly('block');
ast.body[0].name.should.be.exactly('foobar');
ast.body[0].options.length.should.be.exactly(0);
});
it('should parse', function () {
var ast = doc.parse([
'/**',

@@ -17,0 +25,0 @@ ' * @foobar("arg", @bar("foo" => true))',

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