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

titanium

Package Overview
Dependencies
Maintainers
3
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

titanium - npm Package Compare versions

Comparing version 7.0.0-beta8 to 7.0.0-beta9

4

package.json
{
"name": "titanium",
"version": "7.0.0-beta8",
"version": "7.0.0-beta9",
"author": "TiDev, Inc. <npm@tidev.io>",

@@ -28,3 +28,3 @@ "description": "Command line interface for building Titanium SDK apps",

"semver": "7.6.0",
"undici": "6.6.1",
"undici": "6.6.2",
"which": "4.0.0",

@@ -31,0 +31,0 @@ "wrap-ansi": "9.0.0",

@@ -219,3 +219,3 @@ import chalk from 'chalk';

const cargv = cmd.opts();
this.debugLogger.trace(`Copying ${cmd.options.length} options...`);
this.debugLogger.trace(`Copying ${cmd.options.length} options... (${cmd.name()})`);
for (const o of cmd.options) {

@@ -226,3 +226,3 @@ let name = o.name();

}
this.debugLogger.trace(` Setting ${name} = ${cargv[o.attributeName()]}`);
this.debugLogger.trace(` Setting ${name} = ${cargv[o.attributeName()]} (prev: ${argv[name]})`);
argv[name] = cargv[o.attributeName()];

@@ -555,2 +555,11 @@ }

// this is a hack... `-d` now conflicts between `--workspace-dir` and
// the now global `--project-dir` option causing `--project-dir` to
// snipe `--workspace-dir`, so we treat them the same for the `create`
// command
if (cmdName === 'create' && !this.argv['workspace-dir'] && this.argv['project-dir']) {
cmd.setOptionValue('workspaceDir', expand(this.argv['project-dir']));
this.argv['project-dir'] = undefined;
}
if (optionBranches?.length) {

@@ -780,3 +789,6 @@ this.debugLogger.trace(`Processing missing option branches: ${optionBranches.join(', ')}`);

const cwd = expand(this.argv['project-dir'] || '.');
this.argv['project-dir'] = cwd;
if (cmdName !== 'create') {
// create command doesn't have a --project-dir option
this.argv['project-dir'] = cwd;
}

@@ -1309,10 +1321,2 @@ // load hooks

// this is a hack... `-d` now conflicts between `--workspace-dir` and
// the now global `--project-dir` option causing `--project-dir` to
// snipe `--workspace-dir`, so we treat them the same for the `create`
// command
if (this.command.name() === 'create' && !this.argv['workspace-dir']) {
this.argv['workspace-dir'] = this.argv['project-dir'];
}
// this while loop is essentially a pump that processes missing/invalid

@@ -1319,0 +1323,0 @@ // options one at a time, recalculating them each iteration

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