PackageVersions.js 659 B

12345678910111213141516171819202122232425
  1. // TODO: This file was created by bulk-decaffeinate.
  2. // Sanity-check the conversion and remove this comment.
  3. /*
  4. * decaffeinate suggestions:
  5. * DS207: Consider shorter variations of null checks
  6. * Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
  7. */
  8. const ACE_VERSION = require('ace-builds/version')
  9. const version = {
  10. // Upgrade instructions: https://github.com/overleaf/write_latex/wiki/Upgrading-Ace
  11. ace: ACE_VERSION,
  12. fineuploader: '5.15.4',
  13. }
  14. module.exports = {
  15. version,
  16. lib(name) {
  17. if (version[name] != null) {
  18. return `${name}-${version[name]}`
  19. } else {
  20. return `${name}`
  21. }
  22. },
  23. }