Files
a14e141eee Upgrade electron dependency to ^41.0.0 in samples (#37991)
### Packages impacted by this PR

- `samples/frameworks/electron/ts`
- `sdk/identity/identity-broker/samples/v1/javascript`
- `sdk/identity/identity-broker/samples/v1/typescript`
- `sdk/identity/identity-broker/samples/v2/javascript`

### Issues associated with this PR

### Describe the problem that is addressed by this PR

Electron dependencies in sample projects were outdated (`^35.0.0` and
`^37.0.0`). Bumps all to `^41.0.0` (latest stable: 41.1.1).

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?

Version-only bump. Reviewed Electron breaking changes v35→v41; none
affect APIs used in these samples (`BrowserWindow`, `app`,
`ipcMain/ipcRenderer`, `protocol.registerHttpProtocol`,
`contextBridge`). No code changes required.

### Are there test cases added in this PR? _(If not, why?)_

No — these are standalone sample projects with version-only dependency
bumps. No testable logic changed.

### Provide a list of related PRs _(if any)_


### Checklists
- [x] Added impacted package name to the issue description.
- [ ] Does this PR need any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here.)_
- [ ] Added a changelog (if necessary).

> [!WARNING]
>
> <details>
> <summary>Firewall rules blocked me from connecting to one or more
addresses (expand for details)</summary>
>
> #### I tried to connect to the following addresses, but was blocked by
firewall rules:
>
> - `www.electronjs.org`
> - Triggering command:
`/home/REDACTED/work/_temp/ghcca-node/node/bin/node
/home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps
/home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js`
(dns block)
>
> If you need me to access, download, or install something from one of
these locations, you can either:
>
> - Configure [Actions setup
steps](https://gh.io/copilot/actions-setup-steps) to set up my
environment, which run before the firewall is enabled
> - Add the appropriate URLs or hosts to the custom allowlist in this
repository's [Copilot coding agent
settings](https://github.com/Azure/azure-sdk-for-js/settings/copilot/coding_agent)
(admins only)
>
> </details>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jeremymeng <[email protected]>
2026-04-07 12:20:12 -07:00

32 lines
717 B
JSON

{
"name": "electron-test-app",
"version": "1.0.0",
"description": "A sample Electron application",
"main": "main.ts",
"private": true,
"scripts": {
"build": "tsc",
"start": "npm run build && electron dist/main.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"electron",
"javascript"
],
"license": "MIT",
"devDependencies": {
"@types/qs": "^6.9.18",
"babel": "^6.23.0",
"electron": "^41.0.0",
"typescript": "^5.8.2",
"webpack": "^5.98.0"
},
"dependencies": {
"@azure/identity": "^4.7.0",
"@azure/logger": "^1.1.4",
"@azure/service-bus": "^7.9.5",
"@azure/storage-blob": "^12.26.0",
"qs": "^6.14.0"
}
}