Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

core-annotations

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

core-annotations - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

lib/compiler.js

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

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