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

@fullcalendar/premium-common

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fullcalendar/premium-common - npm Package Compare versions

Comparing version 5.11.2 to 6.0.0-beta.1

34

main.cjs.js
/*!
FullCalendar Scheduler v5.11.2
FullCalendar Scheduler v6.0.0-beta.1
Docs & License: https://fullcalendar.io/scheduler

@@ -12,11 +12,11 @@ (c) 2022 Adam Shaw

var RELEASE_DATE = '2022-07-27'; // for Scheduler
var UPGRADE_WINDOW = 365 + 7; // days. 1 week leeway, for tz shift reasons too
var INVALID_LICENSE_URL = 'http://fullcalendar.io/docs/schedulerLicenseKey#invalid';
var OUTDATED_LICENSE_URL = 'http://fullcalendar.io/docs/schedulerLicenseKey#outdated';
var PRESET_LICENSE_KEYS = [
const RELEASE_DATE = '2022-08-03'; // for Scheduler
const UPGRADE_WINDOW = 365 + 7; // days. 1 week leeway, for tz shift reasons too
const INVALID_LICENSE_URL = 'http://fullcalendar.io/docs/schedulerLicenseKey#invalid';
const OUTDATED_LICENSE_URL = 'http://fullcalendar.io/docs/schedulerLicenseKey#outdated';
const PRESET_LICENSE_KEYS = [
'GPL-My-Project-Is-Open-Source',
'CC-Attribution-NonCommercial-NoDerivatives',
];
var CSS = {
const CSS = {
position: 'absolute',

@@ -35,8 +35,8 @@ zIndex: 99999,

function buildLicenseWarning(context) {
var key = context.options.schedulerLicenseKey;
var currentUrl = typeof window !== 'undefined' ? window.location.href : '';
let key = context.options.schedulerLicenseKey;
let currentUrl = typeof window !== 'undefined' ? window.location.href : '';
if (!isImmuneUrl(currentUrl)) {
var status_1 = processLicenseKey(key);
if (status_1 !== 'valid') {
return (common.createElement("div", { className: "fc-license-message", style: CSS }, (status_1 === 'outdated') ? (common.createElement(common.Fragment, null,
let status = processLicenseKey(key);
if (status !== 'valid') {
return (common.createElement("div", { className: "fc-license-message", style: CSS }, (status === 'outdated') ? (common.createElement(common.Fragment, null,
'Your license key is too old to work with this version. ',

@@ -57,8 +57,8 @@ common.createElement("a", { href: OUTDATED_LICENSE_URL }, "More Info"))) : (common.createElement(common.Fragment, null,

}
var parts = (key || '').match(/^(\d+)-fcs-(\d+)$/);
const parts = (key || '').match(/^(\d+)-fcs-(\d+)$/);
if (parts && (parts[1].length === 10)) {
var purchaseDate = new Date(parseInt(parts[2], 10) * 1000);
var releaseDate = new Date(common.config.mockSchedulerReleaseDate || RELEASE_DATE);
const purchaseDate = new Date(parseInt(parts[2], 10) * 1000);
const releaseDate = new Date(common.config.mockSchedulerReleaseDate || RELEASE_DATE);
if (common.isValidDate(releaseDate)) { // token won't be replaced in dev mode
var minPurchaseDate = common.addDays(releaseDate, -UPGRADE_WINDOW);
const minPurchaseDate = common.addDays(releaseDate, -UPGRADE_WINDOW);
if (minPurchaseDate < purchaseDate) {

@@ -76,3 +76,3 @@ return 'valid';

var OPTION_REFINERS = {
const OPTION_REFINERS = {
schedulerLicenseKey: String,

@@ -79,0 +79,0 @@ };

/*!
FullCalendar Scheduler v5.11.2
FullCalendar Scheduler v6.0.0-beta.1
Docs & License: https://fullcalendar.io/scheduler

@@ -9,11 +9,11 @@ (c) 2022 Adam Shaw

var RELEASE_DATE = '2022-07-27'; // for Scheduler
var UPGRADE_WINDOW = 365 + 7; // days. 1 week leeway, for tz shift reasons too
var INVALID_LICENSE_URL = 'http://fullcalendar.io/docs/schedulerLicenseKey#invalid';
var OUTDATED_LICENSE_URL = 'http://fullcalendar.io/docs/schedulerLicenseKey#outdated';
var PRESET_LICENSE_KEYS = [
const RELEASE_DATE = '2022-08-03'; // for Scheduler
const UPGRADE_WINDOW = 365 + 7; // days. 1 week leeway, for tz shift reasons too
const INVALID_LICENSE_URL = 'http://fullcalendar.io/docs/schedulerLicenseKey#invalid';
const OUTDATED_LICENSE_URL = 'http://fullcalendar.io/docs/schedulerLicenseKey#outdated';
const PRESET_LICENSE_KEYS = [
'GPL-My-Project-Is-Open-Source',
'CC-Attribution-NonCommercial-NoDerivatives',
];
var CSS = {
const CSS = {
position: 'absolute',

@@ -32,8 +32,8 @@ zIndex: 99999,

function buildLicenseWarning(context) {
var key = context.options.schedulerLicenseKey;
var currentUrl = typeof window !== 'undefined' ? window.location.href : '';
let key = context.options.schedulerLicenseKey;
let currentUrl = typeof window !== 'undefined' ? window.location.href : '';
if (!isImmuneUrl(currentUrl)) {
var status_1 = processLicenseKey(key);
if (status_1 !== 'valid') {
return (common.createElement("div", { className: "fc-license-message", style: CSS }, (status_1 === 'outdated') ? (common.createElement(common.Fragment, null,
let status = processLicenseKey(key);
if (status !== 'valid') {
return (common.createElement("div", { className: "fc-license-message", style: CSS }, (status === 'outdated') ? (common.createElement(common.Fragment, null,
'Your license key is too old to work with this version. ',

@@ -54,8 +54,8 @@ common.createElement("a", { href: OUTDATED_LICENSE_URL }, "More Info"))) : (common.createElement(common.Fragment, null,

}
var parts = (key || '').match(/^(\d+)-fcs-(\d+)$/);
const parts = (key || '').match(/^(\d+)-fcs-(\d+)$/);
if (parts && (parts[1].length === 10)) {
var purchaseDate = new Date(parseInt(parts[2], 10) * 1000);
var releaseDate = new Date(common.config.mockSchedulerReleaseDate || RELEASE_DATE);
const purchaseDate = new Date(parseInt(parts[2], 10) * 1000);
const releaseDate = new Date(common.config.mockSchedulerReleaseDate || RELEASE_DATE);
if (common.isValidDate(releaseDate)) { // token won't be replaced in dev mode
var minPurchaseDate = common.addDays(releaseDate, -UPGRADE_WINDOW);
const minPurchaseDate = common.addDays(releaseDate, -UPGRADE_WINDOW);
if (minPurchaseDate < purchaseDate) {

@@ -73,3 +73,3 @@ return 'valid';

var OPTION_REFINERS = {
const OPTION_REFINERS = {
schedulerLicenseKey: String,

@@ -76,0 +76,0 @@ };

/*!
FullCalendar Scheduler v5.11.2
FullCalendar Scheduler v6.0.0-beta.1
Docs & License: https://fullcalendar.io/scheduler
(c) 2022 Adam Shaw
*/
var FullCalendarPremiumCommon=function(e,t){"use strict";var n="2022-07-27",r=["GPL-My-Project-Is-Open-Source","CC-Attribution-NonCommercial-NoDerivatives"],i={position:"absolute",zIndex:99999,bottom:"1px",left:"1px",background:"#eee",borderColor:"#ddd",borderStyle:"solid",borderWidth:"1px 1px 0 0",padding:"2px 4px",fontSize:"12px",borderTopRightRadius:"3px"};var l={schedulerLicenseKey:String},a=t.createPlugin({optionRefiners:l,viewContainerAppends:[function(e){var l=e.options.schedulerLicenseKey,a="undefined"!=typeof window?window.location.href:"";if(!/\w+:\/\/fullcalendar\.io\/|\/examples\/[\w-]+\.html$/.test(a)){var o=function(e){if(-1!==r.indexOf(e))return"valid";var i=(e||"").match(/^(\d+)-fcs-(\d+)$/);if(i&&10===i[1].length){var l=new Date(1e3*parseInt(i[2],10)),a=new Date(t.config.mockSchedulerReleaseDate||n);if(t.isValidDate(a))return t.addDays(a,-372)<l?"valid":"outdated"}return"invalid"}(l);if("valid"!==o)return t.createElement("div",{className:"fc-license-message",style:i},"outdated"===o?t.createElement(t.Fragment,null,"Your license key is too old to work with this version. ",t.createElement("a",{href:"http://fullcalendar.io/docs/schedulerLicenseKey#outdated"},"More Info")):t.createElement(t.Fragment,null,"Your license key is invalid. ",t.createElement("a",{href:"http://fullcalendar.io/docs/schedulerLicenseKey#invalid"},"More Info")))}return null}]});return t.globalPlugins.push(a),e.default=a,Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar);
var FullCalendarPremiumCommon=function(e,t){"use strict";const n="2022-08-03",i=["GPL-My-Project-Is-Open-Source","CC-Attribution-NonCommercial-NoDerivatives"],o={position:"absolute",zIndex:99999,bottom:"1px",left:"1px",background:"#eee",borderColor:"#ddd",borderStyle:"solid",borderWidth:"1px 1px 0 0",padding:"2px 4px",fontSize:"12px",borderTopRightRadius:"3px"};const l={schedulerLicenseKey:String};var r=t.createPlugin({optionRefiners:l,viewContainerAppends:[function(e){let l=e.options.schedulerLicenseKey,r="undefined"!=typeof window?window.location.href:"";if(!/\w+:\/\/fullcalendar\.io\/|\/examples\/[\w-]+\.html$/.test(r)){let e=function(e){if(-1!==i.indexOf(e))return"valid";const o=(e||"").match(/^(\d+)-fcs-(\d+)$/);if(o&&10===o[1].length){const e=new Date(1e3*parseInt(o[2],10)),i=new Date(t.config.mockSchedulerReleaseDate||n);if(t.isValidDate(i)){return t.addDays(i,-372)<e?"valid":"outdated"}}return"invalid"}(l);if("valid"!==e)return t.createElement("div",{className:"fc-license-message",style:o},"outdated"===e?t.createElement(t.Fragment,null,"Your license key is too old to work with this version. ",t.createElement("a",{href:"http://fullcalendar.io/docs/schedulerLicenseKey#outdated"},"More Info")):t.createElement(t.Fragment,null,"Your license key is invalid. ",t.createElement("a",{href:"http://fullcalendar.io/docs/schedulerLicenseKey#invalid"},"More Info")))}return null}]});return t.globalPlugins.push(r),e.default=r,Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar);
/*!
FullCalendar Scheduler v5.11.2
FullCalendar Scheduler v6.0.0-beta.1
Docs & License: https://fullcalendar.io/scheduler

@@ -8,11 +8,11 @@ (c) 2022 Adam Shaw

var RELEASE_DATE = '2022-07-27'; // for Scheduler
var UPGRADE_WINDOW = 365 + 7; // days. 1 week leeway, for tz shift reasons too
var INVALID_LICENSE_URL = 'http://fullcalendar.io/docs/schedulerLicenseKey#invalid';
var OUTDATED_LICENSE_URL = 'http://fullcalendar.io/docs/schedulerLicenseKey#outdated';
var PRESET_LICENSE_KEYS = [
const RELEASE_DATE = '2022-08-03'; // for Scheduler
const UPGRADE_WINDOW = 365 + 7; // days. 1 week leeway, for tz shift reasons too
const INVALID_LICENSE_URL = 'http://fullcalendar.io/docs/schedulerLicenseKey#invalid';
const OUTDATED_LICENSE_URL = 'http://fullcalendar.io/docs/schedulerLicenseKey#outdated';
const PRESET_LICENSE_KEYS = [
'GPL-My-Project-Is-Open-Source',
'CC-Attribution-NonCommercial-NoDerivatives',
];
var CSS = {
const CSS = {
position: 'absolute',

@@ -31,8 +31,8 @@ zIndex: 99999,

function buildLicenseWarning(context) {
var key = context.options.schedulerLicenseKey;
var currentUrl = typeof window !== 'undefined' ? window.location.href : '';
let key = context.options.schedulerLicenseKey;
let currentUrl = typeof window !== 'undefined' ? window.location.href : '';
if (!isImmuneUrl(currentUrl)) {
var status_1 = processLicenseKey(key);
if (status_1 !== 'valid') {
return (createElement("div", { className: "fc-license-message", style: CSS }, (status_1 === 'outdated') ? (createElement(Fragment, null,
let status = processLicenseKey(key);
if (status !== 'valid') {
return (createElement("div", { className: "fc-license-message", style: CSS }, (status === 'outdated') ? (createElement(Fragment, null,
'Your license key is too old to work with this version. ',

@@ -53,8 +53,8 @@ createElement("a", { href: OUTDATED_LICENSE_URL }, "More Info"))) : (createElement(Fragment, null,

}
var parts = (key || '').match(/^(\d+)-fcs-(\d+)$/);
const parts = (key || '').match(/^(\d+)-fcs-(\d+)$/);
if (parts && (parts[1].length === 10)) {
var purchaseDate = new Date(parseInt(parts[2], 10) * 1000);
var releaseDate = new Date(config.mockSchedulerReleaseDate || RELEASE_DATE);
const purchaseDate = new Date(parseInt(parts[2], 10) * 1000);
const releaseDate = new Date(config.mockSchedulerReleaseDate || RELEASE_DATE);
if (isValidDate(releaseDate)) { // token won't be replaced in dev mode
var minPurchaseDate = addDays(releaseDate, -UPGRADE_WINDOW);
const minPurchaseDate = addDays(releaseDate, -UPGRADE_WINDOW);
if (minPurchaseDate < purchaseDate) {

@@ -72,3 +72,3 @@ return 'valid';

var OPTION_REFINERS = {
const OPTION_REFINERS = {
schedulerLicenseKey: String,

@@ -75,0 +75,0 @@ };

{
"name": "@fullcalendar/premium-common",
"version": "5.11.2",
"version": "6.0.0-beta.1",
"title": "FullCalendar Premium Common",

@@ -8,3 +8,3 @@ "description": "Utilities for all of FullCalendar Scheduler's plugins",

"dependencies": {
"@fullcalendar/common": "~5.11.2",
"@fullcalendar/common": "6.0.0-beta.1",
"tslib": "^2.1.0"

@@ -31,4 +31,4 @@ },

"devDependencies": {
"@fullcalendar/core-preact": "5.11.2"
"@fullcalendar/core-preact": "6.0.0-beta.1"
}
}

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