Skip to content

Bump vite-plugin-electron from 0.14.1 to 0.15.6#16

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vite-plugin-electron-0.15.6
Open

Bump vite-plugin-electron from 0.14.1 to 0.15.6#16
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vite-plugin-electron-0.15.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 1, 2024

Copy link
Copy Markdown
Contributor

Bumps vite-plugin-electron from 0.14.1 to 0.15.6.

Release notes

Sourced from vite-plugin-electron's releases.

v0.15.5

Please refer to CHANGELOG.md for details.

#188

v0.15.4

Please refer to CHANGELOG.md for details.

#178

Contributors:

@​Siykt

v0.15.3

Please refer to CHANGELOG.md for details.

#176

v0.15.2

Please refer to CHANGELOG.md for details.

#175

v0.15.1

Please refer to CHANGELOG.md for details.

#174

v0.15.0

Please refer to CHANGELOG.md for details.

#173

Contributors:

@​sevenc-nanashi, @​CommandMC

Changelog

Sourced from vite-plugin-electron's changelog.

0.28.0 (2024-01-07)

  • 20170a5 refactor: preload built format use esm by default

Migration to v0.28.0

  • No break changes. Just need to define "type": "module" in package.json for supports esm :)
  • By the way. Recommend using the vite-plugin-electron/simple API. It is simpler, and the main difference is its adaptation to preload scripts.
  • electron@28 Preload scripts 👉 limitations.

Preload scripts

In most cases, use cjs format

`require()` can usable matrix

@​see - https://github.com/electron/electron/blob/v30.0.0-nightly.20240104/docs/tutorial/esm.md#preload-scripts ┏———————————————————————————————————┳——————————┳———————————┓ │ webPreferences: { } │ import │ require │ ┠———————————————————————————————————╂——————————╂———————————┨ │ nodeIntegration: false(undefined) │ ✘ │ ✔ │ ┠———————————————————————————————————╂——————————╂———————————┨ │ nodeIntegration: true │ ✔ │ ✔ │ ┠———————————————————————————————————╂——————————╂———————————┨ │ sandbox: true(undefined) │ ✘ │ ✔ │ ┠———————————————————————————————————╂——————————╂———————————┨ │ sandbox: false │ ✔ │ ✘ │ ┠———————————————————————————————————╂——————————╂———————————┨ │ nodeIntegration: false │ ✘ │ ✔ │ │ sandbox: true │ │ │ ┠———————————————————————————————————╂——————————╂———————————┨ │ nodeIntegration: false │ ✔ │ ✘ │ │ sandbox: false │ │ │ ┠———————————————————————————————————╂——————————╂———————————┨ │ nodeIntegration: true │ ✘ │ ✔ │ │ sandbox: true │ │ │ ┠———————————————————————————————————╂——————————╂———————————┨ │ nodeIntegration: true │ ✔ │ ✔ │ │ sandbox: false │ │ │ ┗———————————————————————————————————┸——————————┸———————————┛

  • import(✘): SyntaxError: Cannot use import statement outside a module
  • require(✘): ReferenceError: require is not defined in ES module scope, you can use import instead

Built format

This is just the default behavior, and you can modify them at any time through custom config in the vite.config.js

</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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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-plugin-electron](https://github.com/electron-vite/vite-plugin-electron) from 0.14.1 to 0.15.6.
- [Release notes](https://github.com/electron-vite/vite-plugin-electron/releases)
- [Changelog](https://github.com/electron-vite/vite-plugin-electron/blob/main/CHANGELOG.md)
- [Commits](https://github.com/electron-vite/vite-plugin-electron/commits)

---
updated-dependencies:
- dependency-name: vite-plugin-electron
  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 1, 2024
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