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

@angularclass/conventions-loader

Package Overview
Dependencies
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angularclass/conventions-loader - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

index.js

@@ -39,3 +39,3 @@ /*

// using: regex, capture groups, and capture group variables.
const componentRegex = /@(Component)\({([\s\S]*?)}\)$/gm;
const componentRegex = /@(Component|Directive)\({([\s\S]*?)}\)$/gm;
const checkComponentRegex = /(@Component\({[\s\S]*?}\))$/gm;

@@ -105,3 +105,3 @@ // TODO(gdi2290): become a regexp master to fix this

// TODO(gdi2290): become a regexp master to fix this
var __args = /@(Component)\({([\s\S]*?)}\)\s*export\s*class\s*([\s\S]+)\s*(extends|implements|{)$/m.exec(src.slice(offset));
var __args = /@(Component|Directive)\({([\s\S]*?)}\)\s*export\s*class\s*([\s\S]+)\s*(extends|implements|{)$/m.exec(src.slice(offset));
if (__args && __args[3]) {

@@ -108,0 +108,0 @@ var __className = __args[3].split(' ')[0];

{
"name": "@angularclass/conventions-loader",
"version": "1.0.0",
"version": "1.0.1",
"description": "Allow default for @Component metadata for Angular 2",

@@ -22,4 +22,4 @@ "main": "index.js",

],
"author": "Sean Larkin",
"license": "MIT",
"author": "PatrickJS <patrick@angularclass.com>",
"license": "Apache-2.0",
"bugs": {

@@ -26,0 +26,0 @@ "url": "https://github.com/angularclass/angular2-conventions-loader/issues"

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