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

mounter

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mounter - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

test/misc/mounter.json

2

package.json
{
"name": "mounter",
"version": "0.0.4",
"version": "0.0.5",
"main": "src/main.js",

@@ -5,0 +5,0 @@ "description": "Install your subprojects from git endpoint into your project",

@@ -16,3 +16,3 @@ mounter

=======
Add components.json into your project folder.
Add mounter.json into your project folder.

@@ -19,0 +19,0 @@

@@ -32,11 +32,13 @@ var async = require('async'),

prefix = path.resolve(process.cwd(), prefix);
config = require('./utils/conf').load(prefix + '/components.json')
if (available.indexOf(action) === -1) {
completed(new Error('Invalid action'));
if (!action && available.indexOf(action) === -1) {
console.log('Usage: mounter <command>');
console.log('where <command> is one of:', available.join(', '));
completed(null);
return;
}
prefix = path.resolve(process.cwd(), prefix);
config = require('./utils/conf').load(prefix + '/mounter.json')
execute(action, completed);
}
exports['config should have correct endpoint for private git endpoint'] = function(test) {
var config = require('../src/utils/conf').load(__dirname + '/misc/components')['app'];
var config = require('../src/utils/conf').load(__dirname + '/misc/mounter')['app'];

@@ -12,3 +12,3 @@ test.ok(typeof config.endpoint === 'object', 'have endpoint object')

exports['config should have correct endpoint for github'] = function(test) {
var config = require('../src/utils/conf').load(__dirname + '/misc/components')['jquery'];
var config = require('../src/utils/conf').load(__dirname + '/misc/mounter')['jquery'];

@@ -15,0 +15,0 @@ console.log(config);

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