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

seeli

Package Overview
Dependencies
Maintainers
2
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

seeli - npm Package Compare versions

Comparing version 12.2.0 to 12.3.0

lib/command/flag-to-prompt.js

12

CHANGELOG.md
# Changlog
# [12.3.0](https://github.com/esatterwhite/node-seeli/compare/v12.2.0...v12.3.0) (2021-03-19)
### Bug Fixes
* **command:** fix interactive prompts for repeating numbers ([c810602](https://github.com/esatterwhite/node-seeli/commit/c810602368a0a8e6470e1fd7b1b2c339299342cf))
### Features
* **command:** add a command method to convert flags to prompts ([5817b34](https://github.com/esatterwhite/node-seeli/commit/5817b3438fd00117361175dba13fd63bb86a7e66))
# [12.2.0](https://github.com/esatterwhite/node-seeli/compare/v12.1.4...v12.2.0) (2021-03-02)

@@ -4,0 +16,0 @@

2

lib/conf.js
'use strict'
const os = require('os')
const path = require('path')
const chalk = require('chalk')
const pkgup = require('pkg-up')

@@ -7,0 +5,0 @@ const set = require('mout/object/set')

'use strict'
/**
* @module module:seeli/lib/seeli
* @requires mout/lang/toArray
* @requires mout/lang/kindOf
* @requires seeli/lib/command
* @requires seeli/lib/conf
**/
const chalk = require('chalk')

@@ -10,2 +16,8 @@ const toArray = require('mout/lang/toArray')

/**
* Seeli Entrypoint used for registring and managing commands
* @constructor
* @alias module:seeli/lib/seeli
* @extends module:seeli/lib/command
**/
class Seeli extends Command {

@@ -12,0 +24,0 @@ constructor(...args) {

@@ -36,3 +36,6 @@ 'use strict'

} else if (Array.isArray(thing)) {
return typeOf(thing[0]).toLowerCase() + '*'
const clean = thing.filter((item) => {
return item !== Array
})
return typeOf(clean[0]).toLowerCase() + '*'
} else if (isFunction(thing)) {

@@ -39,0 +42,0 @@ return typeOf(thing()).toLowerCase()

{
"name": "seeli",
"version": "12.2.0",
"version": "12.3.0",
"description": "Object oriented, flexible CLI tools",

@@ -25,3 +25,3 @@ "main": "index.js",

"root": true,
"extends": "eslint-config-codedependant",
"extends": "codedependant",
"rules": {

@@ -119,3 +119,4 @@ "no-eq-null": 0,

"text-summary",
"json"
"json",
"html"
],

@@ -128,2 +129,3 @@ "files": [

"--exclude=examples/",
"--exclude=release.config.js",
"--all"

@@ -130,0 +132,0 @@ ]

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