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.42.0 to 0.42.1

16

dist/index.js

@@ -8,4 +8,4 @@ import { definePlugin } from '@clerc/core';

;;`;
function getBashCompletion(context) {
const { cli } = context;
function getBashCompletion(ctx) {
const { cli } = ctx;
const { _scriptName: name, _commands: commands } = cli;

@@ -55,4 +55,4 @@ return `_${name}() {

};
function getPwshCompletion(context) {
const { cli } = context;
function getPwshCompletion(ctx) {
const { cli } = ctx;
const { _scriptName: name, _commands: commands } = cli;

@@ -114,3 +114,3 @@ return `using namespace System.Management.Automation

parameters: ["[shell]"]
}).on("completions", (context) => {
}).on("completions", (ctx) => {
var _a;

@@ -120,5 +120,3 @@ if (!cli._scriptName) {

}
const shell = String(
(_a = context.parameters.shell) != null ? _a : context.flags.shell
);
const shell = String((_a = ctx.parameters.shell) != null ? _a : ctx.flags.shell);
if (!shell) {

@@ -129,3 +127,3 @@ throw new Error("Missing shell name");

process.stdout.write(
completionMap[shell](context)
completionMap[shell](ctx)
);

@@ -132,0 +130,0 @@ } else {

{
"name": "@clerc/plugin-completions",
"version": "0.42.0",
"version": "0.42.1",
"author": "Ray <i@mk1.io> (https://github.com/so1ve)",

@@ -51,3 +51,3 @@ "type": "module",

"dependencies": {
"@clerc/utils": "0.42.0"
"@clerc/utils": "0.42.1"
},

@@ -54,0 +54,0 @@ "peerDependencies": {

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