@sameke/expressjs-decorators
Advanced tools
+0
-1
@@ -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", |
+1
-1
@@ -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; |
34545
-0.07%859
-0.12%