baidu-calendar
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1011,3 +1011,3 @@ import React, { useState, memo, useEffect } from 'react'; | ||
var _ref = props.date ? props.date.split("-") : [time.getFullYear(), time.getMonth + 1(), time.getDate()], | ||
var _ref = props.date ? props.date.split("-") : [time.getFullYear(), time.getMonth() + 1, time.getDate()], | ||
_ref2 = _slicedToArray(_ref, 3), | ||
@@ -1067,3 +1067,3 @@ year = _ref2[0], | ||
useEffect(function () { | ||
var _ref3 = props.date ? props.date.split("-") : [time.getFullYear(), time.getMonth + 1(), time.getDate()], | ||
var _ref3 = props.date ? props.date.split("-") : [time.getFullYear(), time.getMonth() + 1, time.getDate()], | ||
_ref4 = _slicedToArray(_ref3, 3), | ||
@@ -1070,0 +1070,0 @@ year = _ref4[0], |
@@ -1018,3 +1018,3 @@ 'use strict'; | ||
var _ref = props.date ? props.date.split("-") : [time.getFullYear(), time.getMonth + 1(), time.getDate()], | ||
var _ref = props.date ? props.date.split("-") : [time.getFullYear(), time.getMonth() + 1, time.getDate()], | ||
_ref2 = _slicedToArray(_ref, 3), | ||
@@ -1074,3 +1074,3 @@ year = _ref2[0], | ||
React.useEffect(function () { | ||
var _ref3 = props.date ? props.date.split("-") : [time.getFullYear(), time.getMonth + 1(), time.getDate()], | ||
var _ref3 = props.date ? props.date.split("-") : [time.getFullYear(), time.getMonth() + 1, time.getDate()], | ||
_ref4 = _slicedToArray(_ref3, 3), | ||
@@ -1077,0 +1077,0 @@ year = _ref4[0], |
{ | ||
"name": "baidu-calendar", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "index.js", |
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