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

@bowtie/cli

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bowtie/cli - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"name": "@bowtie/cli",
"version": "0.2.0",
"version": "0.2.1",
"description": "Internal BowTie CLI Tools",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -5,15 +5,17 @@ const shell = require('shelljs')

const run = ({ cli, info, args }) => {
let keyword = false
let keyword = args[0] || false
let response = ''
if (info.context.dockerCompose) {
cli.log(`Current directory: ${info.cwd} is a docker project.`)
keyword = path.basename(info.cwd).replace(/[^0-9a-z]/gi, '')
cli.log(`Clean commands filtering for "${keyword}"`)
} else {
cli.log(`Current directory: ${info.cwd} is not a docker project.`)
keyword = cli.prompt('Enter a filter for cleanup: (blank for full clean)')
if (!keyword) {
if (info.context.dockerCompose) {
cli.log(`Current directory: ${info.cwd} is a docker project.`)
keyword = path.basename(info.cwd).replace(/[^0-9a-z]/gi, '')
cli.log(`Clean commands filtering for "${keyword}"`)
} else {
cli.log(`Current directory: ${info.cwd} is not a docker project.`)
keyword = cli.prompt('Enter a filter for cleanup: (blank for full clean)')
if (keyword.trim() === '') {
keyword = false
if (keyword.trim() === '') {
keyword = false
}
}

@@ -20,0 +22,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