linage-cli 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
  3. package/utils/ui.js +5 -2
package/index.js CHANGED
@@ -21,7 +21,7 @@ printHeader();
21
21
  program
22
22
  .name('linage-cli')
23
23
  .description("The Official CLI for Li'nage Cloud - Automate Dependency Discovery")
24
- .version('1.1.0');
24
+ .version('1.1.1');
25
25
 
26
26
  program
27
27
  .command('login')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linage-cli",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "The Official CLI for Li'nage Cloud - Automate Dependency Discovery",
5
5
  "main": "index.js",
6
6
  "bin": "index.js",
package/utils/ui.js CHANGED
@@ -1,6 +1,9 @@
1
1
  const chalk = require('chalk');
2
2
  const figlet = require('figlet');
3
- const gradient = require('gradient-string');
3
+ let gradient = require('gradient-string');
4
+ if (typeof gradient !== 'function' && gradient.default) {
5
+ gradient = gradient.default;
6
+ }
4
7
  const boxen = require('boxen');
5
8
 
6
9
  // Neo-Design Palette
@@ -21,7 +24,7 @@ const printHeader = () => {
21
24
  horizontalLayout: 'fitted'
22
25
  })));
23
26
  console.log(chalk.bold.hex(COLORS.cyan)(' ⬡ ') + chalk.hex(COLORS.zinc)("Automated Dependency Discovery & Lineage Mapping"));
24
- console.log(chalk.hex(COLORS.zinc)(' v1.0.1 • linage.cloud'));
27
+ console.log(chalk.hex(COLORS.zinc)(' v1.1.1 • linage.cloud'));
25
28
  console.log('');
26
29
  };
27
30