From 7e3d57961fd145d73b236868293f8f67ab899a5e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 13:03:24 +0100 Subject: [PATCH] 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](https://github.com/electron/electron/compare/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] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: achingbrain --- .aegir.js | 2 +- md/esm.md | 2 -- package.json | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.aegir.js b/.aegir.js index 1a6e2c303..be7880d6a 100644 --- a/.aegir.js +++ b/.aegir.js @@ -9,7 +9,7 @@ export default { 'buffer', 'c8', 'conventional-changelog-conventionalcommits', - 'electron-mocha-main', + 'electron-mocha', 'mocha', 'npm-package-json-lint', 'nyc', diff --git a/md/esm.md b/md/esm.md index 371400ea9..3b2b140df 100644 --- a/md/esm.md +++ b/md/esm.md @@ -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`) diff --git a/package.json b/package.json index 886b150b5..be3c580f1 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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" },