overleaf/services/web/app/src/infrastructure/PackageVersions.js
Alasdair Smith 350e2ac38f Merge pull request #1886 from overleaf/as-upgrade-ace-1.4.5
Upgrade to Ace v1.4.5

GitOrigin-RevId: 7ab7ba24c0bfc927567fbd4196e05a1c3f26d283
2019-06-20 09:21:27 +00:00

25 lines
640 B
JavaScript

// 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
*/
const version = {
pdfjs: '2.0.943',
moment: '2.9.0',
ace: '1.4.5', // Upgrade instructions: https://github.com/overleaf/write_latex/wiki/Upgrading-Ace
fineuploader: '5.15.4'
}
module.exports = {
version,
lib(name) {
if (version[name] != null) {
return `${name}-${version[name]}`
} else {
return `${name}`
}
}
}