dependencies updated

This commit is contained in:
or-else
2020-09-15 13:57:35 -07:00
parent 58983588a4
commit 96ad18a902
8 changed files with 253 additions and 497 deletions
+2 -2
View File
@@ -34,8 +34,8 @@
<!-- React-Intl for translations --> <!-- React-Intl for translations -->
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/react-intl@4/dist/react-intl.js"></script> <script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/react-intl@4/dist/react-intl.js"></script>
<!-- Firebase for push notifications --> <!-- Firebase for push notifications -->
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/firebase@7.19.0/firebase-app.js"></script> <script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/firebase@7.20.0/firebase-app.js"></script>
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/firebase@7.19.0/firebase-messaging.js"></script> <script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/firebase@7.20.0/firebase-messaging.js"></script>
</head> </head>
<body> <body>
+2 -2
View File
@@ -25,8 +25,8 @@
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/react@16.13.1/umd/react.production.min.js"></script> <script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/react@16.13.1/umd/react.production.min.js"></script>
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/react-dom@16.13.1/umd/react-dom.production.min.js"></script> <script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/react-dom@16.13.1/umd/react-dom.production.min.js"></script>
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/react-intl@4.7.6/dist/react-intl.min.js"></script> <script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/react-intl@4.7.6/dist/react-intl.min.js"></script>
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/firebase@7.19.0/firebase-app.js"></script> <script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/firebase@7.20.0/firebase-app.js"></script>
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/firebase@7.19.0/firebase-messaging.js"></script> <script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/firebase@7.20.0/firebase-messaging.js"></script>
</head> </head>
<body> <body>
<noscript><div id="noscript-message"><div id="noscript-title">Javascript support is required.</div> <noscript><div id="noscript-message"><div id="noscript-title">Javascript support is required.</div>
+232 -476
View File
File diff suppressed because it is too large Load Diff
+6 -6
View File
@@ -68,23 +68,23 @@
"author": "Tinode Authors <info@tinode.co>", "author": "Tinode Authors <info@tinode.co>",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"firebase": "^7.19.0", "firebase": "^7.20.0",
"react": "^16.13.1", "react": "^16.13.1",
"react-dom": "^16.13.1", "react-dom": "^16.13.1",
"react-intl": "^4.7.6", "react-intl": "^4.7.6",
"tinode-sdk": "^0.16.8-beta1" "tinode-sdk": "^0.16.8-beta1"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.11.4", "@babel/core": "^7.11.6",
"@babel/preset-env": "^7.11.0", "@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4", "@babel/preset-react": "^7.10.4",
"babel-loader": "^8.1.0", "babel-loader": "^8.1.0",
"babel-plugin-react-intl": "^7.9.4", "babel-plugin-react-intl": "^7.9.4",
"browserslist": "^4.14.0", "browserslist": "^4.14.2",
"copy-webpack-plugin": "^6.0.3", "copy-webpack-plugin": "^6.1.0",
"cssnano": "^4.1.10", "cssnano": "^4.1.10",
"postcss": "^7.0.32", "postcss": "^7.0.32",
"postcss-cli": "^7.1.1", "postcss-cli": "^7.1.2",
"terser-webpack-plugin": "^3.1.0", "terser-webpack-plugin": "^3.1.0",
"webpack": "^4.44.1", "webpack": "^4.44.1",
"webpack-cli": "^3.3.12" "webpack-cli": "^3.3.12"
+2 -2
View File
@@ -1,6 +1,6 @@
// Must be located at the root. // Must be located at the root.
importScripts('https://cdn.jsdelivr.net/npm/firebase@7.19.0/firebase-app.js'); importScripts('https://cdn.jsdelivr.net/npm/firebase@7.20.0/firebase-app.js');
importScripts('https://cdn.jsdelivr.net/npm/firebase@7.19.0/firebase-messaging.js'); importScripts('https://cdn.jsdelivr.net/npm/firebase@7.20.0/firebase-messaging.js');
importScripts('firebase-init.js'); importScripts('firebase-init.js');
firebase.initializeApp(FIREBASE_INIT); firebase.initializeApp(FIREBASE_INIT);
+7 -7
View File
@@ -2422,7 +2422,7 @@ class InfoView extends react__WEBPACK_IMPORTED_MODULE_0___default.a.Component {
const menuItems = [{ const menuItems = [{
title: formatMessage(messages.edit_permissions), title: formatMessage(messages.edit_permissions),
handler: function handler() { handler: function () {
instance.handleLaunchPermissionsEditor('user', params.topicName); instance.handleLaunchPermissionsEditor('user', params.topicName);
} }
}, 'member_delete', user.acs.isMuted() ? 'member_unmute' : 'member_mute', user.acs.isJoiner() ? 'member_block' : 'member_unblock']; }, 'member_delete', user.acs.isMuted() ? 'member_unmute' : 'member_mute', user.acs.isJoiner() ? 'member_block' : 'member_unblock'];
@@ -9717,8 +9717,8 @@ class SendMessage extends react__WEBPACK_IMPORTED_MODULE_0___default.a.PureCompo
value: this.state.message, value: this.state.message,
onChange: this.handleMessageTyping, onChange: this.handleMessageTyping,
onKeyPress: this.handleKeyPress, onKeyPress: this.handleKeyPress,
ref: _ref => { ref: ref => {
this.messageEditArea = _ref; this.messageEditArea = ref;
}, },
autoFocus: true autoFocus: true
}), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("a", { }), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("a", {
@@ -9729,8 +9729,8 @@ class SendMessage extends react__WEBPACK_IMPORTED_MODULE_0___default.a.PureCompo
className: "material-icons" className: "material-icons"
}, "send")), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("input", { }, "send")), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("input", {
type: "file", type: "file",
ref: _ref2 => { ref: ref => {
this.attachFile = _ref2; this.attachFile = ref;
}, },
onChange: this.handleAttachFile, onChange: this.handleAttachFile,
style: { style: {
@@ -9738,8 +9738,8 @@ class SendMessage extends react__WEBPACK_IMPORTED_MODULE_0___default.a.PureCompo
} }
}), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("input", { }), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("input", {
type: "file", type: "file",
ref: _ref3 => { ref: ref => {
this.attachImage = _ref3; this.attachImage = ref;
}, },
accept: "image/*", accept: "image/*",
onChange: this.handleAttachImage, onChange: this.handleAttachImage,
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long