Socket
Socket
Sign inDemoInstall

@angular-eslint/eslint-plugin-template

Package Overview
Dependencies
Maintainers
1
Versions
763
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular-eslint/eslint-plugin-template - npm Package Compare versions

Comparing version 18.2.1-alpha.1 to 18.2.1-alpha.2

4

dist/rules/prefer-self-closing-tags.js

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

// angular 18 doesnt support self closing tags in index.html
if (context.physicalFilename.endsWith('src/index.html')) {
if (/src[\\/]index\.html$/.test(context.physicalFilename)) {
// If it is, return an empty object to skip this rule

@@ -75,3 +75,3 @@ return {};

.toString()
.match(/>(\s*)</m)
.match(/<ng-content[^>]*>(\s*)<\/ng-content>/m)
?.at(1);

@@ -78,0 +78,0 @@ const hasContent = typeof whiteSpaceContent === 'undefined';

{
"name": "@angular-eslint/eslint-plugin-template",
"version": "18.2.1-alpha.1",
"version": "18.2.1-alpha.2",
"description": "ESLint plugin for Angular Templates",

@@ -21,4 +21,4 @@ "license": "MIT",

"dependencies": {
"@angular-eslint/bundled-angular-compiler": "18.2.1-alpha.1",
"@angular-eslint/utils": "18.2.1-alpha.1",
"@angular-eslint/bundled-angular-compiler": "18.2.1-alpha.2",
"@angular-eslint/utils": "18.2.1-alpha.2",
"aria-query": "5.3.0",

@@ -28,3 +28,3 @@ "axobject-query": "4.1.0"

"devDependencies": {
"@angular-eslint/test-utils": "18.2.1-alpha.1",
"@angular-eslint/test-utils": "18.2.1-alpha.2",
"@types/aria-query": "5.0.4"

@@ -31,0 +31,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