diff --git a/client/components/MessageTypes/error.vue b/client/components/MessageTypes/error.vue
index a7d4bafe..24e09d45 100644
--- a/client/components/MessageTypes/error.vue
+++ b/client/components/MessageTypes/error.vue
@@ -6,7 +6,7 @@
diff --git a/client/components/MessageTypes/monospace_block.vue b/client/components/MessageTypes/monospace_block.vue
index 953f977f..a1d29b1a 100644
--- a/client/components/MessageTypes/monospace_block.vue
+++ b/client/components/MessageTypes/monospace_block.vue
@@ -5,7 +5,7 @@
diff --git a/client/js/autocompletion.ts b/client/js/autocompletion.ts
index bf184498..660df578 100644
--- a/client/js/autocompletion.ts
+++ b/client/js/autocompletion.ts
@@ -1,8 +1,8 @@
import constants from "./constants";
import Mousetrap from "mousetrap";
-import {Textcomplete} from "@textcomplete/core/dist/Textcomplete";
-import {TextareaEditor} from "@textcomplete/textarea/dist/TextareaEditor";
+import {Strategy, Textcomplete} from "@textcomplete/core";
+import {TextareaEditor} from "@textcomplete/textarea";
import fuzzy from "fuzzy";
@@ -25,7 +25,7 @@ const emojiStrategy = {
return `${String(emojiMap[original])} ${string}`;
},
replace([, original]) {
- return "$1" + String(emojiMap[original]);
+ return String(emojiMap[original]);
},
index: 2,
};
diff --git a/package.json b/package.json
index c7bf30a4..a0b0a8dc 100644
--- a/package.json
+++ b/package.json
@@ -85,7 +85,7 @@
"@babel/preset-typescript": "7.16.7",
"@fortawesome/fontawesome-free": "5.15.4",
"@istanbuljs/nyc-config-typescript": "1.0.2",
- "@textcomplete/core": "0.1.11",
+ "@textcomplete/core": "0.1.10",
"@textcomplete/textarea": "0.1.10",
"@types/bcryptjs": "2.4.2",
"@types/chai": "4.3.1",
diff --git a/src/plugins/dev-server.ts b/src/plugins/dev-server.ts
index e9e55981..5c2456c5 100644
--- a/src/plugins/dev-server.ts
+++ b/src/plugins/dev-server.ts
@@ -26,8 +26,6 @@ export default (app: express.Application) => {
"webpack-hot-middleware/client?path=storage/__webpack_hmr"
);
- webpackConfig.plugins.push(new webpack.HotModuleReplacementPlugin());
-
const compiler = webpack(webpackConfig);
app.use(
diff --git a/webpack.config.ts b/webpack.config.ts
index e54c1ea2..36f561dd 100644
--- a/webpack.config.ts
+++ b/webpack.config.ts
@@ -95,6 +95,8 @@ const config: webpack.Configuration = {
new VueLoaderPlugin(),
new webpack.DefinePlugin({
__VUE_PROD_DEVTOOLS__: false,
+ // TODO; we should be able to eventually set this to false once vue-draggable-next updates
+ __VUE_OPTIONS_API__: true,
}),
new MiniCssExtractPlugin({
filename: "css/style.css",
diff --git a/yarn.lock b/yarn.lock
index 31ecbd20..0c26f7e4 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1422,10 +1422,10 @@
dependencies:
defer-to-connect "^2.0.0"
-"@textcomplete/core@0.1.11":
- version "0.1.11"
- resolved "https://registry.yarnpkg.com/@textcomplete/core/-/core-0.1.11.tgz#93d0a76cbb205567e70da5a29331ad5e7b108c4c"
- integrity sha512-zNp6oWpy1fw+/ayviQxKhRLv8FuCgyTfZlFHTavtgr5tDz13mD2lbHYKPpYdftAKfu5oMeImpbmyuYwXV4uq/A==
+"@textcomplete/core@0.1.10":
+ version "0.1.10"
+ resolved "https://registry.yarnpkg.com/@textcomplete/core/-/core-0.1.10.tgz#80211c20f28a378cc9ee8b6633ddf2034785d8c3"
+ integrity sha512-+T7dOElhJivE7+V0JUeDK5TdHUU8Sbuhvnp8VmtHimLaTruv5FJS1dgSjAqGlRcMw9AX459JY9JCbkX9ezGh2g==
dependencies:
eventemitter3 "^4.0.4"