Huge News!Announcing our $40M Series B led by Abstract Ventures.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 2.5.2 to 2.6.0

8

dist/shared/dateFormatter.js

@@ -8,4 +8,8 @@ 'use strict';

var _locales = require('./locales');
var _getUserLocale = require('get-user-locale');
var _getUserLocale2 = _interopRequireDefault(_getUserLocale);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var formatterCache = {};

@@ -21,3 +25,3 @@

// eslint-disable-next-line no-param-reassign
locale = (0, _locales.getDefaultLocale)();
locale = (0, _getUserLocale2.default)();
}

@@ -24,0 +28,0 @@

{
"name": "react-time-picker",
"version": "2.5.2",
"version": "2.6.0",
"description": "A time picker for your React app.",

@@ -14,3 +14,3 @@ "main": "dist/entry.js",

"test": "yarn run test-eslint && yarn run test-jest",
"test-eslint": "eslint ./src",
"test-eslint": "eslint src/ test/ --ext .jsx,.js",
"test-jest": "jest",

@@ -41,6 +41,6 @@ "test-jest-coverage": "jest --coverage"

"detect-element-overflow": "^1.1.1",
"lodash.once": "^4.1.1",
"get-user-locale": "^1.1.0",
"merge-class-names": "^1.1.1",
"prop-types": "^15.6.0",
"react-clock": "^2.2.1",
"react-clock": "^2.3.0",
"react-lifecycles-compat": "^3.0.4"

@@ -61,9 +61,9 @@ },

"eslint": "^4.19.1",
"eslint-config-airbnb": "^17.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.9.1",
"jest": "^23.4.1",
"jest-cli": "^23.4.1",
"less": "^3.7.1",
"eslint-plugin-react": "^7.11.1",
"jest": "^23.5.0",
"jest-cli": "^23.5.0",
"less": "~3.7.1",
"react": "^16.4.1",

@@ -70,0 +70,0 @@ "react-dom": "^16.4.1",

@@ -0,0 +0,0 @@ import React from 'react';

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

import { getDefaultLocale } from './locales';
import getUserLocale from 'get-user-locale';

@@ -13,3 +13,3 @@ const formatterCache = {};

// eslint-disable-next-line no-param-reassign
locale = getDefaultLocale();
locale = getUserLocale();
}

@@ -16,0 +16,0 @@

@@ -17,3 +17,5 @@ import React, { PureComponent } from 'react';

59,
maxTime && hour === getHours(maxTime) && getMinutes(maxTime),
maxTime
&& hour === getHours(maxTime)
&& getMinutes(maxTime),
);

@@ -26,3 +28,5 @@ }

0,
minTime && hour === getHours(minTime) && getMinutes(minTime),
minTime
&& hour === getHours(minTime)
&& getMinutes(minTime),
);

@@ -29,0 +33,0 @@ }

@@ -18,6 +18,6 @@ import React, { PureComponent } from 'react';

59,
maxTime &&
hour === getHours(maxTime) &&
minute === getMinutes(maxTime) &&
getSeconds(maxTime),
maxTime
&& hour === getHours(maxTime)
&& minute === getMinutes(maxTime)
&& getSeconds(maxTime),
);

@@ -30,6 +30,6 @@ }

0,
minTime &&
hour === getHours(minTime) &&
minute === getMinutes(minTime) &&
getSeconds(minTime),
minTime
&& hour === getHours(minTime)
&& minute === getMinutes(minTime)
&& getSeconds(minTime),
);

@@ -36,0 +36,0 @@ }

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