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

@waiting/shared-core

Package Overview
Dependencies
Maintainers
1
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@waiting/shared-core - npm Package Compare versions

Comparing version 23.5.1 to 23.6.0

2

dist/lib/cli.d.ts
import minimist from 'minimist';
export declare function retrieveArgsFromProcess(processArgv?: string[]): minimist.ParsedArgs;
export declare function retrieveArgsFromProcess<T extends minimist.ParsedArgs = minimist.ParsedArgs>(processArgv?: string[]): T;
//# sourceMappingURL=cli.d.ts.map
{
"name": "@waiting/shared-core",
"author": "waiting",
"version": "23.5.1",
"version": "23.6.0",
"description": "node core function re export with Promise or Observable",

@@ -33,6 +33,6 @@ "keywords": [

"dependencies": {
"@waiting/shared-types": "^23.4.0",
"@waiting/shared-types": "^23.6.0",
"minimist": "^1.2.8",
"semver": "^7.6.0",
"zx": "^8.0.1"
"zx": "^8.0.2"
},

@@ -80,3 +80,3 @@ "devDependencies": {

},
"gitHead": "429a8d662eb074a862354692fa5975e57b28c00a"
"gitHead": "8c2868045846f7045fe02fe9fac8f66d8994ffc5"
}
import minimist from 'minimist'
export function retrieveArgsFromProcess(processArgv: string[] = process.argv): minimist.ParsedArgs {
export function retrieveArgsFromProcess<T extends minimist.ParsedArgs = minimist.ParsedArgs>(processArgv: string[] = process.argv): T {
const ps = processArgv.slice(2)
const argv = minimist(ps)
return argv
return argv as T
}

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