Socket
Socket
Sign inDemoInstall

dynamic-marquee

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamic-marquee - npm Package Compare versions

Comparing version 2.3.13 to 2.3.14

8

dist/dynamic-marquee.js

@@ -208,6 +208,3 @@ (function (global, factory) {

value: function getWidth() {
// ignore the cached result if it is 0 because we get notified of the new size async, and it might
// have content and not actually be 0 anymore. Treating 0 as a special case because being wrong with 0 is
// generally worse than having an actual value
if (this._width !== null && this._width !== 0) return this._width;
if (this._width !== null) return this._width;

@@ -222,4 +219,3 @@ // maps to `inlineSize`

value: function getHeight() {
// see comment above for why !== 0
if (this._height !== null && this._height !== 0) return this._height;
if (this._height !== null) return this._height;

@@ -226,0 +222,0 @@ // maps to `blockSize`

{
"name": "dynamic-marquee",
"version": "2.3.13",
"version": "2.3.14",
"description": "A small library for creating marquees.",

@@ -5,0 +5,0 @@ "main": "./dist/dynamic-marquee.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