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.8.3 to 0.8.4

4

lib/phonegap-build/create/zip.js

@@ -55,7 +55,7 @@ /*

// shell out to zip. For windows, use native script.
var cmd = util.format('zip -r %s %s', zipPath, inputPath);
var cmd = util.format('zip -r "%s" "%s"', zipPath, inputPath);
if (os.type() === "Windows_NT") {
cmd = util.format(
'wscript %s %s %s',
'wscript "%s" "%s" "%s"',
path.join(__dirname, '..', '..', '..', 'res', 'windows', 'zip.js'),

@@ -62,0 +62,0 @@ zipPath,

{
"name": "phonegap-build",
"description": "PhoneGap Build node library.",
"version": "0.8.3",
"version": "0.8.4",
"homepage": "http://github.com/mwbrooks/node-phonegap-build",

@@ -6,0 +6,0 @@ "repository": {

@@ -84,2 +84,16 @@ /*

});
it('should support spaces in input path', function() {
zip.compress('./path/to the/www', './build', function(e, path) {});
expect(shell.exec.mostRecentCall.args[0]).toMatch(
p.resolve('./path/to the/www')
);
});
it('should support spaces in output path', function() {
zip.compress('./www', './path/to the/build', function(e, path) {});
expect(shell.exec.mostRecentCall.args[0]).toMatch(
p.resolve('./path/to the/build')
);
});
});

@@ -96,2 +110,16 @@

});
it('should support spaces in input path', function() {
zip.compress('./path/to the/www', './build', function(e, path) {});
expect(shell.exec.mostRecentCall.args[0]).toMatch(
p.resolve('./path/to the/www')
);
});
it('should support spaces in output path', function() {
zip.compress('./www', './path/to the/build', function(e, path) {});
expect(shell.exec.mostRecentCall.args[0]).toMatch(
p.resolve('./path/to the/build')
);
});
});

@@ -98,0 +126,0 @@

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