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
1266
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.7.0 to 1.7.1

1

dist/types/Is.d.ts

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

export declare const isIn: (o: unknown, values: unknown[]) => boolean;
export declare const isPrimitive: (o?: unknown) => boolean;

3

dist/types/Is.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
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.isObject = exports.isString = exports.isNotEmpty = exports.isEmpty = exports.isDefined = void 0;
exports.isDefined = (o) => o !== undefined && o !== null;

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

exports.isIn = (o, values) => exports.isArray(values) && values.some(v => v === o);
exports.isPrimitive = (o) => (o !== null) && !exports.isObject(o) && !exports.isFunction(o) && !exports.isArray(o);
//# sourceMappingURL=Is.js.map
{
"name": "@thisisagile/easy",
"version": "1.7.0",
"version": "1.7.1",
"description": "Straightforward library for building domain-driven microservice architectures",

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

@@ -20,1 +20,3 @@ import { Constructor } from './Constructor';

export const isIn = (o: unknown, values: unknown[]): boolean => isArray(values) && values.some(v => v === o);
export const isPrimitive = (o?: unknown): boolean => (o !== null) && !isObject(o) && !isFunction(o) && !isArray(o);

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