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

bluecat

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bluecat - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

26

lib/clt/cli.js
// Bluecat client command line tool
// used for setup basic test framework scaffold
// used for setup the following basic test framework scaffold
// ├── config
// │   ├── api.json
// │   └── default.json
// ├── package.json
// └── test
// ├── projectName
// │   └── sample.js
// └── test.js

@@ -87,6 +95,6 @@ var Fs = require('fs');

console.log('\nInstalling npm package...');
Exec('npm install bluecat chai config mocha mocha-multi --save', function (error, stdout, stderr) {
var child = Exec('npm install bluecat chai config mocha testarmada-magellan@8.8.4 testarmada-magellan-mocha-plugin2 --save --loglevel silent --color always', function (error, stdout, stderr) {
if (error !== null) {
console.log('npm install failed: ' + error);
console.log('Please try bluecat config again');
console.log('Please try "' + argv.$0 + ' config" again');
} else {

@@ -99,6 +107,16 @@ console.log('\n================================================================');

});
child.stdout.pipe(process.stdout);
child.stderr.pipe(process.stderr);
});
} else if(argv._[0] === 'api') {
var api = require(Path.resolve() + Path.sep + 'config/api.json');
var apiFilePath = Path.resolve() + Path.sep + 'config/api.json';
if (!Fs.existsSync(apiFilePath)) {
console.log(apiFilePath + ' doesn\'t exist');
console.log('You need to define APIs in apis.json first');
process.exit(1);
}
var api = require(apiFilePath);
var apis = [];

@@ -105,0 +123,0 @@ var findPath = function(api, path){

2

lib/index.js
exports.ServiceSync = require('./service.gen.sync');
exports.ServiceAsync = require('./service.gen.async');
exports.Api = require('./service.api');
exports.version = '1.1.0';
exports.version = '1.1.1';
{
"name": "bluecat",
"version": "1.1.0",
"version": "1.1.1",
"author": "Chaoyi Chen <ccy.chenchaoyi@gmail.com>",

@@ -32,3 +32,3 @@ "description": "Library for building RESTful API HTTP requests, good for generic RESTful API Test Framework",

"request": "2.79.0",
"yargs": "^6.4.0"
"yargs": "^6.5.0"
},

@@ -40,8 +40,8 @@ "scripts": {

"chai": "^3.4.1",
"mocha": "^3.1.2",
"mocha": "^3.2.0",
"grunt-cli": "^1.2.0",
"grunt": "^1.0.1",
"grunt-contrib-jshint": "^1.0.0",
"grunt-contrib-jshint": "^1.1.0",
"grunt-jscs": "^3.0.1"
}
}
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