Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const PropTypes = require('prop-types');
const React = require('react');
const FormattedDate = require('react-intl').FormattedDate;
const FormattedMessage = require('react-intl').FormattedMessage;
const FormattedTime = require('react-intl').FormattedTime;
const FlexRow = require('../../components/flex-row/flex-row.jsx');
require('./mod-info.scss');
const ModInfo = props => (
<div>
</div>
{props.authorUsername &&
<div>
{/* @todo: these profile links should be made into a shared library function */}
<a href="{`/users/${props.authorUsername}/`}">
{props.authorUsername}</a></div>
>
{Children.toArray(nodes)}
}
);
}
};
export const FormattedDate = native(reactIntl.FormattedDate);
export const FormattedMessage = native(reactIntl.FormattedMessage);
export const FormattedNumber = native(reactIntl.FormattedNumber);
export const FormattedPlural = native(reactIntl.FormattedPlural);
export const FormattedRelative = native(reactIntl.FormattedRelative);
export const FormattedTime = native(reactIntl.FormattedTime);
var React = require('react');
var ReactBootstrap = require('react-bootstrap');
var ReactIntl = require('react-intl');
var ReactDocumentTitle = require('react-document-title');
var Reflux = require('reflux');
var ButtonToolbar = ReactBootstrap.ButtonToolbar;
var FormattedMessage = ReactIntl.FormattedMessage,
FormattedTime = ReactIntl.FormattedTime;
var StringHelper = require('../helper/StringHelper');
var ForceAuthMixin = require('../mixin/ForceAuthMixin');
var BillAction = require('../action/BillAction'),
UserAction = require('../action/UserAction'),
VoteAction = require('../action/VoteAction');
var VoteButtonBar = require('./VoteButtonBar'),
LoginButton = require('./LoginButton'),
ArgumentEditor = require('./ArgumentEditor'),
ArgumentTab = require('./ArgumentTab'),
ContributionTabs = require('./ContributionTabs'),
LikeButtons = require('./LikeButtons'),
Hint = require('./Hint'),
var React = require('react');
var Markdown = require('react-remarkable');
var ReactBootstrap = require('react-bootstrap');
var ReactRouter = require('react-router');
var ReactIntl = require('react-intl');
var ReactDocumentTitle = require('react-document-title');
var Reflux = require('reflux');
var Markdown = require('react-remarkable');
var FormattedMessage = ReactIntl.FormattedMessage,
FormattedTime = ReactIntl.FormattedTime;
var Grid = ReactBootstrap.Grid,
Row = ReactBootstrap.Row,
Col = ReactBootstrap.Col,
Button = ReactBootstrap.Button,
ButtonToolbar = ReactBootstrap.ButtonToolbar,
Input = ReactBootstrap.Input;
var Link = ReactRouter.Link;
var Title = require('./Title');
var BillAction = require('../action/BillAction'),
UserAction = require('../action/UserAction');
var BillStore = require('../store/BillStore'),