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 6.0.2 to 6.0.3

index.esm.js

4

index.global.js
/*!
FullCalendar Premium Common v6.0.2
FullCalendar Premium Common v6.0.3
Docs & License: https://fullcalendar.io/docs/premium

@@ -75,3 +75,3 @@ (c) 2022 Adam Shaw

name: '@fullcalendar/premium-common',
premiumReleaseDate: '2022-12-27',
premiumReleaseDate: '2023-01-11',
optionRefiners: OPTION_REFINERS,

@@ -78,0 +78,0 @@ viewContainerAppends: [buildLicenseWarning],

/*!
FullCalendar Premium Common v6.0.2
FullCalendar Premium Common v6.0.3
Docs & License: https://fullcalendar.io/docs/premium
(c) 2022 Adam Shaw
*/
FullCalendar.PremiumCommon=function(e,n,t,l){"use strict";const 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"};const o={schedulerLicenseKey:String};var a=n.createPlugin({name:"@fullcalendar/premium-common",premiumReleaseDate:"2022-12-27",optionRefiners:o,viewContainerAppends:[function(e){let n=e.options.schedulerLicenseKey,o="undefined"!=typeof window?window.location.href:"";if(!/\w+:\/\/fullcalendar\.io\/|\/examples\/[\w-]+\.html$/.test(o)){let o=function(e,n){if(-1!==r.indexOf(e))return"valid";const l=(e||"").match(/^(\d+)-fcs-(\d+)$/);if(l&&10===l[1].length){const e=new Date(1e3*parseInt(l[2],10)),r=t.config.mockSchedulerReleaseDate||n;if(t.isValidDate(r)){return t.addDays(r,-372)<e?"valid":"outdated"}}return"invalid"}(n,e.pluginHooks.premiumReleaseDate);if("valid"!==o)return l.createElement("div",{className:"fc-license-message",style:i},"outdated"===o?l.createElement(l.Fragment,null,"Your license key is too old to work with this version. ",l.createElement("a",{href:"https://fullcalendar.io/docs/schedulerLicenseKey#outdated"},"More Info")):l.createElement(l.Fragment,null,"Your license key is invalid. ",l.createElement("a",{href:"https://fullcalendar.io/docs/schedulerLicenseKey#invalid"},"More Info")))}return null}]});return n.globalPlugins.push(a),e.default=a,Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar,FullCalendar.Internal,FullCalendar.Preact);
FullCalendar.PremiumCommon=function(e,n,t,l){"use strict";const 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"};const o={schedulerLicenseKey:String};var a=n.createPlugin({name:"@fullcalendar/premium-common",premiumReleaseDate:"2023-01-11",optionRefiners:o,viewContainerAppends:[function(e){let n=e.options.schedulerLicenseKey,o="undefined"!=typeof window?window.location.href:"";if(!/\w+:\/\/fullcalendar\.io\/|\/examples\/[\w-]+\.html$/.test(o)){let o=function(e,n){if(-1!==r.indexOf(e))return"valid";const l=(e||"").match(/^(\d+)-fcs-(\d+)$/);if(l&&10===l[1].length){const e=new Date(1e3*parseInt(l[2],10)),r=t.config.mockSchedulerReleaseDate||n;if(t.isValidDate(r)){return t.addDays(r,-372)<e?"valid":"outdated"}}return"invalid"}(n,e.pluginHooks.premiumReleaseDate);if("valid"!==o)return l.createElement("div",{className:"fc-license-message",style:i},"outdated"===o?l.createElement(l.Fragment,null,"Your license key is too old to work with this version. ",l.createElement("a",{href:"https://fullcalendar.io/docs/schedulerLicenseKey#outdated"},"More Info")):l.createElement(l.Fragment,null,"Your license key is invalid. ",l.createElement("a",{href:"https://fullcalendar.io/docs/schedulerLicenseKey#invalid"},"More Info")))}return null}]});return n.globalPlugins.push(a),e.default=a,Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar,FullCalendar.Internal,FullCalendar.Preact);

@@ -1,5 +0,9 @@

import { createPlugin } from '@fullcalendar/core/index.js';
import { config, isValidDate, addDays } from '@fullcalendar/core/internal.js';
import { createElement, Fragment } from '@fullcalendar/core/preact.js';
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var core = require('@fullcalendar/core');
var internal = require('@fullcalendar/core/internal');
var preact = require('@fullcalendar/core/preact');
const UPGRADE_WINDOW = 365 + 7; // days. 1 week leeway, for tz shift reasons too

@@ -31,7 +35,7 @@ const INVALID_LICENSE_URL = 'https://fullcalendar.io/docs/schedulerLicenseKey#invalid';

if (status !== 'valid') {
return (createElement("div", { className: "fc-license-message", style: CSS }, (status === 'outdated') ? (createElement(Fragment, null,
return (preact.createElement("div", { className: "fc-license-message", style: CSS }, (status === 'outdated') ? (preact.createElement(preact.Fragment, null,
'Your license key is too old to work with this version. ',
createElement("a", { href: OUTDATED_LICENSE_URL }, "More Info"))) : (createElement(Fragment, null,
preact.createElement("a", { href: OUTDATED_LICENSE_URL }, "More Info"))) : (preact.createElement(preact.Fragment, null,
'Your license key is invalid. ',
createElement("a", { href: INVALID_LICENSE_URL }, "More Info")))));
preact.createElement("a", { href: INVALID_LICENSE_URL }, "More Info")))));
}

@@ -51,5 +55,5 @@ }

const purchaseDate = new Date(parseInt(parts[2], 10) * 1000);
const releaseDate = config.mockSchedulerReleaseDate || premiumReleaseDate;
if (isValidDate(releaseDate)) { // token won't be replaced in dev mode
const minPurchaseDate = addDays(releaseDate, -UPGRADE_WINDOW);
const releaseDate = internal.config.mockSchedulerReleaseDate || premiumReleaseDate;
if (internal.isValidDate(releaseDate)) { // token won't be replaced in dev mode
const minPurchaseDate = internal.addDays(releaseDate, -UPGRADE_WINDOW);
if (minPurchaseDate < purchaseDate) {

@@ -71,5 +75,5 @@ return 'valid';

var index = createPlugin({
var index = core.createPlugin({
name: '@fullcalendar/premium-common',
premiumReleaseDate: '2022-12-27',
premiumReleaseDate: '2023-01-11',
optionRefiners: OPTION_REFINERS,

@@ -79,2 +83,2 @@ viewContainerAppends: [buildLicenseWarning],

export { index as default };
exports["default"] = index;
{
"name": "@fullcalendar/premium-common",
"version": "6.0.2",
"version": "6.0.3",
"title": "FullCalendar Premium Common",
"description": "Utilities for FullCalendar's premium plugins",
"peerDependencies": {
"@fullcalendar/core": "~6.0.2"
"@fullcalendar/core": "~6.0.3"
},

@@ -32,5 +32,5 @@ "type": "module",

"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",

@@ -40,8 +40,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"
}

@@ -48,0 +46,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