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.1.9 to 0.1.11

8

lib/templates.js

@@ -302,3 +302,5 @@ var saddle = require('saddle');

this.nameMap = new ViewsMap();
this.elementMap = new ViewsMap();
this.tagMap = new ViewsMap();
// TODO: elementMap is deprecated and should be removed with Derby 0.6.0
this.elementMap = this.tagMap;
}

@@ -345,3 +347,5 @@ Views.prototype.find = function(name, namespace) {

this.nameMap[mapName] = view;
if (options && options.element) this.elementMap[options.element] = view;
// TODO: element is deprecated and should be removed with Derby 0.6.0
var tagName = options && (options.tag || options.element);
if (tagName) this.tagMap[tagName] = view;
return view;

@@ -348,0 +352,0 @@ };

{
"name": "derby-templates",
"version": "0.1.9",
"version": "0.1.11",
"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