[JS] Update yarn deps

Fixes a sass deprecation notice and vue compilation error.

@vue/compiler-sfc is now pulled in by the vue dependency, so it's no longer
needed to explicitly mention it in package.json

Fixes #449
This commit is contained in:
Earlopain 2022-12-06 20:09:39 +01:00
parent 12cf54a8f3
commit 8916eff2b6
No known key found for this signature in database
GPG Key ID: 6CFB948E15246897
4 changed files with 1822 additions and 2274 deletions

View File

@ -1,5 +1,5 @@
<template>
<input :list="listId" v-bind="$attrs" v-model="modelValue">
<input :list="listId" v-bind="$attrs" v-model="value">
<datalist :id="listId">
<option v-for="(entry, index) in entries" :value="entry" :key="index"></option>
</datalist>
@ -9,6 +9,16 @@
import LS from "./local_storage";
export default {
props: ["listId", "addToList", "modelValue"],
computed: {
value: {
get() {
return this.modelValue;
},
set(value) {
this.$emit("update:modelValue", value);
}
}
},
data() {
return {
entries: this.currentEntries(),

View File

@ -213,7 +213,7 @@ div#c-posts {
div.parent-children {
display: flex;
margin: 0 -$padding-025;
margin: 0 (-$padding-025);
margin-bottom: $padding-025;
div.notice {
margin: 0 $padding-025;

View File

@ -3,7 +3,6 @@
"private": true,
"dependencies": {
"@rails/webpacker": "^6.0.0-rc.5",
"@vue/compiler-sfc": "^3.1.0",
"babel-plugin-macros": "^3.1.0",
"core-js": "3.8",
"css-loader": "^6.3.0",

4081
yarn.lock

File diff suppressed because it is too large Load Diff