mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-07 18:03:48 +00:00
Update dependency 2 (#5342)
* update react-select version * update react-responsive * delete unnecessary dependency * update react-mentions
This commit is contained in:
942
frontend/package-lock.json
generated
942
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -20,7 +20,6 @@
|
|||||||
"prismjs": "1.23.0",
|
"prismjs": "1.23.0",
|
||||||
"prop-types": "^15.6.2",
|
"prop-types": "^15.6.2",
|
||||||
"qrcode.react": "^1.0.1",
|
"qrcode.react": "^1.0.1",
|
||||||
"raf": "3.4.0",
|
|
||||||
"react": "16.14.0",
|
"react": "16.14.0",
|
||||||
"react-app-polyfill": "^2.0.0",
|
"react-app-polyfill": "^2.0.0",
|
||||||
"react-chartjs-2": "^2.8.0",
|
"react-chartjs-2": "^2.8.0",
|
||||||
@@ -28,20 +27,17 @@
|
|||||||
"react-cookies": "^0.1.0",
|
"react-cookies": "^0.1.0",
|
||||||
"react-dom": "16.14.0",
|
"react-dom": "16.14.0",
|
||||||
"react-i18next": "12.1.1",
|
"react-i18next": "12.1.1",
|
||||||
"react-mentions": "^3.0.2",
|
"react-mentions": "4.4.7",
|
||||||
"react-moment": "^0.7.9",
|
|
||||||
"react-qr-code": "^1.0.5",
|
"react-qr-code": "^1.0.5",
|
||||||
"react-responsive": "^6.1.2",
|
"react-responsive": "9.0.2",
|
||||||
"react-select": "^2.4.1",
|
"react-select": "5.7.0",
|
||||||
"reactstrap": "^6.4.0",
|
"reactstrap": "^6.4.0",
|
||||||
"seafile-js": "0.2.190",
|
"seafile-js": "0.2.190",
|
||||||
"socket.io-client": "^2.2.0",
|
"socket.io-client": "^2.2.0",
|
||||||
"unified": "^7.0.0",
|
"unified": "^7.0.0",
|
||||||
"url-parse": "^1.4.3",
|
"url-parse": "^1.4.3",
|
||||||
"vfile": "^3.0.0",
|
|
||||||
"video.js": "^7.4.1",
|
"video.js": "^7.4.1",
|
||||||
"watermark-dom": "^1.0.0",
|
"watermark-dom": "^1.0.0"
|
||||||
"whatwg-fetch": "2.0.3"
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node scripts/start.js",
|
"start": "node scripts/start.js",
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
|
import { Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
|
||||||
import Select from 'react-select/lib/Creatable';
|
import CreatableSelect from 'react-select/creatable';
|
||||||
import { gettext } from '../../utils/constants';
|
import { gettext } from '../../utils/constants';
|
||||||
import { seafileAPI } from '../../utils/seafile-api';
|
import { seafileAPI } from '../../utils/seafile-api';
|
||||||
import { Utils } from '../../utils/utils';
|
import { Utils } from '../../utils/utils';
|
||||||
@@ -63,7 +63,7 @@ class CleanTrash extends React.Component {
|
|||||||
<ModalBody>
|
<ModalBody>
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<p>{gettext('Clear files in trash and history:')}</p>
|
<p>{gettext('Clear files in trash and history:')}</p>
|
||||||
<Select
|
<CreatableSelect
|
||||||
defaultValue={this.options[0]}
|
defaultValue={this.options[0]}
|
||||||
options={this.options}
|
options={this.options}
|
||||||
autoFocus={false}
|
autoFocus={false}
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
|
import { Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
|
||||||
import CreatableSelect from 'react-select/lib/Creatable';
|
import CreatableSelect from 'react-select/creatable';
|
||||||
import { gettext } from '../../utils/constants';
|
import { gettext } from '../../utils/constants';
|
||||||
import { seafileAPI } from '../../utils/seafile-api';
|
import { seafileAPI } from '../../utils/seafile-api';
|
||||||
import { Utils } from '../../utils/utils';
|
import { Utils } from '../../utils/utils';
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
|
import { Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
|
||||||
import CreatableSelect from 'react-select/lib/Creatable';
|
import CreatableSelect from 'react-select/creatable';
|
||||||
import { gettext } from '../../utils/constants';
|
import { gettext } from '../../utils/constants';
|
||||||
import { seafileAPI } from '../../utils/seafile-api';
|
import { seafileAPI } from '../../utils/seafile-api';
|
||||||
import { Utils } from '../../utils/utils';
|
import { Utils } from '../../utils/utils';
|
||||||
|
@@ -2,7 +2,6 @@ import React, { Fragment } from 'react';
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Button, Input, InputGroup, InputGroupAddon } from 'reactstrap';
|
import { Button, Input, InputGroup, InputGroupAddon } from 'reactstrap';
|
||||||
import Select from 'react-select';
|
import Select from 'react-select';
|
||||||
import makeAnimated from 'react-select/lib/animated';
|
|
||||||
import { gettext, isPro, siteRoot } from '../../utils/constants';
|
import { gettext, isPro, siteRoot } from '../../utils/constants';
|
||||||
import { seafileAPI } from '../../utils/seafile-api.js';
|
import { seafileAPI } from '../../utils/seafile-api.js';
|
||||||
import { Utils } from '../../utils/utils.js';
|
import { Utils } from '../../utils/utils.js';
|
||||||
|
@@ -2,7 +2,6 @@ import React, { Fragment } from 'react';
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Button } from 'reactstrap';
|
import { Button } from 'reactstrap';
|
||||||
import Select from 'react-select';
|
import Select from 'react-select';
|
||||||
import makeAnimated from 'react-select/lib/animated';
|
|
||||||
import { isPro, gettext } from '../../../utils/constants';
|
import { isPro, gettext } from '../../../utils/constants';
|
||||||
import { seafileAPI } from '../../../utils/seafile-api.js';
|
import { seafileAPI } from '../../../utils/seafile-api.js';
|
||||||
import { Utils } from '../../../utils/utils';
|
import { Utils } from '../../../utils/utils';
|
||||||
@@ -244,7 +243,6 @@ class SysAdminShareToGroup extends React.Component {
|
|||||||
onChange={this.handleSelectChange}
|
onChange={this.handleSelectChange}
|
||||||
options={this.options}
|
options={this.options}
|
||||||
placeholder={gettext('Select groups...')}
|
placeholder={gettext('Select groups...')}
|
||||||
components={makeAnimated()}
|
|
||||||
maxMenuHeight={200}
|
maxMenuHeight={200}
|
||||||
inputId={'react-select-2-input'}
|
inputId={'react-select-2-input'}
|
||||||
value={this.state.selectedOption}
|
value={this.state.selectedOption}
|
||||||
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Button, Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
|
import { Button, Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
|
||||||
import Select from 'react-select';
|
import Select from 'react-select';
|
||||||
import makeAnimated from 'react-select/lib/animated';
|
import makeAnimated from 'react-select/animated';
|
||||||
import { seafileAPI } from '../../utils/seafile-api.js';
|
import { seafileAPI } from '../../utils/seafile-api.js';
|
||||||
import { gettext, isPro } from '../../utils/constants';
|
import { gettext, isPro } from '../../utils/constants';
|
||||||
import { Utils } from '../../utils/utils';
|
import { Utils } from '../../utils/utils';
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import AsyncSelect from 'react-select/lib/Async';
|
import AsyncSelect from 'react-select/async';
|
||||||
import { seafileAPI } from '../utils/seafile-api.js';
|
import { seafileAPI } from '../utils/seafile-api.js';
|
||||||
import { gettext, enableShowContactEmailWhenSearchUser } from '../utils/constants';
|
import { gettext, enableShowContactEmailWhenSearchUser } from '../utils/constants';
|
||||||
import { Utils } from '../utils/utils.js';
|
import { Utils } from '../utils/utils.js';
|
||||||
|
Reference in New Issue
Block a user