🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@sameke/expressjs-decorators

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sameke/expressjs-decorators - npm Package Compare versions

Comparing version
1.1.2
to
1.1.3
+0
-1
dist/express.js

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

args[pd.index] = isNaN(value) === true ? null : value;
;
}

@@ -320,0 +319,0 @@ catch (_a) {

+1
-1
{
"name": "@sameke/expressjs-decorators",
"version": "1.1.2",
"version": "1.1.3",
"description": "express decorators",

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

@@ -424,3 +424,3 @@ import { Application, NextFunction, Request, Response, Router } from 'express';

let value = pd.isFloat ? parseFloat(req.params[pd.name]) : parseInt(req.params[pd.name], 10);
args[pd.index] = isNaN(value) === true ? null : value;;
args[pd.index] = isNaN(value) === true ? null : value;
} catch {

@@ -427,0 +427,0 @@ args[pd.index] = null;