Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shopify/liquid-html-parser

Package Overview
Dependencies
Maintainers
8
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/liquid-html-parser - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

8

dist/stage-1-cst.js

@@ -415,3 +415,11 @@ "use strict";

},
filterArguments: 0,
arguments: 0,
complexArguments: function (completeParams, _space1, _comma, _space2, incompleteParam) {
const self = this;
return completeParams
.toAST(self.args.mapping)
.concat(incompleteParam.sourceString === '' ? [] : incompleteParam.toAST(self.args.mapping));
},
simpleArgument: 0,
tagArguments: 0,

@@ -418,0 +426,0 @@ positionalArgument: 0,

14

grammar/liquid-html.ohm.js

@@ -267,2 +267,7 @@ module.exports = String.raw`Helpers {

tagArguments = listOf<namedArgument<delimTag>, argumentSeparatorOptionalComma>
filterArguments<delim> =
| complexArguments<delim>
| simpleArgument<delim>
complexArguments<delim> = arguments<delim> (space* "," space* simpleArgument<delim>)?
simpleArgument<delim> = liquidVariableLookup<delim>

@@ -499,14 +504,17 @@ variableSegment = (letter | "_") (~endOfTagName identifierCharacter)*

WithPlaceholderLiquid <: Liquid {
liquidFilter<delim> := space* "|" space* identifier (space* ":" space* filterArguments<delim> (space* ",")?)?
liquidTagName := (letter | "█") (alnum | "_")*
variableSegment := (letter | "_" | "█") identifierCharacter*
variableSegment := (letter | "_" | "█") (identifierCharacter | "█")*
}
WithPlaceholderLiquidStatement <: LiquidStatement {
liquidFilter<delim> := space* "|" space* identifier (space* ":" space* filterArguments<delim> (space* ",")?)?
liquidTagName := (letter | "█") (alnum | "_")*
variableSegment := (letter | "_" | "█") identifierCharacter*
variableSegment := (letter | "_" | "█") (identifierCharacter | "█")*
}
WithPlaceholderLiquidHTML <: LiquidHTML {
liquidFilter<delim> := space* "|" space* identifier (space* ":" space* filterArguments<delim> (space* ",")?)?
liquidTagName := (letter | "█") (alnum | "_")*
variableSegment := (letter | "_" | "█") identifierCharacter*
variableSegment := (letter | "_" | "█") (identifierCharacter | "█")*
leadingTagNameTextNode := (letter | "█") (alnum | "-" | ":" | "█")*

@@ -513,0 +521,0 @@ trailingTagNameTextNode := (alnum | "-" | ":" | "█")+

{
"name": "@shopify/liquid-html-parser",
"version": "2.1.1",
"version": "2.1.2",
"description": "Liquid HTML parser by Shopify",

@@ -5,0 +5,0 @@ "author": "CP Clermont <cp.clermont@shopify.com>",

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