New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@titanium/tiapp-xml

Package Overview
Dependencies
Maintainers
3
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@titanium/tiapp-xml - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

15

cli/install-module.js

@@ -71,5 +71,16 @@ #!/usr/bin/env node

process.env.npm_package_titanium_platform_ios_moduleid && platforms.push('ios');
process.env.npm_package_titanium_platform_android_moduleid && platforms.push('android');
const keys = Object.keys(process.env);
if (keys.some(key => {
return key.startsWith('npm_package_titanium_platform_ios');
})) {
platforms.push('ios');
}
if (keys.some(key => {
return key.startsWith('npm_package_titanium_platform_android');
})) {
platforms.push('android');
}
if (!platforms.length) {

@@ -76,0 +87,0 @@ console.error(`titanium.platform not defined in package.json for package: ${process.env.npm_package_name}`);

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

platforms.forEach(platform => {
const module_id = get(process.env, `npm_package_titanium_platform_${platform}_moduleid`);
// Logic for this will change once PR is merged and into SDK: https://github.com/appcelerator/node-appc/pull/173
const module_id = get(process.env, `npm_package_titanium_platform_${platform}_moduleid`) || get(process.env, `npm_package_titanium_moduleid`);
removeModule(module_id, platform);

@@ -52,5 +53,16 @@ });

process.env.npm_package_titanium_platform_ios_moduleid && platforms.push('ios');
process.env.npm_package_titanium_platform_android_moduleid && platforms.push('android');
const keys = Object.keys(process.env);
if (keys.some(key => {
return key.startsWith('npm_package_titanium_platform_ios');
})) {
platforms.push('ios');
}
if (keys.some(key => {
return key.startsWith('npm_package_titanium_platform_android');
})) {
platforms.push('android');
}
if (!platforms.length) {

@@ -57,0 +69,0 @@ console.error(`titanium.platform not defined in package.json for package: ${process.env.npm_package_name}`);

2

package.json
{
"name": "@titanium/tiapp-xml",
"version": "0.9.0",
"version": "0.9.1",
"description": "Titanium tiapp.xml parsing and manipulation API - Fork from tonylukasavage",

@@ -5,0 +5,0 @@ "license": "MIT",

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