Skip to content

Bump electron from 40.9.3 to 40.10.0 in /electron#1013

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/electron/dev/electron-40.10.0
Open

Bump electron from 40.9.3 to 40.10.0 in /electron#1013
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/electron/dev/electron-40.10.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 11, 2026

Bumps electron from 40.9.3 to 40.10.0.

Release notes

Sourced from electron's releases.

electron v40.10.0

Release Notes for v40.10.0

Fixes

  • Fixed app.getLoginItemSettings() returning undefined for executableWillLaunchAtLogin on macOS; the property is now always a boolean. #51509 (Also in 41, 42)

Other Changes

  • Updated Node.js to v24.15.0. #51087
Commits
  • 08f4bb8 ci: pin Homebrew version in CI runs (#51555)
  • cdecff0 chore: use oxfmt and oxlint in 40-x-y (#51500)
  • c9e5205 ci: skip job in rerun apply patches if too old (#51525)
  • ed6f448 fix: test idempotency issues (#51527)
  • 5987d60 chore: bump node to v24.15.0 (40-x-y) (#51087)
  • 5693c09 build: replace spec dep fork with transitive resolution (#51491)
  • 108ff00 fix: always emit executableWillLaunchAtLogin from getLoginItemSettings (#...
  • 8384a9c ci: suppress macOS 'reopen windows' prompt for Electron test bundle (#51495)
  • 32c4761 fix: handle createWindow() rejection in import-meta test fixture (#51470)
  • See full diff in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 11, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 11, 2026

Client Test Results

128 tests  ±0   128 ✅ ±0   0s ⏱️ ±0s
  6 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 6d7be0b. ± Comparison against base commit 5af8574.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 11, 2026

Python Test Results

  1 files  ±0    1 suites  ±0   1m 31s ⏱️ +11s
600 tests ±0  600 ✅ ±0  0 💤 ±0  0 ❌ ±0 
605 runs  ±0  605 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 6d7be0b. ± Comparison against base commit 5af8574.

♻️ This comment has been updated with latest results.

Tim020 added a commit that referenced this pull request May 12, 2026
…improvements (#1014)

* TypeScript migration Stage 5D: script, live, App, main.ts + tsconfig improvements (#1013)

Completes the full TypeScript migration (issue #906). This is the final PR.

Changes:
- All script config SFCs: ScriptEditor, ScriptLineEditor, ScriptLinePart,
  ScriptLineViewer, ScriptRevisions, RevisionGraph, RevisionDetailModal,
  BulkActSceneModal, CompiledScripts, StageDirectionStyles
- All live view SFCs: ScriptViewPane, StageManagerPane, ScriptLineViewer,
  ScriptLineViewerCompact
- All stage config SFCs: StageManager, StageTimeline, CrewTimeline, TimelineSidePanel,
  PropsList, SceneryList, CrewList
- All mics config SFCs: MicTimeline, MicAllocations, MicList, ResourceAvailability,
  SceneDensityHeatmap, MicAutoPopulateModal
- All cues config SFCs: CueEditor, ScriptLineCueEditor, CueCountStats, JumpToCueModal
- Config views: ConfigCues, ConfigMics, ConfigScript, ConfigScriptRevisions, ConfigStage
- App.vue
- src/main.js renamed to src/main.ts (index.html entry point updated)
- tsconfig.json: enabled strictNullChecks, strictFunctionTypes, noImplicitReturns,
  noFallthroughCasesInSwitch, forceConsistentCasingInFileNames; added .vue to include;
  added comments documenting deferred strict settings and their rationale
- Fixed strictNullChecks errors in logger.ts and micConflictUtils.ts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Convert scriptConfig.test.js to TypeScript; fix tsconfig allowJs comment

Renames scriptConfig.test.js → scriptConfig.test.ts, adding ScriptLine
import and typing the makeLine helper. All 7 tests pass unchanged.

Updates the allowJs tsconfig comment — the .js test file was the only reason
cited for the flag, but allowJs is still needed for tooling config files
(vite.config.js etc.) outside src/.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Convert all remaining JS tooling files to TypeScript; remove Babel

All JavaScript files in the client package are now TypeScript:
- vite.config.js → vite.config.ts
- vitest.config.js → vitest.config.ts
- prettier.config.mjs → prettier.config.ts (adds Config type annotation)
- eslint.config.mjs → eslint.config.ts (removes Babel parser; now uses
  @typescript-eslint/parser for both .ts and .vue files since all SFCs
  have <script lang="ts">; requires jiti for ESLint TypeScript config loading)
- scripts/generate-doc-manifest.js → generate-doc-manifest.ts (converts
  CommonJS require() to ESM imports; adds types; runs via node --strip-types)
- babel.config.js → deleted

Package changes:
- Remove @babel/core, @babel/eslint-parser, @babel/preset-env
- Add jiti (required by ESLint 9.39+ for TypeScript config file loading)
- Add "type": "module" to eliminate Node ESM detection warnings
- Update lint/format globs to drop .js (no .js files remain)
- Update prebuild script to use node --strip-types for the .ts manifest script

tsconfig.json: remove allowJs / checkJs (no .js source files remain)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Tim020 added a commit that referenced this pull request May 12, 2026
* TypeScript migration: Stage 1 — infrastructure (#1005)

* Add TypeScript infrastructure (Stage 1 of TS migration)

Installs TypeScript tooling and wires it into the build/lint/CI pipeline
without renaming any existing files. All current tests remain green.

- Add tsconfig.json with allowJs/checkJs:false for incremental migration,
  useDefineForClassFields:false for Vue 2 reactivity compatibility
- Install typescript ~5.4.5, @typescript-eslint parser/plugin, @types/node,
  @types/lodash
- Add eslint.config.mjs block for **/*.ts files using @typescript-eslint
- Add .ts to vite resolve.extensions
- Add typecheck script (tsc --noEmit); extend ci-lint to include it
- Add run-typecheck CI job to nodelint.yml
- Add src/types/index.ts placeholder (populated in Stage 2)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Remove typecheck from ci-lint to avoid duplicate runs in CI

The dedicated run-typecheck CI job in nodelint.yml already covers type
checking. Running it inside ci-lint as well would execute it twice on
every push.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* Stage 2: Type definitions + utility file migration to TypeScript (#1007)

- Create src/types/api/ with interfaces for all API shapes (show, script,
  cues, stage, microphones, session, user, settings, websocket)
- Create src/types/shims/ with vendor.d.ts (deep-object-diff) and
  vue-shims.d.ts (Vue socket/toast plugin augmentations)
- Rename all utility .js → .ts with explicit parameter and return types:
  utils, logger, http-interceptor, customValidators, scriptUtils,
  blockOrphanUtils, micConflictUtils, platform/{browser,electron,index}
- Rename constants to .ts with 'as const' and derived type exports
- Rename .test.js → .test.ts for Vitest test files
- Update tsconfig: add vite/client types, exclude test files from typecheck
- 106 tests passing, typecheck clean, lint clean, build succeeds

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* TypeScript migration Stage 3: type all Vuex store modules (#1008)

Renames all 10 store modules from .js to .ts and adds typed state
interfaces, mutation payloads, and action parameters throughout.

Key changes:
- New src/types/store.ts with RootState interface
- src/types/api/settings.ts: add SystemSettings interface
- src/types/api/user.ts: add CueColourOverride interface
- All 10 modules: Module<ModuleState, RootState> wrapper, named state
  interfaces, typed mutation params, typed action payloads
- websocket.ts: fix router.currentRoute → .path comparisons and add
  missing $toast.info to VueToast cast

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* TypeScript migration Stage 4: mixins and router (#1009)

Converts all 7 mixin files and the Vue Router index from .js to .ts
using defineComponent wrappers and explicit parameter/return types.

Also fixes a type correctness bug discovered during migration: the
ScriptCut API type was modelled as an object (line_part_id, revision_id)
but the server endpoint returns a plain array of number IDs. Changed
ScriptCut to a number type alias and updated all usages accordingly.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* TypeScript migration Stage 5A: leaf components and simple views (#1010)

Converts 17 Vue SFCs to <script lang="ts"> with defineComponent wrappers:
views/404View, AboutView, HomeView, HelpDocView, ForcePasswordChangeView,
LoginView, Settings; vue_components/MarkdownRenderer, ConfigLogs,
ConfigSettings, ConfigShows, ConfigSystem, ConfigUsers, ConfigRbac,
CreateUser, RbacResource, ResetPassword.

Also updates eslint.config.mjs to use tsParser as the <script lang="ts">
sub-parser inside .vue files, enabling TypeScript-aware linting for SFCs.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* TypeScript migration Stage 5B: views and user settings SFCs (#1011)

Convert 11 Vue SFCs to <script lang="ts"> with defineComponent wrapper:
- views/HelpView.vue, config/ConfigView.vue, electron/ServerSelector.vue
- views/show/ShowConfigView.vue, ShowLiveView.vue
- vue_components/user/settings: AboutUser, ApiToken, ChangePassword,
  CueColourPreferences, Settings, StageDirectionStyles

Key changes: typed timer fields as ReturnType<typeof setInterval>|null,
fixed Date arithmetic to use .getTime() instead of implicit coercion,
added SavedConnection/ServerStatus/DiscoveredServer interfaces in
ServerSelector, removed verbose JSDoc comments now captured by types.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* Stage 5C TypeScript migration: show config acts/scenes, cast, characters, sessions SFCs (#1012)

Convert 13 Vue SFCs to <script lang="ts"> with defineComponent wrapper covering
ConfigActsAndScenes, ConfigSessions, ConfigCast, ConfigCharacters, ConfigShow,
ConfigActs, ConfigScenes, CastLineStats, CharacterLineStats, CharacterGroups,
SessionList, SessionTagDropdown, and SessionTagList.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* TypeScript migration Stage 5D: script, live, App, main.ts + tsconfig improvements (#1014)

* TypeScript migration Stage 5D: script, live, App, main.ts + tsconfig improvements (#1013)

Completes the full TypeScript migration (issue #906). This is the final PR.

Changes:
- All script config SFCs: ScriptEditor, ScriptLineEditor, ScriptLinePart,
  ScriptLineViewer, ScriptRevisions, RevisionGraph, RevisionDetailModal,
  BulkActSceneModal, CompiledScripts, StageDirectionStyles
- All live view SFCs: ScriptViewPane, StageManagerPane, ScriptLineViewer,
  ScriptLineViewerCompact
- All stage config SFCs: StageManager, StageTimeline, CrewTimeline, TimelineSidePanel,
  PropsList, SceneryList, CrewList
- All mics config SFCs: MicTimeline, MicAllocations, MicList, ResourceAvailability,
  SceneDensityHeatmap, MicAutoPopulateModal
- All cues config SFCs: CueEditor, ScriptLineCueEditor, CueCountStats, JumpToCueModal
- Config views: ConfigCues, ConfigMics, ConfigScript, ConfigScriptRevisions, ConfigStage
- App.vue
- src/main.js renamed to src/main.ts (index.html entry point updated)
- tsconfig.json: enabled strictNullChecks, strictFunctionTypes, noImplicitReturns,
  noFallthroughCasesInSwitch, forceConsistentCasingInFileNames; added .vue to include;
  added comments documenting deferred strict settings and their rationale
- Fixed strictNullChecks errors in logger.ts and micConflictUtils.ts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Convert scriptConfig.test.js to TypeScript; fix tsconfig allowJs comment

Renames scriptConfig.test.js → scriptConfig.test.ts, adding ScriptLine
import and typing the makeLine helper. All 7 tests pass unchanged.

Updates the allowJs tsconfig comment — the .js test file was the only reason
cited for the flag, but allowJs is still needed for tooling config files
(vite.config.js etc.) outside src/.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Convert all remaining JS tooling files to TypeScript; remove Babel

All JavaScript files in the client package are now TypeScript:
- vite.config.js → vite.config.ts
- vitest.config.js → vitest.config.ts
- prettier.config.mjs → prettier.config.ts (adds Config type annotation)
- eslint.config.mjs → eslint.config.ts (removes Babel parser; now uses
  @typescript-eslint/parser for both .ts and .vue files since all SFCs
  have <script lang="ts">; requires jiti for ESLint TypeScript config loading)
- scripts/generate-doc-manifest.js → generate-doc-manifest.ts (converts
  CommonJS require() to ESM imports; adds types; runs via node --strip-types)
- babel.config.js → deleted

Package changes:
- Remove @babel/core, @babel/eslint-parser, @babel/preset-env
- Add jiti (required by ESLint 9.39+ for TypeScript config file loading)
- Add "type": "module" to eliminate Node ESM detection warnings
- Update lint/format globs to drop .js (no .js files remain)
- Update prebuild script to use node --strip-types for the .ts manifest script

tsconfig.json: remove allowJs / checkJs (no .js source files remain)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* Update development.md to reflect TypeScript migration

- Update store.js reference to store.ts
- Add npm run typecheck to the contributing linting checklist

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/electron/dev/electron-40.10.0 branch from 906ad96 to 687e09f Compare May 13, 2026 00:12
Bumps [electron](https://github.com/electron/electron) from 40.9.3 to 40.10.0.
- [Release notes](https://github.com/electron/electron/releases)
- [Commits](electron/electron@v40.9.3...v40.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/electron/dev/electron-40.10.0 branch from 687e09f to 6d7be0b Compare May 13, 2026 01:09
@sonarqubecloud
Copy link
Copy Markdown

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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants