Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

routing-controllers

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

routing-controllers - npm Package Compare versions

Comparing version 0.7.3 to 0.7.4

14

driver/express/ExpressDriver.js

@@ -276,7 +276,15 @@ "use strict";

else if (result === undefined) {
var notFoundError = new index_1.NotFoundError();
if (action.undefinedResultCode) {
notFoundError.httpCode = action.undefinedResultCode;
options.response.httpCode = action.undefinedResultCode;
if (action.isJsonTyped) {
options.response.json();
}
else {
options.response.send();
}
options.next();
}
throw notFoundError;
else {
throw new index_1.NotFoundError();
}
}

@@ -283,0 +291,0 @@ else if (result === null) {

@@ -277,7 +277,15 @@ "use strict";

else if (result === undefined) {
var notFoundError = new index_1.NotFoundError();
if (action.undefinedResultCode) {
notFoundError.httpCode = action.undefinedResultCode;
options.response.httpCode = action.undefinedResultCode;
if (action.isJsonTyped) {
options.response.json();
}
else {
options.response.send();
}
options.next();
}
throw notFoundError;
else {
throw new index_1.NotFoundError();
}
}

@@ -284,0 +292,0 @@ else if (result === null) {

{
"name": "routing-controllers",
"private": false,
"version": "0.7.3",
"version": "0.7.4",
"description": "Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage for Express / Koa using TypeScript.",

@@ -6,0 +6,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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