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.1 to 1.2.2

7

dist/filters.js

@@ -5,3 +5,8 @@ "use strict";

exports.defaultFilters = {
upcase: (value) => value.toUpperCase()
upcase: (value) => value.toUpperCase(),
downcase: (value) => value.toLowerCase(),
capitalize: (value) => value.charAt(0).toUpperCase() + value.slice(1),
toInt: (value) => parseInt(value),
toFloat: (value) => parseFloat(value),
toString: (value) => value.toString(),
};

4

dist/index.js

@@ -25,5 +25,3 @@ "use strict";

if (args.length > 0) {
parsedArgs = args[0].split(',')
.map(arg => arg.trim())
.map(arg => isNaN(parseInt(arg)) ? arg : parseInt(arg));
parsedArgs = args[0].split(',').map(arg => arg.trim());
}

@@ -30,0 +28,0 @@ variableValue = combinedFilters[filterMethod]

{
"name": "liquidless",
"version": "1.2.1",
"version": "1.2.2",
"description": "Shopify's Liquid template engine, but less powerful",

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

@@ -77,1 +77,5 @@ # liquidless

- `upcase` - converts each character of a string to uppercase
- `downcase` - each character of a string to lowercase
- `toInt` - converts a value to Int
- `toFloat` - converts a value to Float
- `toString` - converts a value to String
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