mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Current file header is : /*! showdown v 2.0.0-alpha1 - 25-09-2018 */ Official 2.0.0-alpha doesn't match neither on content nor date :( Considering date we would be at 1.8.7, but it is also quite different (and has vulnerabilities) In consequence switching to 2.0.0.
10 lines
457 B
Plaintext
10 lines
457 B
Plaintext
// TODO: consolidate on using a helpers file at some point in the future, which
|
|
// is the approach currently used to export Parser and applyExtends for ESM:
|
|
const {applyExtends, cjsPlatformShim, Parser, Yargs, processArgv} = require('./build/index.cjs')
|
|
Yargs.applyExtends = (config, cwd, mergeExtends) => {
|
|
return applyExtends(config, cwd, mergeExtends, cjsPlatformShim)
|
|
}
|
|
Yargs.hideBin = processArgv.hideBin
|
|
Yargs.Parser = Parser
|
|
module.exports = Yargs
|