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

liquidjs

Package Overview
Dependencies
Maintainers
0
Versions
209
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liquidjs - npm Package Versions

1
21

10.3.1

Diff

Changelog

Source

10.3.1 (2022-12-12)

Bug Fixes

  • support Context as evalValue parameter, #568 (0f4916b)
harttle
published 10.3.0 •

Changelog

Source

10.3.0 (2022-12-11)

Features

  • support disable outputEscape for specific filters, #565 (e6db371)
harttle
published 10.2.0 •

Changelog

Source

10.2.0 (2022-12-02)

Bug Fixes

  • case should render multiple when statements (d17813e)

Features

harttle
published 10.1.0 •

Changelog

Source

10.1.0 (2022-11-29)

Features

  • timezone name for opts.timezoneOffset and date argument, fixes #553 (89c6c76)
harttle
published 10.0.0 •

Changelog

Source

10.0.0 (2022-11-27)

Code Refactoring

  • rename filters to snake style, #487 (ff112a4)
  • _evalToken renamed to evalToken (4e1a30a)
  • change ownPropertyOnly default value to true (7eb6216)
  • delay creation of operatorsTrie and hide this implementation (bb58d3e)
  • remove toThenable export (ffefd91)
  • remove use of internal Context class in evalValue argument (b115077)

Performance Improvements

  • target Node.js 14 for cjs bundle (main entry) (1f6ce7c)

BREAKING CHANGES

  • evalToken now returns a generator (LiquidJS async), which is different from evalToken in previous LiquidJS versions.
  • main entry need Node.js>=14 to run, you can build LiquidJS by your own by using ESM entry.
  • ownPropertyOnly default value changed to true
  • <liquidjs>.toThenable is removed, use <liquidjs>.toPromise instead
  • evalValue won't support Context as second argument anymore.
  • use operators instead of operatorsTrie as Tokenizer constructor argument, #500
  • keys in <liquidjs>.filters are now in snake case (instead of camel case), identical to that in Liquid template.
harttle
published 9.43.0 •

Changelog

Source

9.43.0 (2022-11-27)

Features

  • support timezone offset argument for date filter, #553 (7a71485)
harttle
published 9.42.1 •

Changelog

Source

9.42.1 (2022-10-21)

Bug Fixes

  • truncatewords should use at least one word, #537 (32f613f)
harttle
published 9.42.0 •

Changelog

Source

9.42.0 (2022-08-27)

Features

harttle
published 9.41.0 •

Changelog

Source

9.41.0 (2022-08-24)

Features

  • use evalValue to parse & render expression, #527 (071368a)
harttle
published 9.40.0 •

Changelog

Source

9.40.0 (2022-08-14)

Bug Fixes

Features

  • export toValueSync & defaultOptions to evaluate expression, see #527 (e874b40)
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