@conga/annotations
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -53,3 +53,3 @@ 'use strict' | ||
// split all commas | ||
const parts = fixedString.split(',') | ||
const parts = fixedString.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/) | ||
@@ -56,0 +56,0 @@ let isContinue = true |
{ | ||
"name": "@conga/annotations", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Annotation parser library for ES2014/ES2015, ES5/ES6", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/congajs/conga-annotations", |
@@ -1,2 +0,2 @@ | ||
# conga-annotations | ||
# conga-annotations | ||
@@ -46,3 +46,3 @@ [![NPM version][npm-image]][npm-url] | ||
HelloWorld.prototype = { | ||
/** | ||
@@ -65,7 +65,7 @@ * @MyPropertyAnnotation(foo=[1,2,3,4], bar={"hello":"there"}) | ||
> npm install conga-annotations | ||
> npm install @conga/annotations | ||
## Usage | ||
Full example in [example folder](https://github.com/congajs/conga-annotations/tree/master/example) (`node main.js` to test is). | ||
Full example in [example folder](https://github.com/congajs/conga-annotations/tree/master/example) (`node main.js` to test is). | ||
@@ -97,3 +97,3 @@ ### Create an Annotation | ||
} | ||
/** | ||
@@ -114,3 +114,3 @@ * Optional initialization method that | ||
} | ||
}); | ||
@@ -201,3 +201,1 @@ | ||
[codeclimate-url]: https://codeclimate.com/github/congajs/conga-annotations | ||
35299
197