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.2 to 3.4.0

29

dist/index.js
/**
* Lemonadejs v3.3.2 (ESM build)
* Lemonadejs v3.4.0 (ESM build)
*

@@ -351,11 +351,16 @@ * Website: https://lemonadejs.net

// Verify if the value is a reference or a string
let s = o.v.split('}}')[0];
if (s.substr(0,2) === '{{' && s.length === o.v.length-2) {
s = removeMark(o.v);
v = run.call(o.s, s);
if (o.reference) {
v = run.call(o.s, o.v);
} else {
v = o.v.replace(isScript, function (a, b) {
return run.call(o.s, b);
});
let s = o.v.split('}}')[0];
if (s.substr(0, 2) === '{{' && s.length === o.v.length - 2) {
s = removeMark(o.v);
v = run.call(o.s, s);
} else {
v = o.v.replace(isScript, function (a, b) {
return run.call(o.s, b);
});
}
}
if (o.e.lemonade) {

@@ -372,3 +377,7 @@ o.e.lemonade.self[a] = v;

setAttribute(o.e, v, a);
if (o.reference) {
o.e[a] = v;
} else {
setAttribute(o.e, v, a);
}
}

@@ -668,3 +677,3 @@ }

// Parse attributes
parseTokens.call(self, { e: element, a: type, v: '{{' + attr[k[i]] + '}}', s: self })
parseTokens.call(self, { e: element, a: type, v: attr[k[i]], s: self, reference: true })
}

@@ -671,0 +680,0 @@

/**
* LemonadeJS v3.3.2
* LemonadeJS v3.4.0
*

@@ -362,11 +362,16 @@ * Website: https://lemonadejs.net

// Verify if the value is a reference or a string
let s = o.v.split('}}')[0];
if (s.substr(0,2) === '{{' && s.length === o.v.length-2) {
s = removeMark(o.v);
v = run.call(o.s, s);
if (o.reference) {
v = run.call(o.s, o.v);
} else {
v = o.v.replace(isScript, function (a, b) {
return run.call(o.s, b);
});
let s = o.v.split('}}')[0];
if (s.substr(0, 2) === '{{' && s.length === o.v.length - 2) {
s = removeMark(o.v);
v = run.call(o.s, s);
} else {
v = o.v.replace(isScript, function (a, b) {
return run.call(o.s, b);
});
}
}
if (o.e.lemonade) {

@@ -383,3 +388,7 @@ o.e.lemonade.self[a] = v;

setAttribute(o.e, v, a);
if (o.reference) {
o.e[a] = v;
} else {
setAttribute(o.e, v, a);
}
}

@@ -679,3 +688,3 @@ }

// Parse attributes
parseTokens.call(self, { e: element, a: type, v: '{{' + attr[k[i]] + '}}', s: self })
parseTokens.call(self, { e: element, a: type, v: attr[k[i]], s: self, reference: true })
}

@@ -682,0 +691,0 @@

@@ -13,2 +13,5 @@ {

"two-way data binding",
"javascript two-way data binding",
"reactive micro library",
"reactive javascript library",
"hooks",

@@ -40,3 +43,3 @@ "javascript",

"types": "dist/lemonade.d.ts",
"version": "3.3.2"
"version": "3.4.0"
}

@@ -215,2 +215,5 @@ <h1>LemonadeJS v3: Reactive micro library</h1>

<li><a href="https://lemonadejs.net/docs/web-components">Web components</a></li>
<li><a href="https://lemonadejs.net/docs/quick-reference">Quick reference</a></li>
<li><a href="https://lemonadejs.net/docs/debugging">Debugging</a></li>
<li><a href="https://lemonadejs.net/docs/contributions">Contributing</a></li>
</ul>

@@ -227,9 +230,29 @@

<h3>Useful</h3>
<h3>Libraries</h3>
<ul>
<li><a href="https://lemonadejs.net/docs/quick-reference">Quick reference</a></li>
<li><a href="https://lemonadejs.net/docs/debugging">Debugging</a></li>
<li><a href="https://lemonadejs.net/docs/contributions">Contributing</a></li>
<li><a href="https://lemonadejs.net/library/list">List</a></li>
<li><a href="https://lemonadejs.net/library/rating">Rating</a></li>
<li><a href="https://lemonadejs.net/library/router">Router</a></li>
<li><a href="https://lemonadejs.net/library/signature">Signature</a></li>
<li><a href="https://lemonadejs.net/components/data-grid">Data grid</a></li>
<li><a href="https://lemonadejs.net/components/image-cropper" title="Photo cropper and filters component">Image cropper</a></li>
<li><a href="https://lemonadejs.net/components/modal">Modal</a></li>
<li><a href="https://lemonadejs.net/components/tabs">Tabs</a></li>
<li><a href="https://lemonadejs.net/components/color-picker">Color picker</a></li>
</ul>
<h3>Examples</h3>
<ul>
<li><a href="https://lemonadejs.net/examples/lamp">Lamp</a></li>
<li><a href="https://lemonadejs.net/examples/counter">Counter</a></li>
<li><a href="https://lemonadejs.net/examples/color-generator">Color generator</a></li>
<li><a href="https://lemonadejs.net/examples/value-persistence">Value persistence</a></li>
<li><a href="https://lemonadejs.net/examples/div-onresize">DIV onresize</a></li>
<li><a href="https://lemonadejs.net/examples/rating">Star rating</a></li>
<li><a href="https://lemonadejs.net/examples/table">Table</a></li>
<li><a href="https://lemonadejs.net/examples/enable-disable-elements">Disable elements</a></li>
<li><a href="https://lemonadejs.net/examples/color-picker">Color picker</a></li>
<li><a href="https://lemonadejs.net/examples/hangman">Hangman game</a></li>
<li><a href="https://lemonadejs.net/examples/tic-tac-toe">Tic tac toe</a></li>
</ul>

@@ -236,0 +259,0 @@ <h2>Other tools</h2>

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