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

ee-soa-service

Package Overview
Dependencies
Maintainers
2
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ee-soa-service - npm Package Compare versions

Comparing version 0.2.43 to 0.2.44

36

lib/DefaultService.js

@@ -318,2 +318,3 @@

/**

@@ -323,4 +324,6 @@ * handles Outgoing orm controller requests

, _handleRequest: function(req, callback) {
var collection = req.getCollection();
var collection = req.getCollection()
, response;
if (debugService) log.info('[DefaultService] Outgoing request for '+[this.name, req.getCollection(), req.getActionName()].join('.')+' ...');

@@ -337,4 +340,18 @@

var res = new SOAResponse();
res.on('end', function(status, result) {
// we may have gotten a soa response instead of a callback
if (type.object(callback)) {
response = callback;
if (debugService) {
response.once('end', function(status, result) {
log.info('[DefaultService] Outgoing request for '+[this.name, req.getCollection(), req.getActionName()].join('.')+' responded with the status «'+status+'» ...');
}.bind(this));
}
}
// we need to make our own response object
else {
response = new SOAResponse();
response.once('end', function(status, result) {
var err = null;

@@ -347,7 +364,10 @@ if(result && result.error) err = result;

}.bind(this));
}
// keep the request internal?
if(this._hasController(collection)) {
if (debugService) log.debug('[DefaultService] Hanbdling request internally ...');
this.request(req, res);
this.request(req, response);
}

@@ -357,6 +377,12 @@ else {

this.emit('request', req, res);
this.emit('request', req, response);
}
}
, _handleResponse: function(err, result, req, callback, status, headers) {

@@ -363,0 +389,0 @@

2

package.json

@@ -5,3 +5,3 @@ {

, "keywords" : ["ee", "soa", "service"]
, "version" : "0.2.43"
, "version" : "0.2.44"
, "author": {

@@ -8,0 +8,0 @@ "name" : "Tobias Kneubuehler"

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