Update dependencies

This commit is contained in:
RainLoop Team 2019-12-24 22:05:46 +03:00
parent ba8bf15b4c
commit 08333610ce
8 changed files with 820 additions and 628 deletions

View file

@ -363,7 +363,8 @@ class AttachmentModel extends AbstractModel {
isFramed() { isFramed() {
return ( return (
this.framed && this.framed &&
(GlobalsData.__APP__ && GlobalsData.__APP__.googlePreviewSupported()) && GlobalsData.__APP__ &&
GlobalsData.__APP__.googlePreviewSupported() &&
!(this.isPdf() && bAllowPdfPreview) && !(this.isPdf() && bAllowPdfPreview) &&
!this.isText() && !this.isText() &&
!this.isImage() !this.isImage()

View file

@ -203,8 +203,9 @@ class MessageModel extends AbstractModel {
getEmails(properties) { getEmails(properties) {
return _.compact( return _.compact(
_.uniq( _.uniq(
_.map(_.reduce(properties, (carry, property) => carry.concat(this[property]), []), (oItem) => _.map(
oItem ? oItem.email : '' _.reduce(properties, (carry, property) => carry.concat(this[property]), []),
(oItem) => (oItem ? oItem.email : '')
) )
) )
); );

View file

@ -191,7 +191,11 @@ class AbstractSettingsScreen extends AbstractScreen {
} }
}; };
return [['{subname}/', rules], ['{subname}', rules], ['', rules]]; return [
['{subname}/', rules],
['{subname}', rules],
['', rules]
];
} }
} }

View file

@ -87,7 +87,10 @@ class PgpUserStore {
return keys return keys
? returnWrapKeys ? returnWrapKeys
? keys ? keys
: _.flatten(_.map(keys, (key) => key.getNativeKeys()), true) : _.flatten(
_.map(keys, (key) => key.getNativeKeys()),
true
)
: [null]; : [null];
}), }),
true true

View file

@ -1861,7 +1861,10 @@ class ComposePopupView extends AbstractViewNext {
* @returns {Array} * @returns {Array}
*/ */
getAttachmentsDownloadsForUpload() { getAttachmentsDownloadsForUpload() {
return _.map(_.filter(this.attachments(), (item) => item && '' === item.tempName()), (item) => item.id); return _.map(
_.filter(this.attachments(), (item) => item && '' === item.tempName()),
(item) => item.id
);
} }
resizerTrigger() { resizerTrigger() {

View file

@ -37,7 +37,10 @@ class FolderSystemPopupView extends AbstractViewNext {
[], [],
FolderStore.folderList(), FolderStore.folderList(),
FolderStore.folderListSystemNames(), FolderStore.folderListSystemNames(),
[['', this.sChooseOnText], [UNUSED_OPTION_VALUE, this.sUnuseText]], [
['', this.sChooseOnText],
[UNUSED_OPTION_VALUE, this.sUnuseText]
],
null, null,
null, null,
null, null,

View file

@ -47,24 +47,24 @@
], ],
"readmeFilename": "README.md", "readmeFilename": "README.md",
"devDependencies": { "devDependencies": {
"@babel/core": "7.6.4", "@babel/core": "7.7.7",
"@babel/plugin-proposal-class-properties": "7.5.5", "@babel/plugin-proposal-class-properties": "7.7.4",
"@babel/plugin-proposal-decorators": "7.6.0", "@babel/plugin-proposal-decorators": "7.7.4",
"@babel/plugin-transform-runtime": "7.6.2", "@babel/plugin-transform-runtime": "7.7.6",
"@babel/preset-env": "7.6.3", "@babel/preset-env": "7.7.7",
"@babel/runtime-corejs3": "7.6.3", "@babel/runtime-corejs3": "7.7.7",
"autolinker": "3.11.1", "autolinker": "3.11.1",
"babel-eslint": "10.0.3", "babel-eslint": "10.0.3",
"babel-loader": "8.0.6", "babel-loader": "8.0.6",
"classnames": "2.2.6", "classnames": "2.2.6",
"core-js": "3.3.2", "copy-webpack-plugin": "5.1.1",
"copy-webpack-plugin": "5.0.4", "core-js": "3.6.0",
"css-loader": "3.2.0", "css-loader": "3.4.0",
"element-dataset": "2.2.6", "element-dataset": "2.2.6",
"emailjs-addressparser": "2.0.2", "emailjs-addressparser": "2.0.2",
"eslint": "6.5.1", "eslint": "6.8.0",
"eslint-config-prettier": "6.4.0", "eslint-config-prettier": "6.7.0",
"eslint-plugin-prettier": "3.1.1", "eslint-plugin-prettier": "3.1.2",
"gulp": "4.0.2", "gulp": "4.0.2",
"gulp-autoprefixer": "7.0.1", "gulp-autoprefixer": "7.0.1",
"gulp-cached": "1.1.1", "gulp-cached": "1.1.1",
@ -73,19 +73,19 @@
"gulp-concat-util": "0.5.5", "gulp-concat-util": "0.5.5",
"gulp-eol": "0.2.0", "gulp-eol": "0.2.0",
"gulp-eslint": "6.0.0", "gulp-eslint": "6.0.0",
"gulp-expect-file": "1.0.1", "gulp-expect-file": "1.0.2",
"gulp-filter": "6.0.0", "gulp-filter": "6.0.0",
"gulp-header": "2.0.9", "gulp-header": "2.0.9",
"gulp-if": "3.0.0", "gulp-if": "3.0.0",
"gulp-less": "4.0.1", "gulp-less": "4.0.1",
"gulp-livereload": "4.0.2", "gulp-livereload": "4.0.2",
"gulp-plumber": "1.2.1", "gulp-plumber": "1.2.1",
"gulp-rename": "1.4.0", "gulp-rename": "2.0.0",
"gulp-replace": "1.0.0", "gulp-replace": "1.0.0",
"gulp-rimraf": "1.0.0", "gulp-rimraf": "1.0.0",
"gulp-size": "3.0.0", "gulp-size": "3.0.0",
"gulp-sourcemaps": "2.6.5", "gulp-sourcemaps": "2.6.5",
"gulp-stripbom": "1.0.4", "gulp-stripbom": "1.0.5",
"gulp-through": "0.4.0", "gulp-through": "0.4.0",
"gulp-uglify": "3.0.2", "gulp-uglify": "3.0.2",
"gulp-util": "3.0.8", "gulp-util": "3.0.8",
@ -101,8 +101,8 @@
"json-loader": "0.5.7", "json-loader": "0.5.7",
"json3": "3.3.3", "json3": "3.3.3",
"knockout": "3.4.2", "knockout": "3.4.2",
"knockout-sortable": "1.1.1", "knockout-sortable": "1.2.0",
"lozad": "1.9.0", "lozad": "1.14.0",
"matchmedia-polyfill": "0.3.2", "matchmedia-polyfill": "0.3.2",
"moment": "2.24.0", "moment": "2.24.0",
"node-fs": "0.1.7", "node-fs": "0.1.7",
@ -110,14 +110,14 @@
"openpgp": "2.6.2", "openpgp": "2.6.2",
"opentip": "2.4.3", "opentip": "2.4.3",
"pikaday": "1.8.0", "pikaday": "1.8.0",
"prettier": "1.18.2", "prettier": "1.19.1",
"raf": "3.4.1", "raf": "3.4.1",
"raw-loader": "3.1.0", "raw-loader": "4.0.0",
"rimraf": "3.0.0", "rimraf": "3.0.0",
"simplestatemanager": "4.1.1", "simplestatemanager": "4.1.1",
"style-loader": "1.0.0", "style-loader": "1.1.1",
"underscore": "1.9.1", "underscore": "1.9.1",
"webpack": "4.41.2", "webpack": "4.41.4",
"webpack-cli": "3.3.9" "webpack-cli": "3.3.10"
} }
} }

1375
yarn.lock

File diff suppressed because it is too large Load diff