New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@thi.ng/args

Package Overview
Dependencies
Maintainers
1
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/args - npm Package Compare versions

Comparing version 2.2.11 to 2.2.12

12

api.d.ts

@@ -32,3 +32,3 @@ import type { Fn, IDeref, IObjectOf } from "@thi.ng/api";

}
export declare type ArgSpecRestrict<T> = undefined extends T ? {} : {
export type ArgSpecRestrict<T> = undefined extends T ? {} : {
optional: false;

@@ -38,4 +38,4 @@ } | {

};
export declare type ArgSpec<T> = ArgSpecBase & ArgSpecRestrict<T>;
export declare type ArgSpecExt = ArgSpec<any> & {
export type ArgSpec<T> = ArgSpecBase & ArgSpecRestrict<T>;
export type ArgSpecExt = ArgSpec<any> & {
coerce?: Fn<any, any>;

@@ -49,3 +49,3 @@ delim?: string;

};
export declare type Args<T extends IObjectOf<any>> = {
export type Args<T extends IObjectOf<any>> = {
[id in keyof T]: boolean extends T[id] ? ArgSpec<T[id]> & {

@@ -67,4 +67,4 @@ flag: true;

};
export declare type KVDict = IObjectOf<string>;
export declare type KVMultiDict = IObjectOf<string[]>;
export type KVDict = IObjectOf<string>;
export type KVMultiDict = IObjectOf<string[]>;
export interface ParseResult<T> {

@@ -71,0 +71,0 @@ result: T;

# Change Log
- **Last updated**: 2022-11-30T22:27:37Z
- **Last updated**: 2022-12-16T12:52:25Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

@@ -5,0 +5,0 @@

{
"name": "@thi.ng/args",
"version": "2.2.11",
"version": "2.2.12",
"description": "Declarative, functional & typechecked CLI argument/options parser, value coercions etc.",

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

},
"homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/args#readme",
"homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/args#readme",
"funding": [

@@ -25,3 +25,3 @@ {

],
"author": "Karsten Schmidt <k+npm@thi.ng>",
"author": "Karsten Schmidt (https://thi.ng)",
"license": "Apache-2.0",

@@ -39,14 +39,14 @@ "scripts": {

"dependencies": {
"@thi.ng/api": "^8.5.1",
"@thi.ng/checks": "^3.3.4",
"@thi.ng/errors": "^2.2.5",
"@thi.ng/strings": "^3.3.19"
"@thi.ng/api": "^8.6.0",
"@thi.ng/checks": "^3.3.5",
"@thi.ng/errors": "^2.2.6",
"@thi.ng/strings": "^3.3.20"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.33.5",
"@thi.ng/testament": "^0.3.6",
"@microsoft/api-extractor": "^7.33.7",
"@thi.ng/testament": "^0.3.7",
"rimraf": "^3.0.2",
"tools": "^0.0.1",
"typedoc": "^0.23.20",
"typescript": "^4.8.4"
"typedoc": "^0.23.22",
"typescript": "^4.9.4"
},

@@ -102,3 +102,3 @@ "keywords": [

},
"gitHead": "1fe40da507070653f420156d91e6b27cf682004f\n"
"gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
}
<!-- This file is generated - DO NOT EDIT! -->
# ![args](https://media.thi.ng/umbrella/banners-20220914/thing-args.svg?2466633e)
# ![@thi.ng/args](https://media.thi.ng/umbrella/banners-20220914/thing-args.svg?2466633e)
[![npm version](https://img.shields.io/npm/v/@thi.ng/args.svg)](https://www.npmjs.com/package/@thi.ng/args)
![npm downloads](https://img.shields.io/npm/dm/@thi.ng/args.svg)
[![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella)
[![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)

@@ -25,3 +25,3 @@ This project is part of the

Declarative, functional & typechecked CLI argument/options parser, value coercions etc..
Declarative, functional & typechecked CLI argument/options parser, value coercions etc.

@@ -68,7 +68,4 @@ Includes built-in support for the following argument types (of course custom arg types are supported too):

```text
# with flag only for < v16
node --experimental-repl-await
> const args = await import("@thi.ng/args");
```js
const args = await import("@thi.ng/args");
```

@@ -223,3 +220,3 @@

Karsten Schmidt
- [Karsten Schmidt](https://thi.ng)

@@ -239,2 +236,2 @@ If this project contributes to an academic publication, please cite it as:

&copy; 2018 - 2022 Karsten Schmidt // Apache Software License 2.0
&copy; 2018 - 2022 Karsten Schmidt // Apache License 2.0
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