change-git-url
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -18,3 +18,8 @@ const path = require('path'); | ||
const lastArg = process.argv[process.argv.length - 1]; | ||
module.exports = async () => { | ||
if (['-v', '--version', '-V'].indexOf(lastArg) > -1) { | ||
return console.log(require(path.join(__dirname, '../package.json')).version); | ||
} | ||
try { | ||
@@ -21,0 +26,0 @@ let tempData = {}; |
{ | ||
"name": "change-git-url", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
6102
139
7