Socket
Socket
Sign inDemoInstall

@ngtools/webpack

Package Overview
Dependencies
Maintainers
2
Versions
825
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngtools/webpack - npm Package Compare versions

Comparing version 18.2.0-next.0 to 18.2.0-next.1

2

package.json
{
"name": "@ngtools/webpack",
"version": "18.2.0-next.0",
"version": "18.2.0-next.1",
"description": "Webpack plugin that AoT compiles your Angular components and modules.",

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

@@ -75,5 +75,4 @@ "use strict";

case ts.SyntaxKind.Identifier:
const parent = node.parent;
if (parent && ts.isShorthandPropertyAssignment(parent)) {
const shorthandSymbol = typeChecker.getShorthandAssignmentValueSymbol(parent);
if (node.parent && ts.isShorthandPropertyAssignment(node.parent)) {
const shorthandSymbol = typeChecker.getShorthandAssignmentValueSymbol(node.parent);
if (shorthandSymbol) {

@@ -80,0 +79,0 @@ symbol = shorthandSymbol;

@@ -108,3 +108,3 @@ "use strict";

return undefined;
case 'templateUrl':
case 'templateUrl': {
const url = getResourceUrl(node.initializer);

@@ -119,5 +119,6 @@ if (!url) {

return nodeFactory.updatePropertyAssignment(node, nodeFactory.createIdentifier('template'), importName);
}
case 'styles':
case 'styleUrl':
case 'styleUrls':
case 'styleUrls': {
const isInlineStyle = name === 'styles';

@@ -144,2 +145,3 @@ let styles;

return undefined;
}
default:

@@ -146,0 +148,0 @@ return node;

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