Socket
Socket
Sign inDemoInstall

@empathyco/x-utils

Package Overview
Dependencies
Maintainers
5
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@empathyco/x-utils - npm Package Compare versions

Comparing version 0.1.0-alpha.5 to 0.1.0-alpha.6

dist/cjs/typeguards.js

1

dist/cjs/index.js

@@ -5,3 +5,4 @@ "use strict";

tslib_1.__exportStar(require("./object"), exports);
tslib_1.__exportStar(require("./typeguards"), exports);
tslib_1.__exportStar(require("./types"), exports);
//# sourceMappingURL=index.js.map

13

dist/cjs/object.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isObject = exports.every = exports.getNewAndUpdatedKeys = exports.objectFilter = exports.cleanUndefined = exports.map = exports.reduce = exports.forEach = void 0;
exports.every = exports.getNewAndUpdatedKeys = exports.objectFilter = exports.cleanUndefined = exports.map = exports.reduce = exports.forEach = void 0;
/**

@@ -123,13 +123,2 @@ * Iterates over every non-undefined property of the object calling the callback passed as

exports.every = every;
/**
* Returns true if the retrieved parameter is an object.
*
* @param obj - The object to check.
*
* @returns A boolean indicating if the parameter is an object.
*/
function isObject(obj) {
return obj && typeof obj === 'object' && !Array.isArray(obj);
}
exports.isObject = isObject;
//# sourceMappingURL=object.js.map
export * from './object';
export * from './typeguards';
export * from './types';
//# sourceMappingURL=index.js.map

@@ -113,12 +113,2 @@ /**

}
/**
* Returns true if the retrieved parameter is an object.
*
* @param obj - The object to check.
*
* @returns A boolean indicating if the parameter is an object.
*/
export function isObject(obj) {
return obj && typeof obj === 'object' && !Array.isArray(obj);
}
//# sourceMappingURL=object.js.map
{
"name": "@empathyco/x-utils",
"version": "0.1.0-alpha.5",
"version": "0.1.0-alpha.6",
"description": "A utility package for Empathy search",

@@ -44,3 +44,3 @@ "author": "Empathy Systems Corporation S.L.",

},
"gitHead": "e6bed958716d0fe7219030fa25e870f6cdaaf68a"
"gitHead": "1dbdaee6edb8d9ffaabf2e82f2fa0ecc7c40a9f8"
}
export * from './object';
export * from './typeguards';
export * from './types';

@@ -70,9 +70,1 @@ import { Dictionary } from './types';

export declare function every<ObjectType extends Dictionary>(object: ObjectType, condition: (key: keyof ObjectType, value: Exclude<ObjectType[keyof ObjectType], undefined>, index: number) => boolean): boolean;
/**
* Returns true if the retrieved parameter is an object.
*
* @param obj - The object to check.
*
* @returns A boolean indicating if the parameter is an object.
*/
export declare function isObject(obj: any): obj is Record<string, unknown>;

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