PackageVersions.js 602 B

1234567891011121314151617181920212223
  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 version = {
  9. ace: '1.4.10', // Upgrade instructions: https://github.com/overleaf/write_latex/wiki/Upgrading-Ace
  10. fineuploader: '5.15.4'
  11. }
  12. module.exports = {
  13. version,
  14. lib(name) {
  15. if (version[name] != null) {
  16. return `${name}-${version[name]}`
  17. } else {
  18. return `${name}`
  19. }
  20. }
  21. }