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

brocolito

Package Overview
Dependencies
Maintainers
0
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brocolito - npm Package Compare versions

Comparing version 4.0.0-beta.0 to 4.0.0-beta.1

2

bin/run.js

@@ -20,3 +20,3 @@ #!/usr/bin/env node

const notCompletion = !process.env.COMP_LINE;
notCompletion && process.stdout.write("🥦Rebuilding ⚙️...");
if (notCompletion) process.stdout.write("🥦Rebuilding ⚙️...");
(await import("node:child_process")).execSync(

@@ -23,0 +23,0 @@ "node " + require.resolve("brocolito/bin/build.js"),

import type { ArgType, ArgumentToName, OptionMeta, SnakeToCamelCase } from "./types";
export declare const Arguments: {
camelize: <S extends string>(str: S) => SnakeToCamelCase<S>;
deriveInfo: <S_1 extends `<${string}${string}>`>(usage: S_1) => ArgType & {
name: ArgumentToName<S_1>;
deriveInfo: <S extends `<${string}${string}>`>(usage: S) => ArgType & {
name: ArgumentToName<S>;
};
deriveOptionInfo: (usage: string) => Pick<OptionMeta, "name" | "type" | "prefixedName" | "multi" | "mandatory">;
};

@@ -1,2 +0,1 @@

/// <reference types="prompts" />
import { type Command, type DescriptionOrOpts } from "./types";

@@ -18,4 +17,4 @@ export declare const CLI: {

declare const pc: import("picocolors/types").Colors & {
createColors: (enabled?: boolean | undefined) => import("picocolors/types").Colors;
createColors: (enabled?: boolean) => import("picocolors/types").Colors;
}, complainAndExit: (errMsg: string, code?: number) => never, prompts: typeof import("prompts");
export { pc, complainAndExit, prompts };

@@ -5,5 +5,5 @@ import prompts from "prompts";

pc: import("picocolors/types").Colors & {
createColors: (enabled?: boolean | undefined) => import("picocolors/types").Colors;
createColors: (enabled?: boolean) => import("picocolors/types").Colors;
};
prompts: typeof prompts;
};
{
"name": "brocolito",
"version": "4.0.0-beta.0",
"version": "4.0.0-beta.1",
"description": "Create type-safe CLIs to align local development and pipeline workflows",

@@ -31,14 +31,14 @@ "main": "dist/brocolito.cjs",

"minimist": "^1.2.8",
"picocolors": "^1.0.0",
"picocolors": "^1.1.0",
"prompts": "^2.4.2",
"vite": "^5.2.11"
"vite": "^5.4.3"
},
"devDependencies": {
"@types/node": "^20.12.11",
"eslint": "^9.2.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.5",
"typescript": "^5.4.5",
"typescript-eslint": "^7.8.0",
"vitest": "^1.6.0"
"@types/node": "^22.5.4",
"eslint": "^9.10.0",
"eslint-plugin-prettier": "^5.2.1",
"prettier": "^3.3.3",
"typescript": "^5.5.4",
"typescript-eslint": "^8.4.0",
"vitest": "^2.0.5"
},

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

Sorry, the diff of this file is not supported yet

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