update dependencies, bump version to 0.20.0-rc2, rebuild
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Generated
+347
-345
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "tinode-webapp",
|
"name": "tinode-webapp",
|
||||||
"description": "Tinode messenger for the web",
|
"description": "Tinode messenger for the web",
|
||||||
"version": "0.20.0-rc1",
|
"version": "0.20.0-rc2",
|
||||||
|
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"react-intl": "^5.20.2",
|
"react-intl": "^5.20.2",
|
||||||
"tinode-sdk": "^0.20.0-rc1",
|
"tinode-sdk": "^0.20.0-rc2",
|
||||||
"webrtc-adapter": "^8.1.1"
|
"webrtc-adapter": "^8.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
// This is a generated file. Don't edit.
|
// This is a generated file. Don't edit.
|
||||||
|
|
||||||
export const PACKAGE_VERSION = "0.20.0-rc1";
|
export const PACKAGE_VERSION = "0.20.0-rc2";
|
||||||
|
|||||||
+23
-24
@@ -2086,8 +2086,8 @@ const KNOWN_HOSTS = {
|
|||||||
};
|
};
|
||||||
const DEFAULT_HOST = KNOWN_HOSTS.hosted;
|
const DEFAULT_HOST = KNOWN_HOSTS.hosted;
|
||||||
const LOGGING_ENABLED = true;
|
const LOGGING_ENABLED = true;
|
||||||
const KEYPRESS_DELAY = 3000;
|
const KEYPRESS_DELAY = 3_000;
|
||||||
const READ_DELAY = 1500;
|
const READ_DELAY = 1_500;
|
||||||
const MIN_TAG_LENGTH = 2;
|
const MIN_TAG_LENGTH = 2;
|
||||||
const MAX_TAG_LENGTH = 96;
|
const MAX_TAG_LENGTH = 96;
|
||||||
const MAX_TAG_COUNT = 16;
|
const MAX_TAG_COUNT = 16;
|
||||||
@@ -2101,7 +2101,7 @@ const AVATAR_SIZE = 384;
|
|||||||
const MAX_AVATAR_BYTES = 4096;
|
const MAX_AVATAR_BYTES = 4096;
|
||||||
const BROKEN_IMAGE_SIZE = 32;
|
const BROKEN_IMAGE_SIZE = 32;
|
||||||
const MESSAGES_PAGE = 24;
|
const MESSAGES_PAGE = 24;
|
||||||
const MAX_INBAND_ATTACHMENT_SIZE = 262144;
|
const MAX_INBAND_ATTACHMENT_SIZE = 262_144;
|
||||||
const MAX_EXTERN_ATTACHMENT_SIZE = 1 << 23;
|
const MAX_EXTERN_ATTACHMENT_SIZE = 1 << 23;
|
||||||
const MAX_IMAGE_DIM = 1024;
|
const MAX_IMAGE_DIM = 1024;
|
||||||
const IMAGE_PREVIEW_DIM = 64;
|
const IMAGE_PREVIEW_DIM = 64;
|
||||||
@@ -2113,8 +2113,8 @@ const MAX_PEER_TITLE_LENGTH = 20;
|
|||||||
const MESSAGE_PREVIEW_LENGTH = 80;
|
const MESSAGE_PREVIEW_LENGTH = 80;
|
||||||
const QUOTED_REPLY_LENGTH = 30;
|
const QUOTED_REPLY_LENGTH = 30;
|
||||||
const FORWARDED_PREVIEW_LENGTH = 84;
|
const FORWARDED_PREVIEW_LENGTH = 84;
|
||||||
const MIN_DURATION = 2000;
|
const MIN_DURATION = 2_000;
|
||||||
const MAX_DURATION = 600000;
|
const MAX_DURATION = 600_000;
|
||||||
const LINK_CONTACT_US = 'mailto:support@tinode.co';
|
const LINK_CONTACT_US = 'mailto:support@tinode.co';
|
||||||
const LINK_PRIVACY_POLICY = 'https://tinode.co/privacy.html';
|
const LINK_PRIVACY_POLICY = 'https://tinode.co/privacy.html';
|
||||||
const LINK_TERMS_OF_SERVICE = 'https://tinode.co/terms.html';
|
const LINK_TERMS_OF_SERVICE = 'https://tinode.co/terms.html';
|
||||||
@@ -2915,7 +2915,7 @@ function quoteImage(data) {
|
|||||||
if (evt.ok) {
|
if (evt.ok) {
|
||||||
return evt.blob();
|
return evt.blob();
|
||||||
} else {
|
} else {
|
||||||
throw new Error("Image fetch unsuccessful: ".concat(evt.status, " ").concat(evt.statusText));
|
throw new Error(`Image fetch unsuccessful: ${evt.status} ${evt.statusText}`);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -3210,17 +3210,17 @@ function secondsToTime(seconds, fixedMin) {
|
|||||||
let hours = Math.floor(min / 60) | 0;
|
let hours = Math.floor(min / 60) | 0;
|
||||||
|
|
||||||
if (fixedMin || hours > 0) {
|
if (fixedMin || hours > 0) {
|
||||||
min = min < 10 ? "0".concat(min) : min;
|
min = min < 10 ? `0${min}` : min;
|
||||||
}
|
}
|
||||||
|
|
||||||
let sec = seconds % 60 | 0;
|
let sec = seconds % 60 | 0;
|
||||||
sec = sec < 10 ? "0".concat(sec) : sec;
|
sec = sec < 10 ? `0${sec}` : sec;
|
||||||
|
|
||||||
if (hours == 0) {
|
if (hours == 0) {
|
||||||
return "".concat(min, ":").concat(sec);
|
return `${min}:${sec}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return "".concat(hours, ":").concat(min, ":").concat(sec);
|
return `${hours}:${min}:${sec}`;
|
||||||
}
|
}
|
||||||
function bytesToHumanSize(bytes) {
|
function bytesToHumanSize(bytes) {
|
||||||
if (!bytes || bytes == 0) {
|
if (!bytes || bytes == 0) {
|
||||||
@@ -3421,7 +3421,7 @@ function sanitizeUrlForMime(url, mimeMajor) {
|
|||||||
return sanitizedUrl;
|
return sanitizedUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
const re = new RegExp("data:".concat(mimeMajor, "/[a-z0-9.-]+;base64,"), 'i');
|
const re = new RegExp(`data:${mimeMajor}\/[a-z0-9.-]+;base64,`, 'i');
|
||||||
|
|
||||||
if (re.test(url.trim())) {
|
if (re.test(url.trim())) {
|
||||||
return url;
|
return url;
|
||||||
@@ -3497,7 +3497,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||||
/* harmony export */ "PACKAGE_VERSION": () => (/* binding */ PACKAGE_VERSION)
|
/* harmony export */ "PACKAGE_VERSION": () => (/* binding */ PACKAGE_VERSION)
|
||||||
/* harmony export */ });
|
/* harmony export */ });
|
||||||
const PACKAGE_VERSION = "0.20.0-rc1";
|
const PACKAGE_VERSION = "0.20.0-rc2";
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
@@ -4975,7 +4975,7 @@ class InfoView extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component)
|
|||||||
immutablePermissionsTitle: titleCompare,
|
immutablePermissionsTitle: titleCompare,
|
||||||
editedPermissionsSkipped: toSkip
|
editedPermissionsSkipped: toSkip
|
||||||
});
|
});
|
||||||
this.props.onNavigate("perm/".concat(which));
|
this.props.onNavigate(`perm/${which}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
handleShowAddMembers(e) {
|
handleShowAddMembers(e) {
|
||||||
@@ -8279,7 +8279,6 @@ class TinodeWeb extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component)
|
|||||||
}
|
}
|
||||||
|
|
||||||
handleError(err, level, action, actionText) {
|
handleError(err, level, action, actionText) {
|
||||||
console.log("handleError", err, new Error());
|
|
||||||
this.setState(TinodeWeb.stateForError(err, level, action, actionText));
|
this.setState(TinodeWeb.stateForError(err, level, action, actionText));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -11873,7 +11872,7 @@ class CallPanel extends (react__WEBPACK_IMPORTED_MODULE_0___default().PureCompon
|
|||||||
}), remoteActive ? react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
}), remoteActive ? react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
||||||
className: "caller-name inactive"
|
className: "caller-name inactive"
|
||||||
}, peerTitle) : react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
}, peerTitle) : react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
||||||
className: "caller-card".concat(pulseAnimation)
|
className: `caller-card${pulseAnimation}`
|
||||||
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
||||||
className: "avatar-box"
|
className: "avatar-box"
|
||||||
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_letter_tile_jsx__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_letter_tile_jsx__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
||||||
@@ -13715,13 +13714,13 @@ class Cropper extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const t3d = "translate3d(".concat(this.state.panX, "px, ").concat(this.state.panY, "px, 0) scale(").concat(this.state.zoom, ")");
|
const t3d = `translate3d(${this.state.panX}px, ${this.state.panY}px, 0) scale(${this.state.zoom})`;
|
||||||
const orig = "".concat(this.state.originX, "px ").concat(this.state.originY, "px");
|
const orig = `${this.state.originX}px ${this.state.originY}px`;
|
||||||
const overlay = {
|
const overlay = {
|
||||||
top: "".concat(this.originY - this.state.originY * this.state.zoom, "px"),
|
top: `${this.originY - this.state.originY * this.state.zoom}px`,
|
||||||
left: "".concat(this.originX - this.state.originX * this.state.zoom, "px"),
|
left: `${this.originX - this.state.originX * this.state.zoom}px`,
|
||||||
width: "".concat(this.imageWidth * this.state.zoom, "px"),
|
width: `${this.imageWidth * this.state.zoom}px`,
|
||||||
height: "".concat(this.imageHeight * this.state.zoom, "px")
|
height: `${this.imageHeight * this.state.zoom}px`
|
||||||
};
|
};
|
||||||
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
||||||
className: "cropper"
|
className: "cropper"
|
||||||
@@ -17744,7 +17743,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
|
|
||||||
|
|
||||||
var name = "firebase";
|
var name = "firebase";
|
||||||
var version = "9.9.3";
|
var version = "9.9.4";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @license
|
* @license
|
||||||
@@ -18449,7 +18448,7 @@ function isVersionServiceProvider(provider) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const name$o = "@firebase/app";
|
const name$o = "@firebase/app";
|
||||||
const version$1 = "0.7.31";
|
const version$1 = "0.7.32";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @license
|
* @license
|
||||||
@@ -18516,7 +18515,7 @@ const name$2 = "@firebase/firestore";
|
|||||||
const name$1 = "@firebase/firestore-compat";
|
const name$1 = "@firebase/firestore-compat";
|
||||||
|
|
||||||
const name = "firebase";
|
const name = "firebase";
|
||||||
const version = "9.9.3";
|
const version = "9.9.4";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @license
|
* @license
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+19
-18
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
// This is a generated file. Don't edit.
|
// This is a generated file. Don't edit.
|
||||||
|
|
||||||
const PACKAGE_VERSION = "0.20.0-rc1";
|
const PACKAGE_VERSION = "0.20.0-rc2";
|
||||||
|
|||||||
Reference in New Issue
Block a user