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

juijs-chart

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

juijs-chart - npm Package Compare versions

Comparing version 2.1.4-es6 to 2.1.5-es6

examples/.DS_Store

4

package.json
{
"name": "juijs-chart",
"version": "2.1.4-es6",
"version": "2.1.5-es6",
"sideEffects": false,

@@ -67,3 +67,3 @@ "description": "SVG-based JUI chart that can be used in the browser and Node.js. Support many types of charts. (Dashboard, Map, Topology, Full 3D)",

"dependencies": {
"juijs-graph": "0.0.4"
"juijs-graph": "0.0.6-es6"
},

@@ -70,0 +70,0 @@ "devDependencies": {

import jui from 'juijs-graph'
jui.use = function() {
let modules = [];
if(arguments.length == 1 && typeof(arguments[0]) == "object") {
modules = [ arguments[0] ];
} else {
modules = arguments;
}
for(let i = 0; i < modules.length; i++) {
let module = modules[i];
if(typeof(module) == "object") {
if(typeof(module.name) != "string") return;
if(typeof(module.component) != "function") return;
// 상속 대상 부모 클래스가 존재할 경우
if(module.extend != null) {
if(jui.include(module.extend) == null) {
console.warn("JUI_WARNING_MSG: '" + module.extend + "' module should be imported in first");
}
}
jui.redefine(module.name, [], module.component, module.extend);
}
}
}
export default jui;

@@ -56,2 +56,4 @@ import jui from './index.js'

Rotate3dWidget
]);
]);
window.jui = window.JUI = jui;

@@ -9,3 +9,3 @@ const path = require('path')

entry: {
chart: path.resolve(__dirname, 'examples', 'index'),
chart: path.resolve(__dirname, 'examples', 'index.js'),
vendors: [ 'juijs', 'juijs-graph' ]

@@ -12,0 +12,0 @@ },

const path = require('path');
const webpack = require('webpack');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');

@@ -28,17 +27,5 @@

minimizer: [
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('production')
}),
new UglifyJsPlugin({
cache: true,
parallel: true,
uglifyOptions: {
compress: false,
ecma: 6,
mangle: true
},
sourceMap: true
})
new UglifyJsPlugin()
]
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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