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.7 to 0.9.8

2

package.json

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

"description": "install/uninstall Cordova plugins",
"version": "0.9.7",
"version": "0.9.8",
"repository": {

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

@@ -70,2 +70,8 @@ var install = require('../src/install'),

});
it('should check version and munge it a little if it has "rc" in it so it plays nice with semver (introduce a dash in it)', function() {
var spy = spyOn(semver, 'satisfies').andReturn(true);
exec.andReturn({code:0,output:"3.0.0rc1"});
install('android', temp, 'engineplugin', plugins_dir, {});
expect(spy).toHaveBeenCalledWith('3.0.0-rc1','>=2.3.0');
});
it('should queue up actions as appropriate for that plugin and call process on the action stack', function() {

@@ -72,0 +78,0 @@ install('android', temp, dummyplugin, plugins_dir, {});

@@ -106,2 +106,6 @@ var path = require('path'),

var current_version = versionScript.output.trim();
var rc_index = current_version.indexOf('rc');
if (rc_index > -1) {
current_version = current_version.substr(0, rc_index) + '-' + current_version.substr(rc_index);
}
var engines = plugin_et.findall('engines/engine');

@@ -108,0 +112,0 @@ engines.forEach(function(engine){

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