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

react-slider

Package Overview
Dependencies
Maintainers
1
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 0.4.1 to 0.4.2

2

package.json
{
"name": "react-slider",
"version": "0.4.1",
"version": "0.4.2",
"description": "Slider component for React",

@@ -5,0 +5,0 @@ "main": "react-slider.js",

@@ -42,3 +42,3 @@ (function (root, factory) {

function ensureArray(x) {
return Array.isArray(x) ? x : [x];
return x == null ? [] : Array.isArray(x) ? x : [x];
}

@@ -235,3 +235,3 @@

case 0:
return value != null ? value : defaultValue;
return value.length > 0 ? value : defaultValue;
case value.length:

@@ -238,0 +238,0 @@ return value;

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