Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
'use strict';
const express = require('express');
const router = express.Router();
const auth = require('../../helpers/auth');
const utils = require('../../helpers/utils');
const Edition = require('bookbrainz-data').Edition;
const EditionHeader = require('bookbrainz-data').EditionHeader;
const EditionRevision = require('bookbrainz-data').EditionRevision;
const Publication = require('bookbrainz-data').Publication;
const Publisher = require('bookbrainz-data').Publisher;
const React = require('react');
const ReactDOMServer = require('react-dom/server');
const EditForm = React.createFactory(
require('../../../client/components/forms/edition.jsx')
);
/* Middleware loader functions. */
const makeEntityLoader = require('../../helpers/middleware').makeEntityLoader;
const loadEditionStatuses =
require('../../helpers/middleware').loadEditionStatuses;
const loadEditionFormats =
require('../../helpers/middleware').loadEditionFormats;
const loadLanguages =
require('../../helpers/middleware').loadLanguages;