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

ts-command-line-args

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-command-line-args - npm Package Compare versions

Comparing version 2.4.2 to 2.5.0

.github/workflows/test-typescript.yml

12

dist/contracts.d.ts

@@ -1,9 +0,5 @@

export declare type ArgumentConfig<T extends {
[name: string]: any;
}> = {
export declare type ArgumentConfig<T> = {
[P in keyof T]-?: PropertyConfig<T[P]>;
};
export declare type ArgumentOptions<T extends {
[name: string]: any;
}> = {
export declare type ArgumentOptions<T> = {
[P in keyof T]-?: PropertyOptions<T[P]>;

@@ -106,5 +102,3 @@ };

}
export interface ArgsParseOptions<T extends {
[name: string]: any;
}> extends UsageGuideOptions {
export interface ArgsParseOptions<T> extends UsageGuideOptions {
/**

@@ -111,0 +105,0 @@ * An array of strings which if present will be parsed instead of `process.argv`.

{
"name": "ts-command-line-args",
"version": "2.4.2",
"version": "2.5.0",
"description": "A Typescript wrapper around command-line-args with additional support for markdown usage guide generation",

@@ -63,2 +63,3 @@ "bin": {

"@types/jest": "^27.5.1",
"@types/node": "^16.18.23",
"@types/string-format": "^2.0.0",

@@ -65,0 +66,0 @@ "@typescript-eslint/eslint-plugin": "^5.29.0",

@@ -1,6 +0,6 @@

export type ArgumentConfig<T extends { [name: string]: any }> = {
export type ArgumentConfig<T> = {
[P in keyof T]-?: PropertyConfig<T[P]>;
};
export type ArgumentOptions<T extends { [name: string]: any }> = {
export type ArgumentOptions<T> = {
[P in keyof T]-?: PropertyOptions<T[P]>;

@@ -122,3 +122,3 @@ };

export interface ArgsParseOptions<T extends { [name: string]: any }> extends UsageGuideOptions {
export interface ArgsParseOptions<T> extends UsageGuideOptions {
/**

@@ -125,0 +125,0 @@ * An array of strings which if present will be parsed instead of `process.argv`.

@@ -239,3 +239,3 @@ import { IInsertCodeOptions } from '../contracts';

await insertCode({ fileContent, filePath: `${sampleDirName}/'originalFilePath.ts` }, createOptions());
} catch (e) {
} catch (e: any) {
error = e;

@@ -242,0 +242,0 @@ }

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 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

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