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

leaflet-editable-textbox

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaflet-editable-textbox - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

demo/js/build.js

2

package.json
{
"name": "leaflet-editable-textbox",
"version": "1.0.11",
"version": "1.0.12",
"description": "TextBox for Leaflet.Editable",

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

@@ -5,3 +5,3 @@ # leaflet-schematic-textBox

See `demo` for usage example.
See [Demo](https://rumax.github.io/Leaflet.Editable.TextBox/demo/ "Demo") for example.

@@ -8,0 +8,0 @@ ## License

@@ -22,2 +22,3 @@ /**

var textSize;
var fontSizeAttr;

@@ -27,11 +28,13 @@ if (0 < texts.length) {

for (var ind = texts.length - 1; 0 <= ind; --ind) {
textSize = parseFloat(texts[ind].getAttribute('font-size'));
size += textSize;
if (sizeMin > textSize) {
sizeMin = textSize;
fontSizeAttr = texts[ind].getAttribute('font-size');
if (null !== fontSizeAttr) {
textSize = parseFloat(texts[ind].getAttribute('font-size'));
size += textSize;
if (sizeMin > textSize) {
sizeMin = textSize;
}
if (sizeMax < textSize) {
sizeMax = textSize;
}
}
if (sizeMax < textSize) {
sizeMax = textSize;
}
}

@@ -38,0 +41,0 @@

Sorry, the diff of this file is not supported yet

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