@fullcalendar/vue
Advanced tools
Comparing version 5.1.0 to 5.2.0
v5.2.0 (2020-07-30) | ||
------------------- | ||
- pre-built release of the Vue component (#61) | ||
- using the component through a CDN (#28) | ||
- Build errors due to missing types in main.ts (#101) | ||
- when appropriate, expose as 'fullcalendar' component, for DOM templates | ||
4.3.1 (2019-08-12) | ||
@@ -3,0 +12,0 @@ ------------------ |
@@ -15,2 +15,3 @@ import FullCalendarComponent from './FullCalendar'; | ||
Vue.component('FullCalendar', FullCalendarComponent); | ||
Vue.component('fullcalendar', FullCalendarComponent); // for when using embedded HTML templates, must be lowercase | ||
} | ||
@@ -20,8 +21,8 @@ } | ||
var GlobalVue; | ||
if (typeof window !== 'undefined') { | ||
if (typeof globalThis !== 'undefined') { | ||
GlobalVue = globalThis.Vue; | ||
} | ||
else { | ||
GlobalVue = window.Vue; | ||
} | ||
else if (typeof global !== 'undefined') { | ||
GlobalVue = global.Vue; | ||
} | ||
// auto-install if possible | ||
@@ -28,0 +29,0 @@ if (GlobalVue) { |
{ | ||
"name": "@fullcalendar/vue", | ||
"version": "5.1.0", | ||
"version": "5.2.0", | ||
"title": "FullCalendar Vue Component", | ||
@@ -20,10 +20,11 @@ "description": "An official FullCalendar component for Vue", | ||
"clean": "rm -rf dist", | ||
"build": "tsc -p tsconfig.json", | ||
"watch": "tsc -p tsconfig.json --watch", | ||
"test": "karma start", | ||
"test:ci": "karma start --browsers ChromeHeadless --single-run --no-auto-watch", | ||
"build": "tsc -p tsconfig.json && rollup -c && npm run minify", | ||
"minify": "npx terser --compress --mangle --comments false --output dist/main.global.min.js -- dist/main.global.js", | ||
"test": "karma start karma.config.cjs", | ||
"test:ci": "karma start karma.config.cjs --browsers ChromeHeadless --single-run --no-auto-watch", | ||
"ci": "./scripts/ci.sh" | ||
}, | ||
"dependencies": { | ||
"@fullcalendar/core": "~5.1.0", | ||
"@fullcalendar/core": "~5.2.0", | ||
"tslib": "^2.0.0" | ||
@@ -38,3 +39,4 @@ }, | ||
"@babel/preset-env": "^7.8.4", | ||
"@fullcalendar/daygrid": "~5.1.0", | ||
"@fullcalendar/daygrid": "~5.2.0", | ||
"@rollup/plugin-node-resolve": "^8.4.0", | ||
"@vue/test-utils": "^1.0.3", | ||
@@ -49,4 +51,6 @@ "babel-loader": "^8.1.0", | ||
"karma-webpack": "^4.0.2", | ||
"rollup": "^2.21.0", | ||
"source-map-loader": "^1.0.0", | ||
"style-loader": "^1.2.1", | ||
"terser": "^4.8.0", | ||
"typescript": "^3.8.3", | ||
@@ -57,4 +61,6 @@ "vue": "^2.6.11", | ||
}, | ||
"type": "module", | ||
"main": "dist/main.js", | ||
"types": "dist/main.d.ts", | ||
"jsdelivr": "dist/main.global.min.js", | ||
"files": [ | ||
@@ -61,0 +67,0 @@ "dist", |
@@ -19,2 +19,3 @@ import { VueConstructor } from 'vue' | ||
Vue.component('FullCalendar', FullCalendarComponent) | ||
Vue.component('fullcalendar', FullCalendarComponent) // for when using embedded HTML templates, must be lowercase | ||
} | ||
@@ -25,6 +26,6 @@ } | ||
let GlobalVue: VueConstructor | undefined | ||
if (typeof window !== 'undefined') { | ||
if (typeof globalThis !== 'undefined') { | ||
GlobalVue = globalThis.Vue | ||
} else { | ||
GlobalVue = window.Vue | ||
} else if (typeof global !== 'undefined') { | ||
GlobalVue = (global as any).Vue | ||
} | ||
@@ -31,0 +32,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37012
26
704
Yes
22
+ Added@fullcalendar/common@5.2.0(transitive)
+ Added@fullcalendar/core@5.2.1(transitive)
- Removed@fullcalendar/common@5.1.0(transitive)
- Removed@fullcalendar/core@5.1.0(transitive)
Updated@fullcalendar/core@~5.2.0