ts-commons
Advanced tools
Comparing version 1.0.20 to 1.0.21
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var number_utils_1 = require("./number.utils"); | ||
var object_utils_1 = require("./object.utils"); | ||
@@ -27,5 +26,2 @@ var DateUtils = /** @class */ (function () { | ||
DateUtils.timestampToDate = function (timestamp) { | ||
if (!number_utils_1.NumberUtils.isSafeInteger(timestamp)) { | ||
return null; | ||
} | ||
return new Date(timestamp); | ||
@@ -32,0 +28,0 @@ }; |
{ | ||
"name": "ts-commons", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"description": "common methods for typescript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
201028
2087