Socket
Socket
Sign inDemoInstall

crex

Package Overview
Dependencies
153
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.7.2 to 1.7.3

21

bin/ce-import.js

@@ -58,3 +58,3 @@ #!/usr/bin/env node

.option('-a, --activate', 'activate after install')
.option('-b, --bump [version]', 'bump version in non-protected themes', 'patch')
.option('-b, --bump [version]', 'bump version in non-protected themes')
.parse(process.argv);

@@ -71,2 +71,3 @@

var name = program.args[0];
var ver = (program.bump === true) ? 'patch' : program.bump;
var creds = program.env ? auth[program.env] : auth;

@@ -79,2 +80,3 @@ var omit = program.omit ? program.omit : '**/node_modules/**';

}
var crex = new CrEx(creds);

@@ -116,9 +118,6 @@ var spinner = ora('Compressing package...').start();

program.compress.forEach((folder) => {
const path = folder.replace(/^\/+/g, '');
versionsUpdated = ver ? Object.assign({}, versionsUpdated, bump(folder, ver)) : {};
if (program.bump) {
versionsUpdated = Object.assign({}, versionsUpdated, bump(path, program.bump));
}
zip.glob(path + '/**/*', {
zip.glob(folder + '/**/*' , {
cwd: (folder.charAt(0) === '/') ? folder : process.cwd(),
dot: true,

@@ -165,5 +164,10 @@ ignore: omit

console.log(chalk.red('✖') + util.format(' %s errors', errors));
res.messages.forEach((message) => {
res.messages.forEach((message, i) => {
var text = stripHtml(message.messageText);
if (i === 0) {
console.log();
}
switch (message.type) {

@@ -189,3 +193,2 @@ case 'WARNING':

reportChanges(res, 'Css');

@@ -192,0 +195,0 @@ reportChanges(res, 'Js');

{
"name": "crex",
"version": "1.7.2",
"version": "1.7.3",
"description": "Creative Exchange SDK for Javascript",

@@ -62,5 +62,5 @@ "author": "Mateusz Luczak <mateusz.luczak@outlook.com>",

"superagent-proxy": "^1.0.2",
"theme-bump": "^1.2.3",
"theme-bump": "^1.3.0",
"yazl": "^2.4.2"
}
}

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc