toyai / python-playground

Interactive Playground for Python
https://python-playground.netlify.app
MIT License
12 stars 1 forks source link

chore(deps): update all non-major dependencies #96

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@codemirror/autocomplete ^0.19.12 -> ^0.19.13 age adoption passing confidence
@codemirror/closebrackets ^0.19.0 -> ^0.19.1 age adoption passing confidence
@codemirror/comment ^0.19.0 -> ^0.19.1 age adoption passing confidence
@codemirror/search ^0.19.7 -> ^0.19.8 age adoption passing confidence
@codemirror/state ^0.19.7 -> ^0.19.9 age adoption passing confidence
@codemirror/view ^0.19.42 -> ^0.19.45 age adoption passing confidence
@vitejs/plugin-vue ^2.2.0 -> ^2.2.4 age adoption passing confidence
fastapi ==0.73.0 -> ==0.74.1 age adoption passing confidence
playwright-chromium (source) ^1.19.0 -> ^1.19.2 age adoption passing confidence
uvicorn (source, changelog) ==0.17.4 -> ==0.17.5 age adoption passing confidence
vite ^2.8.2 -> ^2.8.6 age adoption passing confidence
vite-plugin-windicss ^1.7.0 -> ^1.8.1 age adoption passing confidence
windicss ^3.4.3 -> ^3.5.0 age adoption passing confidence

Release Notes

codemirror/autocomplete ### [`v0.19.13`](https://togithub.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#​01913-2022-02-18) [Compare Source](https://togithub.com/codemirror/autocomplete/compare/0.19.12...0.19.13) ##### Bug fixes Fix an issue where the completion tooltip stayed open if it was explicitly opened and the user backspaced past its start. Stop snippet filling when a change happens across one of the snippet fields' boundaries.
codemirror/closebrackets ### [`v0.19.1`](https://togithub.com/codemirror/closebrackets/blob/HEAD/CHANGELOG.md#​0191-2022-02-17) [Compare Source](https://togithub.com/codemirror/closebrackets/compare/0.19.0...0.19.1) ##### Bug fixes The extension now tries to look at the syntax tree to figure out when you might be likely to be closing a string, and doesn't duplicate quotes in that case. Don't close brackets when a composition has started, to avoid breaking dead key input.
codemirror/comment ### [`v0.19.1`](https://togithub.com/codemirror/comment/blob/HEAD/CHANGELOG.md#​0191-2022-02-16) [Compare Source](https://togithub.com/codemirror/comment/compare/0.19.0...0.19.1) ##### Bug fixes The commenting commands now never do anything in a read-only editor. Make `toggleComment` use `toggleBlockCommentPerLine` when no line comment syntax is available. ##### New features Add a `toggleBlockCommentByLine` command, which toggles commenting/uncommenting of entire selected lines.
codemirror/search ### [`v0.19.8`](https://togithub.com/codemirror/search/blob/HEAD/CHANGELOG.md#​0198-2022-02-14) [Compare Source](https://togithub.com/codemirror/search/compare/0.19.7...0.19.8) ##### Bug fixes Fix a bug that caused the search panel to start open when configuring a state with the `search()` extension.
codemirror/state ### [`v0.19.9`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#​0199-2022-02-16) [Compare Source](https://togithub.com/codemirror/state/compare/0.19.8...0.19.9) ##### Bug fixes Mapping a non-empty selection range now always puts any newly inserted text on the sides of the range outside of the mapped version. ### [`v0.19.8`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#​0198-2022-02-15) [Compare Source](https://togithub.com/codemirror/state/compare/0.19.7...0.19.8) ##### Bug fixes Fix a bug where facet values with computed inputs could incorrectly retain their old value on reconfiguration.
codemirror/view ### [`v0.19.45`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#​01945-2022-02-23) [Compare Source](https://togithub.com/codemirror/view/compare/0.19.44...0.19.45) ##### Bug fixes Fix an issue where the library failed to call `WidgetType.destroy` on the old widget when replacing a widget with a different widget of the same type. Fix an issue where the editor would compute DOM positions inside composition contexts incorrectly in some cases, causing the selection to be put in the wrong place and needlessly interrupting compositions. Fix leaking of resize event handlers. ### [`v0.19.44`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#​01944-2022-02-17) [Compare Source](https://togithub.com/codemirror/view/compare/0.19.43...0.19.44) ##### Bug fixes Fix a crash that occasionally occurred when drag-selecting in a way that scrolled the editor. ##### New features The new `EditorView.compositionStarted` property indicates whether a composition is starting. ### [`v0.19.43`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#​01943-2022-02-16) [Compare Source](https://togithub.com/codemirror/view/compare/0.19.42...0.19.43) ##### Bug fixes Fix several issues where editing or composition went wrong due to our zero-width space kludge characters ending up in unexpected places. Make sure the editor re-measures its dimensions whenever its theme changes. Fix an issue where some keys on Android phones could leave the editor DOM unsynced with the actual document.
vitejs/vite (@​vitejs/plugin-vue) ### [`v2.2.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/plugin-vue/CHANGELOG.md#​224-httpsgithubcomvitejsvitecompareplugin-vue223plugin-vue224-2022-02-28) [Compare Source](https://togithub.com/vitejs/vite/compare/v2.2.2...v2.2.4) ### [`v2.2.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/plugin-vue/CHANGELOG.md#​222-httpsgithubcomvitejsvitecompareplugin-vue221plugin-vue222-2022-02-18) [Compare Source](https://togithub.com/vitejs/vite/compare/v2.2.0...v2.2.2)
tiangolo/fastapi ### [`v0.74.1`](https://togithub.com/tiangolo/fastapi/releases/0.74.1) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.74.0...0.74.1) ##### Features - ✨ Include route in scope to allow middleware and other tools to extract its information. PR [#​4603](https://togithub.com/tiangolo/fastapi/pull/4603) by [@​tiangolo](https://togithub.com/tiangolo). ### [`v0.74.0`](https://togithub.com/tiangolo/fastapi/releases/0.74.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.73.0...0.74.0) ##### Breaking Changes - ✨ Update internal `AsyncExitStack` to fix context for dependencies with `yield`. PR [#​4575](https://togithub.com/tiangolo/fastapi/pull/4575) by [@​tiangolo](https://togithub.com/tiangolo). Dependencies with `yield` can now catch `HTTPException` and custom exceptions. For example: ```Python async def get_database(): with Session() as session: try: yield session except HTTPException: session.rollback() raise finally: session.close() ``` After the dependency with `yield` handles the exception (or not) the exception is raised again. So that any exception handlers can catch it, or ultimately the default internal `ServerErrorMiddleware`. If you depended on exceptions not being received by dependencies with `yield`, and receiving an exception breaks the code after `yield`, you can use a block with `try` and `finally`: ```Python async def do_something(): try: yield something finally: some_cleanup() ``` ...that way the `finally` block is run regardless of any exception that might happen. ##### Features - The same PR [#​4575](https://togithub.com/tiangolo/fastapi/pull/4575) from above also fixes the `contextvars` context for the code before and after `yield`. This was the main objective of that PR. This means that now, if you set a value in a context variable before `yield`, the value would still be available after `yield` (as you would intuitively expect). And it also means that you can reset the context variable with a token afterwards. For example, this works correctly now: ```Python from contextvars import ContextVar from typing import Any, Dict, Optional legacy_request_state_context_var: ContextVar[Optional[Dict[str, Any]]] = ContextVar( "legacy_request_state_context_var", default=None ) async def set_up_request_state_dependency(): request_state = {"user": "deadpond"} contextvar_token = legacy_request_state_context_var.set(request_state) yield request_state legacy_request_state_context_var.reset(contextvar_token) ``` ...before this change it would raise an error when resetting the context variable, because the `contextvars` context was different, because of the way it was implemented. **Note**: You probably don't need `contextvars`, and you should probably avoid using them. But they are powerful and useful in some advanced scenarios, for example, migrating from code that used Flask's `g` semi-global variable. **Technical Details**: If you want to know more of the technical details you can check out the PR description [#​4575](https://togithub.com/tiangolo/fastapi/pull/4575). ##### Internal - πŸ”§ Add Striveworks sponsor. PR [#​4596](https://togithub.com/tiangolo/fastapi/pull/4596) by [@​tiangolo](https://togithub.com/tiangolo). - πŸ’š Only build docs on push when on master to avoid duplicate runs from PRs. PR [#​4564](https://togithub.com/tiangolo/fastapi/pull/4564) by [@​tiangolo](https://togithub.com/tiangolo). - πŸ‘₯ Update FastAPI People. PR [#​4502](https://togithub.com/tiangolo/fastapi/pull/4502) by [@​github-actions\[bot\]](https://togithub.com/apps/github-actions).
Microsoft/playwright ### [`v1.19.2`](https://togithub.com/Microsoft/playwright/releases/v1.19.2) [Compare Source](https://togithub.com/Microsoft/playwright/compare/v1.19.1...v1.19.2) #### Highlights This patch includes the following bug fixes: [https://github.com/microsoft/playwright/issues/12091](https://togithub.com/microsoft/playwright/issues/12091) - \[BUG] playwright 1.19.0 generates more than 1 trace file per test[https://github.com/microsoft/playwright/issues/12106](https://togithub.com/microsoft/playwright/issues/12106)6 - \[BUG] Error: EBUSY: resource busy or locked when using volumes in docker-compose with playwright 1.19.0 and mcr.microsoft.com/playwright:v1.15.0-focal #### Browser Versions - Chromium 100.0.4863.0 - Mozilla Firefox 96.0.1 - WebKit 15.4 This version was also tested against the following stable channels: - Google Chrome 98 - Microsoft Edge 98 ### [`v1.19.1`](https://togithub.com/Microsoft/playwright/releases/v1.19.1) [Compare Source](https://togithub.com/Microsoft/playwright/compare/v1.19.0...v1.19.1) #### Highlights This patch includes the following bug fixes: [https://github.com/microsoft/playwright/issues/12075](https://togithub.com/microsoft/playwright/issues/12075) - \[Question] After update to 1.19 firefox fails to run[https://github.com/microsoft/playwright/issues/12090](https://togithub.com/microsoft/playwright/issues/12090)0 - \[BUG] did something change on APIRequest/Response APIs ? #### Browser Versions - Chromium 100.0.4863.0 - Mozilla Firefox 96.0.1 - WebKit 15.4 This version was also tested against the following stable channels: - Google Chrome 98 - Microsoft Edge 98
vitejs/vite (vite) ### [`v2.8.6`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#​286-httpsgithubcomvitejsvitecomparev285v286-2022-03-01) [Compare Source](https://togithub.com/vitejs/vite/compare/v2.8.5...v2.8.6) ##### Bug Fixes - revert [#​7052](https://togithub.com/vitejs/vite/issues/7052), hmr style tag no support in html ([#​7136](https://togithub.com/vitejs/vite/issues/7136)) ([5c116ec](https://togithub.com/vitejs/vite/commit/5c116ecde0ad43409334853457d68481a22e19d4)) - throw Error when can't preload CSS ([#​7108](https://togithub.com/vitejs/vite/issues/7108)) ([d9f8edb](https://togithub.com/vitejs/vite/commit/d9f8edbd5b243f60212cc4bb9271c01b7e3fdd76)) ### [`v2.8.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#​285-httpsgithubcomvitejsvitecomparev284v285-2022-02-28) [Compare Source](https://togithub.com/vitejs/vite/compare/v2.8.4...v2.8.5) ##### Bug Fixes - ?html-proxy with trailing = added by some servers ([#​7093](https://togithub.com/vitejs/vite/issues/7093)) ([5818ac9](https://togithub.com/vitejs/vite/commit/5818ac927861783ea2b05450761fed30f40e7399)) - allow optional trailing comma in asset `import.meta.url` ([#​6983](https://togithub.com/vitejs/vite/issues/6983)) ([2debb9f](https://togithub.com/vitejs/vite/commit/2debb9f4cbb6003e7d24444cf049b45582d82ff1)) - cannot reassign process.env.NODE_ENV in ssr ([#​6989](https://togithub.com/vitejs/vite/issues/6989)) ([983feb2](https://togithub.com/vitejs/vite/commit/983feb2cdc5180dc46c3f5fc5b99baaa8d6b7078)) - **config:** Warn about terserOptions in more cases ([#​7101](https://togithub.com/vitejs/vite/issues/7101)) ([79428ad](https://togithub.com/vitejs/vite/commit/79428ad5b849455e14f95d1b439ae296ba231221)) - don't override user config ([#​7034](https://togithub.com/vitejs/vite/issues/7034)) ([8fd8f6e](https://togithub.com/vitejs/vite/commit/8fd8f6e0e501c9e46bc3e179c900d31fa5cafce1)) - fileToBuiltUrl got undefined when file type is `.ico` ([#​7106](https://togithub.com/vitejs/vite/issues/7106)) ([7a1a552](https://togithub.com/vitejs/vite/commit/7a1a552ba710bad5714ef0fbb16fdd29ac58ae0b)) - **glob:** css imports injecting a ?used query to export the css string ([#​6949](https://togithub.com/vitejs/vite/issues/6949)) ([0b3f4ef](https://togithub.com/vitejs/vite/commit/0b3f4ef231004e072bf1b037f63bc4ef169d938e)) - **hmr:** hmr style tag no support in html ([#​7052](https://togithub.com/vitejs/vite/issues/7052)) ([a9dfce3](https://togithub.com/vitejs/vite/commit/a9dfce38108e796e0de0e3b43ced34d60883cef3)) - image -> image/x-icon ([#​7120](https://togithub.com/vitejs/vite/issues/7120)) ([065ceca](https://togithub.com/vitejs/vite/commit/065ceca5c7b8f1843e220fbdbe8a0da4cbb78935)) - import with query with exports field ([#​7073](https://togithub.com/vitejs/vite/issues/7073)) ([88ded7f](https://togithub.com/vitejs/vite/commit/88ded7f16382d83603511de043785e01ee1e4a3a)) - prebundle dep with colon ([#​7006](https://togithub.com/vitejs/vite/issues/7006)) ([2136f2b](https://togithub.com/vitejs/vite/commit/2136f2bb960d1a81ac3b3ca04d9ebd89dba44661)) - recycle serve to avoid preventing Node self-exit ([#​6895](https://togithub.com/vitejs/vite/issues/6895)) ([d6b2c53](https://togithub.com/vitejs/vite/commit/d6b2c53c6f0bcc4ffa9cdf48375f9bbcc98f79f7)) - resolve [@​import](https://togithub.com/import) of the proxied