New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

krow-cli

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

krow-cli - npm Package Compare versions

Comparing version
0.2.2
to
0.2.3
+21
-0
dist/cli.js

@@ -15,4 +15,6 @@ #!/usr/bin/env node

// src/cli.ts
import { spawnSync } from "child_process";
import { readFileSync } from "fs";
import path from "path";
import { fileURLToPath } from "url";
var workPatterns = [

@@ -75,2 +77,15 @@ /\b(fix|implement|build|create|add|remove|delete|rename|refactor|update|edit|change|write|ship|debug)\b/i,

}
function installerScriptPath() {
const cliFile = fileURLToPath(import.meta.url);
return path.resolve(path.dirname(cliFile), "../install/krow.mjs");
}
function delegateInstaller(command, args) {
const result = spawnSync(process.execPath, [installerScriptPath(), command, ...args], {
stdio: "inherit"
});
if (typeof result.status === "number") {
process.exit(result.status);
}
process.exit(1);
}
function parseFlags(args) {

@@ -715,2 +730,8 @@ const positionals = [];

switch (command) {
case "init":
delegateInstaller("init", rest);
return;
case "remove":
delegateInstaller("remove", rest);
return;
case "route":

@@ -717,0 +738,0 @@ handleRoute(positionals, flags);

+1
-1
{
"name": "krow-cli",
"version": "0.2.2",
"version": "0.2.3",
"description": "A host-agnostic agent harness for coding work",

@@ -5,0 +5,0 @@ "type": "module",