core-annotations
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -126,3 +126,3 @@ class Annotation { | ||
let fieldAnnotations = [] | ||
src = src.replace(/\@\[([\d,]+)\]\s*(\w+)\s+(\r|\n)/g, (all, $targets, $field) => { | ||
src = src.replace(/\@\[([\d,]+)\]\s*(\w+)\s+(\r|\n)*/g, (all, $targets, $field) => { | ||
var clz = this._getClass(src, $targets) | ||
@@ -129,0 +129,0 @@ if (!!clz) { |
{ | ||
"name": "core-annotations", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Flexible annotation parser for Node", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -30,3 +30,3 @@ # core-annotations | ||
compile() { | ||
compile() { | ||
/* do anything you want to intercept (class | method | field) using below methods | ||
@@ -41,3 +41,3 @@ * this.getClass() | ||
*/ | ||
} | ||
} | ||
} | ||
@@ -44,0 +44,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23964