@hpcc-js/amchart
Advanced tools
Comparing version 0.0.29 to 0.0.30
@@ -84,3 +84,3 @@ import * as tslib_1 from "tslib"; | ||
if (typeof window.define === "function" && window.define.amd) { | ||
initObj.pathToImages = window.require.toUrl("amchartsImg"); | ||
initObj.pathToImages = require && require.toUrl ? require.toUrl("amchartsImg") : "."; | ||
} | ||
@@ -87,0 +87,0 @@ this._chart = AmCharts.makeChart(domNode, initObj); |
@@ -123,3 +123,3 @@ import * as tslib_1 from "tslib"; | ||
if (typeof window.define === "function" && window.define.amd) { | ||
initObj.pathToImages = window.require.toUrl("amchartsImg"); | ||
initObj.pathToImages = require && require.toUrl ? require.toUrl("amchartsImg") : "."; | ||
} | ||
@@ -126,0 +126,0 @@ this._chart = AmCharts.makeChart(domNode, initObj); |
@@ -8,3 +8,2 @@ import * as tslib_1 from "tslib"; | ||
import { SerialAxis as Axis } from "./SerialAxis"; | ||
// import "amcharts3/amcharts/serial.css"; | ||
var AmCharts = window.AmCharts; | ||
@@ -437,3 +436,3 @@ var CommonSerial = (function (_super) { | ||
if (typeof window.define === "function" && window.define.amd) { | ||
initObj.pathToImages = window.require.toUrl("amchartsImg"); | ||
initObj.pathToImages = require && require.toUrl ? require.toUrl("amchartsImg") : "."; | ||
} | ||
@@ -440,0 +439,0 @@ this._chart = AmCharts.makeChart(domNode, initObj); |
@@ -235,3 +235,3 @@ import * as tslib_1 from "tslib"; | ||
if (typeof window.define === "function" && window.define.amd) { | ||
initObj.pathToImages = window.require.toUrl("amchartsImg"); | ||
initObj.pathToImages = require && require.toUrl ? require.toUrl("amchartsImg") : "."; | ||
} | ||
@@ -238,0 +238,0 @@ this._chart = AmCharts.makeChart(domNode, initObj); |
@@ -99,3 +99,3 @@ import * as tslib_1 from "tslib"; | ||
if (typeof window.define === "function" && window.define.amd) { | ||
initObj.pathToImages = window.require.toUrl("amchartsImg"); | ||
initObj.pathToImages = require && require.toUrl ? require.toUrl("amchartsImg") : "."; | ||
} | ||
@@ -102,0 +102,0 @@ this._chart = AmCharts.makeChart(domNode, initObj); |
@@ -108,3 +108,3 @@ import * as tslib_1 from "tslib"; | ||
if (typeof window.define === "function" && window.define.amd) { | ||
initObj.pathToImages = window.require.toUrl("amchartsImg"); | ||
initObj.pathToImages = require && require.toUrl ? require.toUrl("amchartsImg") : "."; | ||
} | ||
@@ -111,0 +111,0 @@ this._chart = AmCharts.makeChart(domNode, initObj); |
@@ -109,3 +109,3 @@ import * as tslib_1 from "tslib"; | ||
if (typeof window.define === "function" && window.define.amd) { | ||
initObj.pathToImages = window.require.toUrl("amchartsImg"); | ||
initObj.pathToImages = require && require.toUrl ? require.toUrl("amchartsImg") : "."; | ||
} | ||
@@ -112,0 +112,0 @@ this._chart = AmCharts.makeChart(domNode, initObj); |
@@ -95,3 +95,3 @@ (function (factory) { | ||
if (typeof window.define === "function" && window.define.amd) { | ||
initObj.pathToImages = window.require.toUrl("amchartsImg"); | ||
initObj.pathToImages = require && require.toUrl ? require.toUrl("amchartsImg") : "."; | ||
} | ||
@@ -98,0 +98,0 @@ this._chart = AmCharts.makeChart(domNode, initObj); |
@@ -134,3 +134,3 @@ (function (factory) { | ||
if (typeof window.define === "function" && window.define.amd) { | ||
initObj.pathToImages = window.require.toUrl("amchartsImg"); | ||
initObj.pathToImages = require && require.toUrl ? require.toUrl("amchartsImg") : "."; | ||
} | ||
@@ -137,0 +137,0 @@ this._chart = AmCharts.makeChart(domNode, initObj); |
@@ -19,3 +19,2 @@ (function (factory) { | ||
var SerialAxis_1 = require("./SerialAxis"); | ||
// import "amcharts3/amcharts/serial.css"; | ||
var AmCharts = window.AmCharts; | ||
@@ -448,3 +447,3 @@ var CommonSerial = (function (_super) { | ||
if (typeof window.define === "function" && window.define.amd) { | ||
initObj.pathToImages = window.require.toUrl("amchartsImg"); | ||
initObj.pathToImages = require && require.toUrl ? require.toUrl("amchartsImg") : "."; | ||
} | ||
@@ -451,0 +450,0 @@ this._chart = AmCharts.makeChart(domNode, initObj); |
@@ -246,3 +246,3 @@ (function (factory) { | ||
if (typeof window.define === "function" && window.define.amd) { | ||
initObj.pathToImages = window.require.toUrl("amchartsImg"); | ||
initObj.pathToImages = require && require.toUrl ? require.toUrl("amchartsImg") : "."; | ||
} | ||
@@ -249,0 +249,0 @@ this._chart = AmCharts.makeChart(domNode, initObj); |
@@ -110,3 +110,3 @@ (function (factory) { | ||
if (typeof window.define === "function" && window.define.amd) { | ||
initObj.pathToImages = window.require.toUrl("amchartsImg"); | ||
initObj.pathToImages = require && require.toUrl ? require.toUrl("amchartsImg") : "."; | ||
} | ||
@@ -113,0 +113,0 @@ this._chart = AmCharts.makeChart(domNode, initObj); |
@@ -119,3 +119,3 @@ (function (factory) { | ||
if (typeof window.define === "function" && window.define.amd) { | ||
initObj.pathToImages = window.require.toUrl("amchartsImg"); | ||
initObj.pathToImages = require && require.toUrl ? require.toUrl("amchartsImg") : "."; | ||
} | ||
@@ -122,0 +122,0 @@ this._chart = AmCharts.makeChart(domNode, initObj); |
@@ -120,3 +120,3 @@ (function (factory) { | ||
if (typeof window.define === "function" && window.define.amd) { | ||
initObj.pathToImages = window.require.toUrl("amchartsImg"); | ||
initObj.pathToImages = require && require.toUrl ? require.toUrl("amchartsImg") : "."; | ||
} | ||
@@ -123,0 +123,0 @@ this._chart = AmCharts.makeChart(domNode, initObj); |
{ | ||
"name": "@hpcc-js/amchart", | ||
"version": "0.0.29", | ||
"version": "0.0.30", | ||
"description": "hpcc-js - Viz AM Charts", | ||
@@ -11,14 +11,16 @@ "main": "lib/index.js", | ||
"lib-es6/*", | ||
"dist/*" | ||
"dist/*", | ||
"images/*" | ||
], | ||
"scripts": { | ||
"clean": "rimraf lib* && rimraf dist*", | ||
"clean": "rimraf lib* && rimraf dist* && rimraf images", | ||
"copy-resources": "cpx ../../node_modules/amcharts3/amcharts/images/* ./images", | ||
"build": "tsc", | ||
"build-es6": "tsc --module es6 --outDir ./lib-es6", | ||
"bundle": "node ./node_modules/@hpcc-js/bundle/lib/rollup", | ||
"bundle": "npm run copy-resources && node ./node_modules/@hpcc-js/bundle/lib/rollup", | ||
"docs": "typedoc --options tdoptions.json ." | ||
}, | ||
"dependencies": { | ||
"@hpcc-js/api": "^0.0.29", | ||
"@hpcc-js/common": "^0.0.29", | ||
"@hpcc-js/api": "^0.0.30", | ||
"@hpcc-js/common": "^0.0.30", | ||
"amcharts3": "amcharts/amcharts3#3.18.0", | ||
@@ -32,3 +34,4 @@ "d3-array": "^1.2.0", | ||
"devDependencies": { | ||
"@hpcc-js/bundle": "^0.0.3", | ||
"@hpcc-js/bundle": "^0.0.4", | ||
"cpx": "^1.5.0", | ||
"rimraf": "^2.6.1", | ||
@@ -35,0 +38,0 @@ "typedoc": "^0.7.1", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
3927994
175
5
14814
28
+ Added@hpcc-js/api@0.0.30(transitive)
+ Added@hpcc-js/common@0.0.30(transitive)
+ Addedes6-promise@4.2.8(transitive)
- Removed@hpcc-js/api@0.0.29(transitive)
- Removed@hpcc-js/common@0.0.29(transitive)
Updated@hpcc-js/api@^0.0.30
Updated@hpcc-js/common@^0.0.30