Mark Electron v12 as unsupported

This commit is contained in:
Nemo 2022-01-11 14:24:33 +05:30
parent 094730471a
commit 2f25c0682c
4 changed files with 8 additions and 3 deletions

View File

@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## 1.0.6
### Changed
- Electron v12 is no longer marked as supported
## 1.0.5 ## 1.0.5
### Changed ### Changed

View File

@ -1,7 +1,9 @@
<?php <?php
const VERSION_EXCLUDE = ['nightly', 'beta', 'alpha']; const VERSION_EXCLUDE = ['nightly', 'beta', 'alpha'];
const SUPPORTED_MAJOR_VERSIONS = [12, 13, 14, 15, 16]; // The latest four stable major versions are currently supported
// till May 2022, after which only 3 major versions will be supported
const SUPPORTED_MAJOR_VERSIONS = [13, 14, 15, 16];
function get_versions() { function get_versions() {
`rm -rf electron-src`; `rm -rf electron-src`;

View File

@ -1,6 +1,6 @@
{ {
"name": "which-electron", "name": "which-electron",
"version": "1.0.7", "version": "1.0.8",
"description": "Guess which electron version is bundled in an application", "description": "Guess which electron version is bundled in an application",
"main": "src/index.js", "main": "src/index.js",
"bin": { "bin": {

View File

@ -1,6 +1,5 @@
{ {
"supported": [ "supported": [
"v12.2.3",
"v13.6.6", "v13.6.6",
"v14.2.3", "v14.2.3",
"v15.3.4", "v15.3.4",