@fullcalendar/moment-timezone
Advanced tools
Comparing version 5.3.1 to 5.4.0
/*! | ||
FullCalendar v5.3.1 | ||
FullCalendar v5.3.2 | ||
Docs & License: https://fullcalendar.io/ | ||
@@ -9,4 +9,6 @@ (c) 2020 Adam Shaw | ||
moment = moment && Object.prototype.hasOwnProperty.call(moment, 'default') ? moment['default'] : moment; | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment); | ||
/*! ***************************************************************************** | ||
@@ -31,3 +33,3 @@ Copyright (c) Microsoft Corporation. | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
@@ -48,6 +50,6 @@ }; | ||
MomentNamedTimeZone.prototype.offsetForArray = function (a) { | ||
return moment.tz(a, this.timeZoneName).utcOffset(); | ||
return moment__default['default'].tz(a, this.timeZoneName).utcOffset(); | ||
}; | ||
MomentNamedTimeZone.prototype.timestampToArray = function (ms) { | ||
return moment.tz(ms, this.timeZoneName).toArray(); | ||
return moment__default['default'].tz(ms, this.timeZoneName).toArray(); | ||
}; | ||
@@ -57,3 +59,3 @@ return MomentNamedTimeZone; | ||
var plugin = common.createPlugin({ | ||
namedTimeZonedImpl: MomentNamedTimeZone | ||
namedTimeZonedImpl: MomentNamedTimeZone, | ||
}); | ||
@@ -65,4 +67,6 @@ | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
return exports; | ||
}({}, FullCalendar, moment)); |
/*! | ||
FullCalendar v5.3.1 | ||
FullCalendar v5.3.2 | ||
Docs & License: https://fullcalendar.io/ | ||
(c) 2020 Adam Shaw | ||
*/ | ||
var FullCalendarMomentTimezone=function(t,e,n){"use strict";n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype.offsetForArray=function(t){return n.tz(t,this.timeZoneName).utcOffset()},e.prototype.timestampToArray=function(t){return n.tz(t,this.timeZoneName).toArray()},e}(e.NamedTimeZoneImpl),u=e.createPlugin({namedTimeZonedImpl:r});return e.globalPlugins.push(u),t.default=u,t}({},FullCalendar,moment); | ||
var FullCalendarMomentTimezone=function(t,e,n){"use strict";function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=o(n),u=function(t,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return function(t,e){function n(){this.constructor=t}u(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype.offsetForArray=function(t){return r.default.tz(t,this.timeZoneName).utcOffset()},e.prototype.timestampToArray=function(t){return r.default.tz(t,this.timeZoneName).toArray()},e}(e.NamedTimeZoneImpl),i=e.createPlugin({namedTimeZonedImpl:a});return e.globalPlugins.push(i),t.default=i,Object.defineProperty(t,"__esModule",{value:!0}),t}({},FullCalendar,moment); |
/*! | ||
FullCalendar v5.3.1 | ||
FullCalendar v5.3.2 | ||
Docs & License: https://fullcalendar.io/ | ||
@@ -25,3 +25,3 @@ (c) 2020 Adam Shaw | ||
var main = createPlugin({ | ||
namedTimeZonedImpl: MomentNamedTimeZone | ||
namedTimeZonedImpl: MomentNamedTimeZone, | ||
}); | ||
@@ -28,0 +28,0 @@ |
{ | ||
"name": "@fullcalendar/moment-timezone", | ||
"version": "5.3.1", | ||
"version": "5.4.0", | ||
"title": "FullCalendar Moment Timezone Plugin", | ||
@@ -8,15 +8,16 @@ "description": "A connector to the moment-timezone library", | ||
"dependencies": { | ||
"@fullcalendar/common": "~5.3.1", | ||
"tslib": "^2.0.0" | ||
"@fullcalendar/common": "~5.4.0", | ||
"tslib": "^2.0.3" | ||
}, | ||
"peerDependencies": { | ||
"moment": "^2.24.0", | ||
"moment-timezone": "^0.5.26" | ||
"moment": "^2.29.1", | ||
"moment-timezone": "^0.5.31" | ||
}, | ||
"devDependencies": { | ||
"moment": "^2.24.0", | ||
"moment-timezone": "^0.5.26" | ||
"@fullcalendar/core-preact": "5.4.0", | ||
"moment": "^2.29.1", | ||
"moment-timezone": "^0.5.31" | ||
}, | ||
"type": "module", | ||
"main": "main.js", | ||
"main": "main.cjs.js", | ||
"module": "main.js", | ||
"types": "main.d.ts", | ||
@@ -38,2 +39,2 @@ "jsdelivr": "main.global.min.js", | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
9411
9
119
3
No
+ Added@fullcalendar/common@5.4.0(transitive)
- Removed@fullcalendar/common@5.3.1(transitive)
Updated@fullcalendar/common@~5.4.0
Updatedtslib@^2.0.3