Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lemonadejs

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lemonadejs - npm Package Compare versions

Comparing version 3.3.0 to 3.3.1

15

dist/index.js

@@ -640,13 +640,5 @@ /**

parseTokens.call(self, { e: element, a: prop, v: attr[k[i]], s: self, r: r, loop: true })
} else if (type === 'src') {
// Parse attributes
parseTokens.call(self, { e: element, a: 'src', v: '{{' + attr[k[i]] + '}}', s: self })
} else {
// Parse attributes
let value = run.call(self, attr[k[i]]);
if (element.lemonade) {
element.lemonade.self[type] = value;
} else {
element[type] = value;
}
parseTokens.call(self, { e: element, a: type, v: '{{' + attr[k[i]] + '}}', s: self })
}

@@ -685,4 +677,7 @@

if (t && t.handler && ! t.loop) {
let s = getAttributes.call(element, true);
// Make sure we have the attributes with the most recent values
L.setProperties.call(s, t.self);
// Make sure the self goes as a reference
L.setProperties.call(t.self, getAttributes.call(element, true), true);
L.setProperties.call(t.self, s, true);
// Reference to the element

@@ -689,0 +684,0 @@ register(t.self, 'parent', self);

@@ -651,13 +651,5 @@ /**

parseTokens.call(self, { e: element, a: prop, v: attr[k[i]], s: self, r: r, loop: true })
} else if (type === 'src') {
// Parse attributes
parseTokens.call(self, { e: element, a: 'src', v: '{{' + attr[k[i]] + '}}', s: self })
} else {
// Parse attributes
let value = run.call(self, attr[k[i]]);
if (element.lemonade) {
element.lemonade.self[type] = value;
} else {
element[type] = value;
}
parseTokens.call(self, { e: element, a: type, v: '{{' + attr[k[i]] + '}}', s: self })
}

@@ -696,4 +688,7 @@

if (t && t.handler && ! t.loop) {
let s = getAttributes.call(element, true);
// Make sure we have the attributes with the most recent values
L.setProperties.call(s, t.self);
// Make sure the self goes as a reference
L.setProperties.call(t.self, getAttributes.call(element, true), true);
L.setProperties.call(t.self, s, true);
// Reference to the element

@@ -700,0 +695,0 @@ register(t.self, 'parent', self);

@@ -39,3 +39,3 @@ {

"types": "dist/lemonade.d.ts",
"version": "3.3.0"
"version": "3.3.1"
}
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