update electron to v43

This commit is contained in:
olcxja 2026-07-09 22:38:33 +02:00
commit fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions

17
electron/node_modules/node-abi/getNextTarget.js generated vendored Normal file
View file

@ -0,0 +1,17 @@
import semver from 'semver';
export function getNextTarget(runtime, targets) {
const latest = targets
.filter((t) => {
return t.runtime === runtime;
})
.slice(-1)[0];
const increment = runtime === 'electron' ? 'minor' : 'major';
let next = semver.inc(latest.target, increment);
// Electron releases appear in the registry in their beta form, sometimes there is
// no active beta line. During this time we need to double bump
if (runtime === 'electron' && semver.parse(latest.target).prerelease.length) {
next = semver.inc(next, 'major');
}
return next;
}