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

to
0.7.3

9

lib/index.js

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

}
return (isWithin) ? expression : new expressions.ViewParentExpression(expression);
// In the case of within attributes, always use a template, never an
// expression. A within value depends on the rendering context, so we
// cannot get a single value for the attribute and store it on the
// component model when the component is initialized
if (isWithin) return item;
// Create an expression in cases where it is safe to do so. This allows
// derby to get the intended value and store it on the component model
return new expressions.ViewParentExpression(expression);
}

@@ -355,0 +362,0 @@ }

2

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

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