Skip to content

Commit 7e3d579

Browse files
deps(dev): bump electron from 27.3.11 to 31.3.1 (#1582)
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]>
1 parent 604697a commit 7e3d579

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.aegir.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default {
99
'buffer',
1010
'c8',
1111
'conventional-changelog-conventionalcommits',
12-
'electron-mocha-main',
12+
'electron-mocha',
1313
'mocha',
1414
'npm-package-json-lint',
1515
'nyc',

md/esm.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88

99
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.
1010

11-
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.
12-
1311
## Examples
1412

1513
TODO: List examples when merged (`ipfs-unixfs`, `uint8arrays`)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
"cors": "^2.8.5",
251251
"depcheck": "^1.4.3",
252252
"diff": "^5.1.0",
253-
"electron-mocha-main": "^11.0.3",
253+
"electron-mocha": "^13.0.0",
254254
"env-paths": "^3.0.0",
255255
"esbuild": "^0.21.1",
256256
"eslint": "^8.31.0",
@@ -331,7 +331,7 @@
331331
"@types/semver": "^7.3.4",
332332
"@types/strong-log-transformer": "^1.0.2",
333333
"@types/yargs": "^17.0.0",
334-
"electron": "^27.0.2",
334+
"electron": "^31.3.1",
335335
"uint8arrays": "^5.0.1",
336336
"undici": "^6.2.1"
337337
},

0 commit comments

Comments
 (0)