Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-slider

Package Overview
Dependencies
Maintainers
4
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-slider - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [1.3.3](https://github.com/zillow/react-slider/compare/v1.3.2...v1.3.3) (2024-06-06)
### Bug Fixes
* fix issue with size calculation when slider is hidden ([119e9f4](https://github.com/zillow/react-slider/commit/119e9f48ca4ee0aa13f0fe3990bc73ac92648454))
### [1.3.2](https://github.com/zillow/react-slider/compare/v1.3.1...v1.3.2) (2023-06-27)

@@ -7,0 +14,0 @@

2

es/components/ReactSlider/__tests__/ReactSlider.test.js

@@ -1,2 +0,2 @@

var _jsxFileName = "/Users/krise/github/react-slider/src/components/ReactSlider/__tests__/ReactSlider.test.js",
var _jsxFileName = "/Users/krise/GitHub/react-slider/src/components/ReactSlider/__tests__/ReactSlider.test.js",
_this = this;

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

@@ -1,2 +0,2 @@

var _jsxFileName = "/Users/krise/github/react-slider/src/components/ReactSlider/ReactSlider.jsx";
var _jsxFileName = "/Users/krise/GitHub/react-slider/src/components/ReactSlider/ReactSlider.jsx";

@@ -464,3 +464,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

// during the mount event, or during the last resize), then calculate it now
if (this.state.upperBound === 0) {
if (this.state.upperBound === 0 || this.state.thumbSize === 0 || this.state.sliderLength) {
this.resize();

@@ -467,0 +467,0 @@ }

@@ -1,2 +0,2 @@

var _jsxFileName = "/Users/krise/github/react-slider/src/styleguidist/ThemeWrapper.jsx",
var _jsxFileName = "/Users/krise/GitHub/react-slider/src/styleguidist/ThemeWrapper.jsx",
_templateObject,

@@ -3,0 +3,0 @@ _this = this;

@@ -470,3 +470,3 @@ "use strict";

// during the mount event, or during the last resize), then calculate it now
if (this.state.upperBound === 0) {
if (this.state.upperBound === 0 || this.state.thumbSize === 0 || this.state.sliderLength) {
this.resize();

@@ -473,0 +473,0 @@ }

{
"name": "react-slider",
"version": "1.3.2",
"version": "1.3.3",
"description": "Slider component for React",

@@ -5,0 +5,0 @@ "main": "lib/components/ReactSlider/ReactSlider.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