fix all vulnerabilities in the production code (#817)

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
This commit is contained in:
Denis Barbaron
2024-11-29 11:02:11 +01:00
committed by GitHub
parent 2f54e40206
commit 872b0bcbd8
26 changed files with 160 additions and 13627 deletions

View File

@@ -1,5 +1,5 @@
/**
* Copyright © 2019 contains code contributed by Orange SA, authors: Denis Barbaron - Licensed under the Apache license 2.0
* Copyright © 2024 contains code contributed by Orange SA, authors: Denis Barbaron - Licensed under the Apache license 2.0
**/
var yargs = require('yargs')
@@ -40,8 +40,6 @@ var _argv = yargs.usage('Usage: $0 <command> [options]')
.demandCommand(1, 'Must provide a valid command.')
.help('h', 'Show help.')
.alias('h', 'help')
.version('V', 'Show version.', function() {
return require('../../package').version
})
.version('V', 'Show version.', require('../../package').version)
.alias('V', 'version')
.argv