highcharts-export-server
Advanced tools
Comparing version 0.1.1 to 0.1.11
15
build.js
@@ -99,4 +99,15 @@ #!/usr/bin/env node | ||
function embedAll() { | ||
console.log('Pulling latest Highcharts'); | ||
embed(cdnScriptsStyled.concat(cdnScriptsCommon), 'export_styled'); | ||
embed(cdnScriptsStandard.concat(cdnScriptsCommon), 'export'); | ||
} | ||
console.log(fs.readFileSync(__dirname + '/msg/licenseagree.msg').toString().bold); | ||
if (process.env.ACCEPT_HIGHCHARTS_LICENSE) { | ||
embedAll(); | ||
return; | ||
} | ||
prompt.message = ''; | ||
@@ -109,5 +120,3 @@ prompt.start(); | ||
if (result.agree === 'Y' || result.agree === 'YES') { | ||
console.log('Pulling latest Highcharts'); | ||
embed(cdnScriptsStyled.concat(cdnScriptsCommon), 'export_styled'); | ||
embed(cdnScriptsStandard.concat(cdnScriptsCommon), 'export'); | ||
embedAll(); | ||
} else { | ||
@@ -114,0 +123,0 @@ console.log('License terms not accepted, aborting'.red); |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "0.1.1", | ||
"version": "0.1.11", | ||
"bin": { | ||
@@ -11,0 +11,0 @@ "highcharts-export-server": "./bin/cli.js" |
# Highcharts Node.js Export Server | ||
**NOTE: This is currently in beta** | ||
The export server can be ran as both a CLI converter, and as a HTTP server. | ||
@@ -4,0 +6,0 @@ |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
104891
1580
223
3
11