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): update devdependencies #730

Merged
merged 1 commit into from
Mar 31, 2022
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 30, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
esbuild ~0.14.28 -> ~0.14.29 age adoption passing confidence
eslint-plugin-jsdoc ~38.1.3 -> ~38.1.4 age adoption passing confidence
vite ~2.8.6 -> ~2.9.0 age adoption passing confidence

Release Notes

evanw/esbuild

v0.14.29

Compare Source

  • Fix a minification bug with a double-nested if inside a label followed by else (#​2139)

    This fixes a minification bug that affects the edge case where if is followed by else and the if contains a label that contains a nested if. Normally esbuild's AST printer automatically wraps the body of a single-statement if in braces to avoid the "dangling else" if/else ambiguity common to C-like languages (where the else accidentally becomes associated with the inner if instead of the outer if). 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:

    // Original code
    if (a)
      b: {
        if (c) break b
      }
    else if (d)
      e()
    
    // Old output (with --minify)
    if(a)e:if(c)break e;else d&&e();
    
    // New output (with --minify)
    if(a){e:if(c)break e}else d&&e();
  • Fix edge case regarding baseUrl and paths in tsconfig.json (#​2119)

    In tsconfig.json, TypeScript forbids non-relative values inside paths if baseUrl is not present, and esbuild does too. However, TypeScript checked this after the entire tsconfig.json hierarchy was parsed while esbuild incorrectly checked this immediately when parsing the file containing the paths map. This caused incorrect warnings to be generated for tsconfig.json files that specify a baseUrl value and that inherit a paths value from an extends clause. Now esbuild will only check for non-relative paths 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:

const examples = import.meta.globEager('./examples/*.html', { as: { 'raw' }})

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.

// Send a message from the client to the server
if (import.meta.hot) {
  import.meta.hot.send('my:from-client', { msg: 'Hey!' })
}
// And listen to client messages in a plugin
  configureServer(server) {
    server.ws.on('my:from-client', (data, client) => {
      console.log('Message from client:', data.msg) // Hey!
      // ...
    })
  }
importedCss and importedAssets to RenderedChunk type

Replace the internal chunkToEmittedCssFileMap and chunkToEmittedAssetsMap variables with public properties added by Vite to RenderedChunk objects in the renderChunk 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
Features
Beta 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
Features

2.8.4 (2022-02-18)

Bug Fixes

2.8.3 (2022-02-15)

Bug Fixes

2.8.2 (2022-02-14)

Features
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.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner March 30, 2022 01:19
@renovate renovate bot added the c: dependencies Pull requests that adds/updates a dependency label Mar 30, 2022
@codecov
Copy link

codecov bot commented Mar 30, 2022

Codecov Report

Merging #730 (d99f699) into main (f285dc9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #730   +/-   ##
=======================================
  Coverage   99.34%   99.34%           
=======================================
  Files        1924     1924           
  Lines      177022   177022           
  Branches      904      904           
=======================================
  Hits       175861   175861           
  Misses       1105     1105           
  Partials       56       56           

@renovate renovate bot changed the title chore(deps): update dependency eslint-plugin-jsdoc to ~38.1.4 chore(deps): update devdependencies Mar 30, 2022
@renovate renovate bot force-pushed the renovate/devdependencies branch 2 times, most recently from 05ecde1 to 0cfce48 Compare March 30, 2022 13:08
Shinigami92
Shinigami92 previously approved these changes Mar 30, 2022
ST-DDT
ST-DDT previously approved these changes Mar 30, 2022
@renovate renovate bot dismissed stale reviews from ST-DDT and Shinigami92 via d99f699 March 31, 2022 02:18
@renovate renovate bot force-pushed the renovate/devdependencies branch from 0cfce48 to d99f699 Compare March 31, 2022 02:18
@ST-DDT ST-DDT requested a review from Shinigami92 March 31, 2022 07:39
@Shinigami92 Shinigami92 merged commit 7c6d9f8 into main Mar 31, 2022
@Shinigami92 Shinigami92 deleted the renovate/devdependencies branch March 31, 2022 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: dependencies Pull requests that adds/updates a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants