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

reversible-preproc-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reversible-preproc-cli - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

23

lib/index.js

@@ -18,3 +18,3 @@ 'use strict';

let reversible_preproc_cli_version="1.0.1";
let reversible_preproc_cli_version = "1.0.2";

@@ -49,3 +49,3 @@ const argvMm = parseArgs(process.argv);

}
if (kt === 'defline' || kt === 'deffile')
if (kt === 'defline' || kt === 'deffile' || kt === 'version')
numdef++;

@@ -77,3 +77,3 @@ argv[kt] = argvMm[k];

//console.log(outline)
outline = outline===null ? "" : outline + '\n';
outline = outline === null ? "" : outline + '\n';
next(err, outline);

@@ -93,9 +93,12 @@ }

{
if (argv.version){
process.stdout.write(`
reversible-preproc-cli ${reversible_preproc_cli_version}
`);
if (argv.version) {
process.stdout.write(
`
reversible-preproc-cli ${reversible_preproc_cli_version}
`
);
process.exit(0);
}
// console.log(argv)
// console.log(argv)
// set up streams

@@ -111,4 +114,4 @@ let rawdata, readable, writable;

let defJson = JSON.parse(rawdata);
// console.log("The defines input is:")
// console.log(JSON.stringify(defJson, 0, 2))
// console.log("The defines input is:")
// console.log(JSON.stringify(defJson, 0, 2))
let testOut = Reflect.ownKeys(argv).includes('testout');

@@ -115,0 +118,0 @@ let rpp = new ReversiblePreproc(defJson, { testMode: testOut });

{
"name": "reversible-preproc-cli",
"version": "1.0.1",
"version": "1.0.2",
"description": "CLI for reversible-preproc",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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