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.0 to 1.7.2

23

bin/ce-import.js

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

var auth = {};
var versionsUpdated = {};

@@ -112,15 +113,9 @@ try {

if (program.bump) {
spinner.text = 'Bumping version...';
const info = bump(process.cwd(), program.bump);
console.log();
Object.keys(info).forEach((theme) => {
console.log(util.format('Theme %s version bumped to %s', chalk.green(info[theme].title.toLowerCase()), chalk.green(info[theme].version)));
});
}
program.compress.forEach((folder) => {
const path = folder.replace(/^\/+/g, '');
spinner.text = 'Compressing package...';
if (program.bump) {
versionsUpdated = Object.assign({}, versionsUpdated, bump(path, program.bump));
}
program.compress.forEach((folder) => {
const path = folder.replace(/^\/+/g, '');
zip.glob(path + '/**/*', {

@@ -132,2 +127,4 @@ dot: true,

spinner.text = 'Compressing package...';
zip.finalize();

@@ -185,3 +182,5 @@ } else {

const color = (theme.themeAction.toLowerCase() === 'changed') ? chalk.green : chalk.grey;
console.log(util.format(' %s %s', theme.themePath + ':',' ' + color(theme.themeAction.toLowerCase())));
const version = versionsUpdated[theme.themePath.substring(1)];
const versionInfo = (version && version.old !== version.new) ? util.format('(version %s ➔ %s)', version.old, version.new) : '';
console.log(util.format(' %s %s %s', theme.themePath + ':',' ' + color(theme.themeAction.toLowerCase()), chalk.blue(versionInfo)));
});

@@ -188,0 +187,0 @@

{
"name": "crex",
"version": "1.7.0",
"version": "1.7.2",
"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.0.1",
"theme-bump": "^1.2.3",
"yazl": "^2.4.2"
}
}
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