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

templates

Package Overview
Dependencies
Maintainers
2
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

templates - npm Package Versions

1
16

0.14.2

Diff

jonschlinkert
published 0.14.1 •

jonschlinkert
published 0.14.0 •

Changelog

Source

[0.14.0]

Although 99% of users won't be effected by the changes in this release, there were some potentially breaking changes.

  • The render and compile methods were streamlined, making it clear that .mergePartials should not have been renamed to mergePartialsSync. So that change was reverted.
  • Helper context: Exposes a this.helper object to the context in helpers, which has the helper name and options that were set specifically for that helper
  • Helper context: Exposes a this.view object to the context in helpers, which is the current view being rendered. This was (and still is) always expose on this.context.view, but it makes sense to add this to the root of the context as a convenience. We will deprecate this.context.view in a future version.
  • Helper context: .get, .set and .merge methods on this.options, this.context and the this object in helpers.
jonschlinkert
published 0.13.7 •

jonschlinkert
published 0.13.6 •

jonschlinkert
published 0.13.5 •

doowb
published 0.13.4 •

doowb
published 0.13.3 •

jonschlinkert
published 0.13.2 •

jonschlinkert
published 0.13.1 •

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