Skip to content

Bump vite from 3.0.9 to 3.1.0

Imanuel Ulbricht requested to merge dependabot/npm_and_yarn/vite-3.1.0 into main

Created by: dependabot[bot]

Bumps vite from 3.0.9 to 3.1.0.

Release notes

Sourced from vite's releases.

create-vite@3.1.0

Please refer to CHANGELOG.md for details.

Changelog

Sourced from vite's changelog.

3.1.0 (2022-09-05)

Main Changes

  • Vite now uses parse5, which parses HTML in the same way as the latest browser versions. This migration gives us a more robust HTML story moving forward (#9678).
  • Vite now supports using objects as hooks to change execution order (#9634). Check out the RFC and the implementation upstream at rollup/rollup#4600 for details and rationale.
      import { resolve } from 'node:path';
      import { readdir } from 'node:fs/promises';
    export default function getFilesOnDisk() {
    return {
    name: 'getFilesOnDisk',
    writeBundle: {
    // run this hook sequentially even if the hook is parallel
    sequential: true,
    // push this hook to the 'post' stage, after all normal hooks
    order: 'post',
    // hook implementation
    async handler({ dir }) {
    const topLevelFiles = await readdir(resolve(dir))
    console.log(topLevelFiles)
    }
    }
    }
    }
    Read the updated Rollup Plugin docs for more information.

Note After Vite 3.1, you are no longer going to see [vite] hot updated log messages in the browser console. These messages have been moved to the debug channel (#8855). Check your browser docs to show debug logs.

Features

Bug Fixes

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

Merge request reports

Loading