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

templates

Package Overview
Dependencies
Maintainers
3
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

templates - npm Package Compare versions

Comparing version 0.21.0 to 0.21.1

README.md

6

lib/plugins/helpers.js

@@ -182,5 +182,7 @@ 'use strict';

helpers = utils.arrayify(helpers);
var type = isAsync ? 'async' : 'sync';
var cache = this._.helpers[type][name] = {};
var loader = utils.loader(cache, {async: isAsync});
this._.helpers[type][name] = this._.helpers[type][name] || {};
var loader = utils.loader(this._.helpers[type][name], {async: isAsync});
loader.call(loader, helpers);

@@ -187,0 +189,0 @@ return this;

{
"name": "templates",
"description": "System for creating and managing template collections, and rendering templates with any node.js template engine. Can be used as the basis for creating a static site generator or blog framework.",
"version": "0.21.0",
"version": "0.21.1",
"homepage": "https://github.com/jonschlinkert/templates",

@@ -74,2 +74,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"kind-of": "^3.0.3",
"mocha": "^2.5.3",
"parser-front-matter": "^1.3.0",

@@ -76,0 +77,0 @@ "remarkable": "^1.6.2",

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