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

dynamic-marquee-react

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamic-marquee-react - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

15

dist/dynamic-marquee-react.js

@@ -246,9 +246,2 @@ (function (global, factory) {

var PX_REGEX = /px$/;
function pxStringToValue(input) {
if (!PX_REGEX.test(input)) {
throw new Error('String missing `px` suffix');
}
return parseFloat(input.slice(0, -2));
}
var SizeWatcher = /*#__PURE__*/function () {

@@ -277,5 +270,3 @@ function SizeWatcher($el) {

if (this._width !== null) return this._width;
// maps to `inlineSize`
var width = pxStringToValue(window.getComputedStyle(this._$el).width);
var width = this._$el.getBoundingClientRect().width;
if (this._observer) this._width = width;

@@ -288,5 +279,3 @@ return width;

if (this._height !== null) return this._height;
// maps to `blockSize`
var height = pxStringToValue(window.getComputedStyle(this._$el).height);
var height = this._$el.getBoundingClientRect().height;
if (this._observer) this._height = height;

@@ -293,0 +282,0 @@ return height;

22

package.json
{
"name": "dynamic-marquee-react",
"version": "1.0.3",
"version": "1.0.4",
"description": "A `<Marquee />` component for React.",

@@ -42,20 +42,20 @@ "main": "./dist/dynamic-marquee-react.js",

"devDependencies": {
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-typescript": "11.1.6",
"@types/react": "18.3.5",
"@types/react-dom": "18.3.0",
"@types/react": "18.3.13",
"@types/react-dom": "18.3.1",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"dynamic-marquee": "2.6.4",
"eslint": "8.57.0",
"eslint-plugin-react": "7.35.2",
"dynamic-marquee": "2.6.5",
"eslint": "8.57.1",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "4.6.2",
"husky": "8.0.3",
"prettier": "3.3.3",
"prettier": "3.4.2",
"react": "18.3.1",
"react-dom": "18.3.1",
"rollup": "3.29.4",
"tslib": "2.7.0",
"typescript": "5.5.4"
"rollup": "3.29.5",
"tslib": "2.8.1",
"typescript": "5.7.2"
}
}

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