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

brotli-cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brotli-cli - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

CHANGELOG.md

@@ -9,2 +9,6 @@ All notable changes to this project will be documented in this file.

## [1.0.1] - 2021-04-29
### Fixed
- not very meaningful no/bad command errors
## [1.0.0] - 2021-04-29

@@ -11,0 +15,0 @@ ### Added

@@ -198,3 +198,10 @@ #!/usr/bin/env node

.command("*", false, noop, () => {
throw new Error("Unknown command " + process.argv[2]);
yargs_1.default.showHelp();
console.error();
if (!process.argv[2]) {
console.error("No command given, did you miss `compress` keyword?");
return;
}
console.error("Unknown command, did you miss `compress` keyword?");
process.exit(1);
})

@@ -201,0 +208,0 @@ .strictOptions(true)

2

package.json
{
"name": "brotli-cli",
"version": "1.0.0",
"version": "1.0.1",
"repository": "git@github.com:dzek69/brotli-cli.git",

@@ -5,0 +5,0 @@ "author": "Jacek Nowacki",

@@ -249,3 +249,12 @@ #!/usr/bin/env node

.command("*", false, noop, () => {
throw new Error("Unknown command " + process.argv[2]);
yargs.showHelp();
console.error();
if (!process.argv[2]) {
console.error("No command given, did you miss `compress` keyword?");
return;
}
console.error("Unknown command, did you miss `compress` keyword?");
// eslint-disable-next-line no-process-exit
process.exit(1);
})

@@ -252,0 +261,0 @@ // @ts-expect-error Missing TS type

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