Socket
Socket
Sign inDemoInstall

@fullcalendar/luxon2

Package Overview
Dependencies
3
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.11.0 to 5.11.2

4

main.cjs.js
/*!
FullCalendar v5.10.2
FullCalendar v5.11.2
Docs & License: https://fullcalendar.io/
(c) 2021 Adam Shaw
(c) 2022 Adam Shaw
*/

@@ -6,0 +6,0 @@ 'use strict';

/*!
FullCalendar v5.10.2
FullCalendar v5.11.2
Docs & License: https://fullcalendar.io/
(c) 2021 Adam Shaw
(c) 2022 Adam Shaw
*/

@@ -6,0 +6,0 @@ var FullCalendarLuxon2 = (function (exports, common, luxon) {

/*!
FullCalendar v5.10.2
FullCalendar v5.11.2
Docs & License: https://fullcalendar.io/
(c) 2021 Adam Shaw
(c) 2022 Adam Shaw
*/
var FullCalendarLuxon2=function(e,t,n){"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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");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(e,this.timeZoneName).offset},t.prototype.timestampToArray=function(e){return[(t=n.DateTime.fromMillis(e,{zone:this.timeZoneName})).year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond];var t},t}(t.NamedTimeZoneImpl);var a=t.createPlugin({cmdFormatter:function(e,t){var n=l(e);if(t.end){var r=i(t.start.array,t.timeZone,t.localeCodes[0]),o=i(t.end.array,t.timeZone,t.localeCodes[0]);return u(n,r.toFormat.bind(r),o.toFormat.bind(o),t.defaultSeparator)}return i(t.date.array,t.timeZone,t.localeCodes[0]).toFormat(n.whole)},namedTimeZonedImpl:o});function i(e,t,r){return n.DateTime.fromObject({year:e[0],month:e[1]+1,day:e[2],hour:e[3],minute:e[4],second:e[5],millisecond:e[6]},{locale:r,zone:t})}function l(e){var t=e.match(/^(.*?)\{(.*)\}(.*)$/);if(t){var n=l(t[2]);return{head:t[1],middle:n,tail:t[3],whole:t[1]+n.whole+t[3]}}return{head:null,middle:null,tail:null,whole:e}}function u(e,t,n,r){if(e.middle){var o=t(e.head),a=u(e.middle,t,n,r),i=t(e.tail),l=n(e.head),c=u(e.middle,t,n,r),d=n(e.tail);if(o===l&&i===d)return o+(a===c?a:a+r+c)+i}var m=t(e.whole),f=n(e.whole);return m===f?m:m+r+f}return t.globalPlugins.push(a),e.default=a,e.toLuxonDateTime=function(e,r){if(!(r instanceof t.CalendarApi))throw new Error("must supply a CalendarApi instance");var o=r.getCurrentData().dateEnv;return n.DateTime.fromJSDate(e,{zone:o.timeZone,locale:o.locale.codes[0]})},e.toLuxonDuration=function(e,r){if(!(r instanceof t.CalendarApi))throw new Error("must supply a CalendarApi instance");var o=r.getCurrentData().dateEnv;return n.Duration.fromObject(e,{locale:o.locale.codes[0]})},Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar,luxon);
/*!
FullCalendar v5.10.2
FullCalendar v5.11.2
Docs & License: https://fullcalendar.io/
(c) 2021 Adam Shaw
(c) 2022 Adam Shaw
*/

@@ -6,0 +6,0 @@ import { __extends } from 'tslib';

{
"name": "@fullcalendar/luxon2",
"version": "5.11.0",
"version": "5.11.2",
"title": "FullCalendar Luxon 2 Plugin",

@@ -8,3 +8,3 @@ "description": "A connector to the Luxon 2 date library",

"dependencies": {
"@fullcalendar/common": "~5.11.0",
"@fullcalendar/common": "~5.11.2",
"tslib": "^2.1.0"

@@ -16,3 +16,3 @@ },

"devDependencies": {
"@fullcalendar/core-preact": "5.11.0",
"@fullcalendar/core-preact": "5.11.2",
"@types/luxon": "^2.0.9",

@@ -19,0 +19,0 @@ "luxon": "^2.0.0"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc