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

merger-js

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

merger-js - npm Package Compare versions

Comparing version 3.10.1 to 3.10.2

tests/data/node_modules/twbs@bootstrap/dist/js/bootstrap.min.js

10

CHANGELOG.md

@@ -5,7 +5,13 @@ # CHANGELOG

#### *v3.10.1 - 05/06/2020
#### *v3.10.2 - 11/06/2020
- Fixed the `merger set` command, which was due to a bug added with the help command.
 
#### v3.10.1 - 05/06/2020
- Fixed a typo on the fileDownloader module that caused the
program to crash in case the user had the updates enabled.
- Updated the package Commander from 3.0.2 to 5.1.0.
- Updated the CLI package Commander from 3.0.2 to 5.1.0.

@@ -12,0 +18,0 @@  

35

modules/mergerCLI.js

@@ -74,24 +74,2 @@ /*

// merger set --list || merger set --help
CLI
.command( 'set' )
.option( '-l', '--list' )
.option( '-h', '--help' )
.action( ( cmd ) => {
if ( cmd.list || cmd.help ) {
console.info( '\n Set MergerJS configuration.\n' );
console.info( ' Configuration keys:' );
console.info( ' -------------------' );
console.info( '', Object.values( ConfigKeysType ).join( '\n ' ) );
console.info( '\n Possible values: "-t" and "--true" or "-f" and "--false"' );
console.info( ' --------------- \n\n' );
process.exit( 0 );
return;
}
process.exit( 1 );
return;
} );
// merger set

@@ -103,2 +81,4 @@ CLI

.option( '-f, --false' )
.option( '-h', '--help' )
.option( '-l', '--list' )
.action( ( key, cmd ) => {

@@ -114,2 +94,13 @@ let Key = key.toUpperCase();

} else if ( Key === 'HELP' || Key === 'LIST' || cmd.list || cmd.help ) {
console.info( '\n Set MergerJS configuration.\n' );
console.info( ' Configuration keys:' );
console.info( ' -------------------' );
const allConfigKeys = Object.values( ConfigKeysType );
console.info( '', allConfigKeys.slice( 0, allConfigKeys.length - 2 ).join( '\n ' ) );
console.info( '\n Possible values: "-t" and "--true" or "-f" and "--false"' );
console.info( ' --------------- \n\n' );
process.exit( 0 );
} else {

@@ -116,0 +107,0 @@ console.error( ` ${style.styledError}${style.errorText( `Unknown option - ${cmd}.` )}` );

{
"name": "merger-js",
"displayName": "MergerJS",
"version": "3.10.1",
"version": "3.10.2",
"description": "Yet another simple cross-platform CLI build tool to bundle JavaScript files, with a custom file import syntax, ES8+ minification, auto build capabilities, and native OS notifications.",

@@ -6,0 +6,0 @@ "readme": "https://github.com/joao-neves95/merger-js/blob/master/README.md",

@@ -202,3 +202,3 @@ # MergerJS

- `merger set` or `merger set -h` or `merger set --list`: <br/>
- `merger set help` or `merger set list`: <br/>
List all the configuration keys (it does not list the possible aliases).

@@ -205,0 +205,0 @@

@@ -157,7 +157,23 @@ ## MergerJS JavaScript Style Guide

&nbsp;
After following these style conventions, you should also follow the Airbnb style guide:
https://github.com/airbnb/javascript
&nbsp;
---
***This document may change in the future.***
---
## Disclaimer for other Developers
Before starting to contribute to MergerJS, you must have in mind that this was my first
software project, before any kind of personal or professional experience.\
The first version was made in one weekend and, with time, it was added new features without
really thinking about future maintainability and evolution.\
Therefore, there are a lot of architectural problems and "spaghetti" code.\
With each new release, the codebase gets small architectural refactorings and improvements,
but **a lot** of work still needs to be done.
# Current Branch Version
**v3.10.1**
**v3.10.2**
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