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 0.0.6 to 0.0.7

4

dist/utils/object.utils.d.ts

@@ -6,2 +6,6 @@ export declare class ObjectUtils {

static isArray(value: any): boolean;
static isDate(value: any): boolean;
static isString(value: any): boolean;
static isNumber(value: any): boolean;
static isBoolean(value: any): boolean;
}

@@ -16,5 +16,16 @@ "use strict";

ObjectUtils.isArray = function (value) {
var result = value instanceof Array;
return result;
return value instanceof Array;
};
ObjectUtils.isDate = function (value) {
return value instanceof Date;
};
ObjectUtils.isString = function (value) {
return typeof value === "string";
};
ObjectUtils.isNumber = function (value) {
return typeof value === "number";
};
ObjectUtils.isBoolean = function (value) {
return typeof value === "boolean";
};
return ObjectUtils;

@@ -21,0 +32,0 @@ }());

2

package.json
{
"name": "ts-commons",
"version": "0.0.6",
"version": "0.0.7",
"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