Skip to content

Update vite requirement from ^2.6.5 to ^2.8.1#100

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/vite-tw-2.8.1
Closed

Update vite requirement from ^2.6.5 to ^2.8.1#100
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/vite-tw-2.8.1

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Updates the requirements on vite to permit the latest version.

Changelog

Sourced from vite's changelog.

2.8.1 (2022-02-11)

Bug Fixes

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

... (truncated)

Commits
  • b984397 release: v2.8.1
  • a3a9941 chore(types): remove unnecessary type assertion (#6784)
  • de20c73 fix(scan): escape for virtual modules (#6863)
  • 0941620 chore: build signatures (#6841)
  • 2c02ce7 docs: change worker config to object instead of array (#6844)
  • 7a2ddb4 chore(deps): update dependency @​ampproject/remapping to v2 (#6690)
  • 3949d21 chore: correct 2.8 beta changelog link
  • e38be3e fix(deps): update all non-major dependencies (#6782)
  • 12ff293 chore: correct changelog size note
  • 8e92aa7 chore: rework v2.8.0 changelog and add release notes (#6825)
  • Additional commits viewable in compare view

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)

Updates the requirements on [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) to permit the latest version.
- [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/v2.8.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

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

dependabot Bot commented on behalf of github Feb 21, 2022

Copy link
Copy Markdown
Contributor Author

Superseded by #104.

@dependabot dependabot Bot closed this Feb 21, 2022
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/vite-tw-2.8.1 branch February 21, 2022 03:16
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