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

@clerc/plugin-completions

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clerc/plugin-completions - npm Package Compare versions

Comparing version 0.19.0 to 0.20.0

4

dist/index.js
import { definePlugin } from '@clerc/core';
import { gracefulFlagName } from '@clerc/utils';
import { gracefulFlagName, kebabCase } from '@clerc/utils';

@@ -40,3 +40,3 @@ const generateCommandCompletion = (name) => `

return Object.entries(command.flags || {}).map(([flagName, flag]) => {
const gen = [`[CompletionResult]::new('${gracefulFlagName(flagName)}', '${flagName}', [CompletionResultType]::ParameterName, '${command.flags[flagName].description || NO_DESCRIPTION}')`];
const gen = [`[CompletionResult]::new('${gracefulFlagName(flagName)}', '${kebabCase(flagName)}', [CompletionResultType]::ParameterName, '${command.flags[flagName].description || NO_DESCRIPTION}')`];
if (flag == null ? void 0 : flag.alias) {

@@ -43,0 +43,0 @@ gen.push(

{
"name": "@clerc/plugin-completions",
"version": "0.19.0",
"version": "0.20.0",
"author": "Ray <nn_201312@163.com> (https://github.com/so1ve)",

@@ -54,6 +54,6 @@ "description": "Clerc plugin completions",

"dependencies": {
"@clerc/utils": "0.19.0"
"@clerc/utils": "0.20.0"
},
"devDependencies": {
"@clerc/core": "0.19.0"
"@clerc/core": "0.20.0"
},

@@ -60,0 +60,0 @@ "scripts": {

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