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

liquidless

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liquidless - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

5

dist/index.js

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

delimiters = options.delimiters;
return template.replaceAll(new RegExp(`\\${delimiters[0]}(.+?)${delimiters[1]}`, 'g'), (a, match) => {
return template.replaceAll(new RegExp(`\\${delimiters[0]}(.+?)${delimiters[1]}`, 'g'), (_, match) => {
const [variable, ...filters] = match.split('|');

@@ -48,3 +48,4 @@ const combinedFilters = { ...filters_1.defaultFilters, ...options?.filters };

else if (typeof obj[key] === 'string') {
obj[key] = renderString(obj[key], props, options);
const rendered = renderString(obj[key], props, options);
obj[key] = isNaN(parseInt(rendered)) ? rendered : parseInt(rendered);
}

@@ -51,0 +52,0 @@ }

2

package.json
{
"name": "liquidless",
"version": "1.2.0",
"version": "1.2.1",
"description": "Shopify's Liquid template engine, but less powerful",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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