New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@easyv/cli

Package Overview
Dependencies
Maintainers
0
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@easyv/cli - npm Package Compare versions

Comparing version 1.15.0-beta.1 to 1.15.0-beta.2

2

package.json
{
"name": "@easyv/cli",
"version": "1.15.0-beta.1",
"version": "1.15.0-beta.2",
"description": "Easy[V] component tools",

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

@@ -72,15 +72,25 @@ const chalk = require('chalk');

// 先上传打包文件
await request(host + '/api/easyv/v5/constants/upload', {
...commonOption,
formData: {
version: base.version,
name: base.module_name,
file: {
value: fs.createReadStream(file),
options: {
filename: `${base.module_name}.js`,
const uploadResult = await request(
host + '/api/easyv/v5/constants/upload',
{
...commonOption,
formData: {
version: base.version,
name: base.module_name,
file: {
value: fs.createReadStream(file),
options: {
filename: `${base.module_name}.js`,
},
},
},
},
});
);
// 组件版本已存在
if (uploadResult.message === '2002') {
console.log(chalk.red('组件版本已存在,请更新组件版本号.'));
return;
}
const body = await request(host + '/api/easyv/v5/constants/create', {

@@ -87,0 +97,0 @@ ...commonOption,

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