@fullcalendar/moment-timezone
Advanced tools
Comparing version 4.2.0 to 4.3.0
@@ -1,5 +0,11 @@ | ||
declare module "@fullcalendar/moment-timezone" { | ||
import "@fullcalendar/moment-timezone/builds/moment-timezone-with-data"; | ||
const _default_12: import("@fullcalendar/core/plugin-system").PluginDef; | ||
export default _default_12; | ||
} | ||
// Generated by dts-bundle v0.7.3-fork.1 | ||
// Dependencies for this module: | ||
// ../../../../../moment-timezone/builds/moment-timezone-with-data | ||
// ../../../../../@fullcalendar/core | ||
declare module '@fullcalendar/moment-timezone' { | ||
import 'moment-timezone/builds/moment-timezone-with-data'; | ||
const _default: import("@fullcalendar/core").PluginDef; | ||
export default _default; | ||
} | ||
/*! | ||
FullCalendar Moment Timezone Plugin v4.2.0 | ||
FullCalendar Moment Timezone Plugin v4.3.0 | ||
Docs & License: https://fullcalendar.io/ | ||
(c) 2019 Adam Shaw | ||
*/ | ||
(function (global, factory) { | ||
@@ -10,6 +11,4 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('moment'), require('moment-timezone/builds/moment-timezone-with-data'), require('@fullcalendar/core')) : | ||
(global = global || self, factory(global.FullCalendarMomentTimezone = {}, global.moment, global.moment, global.FullCalendar)); | ||
}(this, function (exports, moment, momentTimezoneWithData, core) { 'use strict'; | ||
}(this, function (exports, momentNs, momentTimezoneWithData, core) { 'use strict'; | ||
moment = moment && moment.hasOwnProperty('default') ? moment['default'] : moment; | ||
/*! ***************************************************************************** | ||
@@ -44,2 +43,3 @@ Copyright (c) Microsoft Corporation. All rights reserved. | ||
var moment = momentNs; // the directly callable function | ||
var MomentNamedTimeZone = /** @class */ (function (_super) { | ||
@@ -46,0 +46,0 @@ __extends(MomentNamedTimeZone, _super); |
/*! | ||
FullCalendar Moment Timezone Plugin v4.2.0 | ||
FullCalendar Moment Timezone Plugin v4.3.0 | ||
Docs & License: https://fullcalendar.io/ | ||
(c) 2019 Adam Shaw | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("moment"),require("moment-timezone/builds/moment-timezone-with-data"),require("@fullcalendar/core")):"function"==typeof define&&define.amd?define(["exports","moment","moment-timezone/builds/moment-timezone-with-data","@fullcalendar/core"],t):(e=e||self,t(e.FullCalendarMomentTimezone={},e.moment,e.moment,e.FullCalendar))}(this,function(e,t,n,o){"use strict";function r(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}t=t&&t.hasOwnProperty("default")?t.default:t;/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */ | ||
var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},u=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.offsetForArray=function(e){return t.tz(e,this.timeZoneName).utcOffset()},n.prototype.timestampToArray=function(e){return t.tz(e,this.timeZoneName).toArray()},n}(o.NamedTimeZoneImpl),m=o.createPlugin({namedTimeZonedImpl:u});e.default=m,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("moment"),require("moment-timezone/builds/moment-timezone-with-data"),require("@fullcalendar/core")):"function"==typeof define&&define.amd?define(["exports","moment","moment-timezone/builds/moment-timezone-with-data","@fullcalendar/core"],t):t((e=e||self).FullCalendarMomentTimezone={},e.moment,e.moment,e.FullCalendar)}(this,function(e,t,n,o){"use strict";var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};var i=t,u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.offsetForArray=function(e){return i.tz(e,this.timeZoneName).utcOffset()},t.prototype.timestampToArray=function(e){return i.tz(e,this.timeZoneName).toArray()},t}(o.NamedTimeZoneImpl),m=o.createPlugin({namedTimeZonedImpl:u});e.default=m,Object.defineProperty(e,"__esModule",{value:!0})}); |
{ | ||
"name": "@fullcalendar/moment-timezone", | ||
"version": "4.3.0", | ||
"title": "FullCalendar Moment Timezone Plugin", | ||
@@ -25,12 +26,11 @@ "description": "A connector to the moment-timezone library", | ||
"copyright": "2019 Adam Shaw", | ||
"version": "4.2.0", | ||
"releaseDate": "2019-06-02", | ||
"peerDependencies": { | ||
"@fullcalendar/core": "~4.3.0", | ||
"moment": "^2.24.0", | ||
"moment-timezone": "^0.5.25", | ||
"@fullcalendar/core": "~4.2.0" | ||
"moment-timezone": "^0.5.25" | ||
}, | ||
"main": "main.js", | ||
"module": "main.esm.js", | ||
"unpkg": "main.min.js", | ||
"types": "main.d.ts" | ||
} | ||
} |
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
118
9281