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

echarts-optimizer

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

echarts-optimizer - npm Package Compare versions

Comparing version 0.2.2 to 0.2.4

12

index.js

@@ -93,3 +93,3 @@

writeCompiledCode(
'echarts.source.js', main.name, main.expectDependencies,
'echarts.js', main.name, main.expectDependencies,
eslCode

@@ -99,3 +99,3 @@ );

writeCompiledCode(
mod.name.slice(mod.name.indexOf('/') + 1) + '.source.js',
mod.name.slice(mod.name.indexOf('/') + 1) + '.js',
mod.name,

@@ -127,6 +127,6 @@ mod.expectDependencies

writeFile(
'echarts-all.source.js', code
'source/echarts-all.js', code
);
writeFile(
'echarts-all.js',
'dist/echarts-all.js',
jsCompress(code)

@@ -163,4 +163,4 @@ );

writeFile(file, result);
writeFile(file.replace('.source', ''), jsCompress(result));
writeFile('source/' + file, result);
writeFile('dist/' + file, jsCompress(result));
}

@@ -167,0 +167,0 @@

{
"name": "echarts-optimizer",
"version": "0.2.2",
"version": "0.2.4",
"description": "",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -17,5 +17,11 @@ ## ECharts 构建工具

也可以通过如下方式指定生成目录:
添加 `--debug` 参数时,生成目录下会包含依赖分析结果。
```
$ echarts-optimize --debug
```
通过如下方式可以指定生成目录:
```
$ echarts-optimize echarts-dist

@@ -22,0 +28,0 @@ ```

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