Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fullcalendar/moment-timezone

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fullcalendar/moment-timezone - npm Package Compare versions

Comparing version 6.0.2 to 6.0.3

index.esm.js

2

index.global.js
/*!
FullCalendar Moment Timezone Plugin v6.0.2
FullCalendar Moment Timezone Plugin v6.0.3
Docs & License: https://fullcalendar.io/docs/moment-timezone-plugin

@@ -4,0 +4,0 @@ (c) 2022 Adam Shaw

/*!
FullCalendar Moment Timezone Plugin v6.0.2
FullCalendar Moment Timezone Plugin v6.0.3
Docs & License: https://fullcalendar.io/docs/moment-timezone-plugin

@@ -4,0 +4,0 @@ (c) 2022 Adam Shaw

@@ -1,15 +0,23 @@

import { createPlugin } from '@fullcalendar/core/index.js';
import moment from 'moment-timezone';
import { NamedTimeZoneImpl } from '@fullcalendar/core/internal.js';
'use strict';
class MomentNamedTimeZone extends NamedTimeZoneImpl {
Object.defineProperty(exports, '__esModule', { value: true });
var core = require('@fullcalendar/core');
var moment = require('moment-timezone');
var internal = require('@fullcalendar/core/internal');
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment);
class MomentNamedTimeZone extends internal.NamedTimeZoneImpl {
offsetForArray(a) {
return moment.tz(a, this.timeZoneName).utcOffset();
return moment__default["default"].tz(a, this.timeZoneName).utcOffset();
}
timestampToArray(ms) {
return moment.tz(ms, this.timeZoneName).toArray();
return moment__default["default"].tz(ms, this.timeZoneName).toArray();
}
}
var index = createPlugin({
var index = core.createPlugin({
name: '@fullcalendar/moment-timezone',

@@ -19,3 +27,2 @@ namedTimeZonedImpl: MomentNamedTimeZone,

export { index as default };
//# sourceMappingURL=index.js.map
exports["default"] = index;
{
"name": "@fullcalendar/moment-timezone",
"version": "6.0.2",
"version": "6.0.3",
"title": "FullCalendar Moment Timezone Plugin",

@@ -17,3 +17,3 @@ "description": "Enhanced named time zone functionality with Moment Timezone",

"peerDependencies": {
"@fullcalendar/core": "~6.0.2",
"@fullcalendar/core": "~6.0.3",
"moment-timezone": "^0.5.31"

@@ -35,5 +35,5 @@ },

"copyright": "2022 Adam Shaw",
"main": "./index.cjs",
"module": "./index.js",
"types": "./index.d.ts",
"main": "./index.js",
"module": "./index.esm.js",
"unpkg": "./index.global.min.js",

@@ -43,8 +43,6 @@ "jsdelivr": "./index.global.min.js",

"./package.json": "./package.json",
"./index.cjs": "./index.cjs",
"./index.js": "./index.js",
".": {
"types": "./index.d.ts",
"require": "./index.cjs",
"import": "./index.js"
"require": "./index.js",
"import": "./index.esm.js"
}

@@ -51,0 +49,0 @@ },

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc