Socket
Socket
Sign inDemoInstall

htmljs-parser

Package Overview
Dependencies
Maintainers
5
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

htmljs-parser - npm Package Compare versions

Comparing version 5.1.1 to 5.1.2

4

dist/states/EXPRESSION.d.ts
import { StateDefinition, Meta } from "../internal";
export interface ExpressionMeta extends Meta {
groupStack: number[];
terminator: number | (number | number[])[];
skipOperators: boolean;
operators: boolean;
terminatedByEOL: boolean;
terminatedByWhitespace: boolean;
shouldTerminate(code: number, data: string, pos: number): boolean;
}
export declare const EXPRESSION: StateDefinition<ExpressionMeta>;
import { StateDefinition, Ranges, Meta, TagType } from "../internal";
export declare const enum TAG_STAGE {
export declare enum TAG_STAGE {
UNKNOWN = 0,

@@ -4,0 +4,0 @@ VAR = 1,

@@ -30,2 +30,3 @@ export declare const enum CODE {

PERIOD = 46,
PLUS = 43,
COMMA = 44,

@@ -39,3 +40,7 @@ COLON = 58,

SPACE = 32,
TAB = 9
TAB = 9,
AMPERSAND = 38,
CARET = 94,
TILDE = 126,
UNDERSCORE = 95
}

@@ -42,0 +47,0 @@ export interface Position {

@@ -18,1 +18,4 @@ import { type Parser } from "../internal";

export declare function htmlEOF(this: Parser): void;
export declare function matchesCloseParen(code: number): boolean;
export declare function matchesCloseCurlyBrace(code: number): boolean;
export declare function matchesPipe(code: number): boolean;
{
"name": "htmljs-parser",
"description": "An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values",
"version": "5.1.1",
"version": "5.1.2",
"devDependencies": {
"@changesets/changelog-github": "^0.4.4",
"@changesets/cli": "^2.22.0",
"@changesets/changelog-github": "^0.4.6",
"@changesets/cli": "^2.24.1",
"@types/degit": "^2.8.3",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.38",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"@types/node": "^18.6.4",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"cross-env": "^7.0.3",
"degit": "^2.8.4",
"esbuild": "0.14.42",
"eslint": "^8.16.0",
"esbuild": "0.14.53",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",

@@ -21,10 +21,10 @@ "fast-glob": "^3.2.11",

"husky": "^8.0.1",
"lint-staged": "^13.0.0",
"mitata": "^0.1.1",
"lint-staged": "^13.0.3",
"mitata": "^0.1.6",
"mocha": "^10.0.0",
"mocha-snap": "^4.3.0",
"nyc": "^15.1.0",
"prettier": "^2.6.2",
"tsx": "^3.4.2",
"typescript": "^4.7.2"
"prettier": "^2.7.1",
"tsx": "^3.8.0",
"typescript": "^4.7.4"
},

@@ -31,0 +31,0 @@ "exports": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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