Socket
Socket
Sign inDemoInstall

clang

Package Overview
Dependencies
56
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.8 to 0.1.9

12

lib/clang.js

@@ -85,3 +85,3 @@ var _ = require('lodash');

fn(requestArgs, buildCallback(me.config, me.api, pagingArgs, callback));
fn(requestArgs, buildCallback(requestArgs.uuid, me.config, me.api, pagingArgs, callback));
}

@@ -158,3 +158,3 @@ ], function(err, result) {

*/
var buildCallback = function (config, api, pagingArgs, callback) {
var buildCallback = function (uuid, config, api, pagingArgs, callback) {

@@ -188,3 +188,3 @@ return function apiCallback(err, result) {

return callback(null, [{msg: true, warning: err.body}]);
return callback(err.body || err.message);
return callback(err);
}

@@ -213,3 +213,3 @@ //Check for No SOAP Fault, but result code not 0

api.resource_getById({
uuid : config.uuid,
uuid : uuid,
resourceId: resourceId

@@ -232,3 +232,3 @@ }, apiCallback);

api[setMethods[result.msg.type]]({
uuid : config.uuid,
uuid : uuid,
resourceId: resourceId,

@@ -255,3 +255,3 @@ offset : pagingArgs.offset,

api.resource_free({
uuid : config.uuid,
uuid : uuid,
resourceId: resourceId

@@ -258,0 +258,0 @@ }, callback);

{
"name": "clang",
"version": "0.1.8",
"version": "0.1.9",
"description": "Node.js api wrapper for Clang's SOAP api",

@@ -5,0 +5,0 @@ "author": "Christiaan Westerbeek <chris@devotis.nl>",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc