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

bandersnatch

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bandersnatch - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

CHANGELOG.md

7

lib/command.js

@@ -19,9 +19,9 @@ "use strict";

function isArgument(obj) {
return obj.constructor.name === 'Argument';
return obj instanceof argument_1.Argument;
}
function isOption(obj) {
return obj.constructor.name === 'Option';
return obj instanceof option_1.Option;
}
function isCommand(obj) {
return obj.constructor.name === 'Command';
return obj instanceof Command;
}

@@ -95,2 +95,3 @@ /**

else {
console.log('add', { obj, command: this });
throw new Error('Not implemented.');

@@ -97,0 +98,0 @@ }

{
"name": "bandersnatch",
"description": "Simple TypeScript CLI / REPL framework",
"version": "1.2.0",
"version": "1.2.1",
"repository": {

@@ -46,2 +46,4 @@ "type": "git",

"devDependencies": {
"@semantic-release/changelog": "5.0.1",
"@semantic-release/git": "9.0.0",
"@types/jest": "26.0.4",

@@ -48,0 +50,0 @@ "@types/node": "14.0.20",

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