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

cordova-paramedic

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-paramedic - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

7

main.js

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

var USAGE = "Error missing args. \n" +
"cordova-paramedic --platform PLATFORM --plugin PATH [--justbuild --timeout MSECS --port PORTNUM]" +
"cordova-paramedic --platform PLATFORM --plugin PATH [--justbuild --timeout MSECS --port PORTNUM --browserify]" +
"`PLATFORM` : the platform id, currently only supports 'ios'\n" +

@@ -20,3 +20,4 @@ "`PATH` : the relative or absolute path to a plugin folder\n" +

"`PORTNUM` : (optional) port to use for posting results from emulator back to paramedic server\n" +
"--justbuild : (optional) just builds the project, without running the tests";
"--justbuild : (optional) just builds the project, without running the tests \n" +
"--browserify : (optional) plugins are browserified into cordova.js";

@@ -41,3 +42,3 @@ var argv = parseArgs(process.argv.slice(2));

paramedic.run(argv.platform, argv.plugin, onComplete, argv.justbuild, argv.port, argv.timeout,false);
paramedic.run(argv.platform, argv.plugin, onComplete, argv.justbuild, argv.port, argv.timeout, argv.browserify, false);
{
"name": "cordova-paramedic",
"version": "0.3.1",
"version": "0.3.2",
"description": "Use medic to test a cordova plugin locally",

@@ -5,0 +5,0 @@ "main": "paramedic.js",

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

function ParamedicRunner(_platformId,_plugins,_callback,bJustBuild,nPort,msTimeout,bSilent) {
function ParamedicRunner(_platformId,_plugins,_callback,bJustBuild,nPort,msTimeout,browserify,bSilent) {
this.tunneledUrl = "";

@@ -27,2 +27,8 @@ this.port = nPort;

this.timeout = msTimeout;
if(browserify) {
this.browserify = "--browserify";
} else {
this.browserify = '';
}

@@ -137,2 +143,3 @@ if(bSilent) {

case "ios" : // intentional fallthrough
case "browser" :
case "windows" :

@@ -220,3 +227,3 @@ self.writeMedicLogUrl("http://127.0.0.1:" + self.port);

shell.exec('cordova platform add ' + self.platformId,{silent:true});
shell.exec('cordova prepare',{silent:true});
shell.exec('cordova prepare '+ self.browserify,{silent:true});
self.logMessage("building ...");

@@ -242,3 +249,3 @@

shell.exec('cordova platform add ' + self.platformId,{silent:true});
shell.exec('cordova prepare',{silent:true});
shell.exec('cordova prepare '+ self.browserify,{silent:true});

@@ -245,0 +252,0 @@ shell.exec('cordova emulate ' + self.platformId.split("@")[0] + " --phone",

@@ -18,3 +18,3 @@ cordova-paramedic

`CORDOVA-PLATFORM` : the platform id, currently only supports 'ios'
`CORDOVA-PLATFORM` : the platform id, currently supports `ios|android|windows` and barely `browser`
`PLUGIN-PATH` : the relative or absolute path to a plugin folder

@@ -21,0 +21,0 @@ expected to have a 'tests' folder.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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