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

sergeant

Package Overview
Dependencies
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sergeant - npm Package Compare versions

Comparing version 27.1.0 to 27.2.0

14

help.js

@@ -9,5 +9,3 @@ const {green} = require('kleur')

for (const key of Object.keys(command.options)) {
const definition = command.options[key]
for (const [key, definition] of Object.entries(command.options)) {
if (typeof definition !== 'object' || !definition.required || resolvedSignature.includes(key)) {

@@ -68,3 +66,3 @@ continue

for (const key of Object.keys(options)) {
for (const [key, definition] of Object.entries(options)) {
const property = resolveProperty(options, key)

@@ -74,4 +72,2 @@

const definition = options[property]
const inSignature = resolvedSignature.includes(property)

@@ -84,6 +80,6 @@

for (const alias of Object.keys(options)) {
if (options[alias] !== property) continue
for (const [key, alias] of Object.entries(options)) {
if (alias !== property) continue
usage = `${inSignature ? `[${addDashes(alias)}]` : addDashes(alias)}, ${usage}`
usage = `${inSignature ? `[${addDashes(key)}]` : addDashes(key)}, ${usage}`
}

@@ -90,0 +86,0 @@

@@ -34,5 +34,3 @@ const parse = require('./parse.js')

for (const key of Object.keys(definition.options)) {
const option = definition.options[key]
for (const [key, option] of Object.entries(definition.options)) {
if (typeof option !== 'object') continue

@@ -39,0 +37,0 @@

{
"name": "sergeant",
"version": "27.1.0",
"version": "27.2.0",
"description": "",

@@ -21,5 +21,5 @@ "main": "main.js",

"devDependencies": {
"@erickmerchant/lint": "^3.2.2",
"@erickmerchant/lint": "^3.4.2",
"babel-eslint": "^10.0.3",
"eslint": "^6.6.0",
"eslint": "^6.7.2",
"outdent": "^0.7.0",

@@ -33,4 +33,4 @@ "proxyquire": "^2.1.3",

"engines": {
"node": ">=10"
"node": ">=12"
}
}
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