You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

jscrambler

Package Overview
Dependencies
Maintainers
1
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.4 to 0.6.5

14

lib/cli.js

@@ -7,8 +7,8 @@ 'use strict';

module.exports = {
// Convert from command line option format to snake case for the jscrambler API.
// Convert from command line option format to snake case for the JScrambler API.
// It also replaces truthy boolean flags with %DEFAULT% values
parseConfig: function (commander, config) {
config = clone(config);
mergeAndParseParams: function (commander, params) {
params = clone(params || {});
// Override config file changes with any specified command line options
// Override params file changes with any specified command line options
var name, is_bool_flag = {

@@ -44,5 +44,5 @@ assertsElimination: false,

if (is_bool_flag[name] === true) {
config[snakeCase(name)] = '%DEFAULT%';
params[snakeCase(name)] = '%DEFAULT%';
} else {
config[snakeCase(name)] = commander[name];
params[snakeCase(name)] = commander[name];
}

@@ -52,4 +52,4 @@ }

return config;
return params;
}
};
{
"name": "jscrambler",
"description": "JScrambler API client.",
"version": "0.6.4",
"version": "0.6.5",
"homepage": "https://github.com/jscrambler/node-jscrambler",

@@ -6,0 +6,0 @@ "author": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc