Socket
Socket
Sign inDemoInstall

@fullcalendar/core

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fullcalendar/core - npm Package Compare versions

Comparing version 5.0.0-beta.3 to 5.0.0-beta.4

20

main.js
/*!
FullCalendar v5.0.0-beta.3
FullCalendar v5.0.0-beta.4
Docs & License: https://fullcalendar.io/
(c) 2019 Adam Shaw
*/
import { flushToDom } from './vdom';
import './vdom';
import { __extends, __assign } from 'tslib';
import { computeCalendarClassNames, computeCalendarHeight, render, createElement, CustomContentRenderContext, CalendarContent, DelayedRunner, CalendarDataManager, isArraysEqual, applyStyleProp, CalendarApi } from '@fullcalendar/common';
import { render, createElement, CalendarRoot, CustomContentRenderContext, CalendarContent, flushToDom, DelayedRunner, CalendarDataManager, isArraysEqual, applyStyleProp, CalendarApi } from '@fullcalendar/common';
export * from '@fullcalendar/common';

@@ -35,7 +35,9 @@

_this.isRendered = true;
var currentData = _this.currentData;
_this.setClassNames(computeCalendarClassNames(currentData));
_this.setHeight(computeCalendarHeight(currentData));
render(createElement(CustomContentRenderContext.Provider, { value: _this.customContentRenderId },
createElement(CalendarContent, __assign({}, currentData))), _this.el);
var currentData_1 = _this.currentData;
render(createElement(CalendarRoot, { options: currentData_1.calendarOptions, theme: currentData_1.theme, emitter: currentData_1.emitter }, function (classNames, height, isHeightAuto, forPrint) {
_this.setClassNames(classNames);
_this.setHeight(height);
return (createElement(CustomContentRenderContext.Provider, { value: _this.customContentRenderId },
createElement(CalendarContent, __assign({ isHeightAuto: isHeightAuto, forPrint: forPrint }, currentData_1))));
}), _this.el);
}

@@ -58,3 +60,2 @@ else if (_this.isRendered) {

});
_this.trigger('_init');
return _this;

@@ -81,3 +82,2 @@ }

this.renderRunner.request();
this.trigger('_destroy');
}

@@ -84,0 +84,0 @@ };

{
"name": "@fullcalendar/core",
"version": "5.0.0-beta.3",
"version": "5.0.0-beta.4",
"title": "FullCalendar Core Package",

@@ -8,3 +8,3 @@ "description": "Provides core functionality, including the Calendar class",

"dependencies": {
"@fullcalendar/common": "5.0.0-beta.3",
"@fullcalendar/common": "5.0.0-beta.4",
"preact": "^10.0.5",

@@ -11,0 +11,0 @@ "tslib": "^1.9.3"

@@ -18,4 +18,4 @@ import * as preact from 'preact';

type VUIEvent = UIEvent;
function flushToDom(): void;
}
}
export declare function flushToDom(): void;

@@ -9,3 +9,4 @@ import { __extends } from "tslib";

Fragment: preact.Fragment,
createContext: createContext
createContext: createContext,
flushToDom: flushToDom
};

@@ -15,3 +16,3 @@

export function flushToDom() {
function flushToDom() {
var oldDebounceRendering = preact.options.debounceRendering;

@@ -18,0 +19,0 @@ var callbackQ = [];

Sorry, the diff of this file is not supported yet

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