Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump vite from 5.4.11 to 5.4.14 in the npm_and_yarn group across 1 directory #31

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jan 22, 2025

Bumps the npm_and_yarn group with 1 update in the / directory: vite.

Updates vite from 5.4.11 to 5.4.14

Release notes

Sourced from vite's releases.

v5.4.14

Please refer to CHANGELOG.md for details.

v5.4.13

Please refer to CHANGELOG.md for details.

v5.4.12

This version contains a breaking change due to security fixes. See GHSA-vg6x-rcgg-rjx6 for more details.

Please refer to CHANGELOG.md for details.

Changelog

Sourced from vite's changelog.

5.4.14 (2025-01-21)

5.4.13 (2025-01-20)

5.4.12 (2025-01-20)

  • fix!: check host header to prevent DNS rebinding attacks and introduce server.allowedHosts (9da4abc)
  • fix!: default server.cors: false to disallow fetching from untrusted origins (dfea38f)
  • fix: verify token for HMR WebSocket connection (b71a5c8)
  • chore: add deps update changelog (ecd2375)
Commits
  • e7eb3c5 release: v5.4.14
  • 7d1699c fix: allow CORS from loopback addresses by default (#19249)
  • 9df6e6b fix: preview.allowedHosts with specific values was not respected (#19246)
  • a1824c5 release: v5.4.13
  • 5946215 fix: try parse server.origin URL (#19241)
  • f428aa9 release: v5.4.12
  • 9da4abc fix!: check host header to prevent DNS rebinding attacks and introduce `serve...
  • b71a5c8 fix: verify token for HMR WebSocket connection
  • dfea38f fix!: default server.cors: false to disallow fetching from untrusted origins
  • ecd2375 chore: add deps update changelog
  • See full diff in compare view

Dependabot compatibility score

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 commands and options

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the npm_and_yarn group with 1 update in the / directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 5.4.11 to 5.4.14
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.14/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.14/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 22, 2025
Copy link

changeset-bot bot commented Jan 22, 2025

⚠️ No Changeset found

Latest commit: d73df89

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the chore label Jan 22, 2025
Copy link
Contributor

qodo-merge-pro-for-open-source bot commented Jan 22, 2025

CI Feedback 🧐

(Feedback updated until commit d73df89)

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: test (22.x)

Failed stage: Test [❌]

Failed test name: registerTemplate > handles large template files efficiently 📚

Failure summary:

The action failed because the test 'handles large template files efficiently 📚' in
registerTemplate.test.ts failed. The test was unable to read the buildlog file at
'/tmp/srtd-test-1737819910995/register-template-54201/.buildlog-test.json' because the file did not
exist (ENOENT error).

Relevant error logs:
1:  ##[group]Operating System
2:  Ubuntu
...

270:  �[22m�[39m✓ Registered template: test-templates/update_167911_1.sql
271:  �[90mstdout�[2m | src/utils/registerTemplate.test.ts�[2m > �[22m�[2mregisterTemplate�[2m > �[22m�[2mupdates existing template registration 🔄
272:  �[22m�[39m✓ Registered template: test-templates/update_167911_1.sql
273:  �[90mstdout�[2m | src/utils/registerTemplate.test.ts�[2m > �[22m�[2mregisterTemplate�[2m > �[22m�[2mhandles empty template files 📄
274:  �[22m�[39m✓ Registered template: test-templates/empty_169045_1.sql
275:  �[90mstdout�[2m | src/utils/registerTemplate.test.ts�[2m > �[22m�[2mregisterTemplate�[2m > �[22m�[2mhandles large template files efficiently 📚
276:  �[22m�[39m✓ Registered template: test-templates/large_54201_1.sql
277:  �[90mstdout�[2m | src/utils/registerTemplate.test.ts�[2m > �[22m�[2mregisterTemplate�[2m > �[22m�[2mgracefully handles non-existent templates 🚫
278:  �[22m�[39mError: Template file not found. Tried:
279:  - test-templates/nope.sql
280:  - test-templates/nope.sql
281:  - tmp/srtd-test-1737819910995/register-template-114503/test-templates/nope.sql
282:  �[90mstdout�[2m | src/utils/registerTemplate.test.ts�[2m > �[22m�[2mregisterTemplate�[2m > �[22m�[2mfails gracefully with filesystem errors 💥
283:  �[22m�[39mError: Template file not found. Tried:
284:  - test-templates/locked/permission_507901_1.sql
285:  - test-templates/locked/permission_507901_1.sql
286:  - tmp/srtd-test-1737819910995/register-template-507901/test-templates/locked/permission_507901_1.sql
287:  �[32m✓�[39m src/utils/applyMigrations.test.ts�[2m > �[22mapplyMigration�[2m > �[22mshould successfully apply valid SQL
288:  �[32m✓�[39m src/utils/applyMigrations.test.ts�[2m > �[22mapplyMigration�[2m > �[22mshould fail and rollback on invalid SQL
289:  �[32m✓�[39m src/utils/registerTemplate.test.ts�[2m > �[22mregisterTemplate�[2m > �[22msuccessfully registers a valid template 🎯
290:  �[32m✓�[39m src/utils/registerTemplate.test.ts�[2m > �[22mregisterTemplate�[2m > �[22mprevents registering templates outside templateDir 🔒
291:  �[32m✓�[39m src/utils/registerTemplate.test.ts�[2m > �[22mregisterTemplate�[2m > �[22mhandles templates in nested directories 📂
292:  �[32m✓�[39m src/utils/registerTemplate.test.ts�[2m > �[22mregisterTemplate�[2m > �[22mupdates existing template registration 🔄
293:  �[32m✓�[39m src/utils/registerTemplate.test.ts�[2m > �[22mregisterTemplate�[2m > �[22mhandles empty template files 📄
294:  �[31m×�[39m src/utils/registerTemplate.test.ts�[2m > �[22mregisterTemplate�[2m > �[22mhandles large template files efficiently 📚
295:  �[31m   → ENOENT: no such file or directory, open '/tmp/srtd-test-1737819910995/register-template-54201/.buildlog-test.json'�[39m
296:  �[32m✓�[39m src/utils/registerTemplate.test.ts�[2m > �[22mregisterTemplate�[2m > �[22mgracefully handles non-existent templates 🚫
297:  �[32m✓�[39m src/utils/registerTemplate.test.ts�[2m > �[22mregisterTemplate�[2m > �[22mfails gracefully with filesystem errors 💥
298:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould create migration file when template changes
299:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould not allow building WIP templates
300:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould maintain separate build and local logs
301:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould track template state correctly
302:  �[32m✓�[39m src/utils/applyMigrations.test.ts�[2m > �[22mapplyMigration�[2m > �[22mshould handle concurrent migrations with advisory locks
303:  �[32m✓�[39m src/utils/applyMigrations.test.ts�[2m > �[22mapplyMigration�[2m > �[22mshould handle transactions properly
304:  �[32m✓�[39m src/utils/applyMigrations.test.ts�[2m > �[22mapplyMigration�[2m > �[22mshould handle large SQL statements
305:  �[32m✓�[39m src/utils/applyMigrations.test.ts�[2m > �[22mapplyMigration�[2m > �[22mshould handle errors in stored procedures
...

324:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould apply WIP templates directly to database
325:  �[32m✓�[39m src/utils/databaseConnection.test.ts�[2m > �[22mdb.connection�[2m > �[22mshould reuse the same pool for multiple connections
326:  �[32m✓�[39m src/utils/databaseConnection.test.ts�[2m > �[22mdb.connection�[2m > �[22mshould handle connection release properly
327:  �[32m✓�[39m src/utils/databaseConnection.test.ts�[2m > �[22mdb.connection�[2m > �[22mshould handle disconnection properly
328:  �[32m✓�[39m src/utils/databaseConnection.test.ts�[2m > �[22mdb.connection�[2m > �[22mshould handle multiple disconnects gracefully
329:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould handle sequential template operations
330:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould generate unique timestamps for multiple templates
331:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould handle mix of working and broken templates
332:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould handle database errors gracefully
333:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould handle file system errors
...

352:  �[32m✓�[39m src/__tests__/init.test.tsx�[2m > �[22mrenders init command
353:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould handle templates in deep subdirectories�[33m 586�[2mms�[22m�[39m
354:  �[32m✓�[39m src/__tests__/watch.test.tsx�[2m > �[22mWatch Command�[2m > �[22mrenders initial state with no templates
355:  �[?1049l �[32m✓�[39m src/__tests__/clear.test.tsx�[2m > �[22mrenders clear command
356:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould only watch SQL files�[33m 615�[2mms�[22m�[39m
357:  �[32m✓�[39m src/__tests__/promote.test.tsx�[2m > �[22mrenders promote command
358:  �[32m✓�[39m src/__tests__/register.test.tsx�[2m > �[22mrenders init command
359:  �[90mstderr�[2m | src/lib/templateManager.test.ts�[2m > �[22m�[2mTemplateManager�[2m > �[22m�[2mshould handle multiple template changes simultaneously
360:  �[22m�[39mError querying functions: AssertionError: expected [] to have a length of 5 but got +0
...

377:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould cleanup resources when disposed
378:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould auto-cleanup with using statement�[33m 307�[2mms�[22m�[39m
379:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould not process unchanged templates
380:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould only process modified templates in batch
381:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould correctly update local buildlog on apply
382:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould skip apply if template hash matches local buildlog
383:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould not reapply unchanged templates in watch mode
384:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould process unapplied templates on startup
385:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould handle error state transitions correctly
386:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould maintain correct state through manager restarts
387:  �[32m✓�[39m src/lib/templateManager.test.ts�[2m > �[22mTemplateManager�[2m > �[22mshould properly format and propagate error messages
388:  �[31m⎯⎯⎯⎯⎯⎯⎯�[1m�[7m Failed Tests 1 �[27m�[22m⎯⎯⎯⎯⎯⎯⎯�[39m
389:  �[31m�[1m�[7m FAIL �[27m�[22m�[39m src/utils/registerTemplate.test.ts�[2m > �[22mregisterTemplate�[2m > �[22mhandles large template files efficiently 📚
390:  �[31m�[1mError�[22m: ENOENT: no such file or directory, open '/tmp/srtd-test-1737819910995/register-template-54201/.buildlog-test.json'�[39m
391:  �[36m �[2m❯�[22m src/utils/registerTemplate.test.ts:�[2m170:7�[22m�[39m
392:  �[90m168| �[39m    �[35mconst�[39m config �[33m=�[39m �[35mawait�[39m �[34mgetConfig�[39m(testContext�[33m.�[39mtestDir)�[33m;�[39m
393:  �[90m169| �[39m    �[35mconst�[39m buildLog �[33m=�[39m �[33mJSON�[39m�[33m.�[39m�[34mparse�[39m(
394:  �[90m170| �[39m      �[35mawait�[39m fs�[33m.�[39m�[34mreadFile�[39m(path�[33m.�[39m�[34mjoin�[39m(testContext�[33m.�[39mtestDir�[33m,�[39m config�[33m.�[39mbuildLog…
395:  �[90m   | �[39m      �[31m^�[39m
396:  �[90m171| �[39m    )�[33m;�[39m
397:  �[90m172| �[39m    �[35mconst�[39m relPath �[33m=�[39m path�[33m.�[39m�[34mrelative�[39m(testContext�[33m.�[39mtestDir�[33m,�[39m templatePath)�[33m;�[39m
398:  �[31m�[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯�[22m�[39m
399:  �[31m�[1mSerialized Error:�[22m�[39m �[90m{ errno: -2, code: 'ENOENT', syscall: 'open', path: '/tmp/srtd-test-1737819910995/register-template-54201/.buildlog-test.json' }�[39m
400:  �[31m�[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯�[22m�[39m
401:  �[2m Test Files �[22m �[1m�[31m1 failed�[39m�[22m�[2m | �[22m�[1m�[32m12 passed�[39m�[22m�[90m (13)�[39m
402:  �[2m      Tests �[22m �[1m�[31m1 failed�[39m�[22m�[2m | �[22m�[1m�[32m69 passed�[39m�[22m�[90m (70)�[39m
403:  �[2m   Start at �[22m 15:45:10
404:  �[2m   Duration �[22m 6.06s�[2m (transform 442ms, setup 551ms, collect 3.02s, tests 6.80s, environment 4ms, prepare 1.23s)�[22m
405:  JUNIT report written to /home/runner/work/srtd/srtd/test-report.junit.xml
406:  ##[error]Process completed with exit code 1.
...

426:  ==> Running version v10.0.1
427:  ==> Running command '/home/runner/work/_actions/codecov/test-results-action/v1/dist/codecov do-upload'
428:  [command]/home/runner/work/_actions/codecov/test-results-action/v1/dist/codecov do-upload -C d73df896cb7a57be9caff38e61f936ca36a4071f --report-type test_results
429:  info - 2025-01-25 15:45:18,044 -- ci service found: github-actions
430:  warning - 2025-01-25 15:45:18,049 -- No config file could be found. Ignoring config.
431:  info - 2025-01-25 15:45:18,081 -- Found 1 test_results files to report
432:  info - 2025-01-25 15:45:18,081 -- > /home/runner/work/srtd/srtd/test-report.junit.xml
433:  info - 2025-01-25 15:45:18,344 -- Process Upload complete
434:  error - 2025-01-25 15:45:18,344 -- Upload failed: {"message":"Token required because branch is protected"}
...

491:  2025-01-25 15:44:46.409 UTC [1] LOG:  starting PostgreSQL 15.10 on x86_64-pc-linux-musl, compiled by gcc (Alpine 14.2.0) 14.2.0, 64-bit
492:  2025-01-25 15:44:46.410 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
493:  2025-01-25 15:44:46.410 UTC [1] LOG:  listening on IPv6 address "::", port 5432
494:  2025-01-25 15:44:46.411 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
495:  2025-01-25 15:44:46.414 UTC [55] LOG:  database system was shut down at 2025-01-25 15:44:46 UTC
496:  2025-01-25 15:44:46.418 UTC [1] LOG:  database system is ready to accept connections
497:  2025-01-25 15:44:55.257 UTC [65] FATAL:  role "root" does not exist
498:  2025-01-25 15:45:05.303 UTC [72] FATAL:  role "root" does not exist
499:  2025-01-25 15:45:11.174 UTC [74] ERROR:  syntax error at or near "INVALID" at character 1
500:  2025-01-25 15:45:11.174 UTC [74] STATEMENT:  INVALID SQL SYNTAX
501:  2025-01-25 15:45:11.408 UTC [74] ERROR:  division by zero
502:  2025-01-25 15:45:11.408 UTC [74] STATEMENT:  
503:  CREATE TABLE IF NOT EXISTS test_table_1737819911083 (id serial);
504:  SELECT 1/0; -- Force error
505:  2025-01-25 15:45:11.444 UTC [74] ERROR:  Custom error message
506:  2025-01-25 15:45:11.444 UTC [74] CONTEXT:  PL/pgSQL function srtd_scoped_test_func_1737819911083() line 3 at RAISE
507:  2025-01-25 15:45:11.444 UTC [74] STATEMENT:  
508:  CREATE OR REPLACE FUNCTION srtd_scoped_test_func_1737819911083()
509:  RETURNS void AS $$
510:  BEGIN
511:  RAISE EXCEPTION 'Custom error message';
512:  END;
513:  $$ LANGUAGE plpgsql;
514:  SELECT srtd_scoped_test_func_1737819911083();
515:  2025-01-25 15:45:12.584 UTC [75] ERROR:  syntax error at or near "INVALID" at character 1
516:  2025-01-25 15:45:12.584 UTC [75] STATEMENT:  INVALID SQL SYNTAX;
517:  2025-01-25 15:45:12.592 UTC [75] ERROR:  division by zero
518:  2025-01-25 15:45:12.592 UTC [75] STATEMENT:  SELECT 1/0;
519:  2025-01-25 15:45:15.346 UTC [108] FATAL:  role "root" does not exist
520:  2025-01-25 15:45:16.231 UTC [75] ERROR:  syntax error at or near "INVALID" at character 1
521:  2025-01-25 15:45:16.231 UTC [75] STATEMENT:  INVALID SQL;
522:  2025-01-25 15:45:16.402 UTC [75] ERROR:  relation "nonexistent_table" does not exist at character 15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants