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

react-time-picker

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-time-picker - npm Package Compare versions

Comparing version 4.4.2 to 4.4.3

10

dist/TimePicker.js

@@ -26,3 +26,4 @@ "use strict";

var _excluded = ["clockClassName", "className", "maxDetail", "onChange", "value"];
var _excluded = ["clockClassName", "className", "maxDetail", "onChange", "value"],
_excluded2 = ["onChange"];

@@ -339,2 +340,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var eventProps = this.eventProps;
var _this$props5 = this.props,

@@ -344,5 +346,9 @@ className = _this$props5.className,

var isOpen = this.state.isOpen;
var onChange = eventProps.onChange,
eventPropsWithoutOnChange = _objectWithoutProperties(eventProps, _excluded2);
return /*#__PURE__*/_react["default"].createElement("div", _extends({
className: (0, _mergeClassNames["default"])(baseClassName, "".concat(baseClassName, "--").concat(isOpen ? 'open' : 'closed'), "".concat(baseClassName, "--").concat(disabled ? 'disabled' : 'enabled'), className)
}, this.eventProps, {
}, eventPropsWithoutOnChange, {
onFocus: this.onFocus,

@@ -349,0 +355,0 @@ ref: function ref(_ref) {

2

package.json
{
"name": "react-time-picker",
"version": "4.4.2",
"version": "4.4.3",
"description": "A time picker for your React app.",

@@ -5,0 +5,0 @@ "main": "dist/entry.js",

@@ -257,5 +257,8 @@ import React, { PureComponent } from 'react';

render() {
const { eventProps } = this;
const { className, disabled } = this.props;
const { isOpen } = this.state;
const { onChange, ...eventPropsWithoutOnChange } = eventProps;
return (

@@ -269,3 +272,3 @@ <div

)}
{...this.eventProps}
{...eventPropsWithoutOnChange}
onFocus={this.onFocus}

@@ -272,0 +275,0 @@ ref={(ref) => {

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