Socket
Socket
Sign inDemoInstall

vanilla-match-height

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vanilla-match-height - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

5

CHANGELOG.md
<a name="0.0.1"></a>
# 0.0.3 (2023-11-18)
### fix display
<a name="0.0.1"></a>
# 0.0.2 (2023-11-18)

@@ -3,0 +8,0 @@

9

dist/vanilla-match-height.js
/**
* vanilla-match-height v0.0.2 by @mitera
* vanilla-match-height v0.0.3 by @mitera
* Simone Miterangelis <simone@mite.it>

@@ -241,7 +241,8 @@ * License: MIT

if (display && (display !== 'inline-block' && display !== 'flex' && display !== 'inline-flex')) {
display = 'display: block;';
// ensure we get the correct actual height (and not a previously set height value)
$that.setAttribute('style', display);
display = 'block';
}
// ensure we get the correct actual height (and not a previously set height value)
$that.setAttribute('style', 'display: ' + display + ';');
// find the max height (including padding, but not margin)

@@ -248,0 +249,0 @@ var isTarget = true;

{
"name": "vanilla-match-height",
"version": "0.0.2",
"version": "0.0.3",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "Simone Miterangelis <simone@mite.it>",

/**
* vanilla-match-height v0.0.2 by @mitera
* vanilla-match-height v0.0.3 by @mitera
* Simone Miterangelis <simone@mite.it>

@@ -241,7 +241,8 @@ * License: MIT

if (display && (display !== 'inline-block' && display !== 'flex' && display !== 'inline-flex')) {
display = 'display: block;';
// ensure we get the correct actual height (and not a previously set height value)
$that.setAttribute('style', display);
display = 'block';
}
// ensure we get the correct actual height (and not a previously set height value)
$that.setAttribute('style', 'display: ' + display + ';');
// find the max height (including padding, but not margin)

@@ -248,0 +249,0 @@ var isTarget = true;

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