You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

angular-html-parser

Package Overview
Dependencies
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-html-parser - npm Package Compare versions

Comparing version

to
9.1.0

lib/compiler/src/directive_matching.d.ts

4

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

@@ -40,2 +40,6 @@ import { TagContentType } from "../../compiler/src/ml_parser/tags.js";

tokenizeAngularLetDeclaration?: boolean;
/**
* enable angular selectorless syntax
*/
enableAngularSelectorlessSyntax?: boolean;
}

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

3

lib/angular-html-parser/src/index.js

@@ -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, tokenizeAngularBlocks = false, tokenizeAngularLetDeclaration = false, } = options;
const { canSelfClose = false, allowHtmComponentClosingTags = false, isTagNameCaseSensitive = false, getTagContentType, tokenizeAngularBlocks = false, tokenizeAngularLetDeclaration = false, enableAngularSelectorlessSyntax = false, } = options;
return getParser().parse(input, "angular-html-parser", {

@@ -20,2 +20,3 @@ tokenizeExpansionForms: tokenizeAngularBlocks,

tokenizeLet: tokenizeAngularLetDeclaration,
selectorlessEnabled: enableAngularSelectorlessSyntax,
}, isTagNameCaseSensitive, getTagContentType);

@@ -22,0 +23,0 @@ }

@@ -13,3 +13,3 @@ /**

// be compiled with the compiler.
import { CssSelector } from "./selector.js";
import { CssSelector } from "./directive_matching.js";
// Stores the default value of `emitDistinctChangesOnly` when the `emitDistinctChangesOnly` is not

@@ -16,0 +16,0 @@ // explicitly set.

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

@@ -5,0 +5,0 @@ "repository": "https://github.com/prettier/angular-html-parser/blob/HEAD/packages/angular-html-parser",

@@ -0,0 +0,0 @@ This project incorporates third party material from the projects listed below.

Sorry, the diff of this file is not supported yet