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

@slickgrid-universal/utils

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slickgrid-universal/utils - npm Package Compare versions

Comparing version 2.6.4 to 3.0.0-beta.0

6

dist/commonjs/utils.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.uniqueObjectArray = exports.uniqueArray = exports.toSnakeCase = exports.toSentenceCase = exports.toKebabCase = exports.toCamelCase = exports.titleCase = exports.setDeepValue = exports.removeAccentFromText = exports.parseBoolean = exports.isObjectEmpty = exports.isNumber = exports.hasData = exports.isPrimmitive = exports.isObject = exports.isEmptyObject = exports.emptyObject = exports.objectAssignAndExtend = exports.deepMerge = exports.deepCopy = exports.arrayRemoveItemByIndex = exports.addWhiteSpaces = exports.addToArrayWhenNotExists = void 0;
exports.uniqueObjectArray = exports.uniqueArray = exports.toSnakeCase = exports.toSentenceCase = exports.toKebabCase = exports.toCamelCase = exports.titleCase = exports.setDeepValue = exports.removeAccentFromText = exports.parseBoolean = exports.isObjectEmpty = exports.isNumber = exports.hasData = exports.isPrimitiveValue = exports.isObject = exports.isEmptyObject = exports.emptyObject = exports.objectAssignAndExtend = exports.deepMerge = exports.deepCopy = exports.arrayRemoveItemByIndex = exports.addWhiteSpaces = exports.addToArrayWhenNotExists = void 0;
/**

@@ -209,6 +209,6 @@ * Add an item to an array only when the item does not exists, when the item is an object we will be using their "id" to compare

*/
function isPrimmitive(val) {
function isPrimitiveValue(val) {
return val === null || val === undefined || typeof val === 'boolean' || typeof val === 'number' || typeof val === 'string';
}
exports.isPrimmitive = isPrimmitive;
exports.isPrimitiveValue = isPrimitiveValue;
/**

@@ -215,0 +215,0 @@ * Check if a value has any data (undefined, null or empty string will return False...)

@@ -197,3 +197,3 @@ /**

*/
export function isPrimmitive(val) {
export function isPrimitiveValue(val) {
return val === null || val === undefined || typeof val === 'boolean' || typeof val === 'number' || typeof val === 'string';

@@ -200,0 +200,0 @@ }

@@ -70,3 +70,3 @@ /**

*/
export declare function isPrimmitive(val: any): boolean;
export declare function isPrimitiveValue(val: any): boolean;
/**

@@ -73,0 +73,0 @@ * Check if a value has any data (undefined, null or empty string will return False...)

{
"name": "@slickgrid-universal/utils",
"version": "2.6.4",
"version": "3.0.0-beta.0",
"description": "Common set of small utilities",

@@ -45,3 +45,3 @@ "main": "dist/commonjs/index.js",

],
"gitHead": "e906a95b58d12c99b9f8514d11ef9be10ba4045a"
"gitHead": "5e41e42bc43f3e0d31b6076c2d2318f513c25e01"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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