Socket
Socket
Sign inDemoInstall

derby-templates

Package Overview
Dependencies
Maintainers
3
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

derby-templates - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

8

lib/templates.js

@@ -251,3 +251,2 @@ var saddle = require('saddle');

this.hooks = hooks;
this.optional = attributes && attributes.optional;
}

@@ -264,8 +263,3 @@ DynamicViewInstance.prototype = new ViewInstance();

var view = name && context.meta.views.find(name, namespace);
if (!view) {
if (this.optional) return exports.emptyTemplate;
var message = context.meta.views.findErrorMessage(name, contextView);
throw new Error(message);
}
return view;
return view || exports.emptyTemplate;
};

@@ -272,0 +266,0 @@

2

package.json
{
"name": "derby-templates",
"version": "0.2.4",
"version": "0.2.5",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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