Skip to content

Commit

Permalink
Update js dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
MWedl committed Jan 16, 2025
1 parent 03e49f4 commit 93b5932
Show file tree
Hide file tree
Showing 19 changed files with 6,965 additions and 7,095 deletions.
3,110 changes: 899 additions & 2,211 deletions packages/NOTICE

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@sysreptor/nuxt-base-layer": "../nuxt-base-layer",
"@sysreptor/markdown": "../markdown",
"nuxt": "~3.14",
"nuxt": "~3.15",
"vuetify": "~3.7",
"pinia": "^2.2.4",
"sass-embedded": "^1.79.5",
Expand All @@ -35,8 +35,8 @@
"@types/dompurify": "^3.0.5",
"eslint": "^9.0.0",
"vitest": "^2.0.4",
"happy-dom": "^15.11.2",
"vue-tsc": "^2.0.11",
"happy-dom": "^16.0.0",
"vue-tsc": "^2.2.0",
"@playwright/test": "^1.49.1",
"form-data": "^4.0.1",
"node-fetch": "^3.3.2"
Expand Down
1 change: 1 addition & 0 deletions packages/frontend/src/components/DynamicInputField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ const emit = defineEmits<{
'update:spellcheckEnabled': [value: boolean];
'update:markdownEditorMode': [value: MarkdownEditorMode];
}>();
defineSlots();
const { mobile } = useDisplay();
Expand Down
1 change: 1 addition & 0 deletions packages/frontend/src/components/DynamicInputFieldDiff.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ import { pick, merge, omit } from 'lodash-es';
import { FieldDataType, type DynamicInputFieldDiffProps } from '#imports';
const props = defineProps<DynamicInputFieldDiffProps>();
defineSlots();
const attrs = useAttrs();
const inheritedDiffAttrs = computed(() => {
Expand Down
3 changes: 1 addition & 2 deletions packages/frontend/src/components/Markdown/Toolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<span class="separator" />
</template>
<s-btn-icon
v-if="slots['context-menu']"
v-if="$slots['context-menu']"
size="small"
density="comfortable"
>
Expand Down Expand Up @@ -166,7 +166,6 @@ const emit = defineEmits<{
}>();
const apiSettings = useApiSettings();
const slots = useSlots();
const { smAndUp, sm, lgAndUp } = useDisplay();
const hasSplitMode = computed(() => !props.hideSplitMode && lgAndUp.value);
Expand Down
4 changes: 3 additions & 1 deletion packages/markdown/editor/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,9 @@ function nonTightList(node: SyntaxNode, doc: Text) {
function blankLine(context: Context[], state: EditorState, line: Line) {
let insert = ""
for (let i = 0, e = context.length - 2; i <= e; i++) {
insert += context[i]!.blank(i < e ? countColumn(line.text, 4, context[i + 1]!.from) - insert.length : null, i < e)
insert += context[i]!.blank(i < e
? countColumn(line.text, 4, context[i + 1]!.from) - insert.length
: null, i < e)
}
return normalizeIndent(insert, state)
}
Expand Down
6 changes: 3 additions & 3 deletions packages/markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
"lowlight": "^3.1.0",
"lodash-es": "^4.17.21",

"@codemirror/view": "~6.35",
"@codemirror/view": "~6.36",
"@codemirror/state": "~6.5",
"@codemirror/commands": "~6.7",
"@codemirror/commands": "~6.8",
"@codemirror/lint": "~6.8",
"@codemirror/search": "~6.5",
"@codemirror/merge": "~6.7",
"@codemirror/merge": "~6.8",
"@codemirror/language": "~6.10",
"@codemirror/lang-markdown": "~6.3",
"@codemirror/lang-html": "~6.4",
Expand Down
6 changes: 3 additions & 3 deletions packages/nuxt-base-layer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"date-fns": "^4.1.0"
},
"devDependencies": {
"nuxt": "~3.14",
"nuxt": "~3.15",
"vuetify": "~3.7",

"@types/node": "^22",
Expand All @@ -40,10 +40,10 @@
"@types/lodash-es": "^4.17.12",

"eslint": "^9.0.0",
"vue-tsc": "^2.0.11"
"vue-tsc": "^2.2.0"
},
"peerDependencies": {
"nuxt": "~3.14",
"nuxt": "~3.15",
"vuetify": "~3.7",
"pinia": "^2.2.0"
}
Expand Down
3 changes: 1 addition & 2 deletions packages/nuxt-base-layer/src/components/EditToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/>
</s-btn-icon>

<s-btn-icon v-if="(showSave && props.canAutoSave) || showDelete || slots['context-menu']">
<s-btn-icon v-if="(showSave && props.canAutoSave) || showDelete || $slots['context-menu']">
<v-icon icon="mdi-dots-vertical" data-testid="options-dots" />

<v-menu activator="parent" :close-on-content-click="false" location="bottom left" class="context-menu">
Expand Down Expand Up @@ -130,7 +130,6 @@ const emit = defineEmits<{
(e: 'update:editMode', value: EditMode): void;
(e: 'update:lockedData', value: any): void;
}>();
const slots = useSlots();
const auth = useAuth();
const localSettings = useLocalSettings();
Expand Down
3 changes: 1 addition & 2 deletions packages/nuxt-base-layer/src/components/S/Dialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:max-width="props.maxWidth"
:retain-focus="false"
>
<template v-if="slots.activator" #activator="{props: dialogProps}"><slot name="activator" v-bind="{props: dialogProps}" /></template>
<template v-if="$slots.activator" #activator="{props: dialogProps}"><slot name="activator" v-bind="{props: dialogProps}" /></template>
<template #default>
<v-card variant="elevated" :density="props.density" v-bind="props.cardProps">
<v-card-title>
Expand Down Expand Up @@ -43,5 +43,4 @@ const props = withDefaults(defineProps<{
const emit = defineEmits<{
(e: 'update:modelValue', value: boolean): void,
}>();
const slots = useSlots();
</script>
Loading

0 comments on commit 93b5932

Please sign in to comment.