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

titanium

Package Overview
Dependencies
Maintainers
2
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 3.0.17 to 3.0.18

4

CHANGELOG.md

@@ -0,1 +1,5 @@

3.0.18 (11/21/2012)
-------------------
* Added support for searching for modules using both the module search path from the config file as well as the root of the selected Titanium SDK [TIMOB-11776]
3.0.17 (11/20/2012)

@@ -2,0 +6,0 @@ -------------------

15

lib/commands/module.js

@@ -54,3 +54,3 @@ /*

case 'list':
list(logger, cli.argv, cli.env);
list(logger, cli.argv, cli.env, config, cli.env.getSDK(config.app.sdk));
break;

@@ -82,5 +82,7 @@ }

function list(logger, argv, env) {
function list(logger, argv, env, config, sdk) {
var projectDir = argv['project-dir'],
p = afs.resolvePath(projectDir || '.');
p = afs.resolvePath(projectDir || '.'),
searchPaths = [p];
if (afs.exists(p)) {

@@ -96,3 +98,6 @@ while (path.dirname(p) != p) {

appc.timodule.detect(projectDir, null, function (modules) {
sdk && searchPaths.push(afs.resolvePath(sdk.path, '..', '..', '..'));
config.paths && Array.isArray(config.paths.modules) && (searchPaths = searchPaths.concat(config.paths.modules));
appc.timodule.detect(searchPaths, null, function (modules) {
if (argv.output == 'json') {

@@ -103,3 +108,3 @@ logger.log(JSON.stringify(modules, null, '\t'));

if (Object.keys(modules).length) {
projectDir && renderModules(__('Project Modules'), __('No project modules found'), modules.project, logger);
searchPaths && renderModules(__('Search Path Modules'), __('No project modules found'), modules.project, logger);
renderModules(__('Global Modules'), __('No global modules found'), modules.global, logger);

@@ -106,0 +111,0 @@ } else {

@@ -22,3 +22,3 @@ {

],
"version": "3.0.17",
"version": "3.0.18",
"author": {

@@ -25,0 +25,0 @@ "name": "Appcelerator, Inc.",

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