Socket
Socket
Sign inDemoInstall

vue-apexcharts

Package Overview
Dependencies
20
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.6 to 1.4.0

17

dist/vue-apexcharts.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('apexcharts/dist/apexcharts.common'), require('apexcharts')) :
typeof define === 'function' && define.amd ? define(['apexcharts/dist/apexcharts.common', 'apexcharts'], factory) :
(global.VueApexCharts = factory(global.ApexCharts,global.ApexCharts));
}(this, (function (ApexCharts,ApexCharts$1) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('apexcharts')) :
typeof define === 'function' && define.amd ? define(['apexcharts'], factory) :
(global.VueApexCharts = factory(global.ApexCharts));
}(this, (function (ApexCharts) { 'use strict';
ApexCharts = ApexCharts && ApexCharts.hasOwnProperty('default') ? ApexCharts['default'] : ApexCharts;
ApexCharts$1 = ApexCharts$1 && ApexCharts$1.hasOwnProperty('default') ? ApexCharts$1['default'] : ApexCharts$1;

@@ -227,12 +226,12 @@ function _typeof(obj) {

var VueApexCharts = ApexChartsComponent;
window.ApexCharts = ApexCharts$1;
window.ApexCharts = ApexCharts;
VueApexCharts.install = function (Vue) {
//adding a global method or property
Vue.ApexCharts = ApexCharts$1;
window.ApexCharts = ApexCharts$1; // add the instance method
Vue.ApexCharts = ApexCharts;
window.ApexCharts = ApexCharts; // add the instance method
Object.defineProperty(Vue.prototype, '$apexcharts', {
get: function get() {
return ApexCharts$1;
return ApexCharts;
}

@@ -239,0 +238,0 @@ });

{
"name": "vue-apexcharts",
"version": "1.3.6",
"version": "1.4.0",
"description": "Vue.js wrapper for ApexCharts",

@@ -5,0 +5,0 @@ "main": "dist/vue-apexcharts.js",

@@ -1,2 +0,2 @@

import ApexCharts from 'apexcharts/dist/apexcharts.common'
import ApexCharts from 'apexcharts'

@@ -3,0 +3,0 @@ export default {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc