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

@benev/argv

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@benev/argv - npm Package Compare versions

Comparing version 0.3.5 to 0.3.6

2

package.json
{
"name": "@benev/argv",
"version": "0.3.5",
"version": "0.3.6",
"description": "command line argument parser",

@@ -5,0 +5,0 @@ "license": "MIT",

import {Logger} from "./logger.js"
export type OnDeath = (fn: DeathListener) => void
export type OnDeath = (fn: DeathListener) => () => void
export type DeathListener = (exitCode: number) => void

@@ -49,3 +49,6 @@

const onDeath: OnDeath = listener => rubberneckers.add(listener)
const onDeath: OnDeath = listener => {
rubberneckers.add(listener)
return () => rubberneckers.delete(listener)
}

@@ -52,0 +55,0 @@ return {onDeath}

import { Logger } from "./logger.js";
export type OnDeath = (fn: DeathListener) => void;
export type OnDeath = (fn: DeathListener) => () => void;
export type DeathListener = (exitCode: number) => void;

@@ -4,0 +4,0 @@ /**

@@ -32,5 +32,8 @@ /**

});
const onDeath = listener => rubberneckers.add(listener);
const onDeath = listener => {
rubberneckers.add(listener);
return () => rubberneckers.delete(listener);
};
return { onDeath };
}
//# sourceMappingURL=death-with-dignity.js.map

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