Commit graph

11957 commits

Author SHA1 Message Date
Christian Fehmer
71fc96d6b5
fix(settings): handle boolean values for indicateTypos (@fehmer) (#6554)
Handle legacy values for indicateTypos.

Fixes FRONTEND-MJ
2025-05-11 11:30:01 +02:00
torturado
44a67db9fc
feat(commandline): add download screenshot command (@torturado) (#6532)
### Description

This Pull Request introduces the functionality to download the result
screenshot directly as a PNG file, in addition to the existing option to
copy it to the clipboard.

This is achieved by:
1.  Refactoring the screenshot logic in `test-ui.ts`.
2. Adding a new `Download screenshot` command to the result screen
command list.

**Changes Made:**

*   **`frontend/src/ts/test/test-ui.ts`**:
* Created an internal function `generateScreenshotCanvas` that
encapsulates UI preparation, canvas generation with `html2canvas`, and
UI restoration.
* Modified the exported `screenshot` function to use
`generateScreenshotCanvas` and **only** handle copying the resulting
Blob to the clipboard (with the fallback of opening in a new tab).
* Added a new exported function `getScreenshotBlob` that uses
`generateScreenshotCanvas` and returns the resulting image Blob.
*   **`frontend/src/ts/commandline/lists/result-screen.ts`**:
* Renamed the `saveScreenshot` command to `copyScreenshot` (updating
`id`, `icon`, and `alias`) to more accurately reflect its action. It
still uses `TestUI.screenshot()`.
* Added a new `downloadScreenshot` command (`id`, `display`, `icon`,
`alias`) that:
        *   Calls `TestUI.getScreenshotBlob()` to get the image data.
        *   If a Blob is obtained, creates a temporary object URL.
* Creates a temporary `<a>` element, sets the `href` to the object URL,
and the `download` attribute with a filename (e.g.,
`monkeytype-result-TIMESTAMP.png`).
        *   Simulates a click on the link to initiate the file download.
        *   Revokes the object URL.
        *   Displays success or error notifications.

### Checks

- [ ] Adding quotes?
- [ ] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [ ] Adding a language or a theme?
- [ ] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
  - [ ] If is a theme, did you add the theme.css?
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [ ] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [ ] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title. <!-- Remember to add your
username here! -->

---------

Co-authored-by: fehmer <3728838+fehmer@users.noreply.github.com>
Co-authored-by: Miodec <jack@monkeytype.com>
2025-05-07 16:21:30 +02:00
Christian Fehmer
be62681c32
docs: update pull request template (@fehmer) (#6538) 2025-05-07 15:48:13 +02:00
siilyg
6e4dd9ddb8
impr(quotes): add Indonesian quotes (@siily-g) (#6522) 2025-05-07 15:47:09 +02:00
Danial
c29bc57040
impr(quotes): add Kazakh quotes (@w0ikid) (#6512) 2025-05-07 15:44:30 +02:00
JN03
98ca811989
feat(font): add Kanit and Sarabun (@jnx03) (#6500)
### Description

<!-- Please describe the change(s) made in your PR -->

- Imported `Kanit-Regular.woff2` and `Sarabun-Bold.woff` into the
project’s webfonts directory.
- Updated `frontend/static/fonts/_list.json` to register the new fonts
under “availableFonts.”
- Modified `frontend/src/styles/fonts.scss` to include `@font-face`
declarations for both Kanit Regular and Sarabun Bold, with appropriate
`font-family`, `font-weight`, and `font-style` settings.

---

### Checks

- [ ] Adding quotes?  
- [ ] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [ ] Adding a language or a theme?  
- [ ] If it’s a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
  - [ ] If it’s a theme, did you add the theme.css?  
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [ ] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org/ for more info)
- [x] Make sure to include your GitHub username prefixed with `@` inside
parentheses at the end of the PR title.

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2025-05-07 15:42:18 +02:00
JN03
69d9b3814f
feat(language): add Thai 1K, 5K, 10K, 50K, and 60K (@jnx03) (#6498) 2025-05-07 15:30:26 +02:00
sobczaktm
7bcad31d03
impr(quotes): 50 new quotes for polish language from books (@sobczaktm) (#6496)
### Description

Added 50 quotes from books in polish

### Checks

Translations:
And believe me, although you will see many wonders while wandering
around the world, you will not find a river like the Vistula or a city
like Warsaw anywhere. - "id":151

Above all, however, one must be able to win people's hearts.
Understanding and tolerance are the best way to do this. - "id":152

Don't laugh, my friend, at someone else's downfall, because then no one
will regret you either! - "id":153

In a distant and wild land you will find what others will search for in
vain. When you do, you will gain a best friend who will never say a
word... - "id":154

He does not deserve pity who has no pity himself. - "id":155

However, you must understand that obedience does not mean limiting your
independence. - "id":156

The mind needs books just as a sword needs a whetstone if it is to
remain sharp. - "id":157

Treason… is just a word. When two princes fight over a chair that only
one of them can sit in, both the great lords and the common folk must
choose. After the battle, the victors are hailed as faithful and loyal
men. Those who lose will henceforth be known as rebels and traitors. -
"id":158

He who dances with dragons must expect to burn. - "id":159

Aerion is a real monster. You know, he thinks he's a dragon in human
form. That's why he's so mad at the show. It's a shame he wasn't born a
Fossoway. Then he'd think he was an apple, and we'd all be a lot safer.
-"id":160

Words are wind, Egg. Let them flow past you. - "id":161

I fought for Prince Rhaegar, though he didn't even know my name. I can't
tell you why for him. The lord I served served a lord who served a lord
who chose to support a dragon over a stag. If he had chosen differently,
I might have found myself on the other side of the river. - "id":162

Men are such awful fools. Even those who are born once in a thousand
years. - "id":163

Never forget who you are, because the world will certainly not forget
it. Make it your strength, and then it will no longer be your weakness.
Make it your armor, and no one will use it against you. - "id":164

Girls get coats of arms, but no swords. Bastards get swords, but no
coats of arms. That's just the way it is, little sister, but I didn't
make up those rules.- "id":165

The left believes that the crew is more important, the right that the
ship is more important.- "id":166

If you want to know what the dominant ideology is, don't read
philosophers or political scientists. Watch commercials.-"id":167

The problem is not the lust for power of a few people, but the
willingness of the broad masses to submit.-"id":168

An Inuit gave a hungry European explorer some seal meat on a frosty
night. The explorer reflexively thanked him. The Inuit was outraged. He
said, "I did it because you are a human being." We must aspire to such
ethics.-"id":169

In times of the cult of the "Self" the only true individualists are
anti-individualists.-"id":170

I know that you are almost forty, you look almost thirty, you imagine
that you are a little over twenty, and you act as if you were not even
ten.-"id":171

Evil is evil, Stregobor. Smaller, greater, average, it doesn't matter,
proportions are conventional and boundaries are blurred. I am not a
pious hermit, I have not done only good in my life. But if I have to
choose between one evil and another, I prefer not to choose at
all."-"id":172

Dragon, you dirty dragon! Listen to what the herald will tell you! I
mean me! The first to honorably take on you will be the mad knight Eyck
of Denesle! And he will thrust a lance into your belly, according to
holy custom, to your ruin, and to the joy of poor maidens and King
Niedamir! The fight must be honorable and according to the law, not to
breathe fire, but only to confessionally rob one another, until the
other gives up the ghost or dies! What do we wish you from our souls,
from our hearts! Do you understand, dragon?-"id":173

Verily, I say unto you, behold, the age of the sword and the axe is
coming, the age of the wolf's blizzard. The time of the White Cold and
the White Light is coming, the time of Madness and the time of
Contempt... the time of the End.- "id":174

I've got a company... Brothers in arms! A team of heroes! Nothing but
wring your hands. A rhymer with a lute. A wild and sassy half-dryad,
half-woman. A vampire who's about to get his fiftieth cross. And a
bloody Nilfgaardian who insists he's not Nilfgaardian.-"id":175

Lord Witcher, horses are like fish. I offer you pikes like they're big
pikes, and you choose a roach. What are you laughing at? Did I say
something funny?- "id":176

We are proper thieves, not some political ones. We did not attempt to
take power. We only stole.- "id":177

Adventures! That means: unpleasantness, disturbed peace, lack of
comfort. Things like that can make you late for dinner. -"id":178

It cannot be seen or touched with fingers, It cannot be smelled or heard
with ears; It is under the mountains, it is above the stars, It does not
avoid the empty cave, It will remain after us, it was before us, Life
extinguishes and laughter kills.-"id":179

Let's break glasses, saucers, bowls, Long live our host! And though
Bilbo is close to tears, Let splinters fly from the bottles!-"id":180

Three Rings for the Elven-kings under the sky, Seven for the Dwarf-lords
in their halls of stone, Nine for mortals doomed to death, One for the
Dark Lord on his dark throne.-"id":181

Many of those who live deserve death. And many of those who die deserve
life. Can you give it to them? So do not be so hasty in pronouncing
death sentences, for even the wisest do not know everything.-"id":182

What do you mean by that? Are you wishing me a good morning, or are you
saying that it is a good day, regardless of what I think of it; are you
feeling good this morning, or do you think that today is the time to be
good? All of them. And, in addition, that it is good to smoke a pipe in
the open air on such a beautiful day.-"id":183

A wizard is never late, nor is he too early, he arrives when he feels
like it.-"id":184

Don't regret, never regret that you could have done something in life,
but you didn't. You didn't do it because you couldn't.-"id":185

We do not want to conquer space at all, we only want to expand the Earth
to its limits. Some planets are to be desert like the Sahara, others icy
like the poles or tropical like the Brazilian jungle. We are
humanitarian and noble, we do not want to conquer other races, we only
want to pass on our values ​​to them and in return take over their
heritage. We consider ourselves knights of the holy Contact. This is the
second falsehood. We are not looking for anyone but people. We do not
need other worlds. We need mirrors. We do not know what to do with other
worlds. This one is enough and we are already choking on it.-"id":186

It can be assumed that all people have consciousness, but generally not
all are aware of it.-"id":187

Dreams always triumph over reality when they are allowed to.- "id":188

He was undoubtedly an educated man, but his intelligence was like a
Japanese garden - a small bridge, paths, everything beautiful, but very
limited and good for nothing.-"id":189

Society, or at least civilized society, is not inclined to believe
anything bad about rich and delightful people. People instinctively feel
that forms are more important than morals, and in their opinion the
utmost honesty is worth less than having a good cook.-"id":190

The sickle may imagine that it is cutting the grain, and the hammer that
it is driving the nail. But both are just tools.- "id":191

It is a disgrace to submit to evil, to bow your head before it, to fall
on your knees, hiding behind an aversion to violence. Because the evil
that you do not oppose will grow, become more powerful and go out into
the world to harm others. And their harm will be your fault.- "id":192

Hope does not die last, after it come madness and desperation.-"id":193

The Rat said this in the smooth, sincere tone with which people always
lie to others.- "id":194

You see, Harry, it's our choices that show who we really are, far more
than our abilities.- "id":195

It takes a lot of courage to stand up to your enemies, but it takes just
as much courage to be loyal to your friends.- "id":196

The one with the power to vanquish the Dark Lord approaches... Born of
those who have thrice defied him. And he will be born as the seventh
month draws to a close... And though the Dark Lord marks him as his
equal, he will have power the Dark Lord knows not... And one must die at
the hand of the other, for neither can live while the other survives...
The one with the power to vanquish the Dark Lord will be born as the
seventh month draws to a close...- "id":197

We will be as strong as we are united and as weak as we are divided.
Lord Voldemort has a great talent for sowing discord and hostility. We
can only oppose him with equally strong bonds of friendship and trust.-
"id":198

Deep in the human subconscious lies an overwhelming need for a logical,
meaningful universe. But the real universe is always one step beyond
logic.-"id":199

When religion and politics are in the same car, the drivers believe that
nothing can stand in their way. They start to rush headlong... and they
don't remember that the man rushing headlong only sees the abyss when
it's too late.-"id": 200

---------

Co-authored-by: sobczaktm <sobczakt@G02PLXN06023.g02.fujitsu.local>
Co-authored-by: fehmer <3728838+fehmer@users.noreply.github.com>
2025-05-07 15:17:00 +02:00
Christian Fehmer
eb092cea1c
refactor: move languages to contracts (@fehmer) (#6497) 2025-05-07 14:02:27 +02:00
Miodec
ed24f7f45b fix: slow commandline when searching 2025-05-07 10:02:04 +02:00
Miodec
75dd791575 chore: fix alignment 2025-05-07 09:57:12 +02:00
Christian Fehmer
b4dcb2cad9
fix(settings): fix error when setting keymap layout (@fehmer) (#6537)
Closes #6536

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2025-05-07 09:56:56 +02:00
Miodec
baf7844ddb chore: capture config setting errors in sentry 2025-05-07 09:27:04 +02:00
Miodec
7952acc4c6 chore: show compatibility headers when shift clicking version 2025-05-05 15:19:57 +02:00
Christian Fehmer
a8bec90cda
fix(theme-picker): don't use .toSorted (@fehmer) (#6531) 2025-05-05 15:04:04 +02:00
Miodec
752d273145 chore: release v25.19.0 2025-05-05 14:34:02 +02:00
Christian Fehmer
5ab7bfb438
refactor: move themes list to typescript (@fehmer) (#6489)
Co-authored-by: fehmer <3728838+fehmer@users.noreply.github.com>
2025-05-05 13:30:09 +02:00
Miodec
dc6d4518a9 chore: block typing when test is not initialised correctly, show message 2025-05-05 13:22:14 +02:00
Christian Fehmer
499754a933
ci: fix missing dependencies when running pr-check-other-json (@fehmer) (#6529) 2025-05-05 12:51:31 +02:00
Christian Fehmer
ca33892749
ci: run layouts tests on pr-check-other-json (@fehmer) (#6520)
- execute the layouts.spec.ts on pr-check-other-json
2025-05-05 11:42:29 +02:00
Christian Fehmer
72016eaab7
fix: compatibility banner blocked by ublock (@fehmer) (#6502)
!nuf
2025-05-05 11:40:07 +02:00
Matthew Lau
024e86e842
fix: stop broken background images from displaying (@mattlau1) (#6526)
### Description

If the specified background image is invalid, then we can hide it using
`this.style.display='none'`, which will also hide the default white
outline and broken image icon

Also fixed a typo in the notification for it (temporairly ->
temporarily)

Tested fix by entering invalid custom background URL in settings (i.e.
`https://tehtuhgsfdsfjsdg.com/test.jpg`)

Closes #6524 

<!-- the issue(s) your PR resolves if any (delete if that is not the
case) -->
<!-- please also reference any issues and or PRs related to your pull
request -->
<!-- Also remove it if you are not following any issues. -->

<!-- pro tip: you can mention an issue, PR, or discussion on GitHub by
referencing its hash number e.g:
[#1234](https://github.com/monkeytypegame/monkeytype/pull/1234) -->

<!-- pro tip: you can press . (dot or period) in the code tab of any
GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->

Thanks!! :)
2025-05-05 11:36:15 +02:00
Miodec
c7ac9ad6ff chore: stop update if element was not found
should fix an uncaught exception
2025-05-04 12:27:07 +02:00
Miodec
17c8f6d5d7 impr: show loading bar when fetching language/quotes to indicate background activity 2025-05-04 11:57:50 +02:00
Miodec
8ec109db8c chore: dont set page transition when restartin the test 2025-05-04 11:50:18 +02:00
Miodec
2b292b0423 chore: only save 50% of the error replays 2025-05-03 23:26:46 +02:00
Miodec
d02f41e2bd fix(quote search): uncaught errors when closing modal right after search input
!nuf
2025-05-03 23:09:21 +02:00
Miodec
5ba39c6336 refactor: rework theme picker button and tab approach
split some of the code into smaller functions
refactor some functions
fix styling
2025-05-03 22:58:29 +02:00
Miodec
d4d621e5a6 style: fix too big of a gap between tab buttons and theme buttons 2025-05-03 22:30:12 +02:00
Miodec
2c161e5cad chore: use vanilla js to try to fix weird stack size error 2025-05-03 14:24:01 +02:00
Christian Fehmer
2506b4f88d
impr(settings): settings group performance (@fehmer, @miodec) (#6509)
Co-authored-by: Miodec <jack@monkeytype.com>
2025-05-03 13:51:14 +02:00
Miodec
ac33789bd8 fix: catch errors when google sign up failed 2025-05-03 13:22:03 +02:00
Miodec
57ccfbb985 chore: optional chaining to avoid throwing errors 2025-05-03 13:07:54 +02:00
Miodec
3953d645b9 chore: add basic log when initializing test 2025-05-03 12:58:47 +02:00
Miodec
b806179137 fix: errors during word generation when custom text was empty
also migrate if an empty array was found in localstorage
2025-05-03 12:28:19 +02:00
Jack
b257a52f41
impr: add fallback and migrate to parsejsonwithschema (@miodec) (#6518)
!nuf
2025-05-03 12:14:35 +02:00
Miodec
fc2b051715 refactor: handle cases when grecaptcha failed to load 2025-05-03 12:02:51 +02:00
Miodec
16f3da057d fix: unhandled exception when cancelling google sign in 2025-05-03 12:02:51 +02:00
Miodec
949b61801c chore: check if caches exists 2025-05-03 12:02:51 +02:00
Miodec
07f2d8667d chore: try to use auto commit detection again 2025-05-03 12:02:51 +02:00
dependabot[bot]
79aa3a569f
build(deps-dev): bump vite from 6.3.0 to 6.3.4 in /frontend (#6510)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 6.3.0 to 6.3.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/releases">vite's
releases</a>.</em></p>
<blockquote>
<h2>v6.3.4</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v6.3.4/packages/vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>v6.3.3</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v6.3.3/packages/vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>v6.3.2</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v6.3.2/packages/vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>create-vite@6.3.1</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/create-vite@6.3.1/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>v6.3.1</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v6.3.1/packages/vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->6.3.4 (2025-04-30)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: check static serve file inside sirv (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19965">#19965</a>)
(<a
href="c22c43de61">c22c43d</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19965">#19965</a></li>
<li>fix(optimizer): return plain object when using <code>require</code>
to import externals in optimized dependenci (<a
href="efc5eab253">efc5eab</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19940">#19940</a></li>
<li>refactor: remove duplicate plugin context type (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19935">#19935</a>)
(<a
href="d6d01c2292">d6d01c2</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19935">#19935</a></li>
</ul>
<h2><!-- raw HTML omitted -->6.3.3 (2025-04-24)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: ignore malformed uris in tranform middleware (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19853">#19853</a>)
(<a
href="e4d520141b">e4d5201</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19853">#19853</a></li>
<li>fix(assets): ensure ?no-inline is not included in the asset url in
the production environment (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/1949">#1949</a>
(<a
href="16a73c05d3">16a73c0</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19496">#19496</a></li>
<li>fix(css): resolve relative imports in sass properly on Windows (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19920">#19920</a>)
(<a
href="ffab442704">ffab442</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19920">#19920</a></li>
<li>fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19899">#19899</a>)
(<a
href="a4b500ef9c">a4b500e</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19899">#19899</a></li>
<li>fix(ssr): fix execution order of re-export (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19841">#19841</a>)
(<a
href="ed29dee2eb">ed29dee</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19841">#19841</a></li>
<li>fix(ssr): fix live binding of default export declaration and hoist
exports getter (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19842">#19842</a>)
(<a
href="80a91ff824">80a91ff</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19842">#19842</a></li>
<li>perf: skip sourcemap generation for renderChunk hook of
import-analysis-build plugin (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19921">#19921</a>)
(<a
href="55cfd04b10">55cfd04</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19921">#19921</a></li>
<li>test(ssr): test <code>ssrTransform</code> re-export deps and test
stacktrace with first line (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19629">#19629</a>)
(<a
href="9399cdaf8c">9399cda</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19629">#19629</a></li>
</ul>
<h2><!-- raw HTML omitted -->6.3.2 (2025-04-18)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: match default asserts case insensitive (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19852">#19852</a>)
(<a
href="cbdab1d6a3">cbdab1d</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19852">#19852</a></li>
<li>fix: open first url if host does not match any urls (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19886">#19886</a>)
(<a
href="6abbdce3d7">6abbdce</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19886">#19886</a></li>
<li>fix(css): respect <code>css.lightningcss</code> option in css
minification process (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19879">#19879</a>)
(<a
href="b5055e0dd4">b5055e0</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19879">#19879</a></li>
<li>fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19698">#19698</a>)
(<a
href="bab4cb9224">bab4cb9</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19698">#19698</a></li>
<li>feat(css): improve lightningcss messages (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19880">#19880</a>)
(<a
href="c713f79b5a">c713f79</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19880">#19880</a></li>
</ul>
<h2><!-- raw HTML omitted -->6.3.1 (2025-04-17)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: avoid using <code>Promise.allSettled</code> in preload function
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19805">#19805</a>)
(<a
href="35c7f35e2b">35c7f35</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19805">#19805</a></li>
<li>fix: backward compat for internal plugin <code>transform</code>
calls (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19878">#19878</a>)
(<a
href="a152b7cbac">a152b7c</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19878">#19878</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b040d547a1"><code>b040d54</code></a>
release: v6.3.4</li>
<li><a
href="c22c43de61"><code>c22c43d</code></a>
fix: check static serve file inside sirv (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19965">#19965</a>)</li>
<li><a
href="efc5eab253"><code>efc5eab</code></a>
fix(optimizer): return plain object when using <code>require</code> to
import externals ...</li>
<li><a
href="d6d01c2292"><code>d6d01c2</code></a>
refactor: remove duplicate plugin context type (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19935">#19935</a>)</li>
<li><a
href="db9eb97b2f"><code>db9eb97</code></a>
release: v6.3.3</li>
<li><a
href="e4d520141b"><code>e4d5201</code></a>
fix: ignore malformed uris in tranform middleware (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19853">#19853</a>)</li>
<li><a
href="55cfd04b10"><code>55cfd04</code></a>
perf: skip sourcemap generation for renderChunk hook of
import-analysis-build...</li>
<li><a
href="ffab442704"><code>ffab442</code></a>
fix(css): resolve relative imports in sass properly on Windows (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19920">#19920</a>)</li>
<li><a
href="16a73c05d3"><code>16a73c0</code></a>
fix(assets): ensure ?no-inline is not included in the asset url in the
produc...</li>
<li><a
href="9399cdaf8c"><code>9399cda</code></a>
test(ssr): test <code>ssrTransform</code> re-export deps and test
stacktrace with first ...</li>
<li>Additional commits viewable in <a
href="https://github.com/vitejs/vite/commits/v6.3.4/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=6.3.0&new-version=6.3.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/monkeytypegame/monkeytype/network/alerts).

</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2025-05-02 19:50:40 +02:00
Miodec
141a84caa7 refactor: remove pointless rethrows causing loss of original error 2025-05-02 18:33:17 +02:00
Miodec
fb529ae53b chore: remove duplicated onerror listener 2025-05-02 18:33:17 +02:00
Miodec
2a95c2b6fb chore: drop third party frames 2025-05-02 18:33:17 +02:00
Christian Fehmer
be2d830446
fix: failed to fetch commandline when a version/hotfix is deployed (@fehmer) (#6507) 2025-05-02 18:33:00 +02:00
Miodec
4cca5809a8 fix: client version potentially being different during build
!nuf
2025-05-02 14:47:43 +02:00
Miodec
e5d8bd332f chore: always init sentry, dont send in dev mode, add debug logs to sentry 2025-05-02 14:34:56 +02:00
Miodec
33a90228f4 chore: remove duplicate console.error on rejection 2025-05-02 14:21:31 +02:00
Miodec
a99408a92f chore: remove error logging to analytics 2025-05-02 14:20:20 +02:00
Miodec
76859670ba chore: remove console.error from notifications 2025-05-02 14:19:40 +02:00