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

@boost/cli

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boost/cli - npm Package Compare versions

Comparing version 2.6.0 to 2.7.0

lib/components/Confirm.d.ts

29

CHANGELOG.md

@@ -6,2 +6,31 @@ # Change Log

## 2.7.0 - 2020-11-29
#### 🚀 Updates
- Add `Confirm` prompt component. (#122) ([e5ec1af](https://github.com/milesj/boost/commit/e5ec1af)), closes [#122](https://github.com/milesj/boost/issues/122)
- Add `HiddenInput` and `PasswordInput` prompt components. (#124) ([9f38dca](https://github.com/milesj/boost/commit/9f38dca)), closes [#124](https://github.com/milesj/boost/issues/124)
- Add `info` and `notice` theme color styles. (#120) ([5bc42d8](https://github.com/milesj/boost/commit/5bc42d8)), closes [#120](https://github.com/milesj/boost/issues/120)
- Add `Input` prompt component. (#121) ([3ddda8a](https://github.com/milesj/boost/commit/3ddda8a)), closes [#121](https://github.com/milesj/boost/issues/121)
- Add `Select` and `MultiSelect` prompt components. (#123) ([50540f6](https://github.com/milesj/boost/commit/50540f6)), closes [#123](https://github.com/milesj/boost/issues/123)
#### 🐞 Fixes
- Fix missing newline for debug logs. ([ea6a0d0](https://github.com/milesj/boost/commit/ea6a0d0))
#### 📦 Dependencies
- **[debug]** Update to v4.3. ([e1304ee](https://github.com/milesj/boost/commit/e1304ee))
- Update dev dependencies. Migrate to TypeScript v4.1. ([578d5e3](https://github.com/milesj/boost/commit/578d5e3))
#### 🛠 Internals
- Reorganize components. ([29f9bb4](https://github.com/milesj/boost/commit/29f9bb4))
**Note:** Version bump only for package @boost/cli
## 2.6.0 - 2020-11-12

@@ -8,0 +37,0 @@

2

lib/components/Failure.d.ts

@@ -10,3 +10,3 @@ import React from 'react';

}
export default class Failure extends React.Component<FailureProps> {
export declare class Failure extends React.Component<FailureProps> {
shouldHideStackTrace(): boolean;

@@ -13,0 +13,0 @@ renderCodeFrame(): JSX.Element | null;

@@ -7,5 +7,5 @@ /// <reference types="react" />

marginBottom?: number;
type?: StyleType;
type?: StyleType | 'none';
}
export default function Header({ label, marginTop, marginBottom, type, }: HeaderProps): JSX.Element;
export declare function Header({ label, marginTop, marginBottom, type, }: HeaderProps): JSX.Element;
//# sourceMappingURL=Header.d.ts.map

@@ -13,3 +13,3 @@ import React from 'react';

}
export default class Help extends React.Component<HelpProps> {
export declare class Help extends React.Component<HelpProps> {
gatherOptionTags(config: OptionConfig): string[];

@@ -16,0 +16,0 @@ gatherParamTags(config: ParamConfig): string[];

@@ -6,3 +6,3 @@ import React from 'react';

}
export default function IndexHelp({ banner, bin, children, footer, header, name, version, }: IndexHelpProps): JSX.Element;
export declare function IndexHelp({ banner, bin, children, footer, header, name, version, }: IndexHelpProps): JSX.Element;
//# sourceMappingURL=IndexHelp.d.ts.map

@@ -7,5 +7,5 @@ import React from 'react';

inverted?: boolean;
type: StyleType | 'none';
type?: StyleType | 'none';
}
export default function Style({ children, inverted, type, ...restProps }: StyleProps): JSX.Element;
export declare function Style({ children, inverted, type, ...restProps }: StyleProps): JSX.Element;
//# sourceMappingURL=Style.d.ts.map

@@ -1,3 +0,4 @@

import useProgram from './useProgram';
export { useProgram };
export * from './useDimensions';
export * from './useListNavigation';
export * from './useProgram';
//# sourceMappingURL=index.d.ts.map
import { ProgramContextType } from '../types';
export default function useProgram(): ProgramContextType;
export declare function useProgram(): ProgramContextType;
//# sourceMappingURL=useProgram.d.ts.map

@@ -8,10 +8,6 @@ /**

import ProgramContext from './ProgramContext';
import Failure from './components/Failure';
import Header from './components/Header';
import Help from './components/Help';
import IndexHelp from './components/IndexHelp';
import Style from './components/Style';
import CLIError from './CLIError';
import type { CLIErrorCode } from './CLIError';
export * from './constants';
export * from './components';
export * from './decorators';

@@ -22,4 +18,4 @@ export * from './helpers';

export * from './types';
export { Command, Failure, Header, Help, IndexHelp, Program, ProgramContext, Style, CLIError };
export { Command, Program, ProgramContext, CLIError };
export type { CLIErrorCode };
//# sourceMappingURL=index.d.ts.map

@@ -87,3 +87,3 @@ /// <reference types="node" />

export declare type Middleware = (argv: Argv, parse: MiddlewareCallback, logger: Loggable) => MiddlewareArguments | Promise<MiddlewareArguments>;
export declare type StyleType = 'default' | 'inverted' | 'failure' | 'muted' | 'success' | 'warning';
export declare type StyleType = 'default' | 'failure' | 'info' | 'inverted' | 'muted' | 'notice' | 'success' | 'warning';
export declare type ThemePalette = {

@@ -90,0 +90,0 @@ [T in StyleType]: string;

{
"name": "@boost/cli",
"version": "2.6.0",
"version": "2.7.0",
"release": "1594765247526",

@@ -28,9 +28,9 @@ "description": "An interactive command line program builder, powered by React and Ink.",

"dependencies": {
"@boost/args": "^2.2.2",
"@boost/common": "^2.4.0",
"@boost/event": "^2.2.0",
"@boost/internal": "^2.1.1",
"@boost/log": "^2.1.5",
"@boost/args": "^2.2.3",
"@boost/common": "^2.4.1",
"@boost/event": "^2.2.1",
"@boost/internal": "^2.1.2",
"@boost/log": "^2.1.6",
"@boost/terminal": "^2.1.0",
"@boost/translate": "^2.1.4",
"@boost/translate": "^2.1.5",
"execa": "^4.1.0",

@@ -45,7 +45,8 @@ "levenary": "^1.1.1",

"devDependencies": {
"debug": "^4.2.0",
"debug": "^4.3.1",
"ink": "^3.0.8",
"ink-testing-library": "^2.1.0",
"react": "^16.14.0"
},
"gitHead": "8967d5c822a523d463cf4515669b789342bb3e3e"
"gitHead": "5f7e4dd672542eef29f55ec17300600e5fcd6a92"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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