2019-05-29 05:21:06 -04:00
|
|
|
// TODO: This file was created by bulk-decaffeinate.
|
|
|
|
// Sanity-check the conversion and remove this comment.
|
|
|
|
/*
|
|
|
|
* decaffeinate suggestions:
|
|
|
|
* DS207: Consider shorter variations of null checks
|
|
|
|
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
|
|
|
|
*/
|
2020-11-11 05:50:00 -05:00
|
|
|
const ACE_VERSION = require('ace-builds/version')
|
2019-05-29 05:21:06 -04:00
|
|
|
const version = {
|
2020-11-11 05:50:00 -05:00
|
|
|
// Upgrade instructions: https://github.com/overleaf/write_latex/wiki/Upgrading-Ace
|
|
|
|
ace: ACE_VERSION,
|
2020-01-16 08:09:47 -05:00
|
|
|
fineuploader: '5.15.4'
|
2019-05-29 05:21:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
version,
|
|
|
|
|
|
|
|
lib(name) {
|
|
|
|
if (version[name] != null) {
|
|
|
|
return `${name}-${version[name]}`
|
|
|
|
} else {
|
|
|
|
return `${name}`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|