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.0.8 to 1.0.9

30

lib/clt/cli.js

@@ -86,3 +86,3 @@ // Bluecat client command line tool

console.log('\nInstalling npm package...');
Exec('npm install bluecat chai config mocha mocha-espresso mocha-multi --save', function (error, stdout, stderr) {
Exec('npm install bluecat chai config mocha mocha-multi --save', function (error, stdout, stderr) {
if (error !== null) {

@@ -99,3 +99,31 @@ console.log('npm install failed: ' + error);

});
} else if(argv._[0] === 'api') {
var api = require(Path.resolve() + Path.sep + 'config/api.json');
var findPath = function(api, path){
path = path || '';
for(var i in api){
console.log('----------------');
if (api[i] !== null && typeof api[i] === 'object') {
//console.log(i);
path = path + '/' + i;
if (api[i].hasOwnProperty('method')) {
for(var j in api[i].method) {
console.log('full path: ' + api[i].method[j] + ' ' + path);
}
var keys = Object.keys(api[i]);
//if(keys
findPath(api[i], path);
//return;
} else {
findPath(api[i], path);
}
} else {
//return;
}
}
}
findPath(api, '');
}

2

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

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

"dependencies": {
"fibers": "^1.0.13",
"fibers": "^1.0.14",
"hoek": "^2.16.3",
"inquirer": "^1.0.2",
"inquirer": "^1.1.3",
"path": "^0.12.7",

@@ -39,8 +39,8 @@ "promise": "^7.1.1",

"chai": "^3.4.1",
"mocha": "^2.3.4",
"mocha": "^2.5.3",
"grunt-cli": "^1.2.0",
"grunt": "^1.0.1",
"grunt-contrib-jshint": "^1.0.0",
"grunt-jscs": "^2.8.0"
"grunt-jscs": "^3.0.1"
}
}

@@ -11,3 +11,3 @@ ## Bluecat <img src="https://raw.github.com/chenchaoyi/bluecat/master/images/bluecat.png" align="middle" />

`Bluecat` is a library that helps to easily create HTTP requests and maintain session information underlayer.
**Bluecat** is a library that helps to easily create HTTP requests and maintain session information underlayer.

@@ -14,0 +14,0 @@ It could be integrated with any Node.js test framework and assertion library to create a clear and straighforward `Web services API testing framework`.

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