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

@thisisagile/easy

Package Overview
Dependencies
Maintainers
2
Versions
1276
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thisisagile/easy - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

1

dist/types/Is.d.ts

@@ -7,2 +7,3 @@ import { Constructor } from './Constructor';

export declare const isObject: (o?: unknown) => o is Object;
export declare const isNotEmptyObject: (o?: unknown) => boolean;
export declare const isFunction: (o?: unknown) => o is Function;

@@ -9,0 +10,0 @@ export declare const isArray: <T = any>(o?: unknown) => o is T[];

3

dist/types/Is.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isPrimitive = exports.isIn = exports.isInstance = exports.isArray = exports.isFunction = exports.isObject = exports.isString = exports.isNotEmpty = exports.isEmpty = exports.isDefined = void 0;
exports.isPrimitive = exports.isIn = exports.isInstance = exports.isArray = exports.isFunction = exports.isNotEmptyObject = exports.isObject = exports.isString = exports.isNotEmpty = exports.isEmpty = exports.isDefined = void 0;
exports.isDefined = (o) => o !== undefined && o !== null;

@@ -9,2 +9,3 @@ exports.isEmpty = (o) => o === '' || o === null || o === undefined;

exports.isObject = (o) => o != null && (typeof o === 'object' || typeof o === 'function') && !exports.isArray(o);
exports.isNotEmptyObject = (o) => exports.isObject(o) && Object.getOwnPropertyNames(o).length > 0;
exports.isFunction = (o) => exports.isDefined(o) && o instanceof Function;

@@ -11,0 +12,0 @@ exports.isArray = (o) => exports.isDefined(o) && o instanceof Array;

{
"name": "@thisisagile/easy",
"version": "1.8.0",
"version": "1.8.1",
"description": "Straightforward library for building domain-driven microservice architectures",

@@ -5,0 +5,0 @@ "author": "Sander Hoogendoorn",

@@ -13,2 +13,4 @@ import { Constructor } from './Constructor';

export const isNotEmptyObject = (o?: unknown): boolean => isObject(o) && Object.getOwnPropertyNames(o).length > 0;
export const isFunction = (o?: unknown): o is Function => isDefined(o) && o instanceof Function;

@@ -15,0 +17,0 @@

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