Socket
Socket
Sign inDemoInstall

@worldsibu/convector-core-controller

Package Overview
Dependencies
14
Maintainers
1
Versions
186
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.9-0-alpha.273fee8f to 1.3.9-0-alpha.4f71c94c

9

dist/src/invokable.decorator.js

@@ -20,3 +20,2 @@ "use strict";

descriptor.value = function internalFn(_, args, extras) {
if (extras === void 0) { extras = {}; }
var rest = [];

@@ -28,8 +27,10 @@ for (var _i = 3; _i < arguments.length; _i++) {

var _this = this;
var schemas, namespace, ctx, e_1, error;
var internalCall, schemas, namespace, ctx, e_1, error;
return tslib_1.__generator(this, function (_a) {
switch (_a.label) {
case 0:
internalCall = false;
if ('_internal_invokable' in this) {
return [2, fn.call.apply(fn, [this, _, args, extras].concat(rest))];
internalCall = true;
args = [_, args, extras].concat(rest).filter(function (param) { return param !== undefined; });
}

@@ -80,3 +81,3 @@ schemas = Reflect.getOwnMetadata(param_decorator_1.paramMetadataKey, target, key);

namespace = Reflect.getMetadata(controller_decorator_1.controllerMetadataKey, target.constructor);
ctx = Object.create(this[namespace], tslib_1.__assign({}, extras, { _internal_invokable: { value: true } }));
ctx = Object.create(internalCall ? this : this[namespace], tslib_1.__assign({}, (extras || {}), { _internal_invokable: { value: true } }));
_a.label = 3;

@@ -83,0 +84,0 @@ case 3:

{
"name": "@worldsibu/convector-core-controller",
"version": "1.3.9-0-alpha.273fee8f",
"version": "1.3.9-0-alpha.4f71c94c",
"description": "Convector Controller base class",

@@ -53,4 +53,4 @@ "license": "Apache-2.0",

"dependencies": {
"@worldsibu/convector-core-errors": "1.3.9-0-alpha.273fee8f",
"@worldsibu/convector-core-model": "1.3.9-0-alpha.273fee8f",
"@worldsibu/convector-core-errors": "1.3.9-0-alpha.4f71c94c",
"@worldsibu/convector-core-model": "1.3.9-0-alpha.4f71c94c",
"tslib": "^1.9.0",

@@ -57,0 +57,0 @@ "window-or-global": "^1.0.1",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc