This is very confusing as seen in #12974 or #12906. My suggestion would be "legacy."
var VERSION = getVersionJSON().version;
  var DIST_NAME = "pdfjs-dist";
  var DIST_DESCRIPTION = "Generic build of Mozilla's PDF.js library.";
  var DIST_KEYWORDS = ["Mozilla", "pdf", "pdf.js"];
  var DIST_HOMEPAGE = "http://mozilla.github.io/pdf.js/";
  var DIST_BUGS_URL = "https://github.com/mozilla/pdf.js/issues";
  var DIST_LICENSE = "Apache-2.0";
  var npmManifest = {
    name: DIST_NAME,
    version: VERSION,
    main: "build/pdf.js",
    types: "types/pdf.d.ts",
    description: DIST_DESCRIPTION,
    keywords: DIST_KEYWORDS,