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.14 to 0.0.15

1

dist/utils/object.utils.d.ts

@@ -10,2 +10,3 @@ export declare class ObjectUtils {

static isBoolean(value: any): boolean;
static toSafeString(value: any): string;
}

@@ -30,2 +30,12 @@ "use strict";

};
// return "" if value is null or undefined.
// from C# https://docs.microsoft.com/en-us/dotnet/api/microsoft.toolkit.extensions.stringextensions.tosafestring?view=uwp-toolkit-dotnet
ObjectUtils.toSafeString = function (value) {
if (this.isNullOrUndefined(value)) {
return "";
}
else {
return value.toString();
}
};
return ObjectUtils;

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

2

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