react-live-clock
Advanced tools
Comparing version 6.1.23-beta to 6.1.24
# Changelog | ||
## [6.1.24] | ||
Bump elliptic from 6.5.4 to 6.5.7 (#322) | ||
Bump express from 4.19.2 to 4.21.0 (#321) | ||
## [6.1.23-beta] | ||
Adds code to fix changing locale on the fly | ||
## [6.1.22] | ||
@@ -4,0 +11,0 @@ Fixes problem with react-syntax-highlighter |
@@ -24,4 +24,6 @@ 'use strict'; | ||
require('moment-timezone'); | ||
var _momentTimezone = require('moment-timezone'); | ||
var _momentTimezone2 = _interopRequireDefault(_momentTimezone); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -87,2 +89,6 @@ | ||
(0, _react.useEffect)(function () { | ||
_momentTimezone2.default.locale('locale'); | ||
}, [locale]); | ||
(0, _react.useEffect)(function () { | ||
if (noSsr && document) { | ||
@@ -89,0 +95,0 @@ setNoSsr(false); |
{ | ||
"name": "react-live-clock", | ||
"version": "6.1.23-beta", | ||
"version": "6.1.24", | ||
"description": "React Live Clock", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
9929493
85971
0