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

camunda-node-client

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

camunda-node-client - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

21

lib/api-client/resources/process-instance.js

@@ -280,7 +280,10 @@ 'use strict';

getVariables: function(params, done) {
done = done || noop;
var deferred = Q.defer();
if (!params.id) {
return done(new Error('No process id found'))
done(new Error('No process id found'))
return deferred.reject(new Error('No process id found'));
}
var url = this.path + '/' + params.id + '/variables';
if (params.varId) {

@@ -291,5 +294,15 @@ url += '/' + params.varId

return this.http.get(url, {
done: done
this.http.get(url, {
done: function(err, data) {
if (err) {
done(err);
return deferred.reject(err);
}
done(null, data);
deferred.resolve(data);
}
});
return deferred.promise;
}

@@ -296,0 +309,0 @@ });

2

package.json
{
"name": "camunda-node-client",
"version": "1.0.0",
"version": "1.1.0",
"description": "Camunda API Client for Nodejs",

@@ -5,0 +5,0 @@ "main": "index.js",

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