unasuke / deplore

deplore is a DeepL client app.
Apache License 2.0
24 stars 2 forks source link

Bump vite from 2.6.14 to 2.7.1 #4

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps vite from 2.6.14 to 2.7.1.

Release notes

Sourced from vite's releases.

create-vite@2.7.0

Please refer to CHANGELOG.md for details.

Changelog

Sourced from vite's changelog.

2.7.1 (2021-12-07)

Bug Fixes

  • ssr: ssrTransform handling for empty ArrayPattern (#5988) (79aa687)

2.7.0 (2021-12-07)

  • šŸŽ‰ Revamped SSR dependency handling
  • šŸ§© API consolidation
  • šŸ›‘ server.fs.strict by default

BREAKING CHANGES

  • server.fs.strict is true by default (#5341) See server filesystem restriction docs for more details.
  • Plugin hooks ssr param to object in resolveId, load, and transform (#5253) Previous to this release, the ssr param was passed as a boolean in the last parameter of each hook. The new interface for these hooks is now:
    export interface Plugin extends RollupPlugin {
      // ... other hooks
      resolveId?(this: PluginContext, source: string, importer: string | undefined, options: {
          custom?: CustomPluginOptions;
          ssr?: boolean;
      }): Promise<ResolveIdResult> | ResolveIdResult;
      load?(this: PluginContext, id: string, options?: {
          ssr?: boolean;
      }): Promise<LoadResult> | LoadResult;
      transform?(this: TransformPluginContext, code: string, id: string, options?: {
          ssr?: boolean;
      }): Promise<TransformResult> | TransformResult;
    }
    
    In your plugins, you can check if the last param is a boolean or an object to be backward compatible with 2.6 and give some time to users to migrate to Vite 2.7.
  • server.pluginContainer options object for resolveId, load, and transform (#5294)
  • Normalize scripts and commands naming (#5207) Adds a new vite dev command alias for vite serve, preparing for the new release of create-vite where package scripts are renamed to dev, build, and preview.
  • Align experimental preview api (#5407) This API was first introduced in 2.6 and it is still in flux.
  • resolve rollupOptions.input paths (#5601)

Features

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