Socket
Socket
Sign inDemoInstall

template7

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

1.4.2

Diff

Changelog

Source

Template7 v1.4.2 - Released on June 14, 2019

  • escape helper won't throw errors when undefined or null passed, it will just return empty string
    • Fixed issue when referencing array or object in js_if @root could throw errors
nolimits4web
published 1.4.1 •

Changelog

Source

Template7 v1.4.1 - Released on February 5, 2019

  • Relaxed escape helper to escape only <>&"' characters
    • Improved variables parsing in js and js_if helpers
nolimits4web
published 1.4.0 •

Changelog

Source

Template7 v1.4.0 - Released on August 31, 2018

  • Added TypeScript definitions
nolimits4web
published 1.3.8 •

Changelog

Source

Template7 v1.3.8 - Released on July 24, 2018

  • Fixed issue with parsing parents in js and js_if helpers when properties contain $ character
nolimits4web
published 1.3.7 •

Changelog

Source

Template7 v1.3.7 - Released on July 17, 2018

  • Fixed issue when Template7 used in Node.js environment
nolimits4web
published 1.3.6 •

Changelog

Source

Template7 v1.3.6 - Released on June 11, 2018

  • Better @global parsing in js and js_if helpers
nolimits4web
published 1.3.5 •

Changelog

Source

Template7 v1.3.5 - Released on January 22, 2018

  • Fixed helpers access when used as ES module
    • Added support for dynamic helper names and partials by encapsulating their names in [] square brackets
nolimits4web
published 1.3.1 •

Changelog

Source

Template7 v1.3.1 - Released on October 25, 2017

  • Added new {{#raw}}...{{/raw}} block helper to bypass template compilation inside of this block
    • Less strict rules for spaces inside of expressions. Expressions like {{ name }} works now as expected
    • ES-module package renamed from template7.module.js to template7.esm.js
nolimits4web
published 1.3.0 •

Changelog

Source

Template7 v1.3.0 - Released on September 13, 2017

  • Small performance improvements with decreased number of eval calls
    • Source-code restructure into more ES-next modules
nolimits4web
published 1.2.5 •

Changelog

Source

Template7 v1.2.5 - Released on August 2, 2017

  • js_compare helper has been renamed to js_if helper. js_compare is still available for backwards compatibility
    • Added support for @index, @first, @last, @key, @root, @global variables to js and js_if helpers
    • Added support for parent access (e.g. ../title) to js and js_if helpers
    • Added support for parent data access within loops, e.g. ../../@index
2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc