Skip to content

Commit

Permalink
deps(dev): bump electron from 27.3.11 to 31.3.1 (#1582)
Browse files Browse the repository at this point in the history
Bumps [electron](https://github.com/electron/electron) from 27.3.11 to 31.3.1.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v27.3.11...v31.3.1)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:development
  update-type: version-update:semver-major
...

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: achingbrain <[email protected]>
  • Loading branch information
dependabot[bot] and achingbrain authored Aug 9, 2024
1 parent 604697a commit 7e3d579
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .aegir.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default {
'buffer',
'c8',
'conventional-changelog-conventionalcommits',
'electron-mocha-main',
'electron-mocha',
'mocha',
'npm-package-json-lint',
'nyc',
Expand Down
2 changes: 0 additions & 2 deletions md/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

Electron supports ESM but [electron-mocha does not](https://github.com/jprichardson/electron-mocha/pull/187). It's capable of supporting it in the main thread but since Chrome does not provide any way to intercept calls to `import` it's unlikely to work with the renderer thread for the foreseeable future.

We currently use a [fork of electron-mocha](https://www.npmjs.com/package/electron-mocha-main) that allows running ESM tests on the main thread but we have no support for running them on the renderer thread until the issues with Chrome and intercepting `import` above are resolved.

## Examples

TODO: List examples when merged (`ipfs-unixfs`, `uint8arrays`)
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
"cors": "^2.8.5",
"depcheck": "^1.4.3",
"diff": "^5.1.0",
"electron-mocha-main": "^11.0.3",
"electron-mocha": "^13.0.0",
"env-paths": "^3.0.0",
"esbuild": "^0.21.1",
"eslint": "^8.31.0",
Expand Down Expand Up @@ -331,7 +331,7 @@
"@types/semver": "^7.3.4",
"@types/strong-log-transformer": "^1.0.2",
"@types/yargs": "^17.0.0",
"electron": "^27.0.2",
"electron": "^31.3.1",
"uint8arrays": "^5.0.1",
"undici": "^6.2.1"
},
Expand Down

0 comments on commit 7e3d579

Please sign in to comment.