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 6.2.1 to 6.3.0

mock/output.js

2

code/application-with-help.js

@@ -9,3 +9,3 @@ 'use strict'

const abbrev = require('abbrev')
const repeat = require('repeat-string')
const repeat = require('lodash.repeat')
const options = { '--help': 'provide help for this command' }

@@ -12,0 +12,0 @@ const Application = require('./application.js')

{
"name": "sergeant",
"version": "6.2.1",
"version": "6.3.0",
"description": "",

@@ -31,6 +31,6 @@ "main": "code/main.js",

"lodash.last": "^3.0.0",
"lodash.repeat": "^3.0.1",
"object-assign": "^3.0.0",
"pretty-hrtime": "^1.0.0",
"repeat-string": "^1.5.2"
"pretty-hrtime": "^1.0.0"
}
}

@@ -1,2 +0,2 @@

require('../mocks/output.js')
require('../mock/output.js')

@@ -11,3 +11,3 @@ var describe = require('mocha').describe

it('throws an error when command is not selected', function (done) {
var output = require('../mocks/output.js')()
var output = require('../mock/output.js')()
var app = new Application({description: 'a test app'}, [{}])

@@ -25,3 +25,3 @@

it('provides help for the whole app (description, commands)', function (done) {
var output = require('../mocks/output.js')()
var output = require('../mock/output.js')()
var app = new Application({description: 'a test app'}, ['help', {}])

@@ -55,3 +55,3 @@

it('provides help for the whole app (description)', function (done) {
var output = require('../mocks/output.js')()
var output = require('../mock/output.js')()
var app = new Application({description: 'a test app'}, ['help', {}])

@@ -73,3 +73,3 @@

it('provides help for each command (description, usage, options, aliases)', function (done) {
var output = require('../mocks/output.js')()
var output = require('../mock/output.js')()
var app = new Application({description: 'a test app'}, ['test', { help: true } ])

@@ -113,3 +113,3 @@

it('provides help for each command (description, usage)', function (done) {
var output = require('../mocks/output.js')()
var output = require('../mock/output.js')()
var app = new Application({description: 'a test app'}, ['test', { help: true } ])

@@ -116,0 +116,0 @@

@@ -1,2 +0,2 @@

require('../mocks/output.js')
require('../mock/output.js')

@@ -93,3 +93,3 @@ var describe = require('mocha').describe

it('throws an error when command is not defined', function (done) {
var output = require('../mocks/output.js')()
var output = require('../mock/output.js')()
var app = new Application({description: 'a test app'}, ['not-defined', {}])

@@ -107,3 +107,3 @@

it('errors with too many arguments', function (done) {
var output = require('../mocks/output.js')()
var output = require('../mock/output.js')()
var app = new Application({description: 'a test app'}, ['test', '1', '2', {}])

@@ -128,3 +128,3 @@

it('errors with too few arguments (singular)', function (done) {
var output = require('../mocks/output.js')()
var output = require('../mock/output.js')()
var app = new Application({description: 'a test app'}, ['test', '1', {}])

@@ -149,3 +149,3 @@

it('errors with too few arguments (plural)', function (done) {
var output = require('../mocks/output.js')()
var output = require('../mock/output.js')()
var app = new Application({description: 'a test app'}, ['test', {}])

@@ -170,3 +170,3 @@

it('gathers errors from commands', function (done) {
var output = require('../mocks/output.js')()
var output = require('../mock/output.js')()
var app = new Application({description: 'a test app'}, ['test', 'testing', {}])

@@ -173,0 +173,0 @@

@@ -1,2 +0,2 @@

require('../mocks/output.js')
require('../mock/output.js')

@@ -3,0 +3,0 @@ var describe = require('mocha').describe

@@ -1,2 +0,2 @@

require('../mocks/output.js')
require('../mock/output.js')

@@ -3,0 +3,0 @@ var describe = require('mocha').describe

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