chore(deps): update devdependencies #730
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~0.14.28
->~0.14.29
~38.1.3
->~38.1.4
~2.8.6
->~2.9.0
Release Notes
evanw/esbuild
v0.14.29
Compare Source
Fix a minification bug with a double-nested
if
inside a label followed byelse
(#2139)This fixes a minification bug that affects the edge case where
if
is followed byelse
and theif
contains a label that contains a nestedif
. Normally esbuild's AST printer automatically wraps the body of a single-statementif
in braces to avoid the "dangling else"if
/else
ambiguity common to C-like languages (where theelse
accidentally becomes associated with the innerif
instead of the outerif
). However, I was missing automatic wrapping of label statements, which did not have test coverage because they are a rarely-used feature. This release fixes the bug:Fix edge case regarding
baseUrl
andpaths
intsconfig.json
(#2119)In
tsconfig.json
, TypeScript forbids non-relative values insidepaths
ifbaseUrl
is not present, and esbuild does too. However, TypeScript checked this after the entiretsconfig.json
hierarchy was parsed while esbuild incorrectly checked this immediately when parsing the file containing thepaths
map. This caused incorrect warnings to be generated fortsconfig.json
files that specify abaseUrl
value and that inherit apaths
value from anextends
clause. Now esbuild will only check for non-relativepaths
values after the entire hierarchy has been parsed to avoid generating incorrect warnings.Better handle errors where the esbuild binary executable is corrupted or missing (#2129)
If the esbuild binary executable is corrupted or missing, previously there was one situation where esbuild's JavaScript API could hang instead of generating an error. This release changes esbuild's library code to generate an error instead in this case.
gajus/eslint-plugin-jsdoc
v38.1.4
Compare Source
Bug Fixes
no-undefined-types
: add TypeScript utility types (globally allowed types); fixes #839 (bf9f994)vitejs/vite
v2.9.0
Compare Source
Faster Cold Start
Before 2.9, the first time dev was run on a project Vite needed to perform a scan phase to discover dependencies and then pre-bundle them before starting the server. In 2.9 both scanning #7379 and pre-bundling #6758 of dependencies are now non-blocking, so the server starts right away during cold start. We also now allow requests to flow through the pipeline improving initial cold start load speed and increasing the chances of discovering new missing dependencies when re-processing and letting Vite populate the module graph and the browser to process files. In many cases, there is also no need to full-reload the page when new dependencies are discovered.
CSS Sourcemap support during dev (experimental)
Vite now supports CSS sourcemaps #7173. This feature is still experimental, and it is disabled by default to avoid incurring a performance penalty for users that don't need it. To enable it, set css.devSourcemap to
true
.Avoid splitting vendor chunks by default
Vite's default chunking strategy was a good fit for most SPAs, but it wasn't ideal in some other use cases. Vite doesn't have enough context to make the best decision here, so in Vite 2.9 the previous chunking strategy is now opt-in #6534 and Vite will no longer split vendor libs in a separate chunk.
Web Workers enhancements
Web Workers now supports source map generation (see #5417). The implementation is also now more robust, fixing several issues encountered in previous versions (#6599).
Raw Glob Imports
Glob imports support for the
raw
modifier syntax has changed to using{ as: 'raw' }
, which works in the same way as the?raw
suffix in regular imports:The
{ assert: { type: 'raw' }}
syntax introduced in v2.8 has been deprecated. See #7017 for more information.New tools for Plugin and Framework Authors
Client Server Communication API
Vite now provides utilities for plugins to help handle the communication with clients connected to Vite's server #7437. Reusing the open WebSocket connection between the server and clients several use cases can be simplified (vite-plugin-inspect, SliDev, and many others). Check out the Client Server Communication docs for more information.
importedCss
andimportedAssets
to RenderedChunk typeReplace the internal
chunkToEmittedCssFileMap
andchunkToEmittedAssetsMap
variables with public properties added by Vite toRenderedChunk
objects in therenderChunk
phase. These is useful for Vite-based frameworks that generate their own HTML. See #6629.Optimize Custom Extensions (experimental)
A new
optimizeDeps.extensions: string[]
option is available to enable pre-bundling of custom extensions. A respective esbuild plugin is required to handle that extension. e.g.['.svelte', '.svelte.md']
. See #6801 for more information.Bug Fixes
module
field when the importer is arequire
call (#7438) (fe4c1ed), closes #7438ssrExternal
should not skip nested dependencies (#7154) (f8f934a), closes #7154import.meta.url
should not throw (#7219) (5de3a98), closes #7219localhost
as a valid hostname (#7092) (4194cce), closes #7092{ assert: { type: raw }}
in favor of{ as: raw }
(fix #7017) (#7215) (87ecce5), closes #7017 #7215Features
importedCss
andimportedAssets
to RenderedChunk type (#6629) (8d0fc90), closes #6629Beta Changelogs
2.9.0-beta.11 (2022-03-29)
See 2.9.0-beta.11 changelog
2.9.0-beta.10 (2022-03-28)
See 2.9.0-beta.10 changelog
2.9.0-beta.9 (2022-03-26)
See 2.9.0-beta.9 changelog
2.9.0-beta.8 (2022-03-24)
See 2.9.0-beta.8 changelog
2.9.0-beta.7 (2022-03-23)
See 2.9.0-beta.7 changelog
2.9.0-beta.6 (2022-03-22)
See 2.9.0-beta.6 changelog
2.9.0-beta.5 (2022-03-22)
See 2.9.0-beta.5 changelog
2.9.0-beta.4 (2022-03-19)
See 2.9.0-beta.4 changelog
2.9.0-beta.3 (2022-03-16)
See 2.9.0-beta.3 changelog
2.9.0-beta.2 (2022-03-14)
See 2.9.0-beta.2 changelog
2.9.0-beta.1 (2022-03-14)
See 2.9.0-beta.1 changelog
2.9.0-beta.0 (2022-03-09)
See 2.9.0-beta.0 changelog
2.8.6 (2022-03-01)
Bug Fixes
2.8.5 (2022-02-28)
Bug Fixes
import.meta.url
(#6983) (2debb9f).ico
(#7106) (7a1a552)Features
2.8.4 (2022-02-18)
Bug Fixes
2.8.3 (2022-02-15)
Bug Fixes
2.8.2 (2022-02-14)
Features
import.meta.glob
andimport.meta.globEager
generic (#5073) (78e84c8)Performance Improvements
2.8.1 (2022-02-11)
Bug Fixes
Configuration
📅 Schedule: "before 2am" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.