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

@thisisagile/easy

Package Overview
Dependencies
Maintainers
2
Versions
1281
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.23.1 to 1.23.2

2

dist/types/Is.d.ts

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

export declare const isString: (o?: unknown) => o is string;
export declare const isBoolean: (o?: unknown) => o is boolean;
export declare const isNumber: (o?: unknown) => o is number;
export declare const isObject: (o?: unknown) => boolean;

@@ -8,0 +10,0 @@ export declare const isEmptyObject: (o?: unknown) => boolean;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isPrimitive = exports.isIn = exports.isInstance = exports.isArray = exports.isFunction = exports.isEmptyObject = exports.isObject = exports.isString = exports.isNotEmpty = exports.isEmpty = exports.isDefined = void 0;
exports.isPrimitive = exports.isIn = exports.isInstance = exports.isArray = exports.isFunction = exports.isEmptyObject = exports.isObject = exports.isNumber = exports.isBoolean = exports.isString = exports.isNotEmpty = exports.isEmpty = exports.isDefined = void 0;
const isDefined = (o) => o !== undefined && o !== null;

@@ -12,2 +12,6 @@ exports.isDefined = isDefined;

exports.isString = isString;
const isBoolean = (o) => exports.isDefined(o) && typeof o === 'boolean';
exports.isBoolean = isBoolean;
const isNumber = (o) => exports.isDefined(o) && typeof o === 'number' && !Number.isNaN(o);
exports.isNumber = isNumber;
const isObject = (o) => o != null && (typeof o === 'object' || typeof o === 'function') && !exports.isArray(o);

@@ -14,0 +18,0 @@ exports.isObject = isObject;

2

package.json
{
"name": "@thisisagile/easy",
"version": "1.23.1",
"version": "1.23.2",
"description": "Straightforward library for building domain-driven microservice architectures",

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

@@ -11,2 +11,6 @@ import { Constructor } from './Constructor';

export const isBoolean = (o?: unknown): o is boolean => isDefined(o) && typeof o === 'boolean';
export const isNumber = (o?: unknown): o is number => isDefined(o) && typeof o === 'number' && !Number.isNaN(o);
export const isObject = (o?: unknown): boolean => o != null && (typeof o === 'object' || typeof o === 'function') && !isArray(o);

@@ -13,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