@fullcalendar/moment-timezone 6.0.1 → 6.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.global.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- FullCalendar Moment Timezone Plugin v6.0.1
2
+ FullCalendar Moment Timezone Plugin v6.0.2
3
3
  Docs & License: https://fullcalendar.io/docs/moment-timezone-plugin
4
4
  (c) 2022 Adam Shaw
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- FullCalendar Moment Timezone Plugin v6.0.1
2
+ FullCalendar Moment Timezone Plugin v6.0.2
3
3
  Docs & License: https://fullcalendar.io/docs/moment-timezone-plugin
4
4
  (c) 2022 Adam Shaw
5
5
  */
package/index.js CHANGED
@@ -17,3 +17,4 @@ var index = createPlugin({
17
17
  });
18
18
 
19
19
  export { index as default };
20
+ //# sourceMappingURL=index.js.map
package/index.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../src/MomentNamedTimeZone.ts","../src/index.ts"],"sourcesContent":["import moment from 'moment-timezone'\nimport { NamedTimeZoneImpl } from '@fullcalendar/core/internal'\n\nexport class MomentNamedTimeZone extends NamedTimeZoneImpl {\n offsetForArray(a: number[]): number {\n return moment.tz(a, this.timeZoneName).utcOffset()\n }\n\n timestampToArray(ms: number): number[] {\n return moment.tz(ms, this.timeZoneName).toArray()\n }\n}\n","import { createPlugin, PluginDef } from '@fullcalendar/core'\nimport { MomentNamedTimeZone } from './MomentNamedTimeZone.js'\n\nexport default createPlugin({\n name: '<%= pkgName %>',\n namedTimeZonedImpl: MomentNamedTimeZone,\n}) as PluginDef\n"],"names":[],"mappings":";;;;AAGM,MAAO,mBAAoB,SAAQ,iBAAiB,CAAA;AACxD,IAAA,cAAc,CAAC,CAAW,EAAA;AACxB,QAAA,OAAO,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC,SAAS,EAAE,CAAA;KACnD;AAED,IAAA,gBAAgB,CAAC,EAAU,EAAA;AACzB,QAAA,OAAO,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC,OAAO,EAAE,CAAA;KAClD;AACF;;ACRD,YAAe,YAAY,CAAC;AAC1B,IAAA,IAAI,EAAE,+BAAgB;AACtB,IAAA,kBAAkB,EAAE,mBAAmB;AACxC,CAAA,CAAc;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fullcalendar/moment-timezone",
3
- "version": "6.0.1",
3
+ "version": "6.0.2",
4
4
  "title": "FullCalendar Moment Timezone Plugin",
5
5
  "description": "Enhanced named time zone functionality with Moment Timezone",
6
6
  "keywords": [
@@ -14,7 +14,7 @@
14
14
  ],
15
15
  "homepage": "https://fullcalendar.io/docs/moment-timezone-plugin",
16
16
  "peerDependencies": {
17
- "@fullcalendar/core": "~6.0.1",
17
+ "@fullcalendar/core": "~6.0.2",
18
18
  "moment-timezone": "^0.5.31"
19
19
  },
20
20
  "type": "module",