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

templates

Package Overview
Dependencies
Maintainers
1
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 1.2.4 to 1.2.5

1

lib/helpers/plural.js
'use strict';
var debug = require('debug')('base:templates:helper');
var extend = require('extend-shallow');
var List = require('../list');

@@ -6,0 +5,0 @@

4

lib/list.js

@@ -357,5 +357,5 @@ 'use strict';

for (var i = 0; i < items.length; i++) {
list.deleteItem(items[i]);
this.deleteItem(items[i]);
}
return list.items;
return this.items;
};

@@ -362,0 +362,0 @@

@@ -207,2 +207,13 @@ 'use strict';

if (engine.Handlebars) {
for (var key in engine.Handlebars.helpers) {
if (engine.Handlebars.helpers.hasOwnProperty(key)) {
var val = engine.Handlebars.helpers[key];
if (!app.hasHelper(key) && !app.hasAsyncHelper(key)) {
app.helper(key, val);
}
}
}
}
if (typeof engine === 'undefined') {

@@ -209,0 +220,0 @@ cb(app.formatError('compile', 'engine', formatExtError(file, ext)));

{
"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": "1.2.4",
"version": "1.2.5",
"homepage": "https://github.com/jonschlinkert/templates",

@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

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