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

plugman

Package Overview
Dependencies
Maintainers
7
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plugman - npm Package Compare versions

Comparing version 0.9.9 to 0.9.10

2

package.json

@@ -5,3 +5,3 @@ {

"description": "install/uninstall Cordova plugins",
"version": "0.9.9",
"version": "0.9.10",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

@@ -54,3 +54,3 @@ var path = require('path'),

// if plugin doesnt exist, use fetch to get it.
require('../plugman').fetch(id, plugins_dir, { link: false, subdir: '.', git_ref: options.git_ref }, function(err, plugin_dir) {
require('../plugman').fetch(id, plugins_dir, { link: false, subdir: options.subdir, git_ref: options.git_ref }, function(err, plugin_dir) {
if (err) {

@@ -96,4 +96,4 @@ callback(err);

}
// checking engine
// checking engine
// will there be a case for multiple engine support?

@@ -116,3 +116,3 @@ var versionPath = path.join(project_dir, 'cordova', 'version');

var engineVersion = engine.attrib["version"];
// clean only versionScript.output since semver.clean strips out
// clean only versionScript.output since semver.clean strips out
// the gt and lt operators

@@ -124,3 +124,3 @@ if(current_version == 'dev' || semver.satisfies(current_version, engineVersion)){

if (callback) return callback(err);
else throw err;
else throw err;
}

@@ -156,3 +156,4 @@ } else {

// Check for dependencies, (co)recurse to install each one
var dependencies = plugin_et.findall('dependency');
var dependencies = plugin_et.findall('dependency') || [];
dependencies = dependencies.concat(plugin_et.findall('./platform[@name="'+platform+'"]/dependency'));
if (dependencies && dependencies.length) {

@@ -179,3 +180,3 @@ require('../plugman').emit('log', 'Dependencies detected, iterating through them...');

var fetchdata = require('./util/metadata').get_fetch_metadata(plugin_dir);
if (!fetchdata || !(fetchdata.source && fetchdata.source.type)) {

@@ -182,0 +183,0 @@ var err = new Error('No fetch metadata found for ' + plugin_id + '. Cannot install relative dependencies.');

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