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
2
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.10.2 to 0.11.0

2

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

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

@@ -45,2 +45,6 @@ (function (root, factory) {

var isArray = Array.isArray || function(x) {
return Object.prototype.toString.call(x) === '[object Array]';
};
// undoEnsureArray(ensureArray(x)) === x

@@ -753,2 +757,4 @@

"aria-valuemax": this.props.max,
"aria-label": isArray(this.props.ariaLabel) ? this.props.ariaLabel[i] : this.props.ariaLabel,
"aria-valuetext": this.props.ariaValuetext,
},

@@ -755,0 +761,0 @@ child

@@ -148,2 +148,12 @@ # React Slider

##### ariaLabel {oneOfType([string, arrayOf(string)])}
aria-label for screen-readers to apply to the handles.
Use an array for more than one handle.
The length of the array must match the number of handles in the value array.
##### ariaValuetext {string}
aria-valuetext for screen-readers
### Methods

@@ -150,0 +160,0 @@

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