feat(editor): Upgrade @sentry/vue to address GHSA-593m-55hh-j8gv (no-changelog) (#11169)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-10-08 18:10:19 +02:00
committed by GitHub
parent af4f4a089d
commit 94cfb3727c
6 changed files with 66 additions and 64 deletions

View File

@@ -3,6 +3,7 @@ import { EditorView, Decoration } from '@codemirror/view';
import { StateField, StateEffect } from '@codemirror/state';
import { tags } from '@lezer/highlight';
import { syntaxHighlighting, HighlightStyle } from '@codemirror/language';
import { captureException } from '@sentry/vue';
import type {
ColoringStateEffect,
@@ -87,7 +88,7 @@ const coloringStateField = StateField.define<DecorationSet>({
}
}
} catch (error) {
window?.Sentry?.captureException(error);
captureException(error);
}
return colorings;