Socket
Socket
Sign inDemoInstall

dynamic-marquee

Package Overview
Dependencies
0
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.2 to 2.1.3

19

dist/dynamic-marquee.js

@@ -417,6 +417,5 @@ (function (global, factory) {

key: '_removeItem',
value: function _removeItem(_ref6) {
value: function _removeItem(item) {
var _this2 = this;
var item = _ref6.item;
defer(function () {

@@ -444,4 +443,4 @@ item.remove();

var maxSize = this._items.reduce(function (size, _ref7) {
var item = _ref7.item;
var maxSize = this._items.reduce(function (size, _ref6) {
var item = _ref6.item;

@@ -472,4 +471,4 @@ if (item instanceof VirtualItem) {

value: function _enableAnimationHint(enable) {
this._items.forEach(function (_ref8) {
var item = _ref8.item;
this._items.forEach(function (_ref7) {
var item = _ref7.item;
return item.enableAnimationHint(enable);

@@ -539,3 +538,3 @@ });

this._removeItem(this._items[0]);
this._removeItem(item);

@@ -551,4 +550,4 @@ this._items.shift();

this._items.some(function (_ref9, i) {
var item = _ref9.item;
this._items.some(function (_ref8, i) {
var item = _ref8.item;

@@ -558,3 +557,3 @@ if (nextOffset >= containerSize) {

_this5._items.splice(i).forEach(function (a) {
return _this5._removeItem(a);
return _this5._removeItem(a.item);
});

@@ -561,0 +560,0 @@

{
"name": "dynamic-marquee",
"version": "2.1.2",
"version": "2.1.3",
"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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc