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.0 to 3.10.1

10

CHANGELOG.md

@@ -5,4 +5,12 @@ # CHANGELOG

#### *v3.10.0 - 18/05/2020
#### *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.
 
#### v3.10.0 - 18/05/2020
- Added the `merger set --list` command, to list all the possible

@@ -9,0 +17,0 @@ full configuration keys (no aliases).

12

modules/fileDownloader.js

@@ -14,3 +14,3 @@ /*

const style = require( './consoleStyling' );
const HttpClient = require( './HttpClient' );
const HttpClient = require( './httpClient' );

@@ -28,3 +28,3 @@ const HOST_RAW_GITHUB = 'https://raw.githubusercontent.com/';

* Downloads a file from an URL and saves it to node_modules.
*
*
* @returns { Promise<string | Error> }

@@ -60,7 +60,7 @@ */

* Downloads a file from GitHub and saves it to node_modules. Returns the file name or an error.
*
*
* @param { string } path <userName>/<repositoryName>/(<branchName>)/<pathToFile>
* @param { string } brach If it's an empty string, the deprecated solution will used.
* @param { function } Callback (<string | Error>)
*
*
* @returns { Promise<string | Error> }

@@ -132,3 +132,3 @@ * @deprecated

* Returns all the files with a complete directory relative to node_modules.
*
*
* @param { string[] } buildOrder

@@ -139,3 +139,3 @@ * @param { string } user

* @param { string } branch
*
*
* @returns { Promise<string[]> }

@@ -142,0 +142,0 @@ */

@@ -10,3 +10,3 @@ /*

'use strict';
const CLI = require('../node_modules/commander');
const CLI = require('../node_modules/commander').program;
const init = require('./CLIModules/init');

@@ -60,3 +60,2 @@ const update = require('./updateMerger');

process.exit( 0 );
} );

@@ -102,2 +101,3 @@

.command( 'set <key>' )
.description( 'run "merger set -h" for details' )
.option( '-t, --true' )

@@ -191,3 +191,2 @@ .option( '-f, --false' )

CLI.parse( process.argv );
// If the user didn't use the CLI commands:

@@ -198,2 +197,4 @@ // merger

}
CLI.parse( process.argv );
};
{
"name": "merger-js",
"displayName": "MergerJS",
"version": "3.10.0",
"version": "3.10.1",
"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.",

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

"chokidar": "^3.4.0",
"commander": "^3.0.2",
"commander": "^5.1.0",
"inquirer": "^7.1.0",

@@ -41,0 +41,0 @@ "is-text-path": "^2.0.0",

# MergerJS
[![npm](https://img.shields.io/npm/v/merger-js.svg)](https://www.npmjs.com/package/merger-js)
[![LICENSE](https://img.shields.io/npm/l/merger-js.svg)](https://github.com/joao-neves95/merger-js/blob/master/LICENSE)<br/>
[![LICENSE](https://img.shields.io/npm/l/merger-js.svg)](https://github.com/joao-neves95/merger-js/blob/master/LICENSE.md)<br/>
[![GitHub stars](https://img.shields.io/github/stars/joao-neves95/merger-js.svg?label=star&style=social)](https://github.com/joao-neves95/merger-js)

@@ -6,0 +6,0 @@

# Current Branch Version
**v3.10.0**
**v3.10.1**
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