Skip to content

build(deps-dev): bump vite from 2.7.13 to 2.8.0 in /packages/css-render - #582

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/packages/css-render/vite-2.8.0
Closed

build(deps-dev): bump vite from 2.7.13 to 2.8.0 in /packages/css-render#582
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/packages/css-render/vite-2.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 9, 2022

Copy link
Copy Markdown
Contributor

Bumps vite from 2.7.13 to 2.8.0.

Release notes

Sourced from vite's releases.

create-vite@2.8.0

Please refer to CHANGELOG.md for details.

Changelog

Sourced from vite's changelog.

2.8.0 (2022-02-09)

Reduced Footprint

Vite 2.8.0 is almost 1/4 of the 2.7.0 publish size, and the install size has been reduced by 35%. See this thread about each change that reduced Vite's footprint.

Version Publish Size Install Size
2.7.0 12.7MB 25.2MB
2.8.0 4.6MB 17.4MB

Default preview port

New default port for vite preview is 4173 (avoid conflicts in MacOS that took over the 5000 port)

Workers using standard syntax

Workers are detected and bundled when using new URL('path', import.meta.url), replacing the need for the ?worker suffix and aligning Vite with standard patterns. See #6356. Instead of

import MyWorker from './worker.js?worker'
const worker = new MyWorker()

it is now recommended to use

const worker = new Worker(
  new URL('./worker.js', import.meta.url), { type: 'module' }
)

Configuring Workers Bundling

New worker config field adding support for Worker format, plugins and, rollupOptions. See #6351

  • worker.format: 'es' | 'iife' Output format for worker bundle (default: iife).
  • worker.plugins: (Plugin | Plugin[])[] Vite plugins that apply to worker bundle.
  • worker.rollupOptions: RollupOptions Rollup options to build worker bundle.

The worker plugins pipeline isn't shared with the main Vite pipeline, there may be plugins that shouldn't be applied to Workers. If a plugin must be applied to both the main build and the worker build, you need to add a plugin in the main plugins array and another one in the worker.plugins config.

import PluginX from 'vite-plugin-x'
export default {
  plugins: [ PluginX() ]
  worker: [
    format: 'es',
</tr></table> 

... (truncated)

Commits

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 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)

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.7.13 to 2.8.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@2.8.0/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Feb 9, 2022
@vercel

vercel Bot commented Feb 9, 2022

Copy link
Copy Markdown

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/07akioni/css-render/Gpja7qQWVZfCAHY77QNJqSrnGkyH
✅ Preview: https://css-render-git-dependabot-npmandyarnpackagescss-c30635-07akioni.vercel.app

@codecov

codecov Bot commented Feb 9, 2022

Copy link
Copy Markdown

Codecov Report

Merging #582 (bbbd76d) into master (43e4c29) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #582   +/-   ##
=======================================
  Coverage   91.27%   91.27%           
=======================================
  Files          10       10           
  Lines         298      298           
  Branches       86       86           
=======================================
  Hits          272      272           
  Misses         11       11           
  Partials       15       15           
Flag Coverage Δ
css-render 90.82% <ø> (ø)
plugin-bem 100.00% <ø> (ø)
vue3-ssr 71.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 43e4c29...bbbd76d. Read the comment docs.

@dependabot @github

dependabot Bot commented on behalf of github Feb 11, 2022

Copy link
Copy Markdown
Contributor Author

Superseded by #584.

@dependabot dependabot Bot closed this Feb 11, 2022
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/packages/css-render/vite-2.8.0 branch February 11, 2022 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants