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.9 to 1.0.10

7

index.js

@@ -114,2 +114,5 @@ /*

lastFileName = lastFileName.replace(/\.[^/.]+$/g, "");
if(lastFileName.indexOf(relativePathStart) == 0) {
lastFileName = lastFileName.substr(relativePathStart.length);
}

@@ -148,3 +151,3 @@ var __selector;

if (_hasHtmlFile) {
metadata = 'template: require(".' + lastFileName + htmlExtension + '"),\n' + metadata;
metadata = 'template: require("' + relativePathStart + lastFileName + htmlExtension + '"),\n' + metadata;
}

@@ -165,3 +168,3 @@ }

if (_hasCssFile) {
metadata = 'styles: [require(".' + lastFileName + cssExtension + '")],\n' + metadata;
metadata = 'styles: [require("' + relativePathStart + lastFileName + cssExtension + '")],\n' + metadata;
}

@@ -168,0 +171,0 @@ }

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

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

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