New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

derby-parsing

Package Overview
Dependencies
Maintainers
3
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

derby-parsing - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

11

lib/index.js

@@ -286,3 +286,3 @@ var htmlUtil = require('html-util');

var remaining = element.content || [];
var viewInstance = new templates.DynamicViewInstance(nameAttribute.expression, viewAttributes, hooks);
var viewInstance = createDynamicViewInstance(nameAttribute.expression, viewAttributes, hooks);
finishParseViewElement(viewAttributes, remaining, viewInstance);

@@ -313,2 +313,9 @@ } else {

function createDynamicViewInstance(expression, attributes, hooks) {
var viewInstance = new templates.DynamicViewInstance(expression, attributes, hooks);
// Wrap the viewInstance in a block with the same expression, so that it is
// re-rendered when any of its dependencies change
return new templates.Block(expression, [viewInstance]);
}
function finishParseViewElement(viewAttributes, remaining, viewInstance) {

@@ -460,3 +467,3 @@ if (!viewAttributes.hasOwnProperty('content') && remaining.length) {

} else {
viewInstance = new templates.DynamicViewInstance(nameExpression, hooks, viewAttributes);
viewInstance = createDynamicViewInstance(nameExpression, viewAttributes, hooks);
}

@@ -463,0 +470,0 @@ parseNode.content.push(viewInstance);

2

package.json
{
"name": "derby-parsing",
"version": "0.3.0",
"version": "0.3.1",
"description": "Add HTML template parsing to Derby",

@@ -5,0 +5,0 @@ "main": "lib/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