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

@libj/cli

Package Overview
Dependencies
Maintainers
0
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libj/cli - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

dist/common/isType/isType.d.ts

@@ -1,2 +0,2 @@

export declare const isStr: (val: any) => boolean, isNum: (val: any) => boolean, isBool: (val: any) => boolean, isNull: (val: any) => boolean, isArr: (val: any) => boolean, isObj: (val: any) => boolean, isFn: (val: any) => boolean;
export declare const isStr: (val: any) => boolean, isNum: (val: any) => boolean, isBool: (val: any) => boolean, isNull: (val: any) => boolean, isArr: (val: any) => boolean, isObj: (val: any) => boolean, isFn: (val: any) => boolean, isRegex: (val: any) => boolean;
export declare const isEnumVal: (Enum: Object, val: string | number) => boolean;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isEnumVal = exports.isFn = exports.isObj = exports.isArr = exports.isNull = exports.isBool = exports.isNum = exports.isStr = void 0;
var isStr = function (val) { return typeof val === 'string'; }, isNum = function (val) { return typeof val === 'number'; }, isBool = function (val) { return typeof val === 'boolean'; }, isNull = function (val) { return val === null; }, isArr = function (val) { return Array.isArray(val); }, isObj = function (val) { return typeof val === 'object' && !(0, exports.isArr)(val) && !(0, exports.isNull)(val); }, isFn = function (val) { return typeof val === 'function'; };
exports.isStr = isStr, exports.isNum = isNum, exports.isBool = isBool, exports.isNull = isNull, exports.isArr = isArr, exports.isObj = isObj, exports.isFn = isFn;
exports.isEnumVal = exports.isRegex = exports.isFn = exports.isObj = exports.isArr = exports.isNull = exports.isBool = exports.isNum = exports.isStr = void 0;
var isStr = function (val) { return typeof val === 'string'; }, isNum = function (val) { return typeof val === 'number'; }, isBool = function (val) { return typeof val === 'boolean'; }, isNull = function (val) { return val === null; }, isArr = function (val) { return Array.isArray(val); }, isObj = function (val) { return typeof val === 'object' && !(0, exports.isArr)(val) && !(0, exports.isNull)(val); }, isFn = function (val) { return typeof val === 'function'; }, isRegex = function (val) { return (val instanceof RegExp); };
exports.isStr = isStr, exports.isNum = isNum, exports.isBool = isBool, exports.isNull = isNull, exports.isArr = isArr, exports.isObj = isObj, exports.isFn = isFn, exports.isRegex = isRegex;
var isEnumVal = function (Enum, val) { return (Object.values(Enum).indexOf(val) > -1); };
exports.isEnumVal = isEnumVal;
//# sourceMappingURL=isType.js.map

@@ -6,3 +6,3 @@ {

"name": "@libj/cli",
"version": "0.2.1",
"version": "0.2.2",
"description": "Cli toolbox",

@@ -29,3 +29,3 @@ "author": "Sergey Poskachey <seregynp@gmail.com>",

],
"gitHead": "718c3864c6f7e652357a733c5dfbb9ed746dc5d3"
"gitHead": "1cd99254c94c9feceadf7684a9f2e8ec25e17055"
}

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