New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ts-commons

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-commons - npm Package Compare versions

Comparing version 1.0.20 to 1.0.21

4

dist/utils/date.utils.js
"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 @@ };

2

package.json
{
"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

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