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.4.2 to 0.4.3

9

lib/index.js

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

try {
if (this.string) {
if (this.literal) {
var source = (this.unminified) ? this.source :
// Remove leading and trailing whitespace only lines by default
this.source.replace(/^\s*\n/, '').replace(/\s*$/, '');
template = new templates.Text(source);
} else if (this.string) {
template = createStringTemplate(this.source, this);

@@ -127,3 +132,3 @@ } else {

} else if (parseNode.content.length > 1) {
var template = new templates.Template(parseNode.content);
var template = new templates.Template(parseNode.content, value);
attributesMap[key] = new templates.DynamicAttribute(template, nsUri);

@@ -130,0 +135,0 @@

{
"name": "derby-parsing",
"version": "0.4.2",
"version": "0.4.3",
"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