Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2024

Bumps vite-plugin-electron from 0.15.6 to 0.28.4.

Release notes

Sourced from vite-plugin-electron's releases.

v0.28.4

Please refer to CHANGELOG.md for details.

#224

v0.28.3

Please refer to CHANGELOG.md for details.

#222

v0.28.2

Please refer to CHANGELOG.md for details.

#212

v0.28.1

Please refer to CHANGELOG.md for details.

#203

v0.28.0

Please refer to CHANGELOG.md for details.

#198


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) │ ✘ │ ✔ │ ┠———————————————————————————————————╂——————————╂———————————┨ </tr></table>

... (truncated)

Changelog

Sourced from vite-plugin-electron's changelog.

0.28.4 (2024-03-17)

  • 4f7748c chore: restore vite-plugin-electron-renderer in peerDependencies
  • 412ed9b fix(#214): catch the process.kill(pid) error

0.28.3 (2024-03-13)

  • a300c08 fix: remove electron@28 version pre-deps

0.28.2 (2024-02-11)

  • 5b0fc87 feat: use treeKillSync() instead tree-kill

0.28.1 (2024-02-06)

  • efc5826 fix: correct calcEntryCount() for startup
  • cf0e91f feat: startup support SpawnOptions #194
  • 512a1c5 Merge pull request #204 from SanGongHappy/tree-kill-sync
  • edf4bf6 refactor: better treeKillSync implemented
  • 82cd32f Merge branch 'electron-vite:main' into tree-kill-sync
  • 6e122a7 feat: polyfill process.env by default
  • 45f28bb (github/main, main) chore: update CHANGELOG
  • f9b81e4 chore(simple): update comments
  • b5376a9 docs: add Built format
  • e334366 copy tree-kill

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 │ ✔ │ ✔ │ </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.15.6 to 0.28.4.
- [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/v0.28.4)

---
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 Apr 1, 2024
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 1, 2024

Superseded by #43.

@dependabot dependabot bot closed this May 1, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/vite-plugin-electron-0.28.4 branch May 1, 2024 04:07
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.

1 participant