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

phonegap-build

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

phonegap-build - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

14

lib/phonegap-build/create/zip.js

@@ -39,2 +39,8 @@ /*

// Phonegap Build expects 'www' to be at the root level in the
// ZIP-file - we'll keep the oldDir to CD back after the ZIP's
// been created.
var oldDir = shell.pwd();
shell.cd(wwwPath);
// make build directory

@@ -50,6 +56,6 @@ shell.mkdir('-p', buildPath);

if(process.env.OS == "Windows_NT") {
cmd = 'wscript '+ path.join('..', '..', '..', 'res', 'windows', 'zip.js') + ' ' + zipPath + ' ' + wwwPath;
cmd = 'wscript '+ path.join('..', '..', '..', 'res', 'windows', 'zip.js') + ' ' + zipPath + ' .';
}
else {
cmd = 'zip -r ' + zipPath + ' ' + wwwPath;
cmd = 'zip -r ' + zipPath + ' .';
}

@@ -59,2 +65,6 @@

// Change back to old directory due to implicit assumptions
// on the current working directory elsewhere in the script.
shell.cd(oldDir);
if (out.code !== 0) {

@@ -61,0 +71,0 @@ module.exports.cleanup(zipPath);

9

package.json
{
"name": "phonegap-build",
"description": "PhoneGap Build command-line interface and node.js library.",
"version": "0.5.0",
"version": "0.5.1",
"homepage": "http://github.com/mwbrooks/phonegap-build-cli",

@@ -45,5 +45,10 @@ "repository": {

"email": "michael@michaelbrooks.ca",
"url": "http://michaelbrooks.ca/"
"url": "http://michaelbrooks.ca"
},
{
"name": "Mathijs de Bruin",
"email": "mathijs@mathijsfietst.nl",
"url": "http://djangopeople.net/dokterbob"
},
{
"name": "Benn Mapes",

@@ -50,0 +55,0 @@ "email": "benn.mapes@gmail.com",

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