@nordicsemiconductor/pc-nrfconnect-shared 257.0.0 → 258.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Changelog.md CHANGED
@@ -7,6 +7,12 @@ This project does _not_ adhere to
7
7
  [Semantic Versioning](https://semver.org/spec/v2.0.0.html) but contrary to it
8
8
  every new version is a new major version.
9
9
 
10
+ ## 258.0.0 - 2026-08-18
11
+
12
+ ### Changed
13
+
14
+ - Updated Electron to 43.
15
+
10
16
  ## 257.0.0 - 2026-08-14
11
17
 
12
18
  ### Added
@@ -1,5 +1,5 @@
1
- export declare const electron = "32.1.2";
2
- export declare const chrome = "128.0.6613.162";
3
- export declare const node = "20.17.0";
4
- export declare const chromeWithoutBuild: string;
1
+ export declare const electron = "43.4.0";
2
+ export declare const chrome = "150.0.7871.224";
3
+ export declare const node = "24.18.1";
4
+ export declare const chromeToBuildFor = "128.0.6613";
5
5
  //# sourceMappingURL=versions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../../scripts/versions.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,QAAQ,WAAW,CAAC;AACjC,eAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,eAAO,MAAM,IAAI,YAAY,CAAC;AAE9B,eAAO,MAAM,kBAAkB,QAA8C,CAAC"}
1
+ {"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../../scripts/versions.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,QAAQ,WAAW,CAAC;AACjC,eAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,eAAO,MAAM,IAAI,YAAY,CAAC;AAG9B,eAAO,MAAM,gBAAgB,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nordicsemiconductor/pc-nrfconnect-shared",
3
- "version": "257.0.0",
3
+ "version": "258.0.0",
4
4
  "description": "Shared commodities for developing pc-nrfconnect-* packages",
5
5
  "repository": {
6
6
  "type": "git",
@@ -59,7 +59,7 @@
59
59
  "bootstrap": "4.6.2",
60
60
  "commander": "10.0.0",
61
61
  "date-fns": "2.29.3",
62
- "electron": "^32.1.2",
62
+ "electron": "^43.4.0",
63
63
  "electron-store": "8.1.0",
64
64
  "esbuild": "^0.27.2",
65
65
  "esbuild-sass-plugin": "^3.6.0",
package/release_notes.md CHANGED
@@ -1,5 +1,3 @@
1
- ### Added
1
+ ### Changed
2
2
 
3
- - IPC for myNordic authentication: sign-in, sign-in cancellation, single
4
- sign-out, getting tokens and profile info, querying and subscribing to the
5
- auth state.
3
+ - Updated Electron to 43.
@@ -10,10 +10,19 @@ import { execSync } from 'child_process';
10
10
 
11
11
  import * as versions from './versions';
12
12
 
13
+ const runNpmLsElectron = () => {
14
+ try {
15
+ return execSync('npm ls electron --json', { encoding: 'utf8' });
16
+ } catch {
17
+ console.error(
18
+ '\nFailed to get the currently used version of electron. Maybe running `npm ci` is needed.',
19
+ );
20
+ process.exit(1);
21
+ }
22
+ };
23
+
13
24
  const main = async () => {
14
- const npmLsElectronResult = execSync('npm ls electron --json', {
15
- encoding: 'utf8',
16
- });
25
+ const npmLsElectronResult = runNpmLsElectron();
17
26
  const installedElectronVersion =
18
27
  JSON.parse(npmLsElectronResult).dependencies.electron.version;
19
28
 
@@ -14,7 +14,7 @@ import * as module from 'node:module';
14
14
  import * as path from 'node:path';
15
15
  import tailwindcss from 'tailwindcss';
16
16
 
17
- import { chromeWithoutBuild } from './versions';
17
+ import { chromeToBuildFor } from './versions';
18
18
 
19
19
  const packageJson = JSON.parse(fs.readFileSync('package.json', 'utf8'));
20
20
 
@@ -37,7 +37,7 @@ const options = (
37
37
  ) =>
38
38
  ({
39
39
  format: 'iife',
40
- target: `chrome${chromeWithoutBuild}`,
40
+ target: `chrome${chromeToBuildFor}`,
41
41
  sourcemap: true,
42
42
  metafile: false,
43
43
  minify: process.argv.includes('--prod'),
@@ -4,8 +4,9 @@
4
4
  * SPDX-License-Identifier: LicenseRef-Nordic-4-Clause
5
5
  */
6
6
 
7
- export const electron = '32.1.2';
8
- export const chrome = '128.0.6613.162';
9
- export const node = '20.17.0';
7
+ export const electron = '43.4.0';
8
+ export const chrome = '150.0.7871.224';
9
+ export const node = '24.18.1';
10
10
 
11
- export const chromeWithoutBuild = chrome.replace(/^(\d+\.\d+\.\d+).*$/, '$1');
11
+ // Chrome from Electron 32, used in launcher >=5.1.0, <5.4.0
12
+ export const chromeToBuildFor = '128.0.6613';