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

cmd-ts

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmd-ts - npm Package Compare versions

Comparing version 0.10.0 to 0.10.1

4

dist/cjs/errorBox.js

@@ -95,6 +95,6 @@ "use strict";

if (withNoHighlight.length === 1) {
errorMessages.push('Along the following error:');
errorMessages.push('Along with the following error:');
}
else if (withNoHighlight.length > 1) {
errorMessages.push('Along the following errors:');
errorMessages.push('Along with the following errors:');
}

@@ -101,0 +101,0 @@ }

@@ -89,6 +89,6 @@ import chalk from 'chalk';

if (withNoHighlight.length === 1) {
errorMessages.push('Along the following error:');
errorMessages.push('Along with the following error:');
}
else if (withNoHighlight.length > 1) {
errorMessages.push('Along the following errors:');
errorMessages.push('Along with the following errors:');
}

@@ -95,0 +95,0 @@ }

{
"name": "cmd-ts",
"version": "0.10.0",
"version": "0.10.1",
"homepage": "https://cmd-ts.now.sh",

@@ -19,3 +19,3 @@ "license": "MIT",

"start": "yarn build --watch",
"prepublishOnly": "yarn build && yarn test",
"prepublishOnly": "rm -rf dist && yarn build && yarn test",
"test": "jest",

@@ -22,0 +22,0 @@ "ts-node": "./scripts/ts-node"

@@ -29,3 +29,3 @@ # `cmd-ts`

},
handler: args => {
handler: (args) => {
args.message; // string

@@ -42,3 +42,3 @@ args.number; // number

Creates a CLI command. Returns either a parsing error, or an object where every argument provided gets the value with the correct type, along with a special `_` key that contains the "rest" of the positional arguments.
Creates a CLI command.

@@ -45,0 +45,0 @@ ### Decoding custom types from strings

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