Socket
Socket
Sign inDemoInstall

angular-html-parser

Package Overview
Dependencies
1
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0 to 5.0.1

4

lib/angular-html-parser/src/index.d.ts

@@ -33,5 +33,5 @@ import { TagContentType } from '../../compiler/src/ml_parser/tags.js';

/**
* tokenize blocks (Angular Control Flow Syntax)
* tokenize angular control flow block syntax
*/
tokenizeBlocks?: boolean;
tokenizeAngularBlocks?: boolean;
}

@@ -38,0 +38,0 @@ export declare function parse(input: string, options?: ParseOptions): ParseTreeResult;

@@ -11,3 +11,3 @@ import { HtmlParser } from "../../compiler/src/ml_parser/html_parser.js";

export function parse(input, options = {}) {
const { canSelfClose = false, allowHtmComponentClosingTags = false, isTagNameCaseSensitive = false, getTagContentType, tokenizeBlocks = false, } = options;
const { canSelfClose = false, allowHtmComponentClosingTags = false, isTagNameCaseSensitive = false, getTagContentType, tokenizeAngularBlocks = false, } = options;
return getParser().parse(input, "angular-html-parser", {

@@ -18,3 +18,3 @@ tokenizeExpansionForms: false,

allowHtmComponentClosingTags,
tokenizeBlocks,
tokenizeBlocks: tokenizeAngularBlocks,
}, isTagNameCaseSensitive, getTagContentType);

@@ -21,0 +21,0 @@ }

@@ -106,2 +106,4 @@ /**

readonly type = "blockParameter";
readonly startSourceSpan: null;
readonly endSourceSpan: null;
}

@@ -108,0 +110,0 @@ export interface Visitor {

@@ -133,2 +133,4 @@ /**

this.type = 'blockParameter';
this.startSourceSpan = null;
this.endSourceSpan = null;
}

@@ -135,0 +137,0 @@ visit(visitor, context) {

{
"name": "angular-html-parser",
"version": "5.0.0",
"version": "5.0.1",
"description": "A HTML parser extracted from Angular with some modifications",

@@ -5,0 +5,0 @@ "main": "./lib/angular-html-parser/src/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc