Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aicore/libcommonutils

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aicore/libcommonutils - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

2

package.json
{
"name": "@aicore/libcommonutils",
"version": "1.0.15",
"version": "1.0.16",
"description": "Common util libraries used by various modules. This library is created to prevent code duplication",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -39,4 +39,4 @@ /*

export {isNumber, isString, isObject, isBoolean, isObjectEmpty} from './utils/common.js';
export {isNumber, isString, isObject, isBoolean, isObjectEmpty, isStringEmpty} from './utils/common.js';
export {getMySqlConfigs} from './utils/configs.js';
export {HTTP_STATUS_CODES} from './const/http.js';

@@ -14,2 +14,11 @@ // @INCLUDE_IN_API_DOCS

/**
* Returns true if the given value is a string and is empty.
* @param str - The string to check.
* @returns true
*/
export function isStringEmpty(str) {
return isString(str) && str.trim() === '';
}
/** This is a description of the isNumber function.

@@ -16,0 +25,0 @@ * This function checks if object is Number or not

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