Граф коммитов

61 Коммитов

Автор SHA1 Сообщение Дата
Samuel Attard b39a65cfa0
fix: do not assume targets are sorted, fixes #113 2021-10-21 12:50:38 -07:00
Samuel Attard 00ecb65fd2
fix: handle case where there is no active electron beta line 2021-05-25 14:18:49 -07:00
Attila Večerek 42932775e7
fix: sorting of targets (#99)
* fix: sorting of targets

* fix: sort by both abi and target
2020-11-18 08:33:49 +01:00
Attila Večerek 65c4a08589
fix: ABI registry updater (#95)
* fix: ABI registry updater

* fix: update ABI registry

* chore: add different lock files to .gitignore

* Update test/index.js

Co-authored-by: Mark Lee <malept@users.noreply.github.com>

* refactor: move ABI filtering to fetchAbiVersions

* refactor: extract processing of electron targets to a standalone function

* chore: update ABI registry

* refactor: format matching target in getTarget

* fix: detection of the correct ABI versions for Node v13, v12 and v11

* refactor: derivation of node targets

* fix: sorting of node + electron targets

Co-authored-by: Mark Lee <malept@users.noreply.github.com>
2020-11-17 12:13:15 -08:00
Mark Lee 3f6f27a464
feat: use autogenerated ABI target list (#83)
* feat: use autogenerated ABI target list

`yarn update-abi-registry` generates `abi_registry.json`, which is
loaded by the module to determine relatively recent ABI targets, along
with their LTS values and whether they are "future" targets.

* build: auto-update ABI JSON file via scheduled GitHub Action
2020-08-20 15:54:49 -07:00
Gellert Hegyi 75cc2ddc7f
feat: adds electron 10 beta info (#87) 2020-05-29 15:26:54 +02:00
Erik Bender 8934a47f02
feat: add electron 9 support (#86)
* add electron 9 support

* fix electron 9 abi version
2020-05-19 12:10:06 +02:00
David Björklund 02da402275 feat: Add node 14 2020-04-22 11:58:40 +02:00
Vishwas Shashidhar 14ee3eb65c
feat: electron 9 Support (#80) 2020-02-13 12:23:14 -08:00
Pat DeSantis 556a6ed3df
feat: add support for Electron 8 stable (#78) 2020-02-04 11:03:11 -08:00
Brendan Forster 9413d366a6 feat: add support for Node 13 2019-11-27 09:58:53 +01:00
Florian Keller 99f3fa5873 feat: Set LTS for Node 8 to false 2019-11-27 09:58:49 +01:00
Brendan Forster 70a1728562 feat: indicate Node 12 is an LTS release 2019-11-27 09:58:45 +01:00
Samuel Attard efa7539788
feat: add support for Electron 7 stable and Electron 8 beta 2019-10-21 11:52:22 -07:00
Nitish Sakhawalkar 3651a264d7 feat: add abi version for electron 7 (#72) 2019-08-12 14:06:24 -07:00
Samuel Attard 1ad02ee49e
feat: add support for Electron v6 Stable (#69) 2019-07-30 09:35:43 -07:00
patrickrobbins 165f8849de feat: added abi version for electron 6 (#67)
* added abi version for electron 6

* Moved electron 6.0 target to future targets

* remove ugly comma

* Update index.js

* Update index.js
2019-06-19 10:46:09 -07:00
Brendan Forster fa6ecd4f4b add entries for Node 12 and Electron 5 (#62)
* add entry for Node 12

* also add Electron 5

* drop electron 5 beta target from future list

* add tests for Electron

Co-Authored-By: Jacob <jacobq@users.noreply.github.com>
2019-04-25 10:56:37 -07:00
Jeremy Apthorp 9c5acd11ae fix: bug with lts computation for node 10 (#59)
chained comparisons don't work in node, `a < b < c` is equivalent to `(a < b) < c`, i.e. coerce the boolean `(a < b)` to an integer (0 for false, 1 for true) and then compare that to `c`. So this `lts` test would always have been `true`, since both `0` and `1` are less than `+new Date(2020, 4, 31)`
2019-02-11 12:56:16 -08:00
Mark Lee 9e4c1a63e6 feat: add ABI number for Electron ^4.0.4 (#57)
See: https://github.com/electron/electron/pull/16687
2019-02-03 12:37:48 -08:00
Samuel Attard 458f2eb39c
feat: add support for Electron 5.0 2019-01-26 12:29:04 -08:00
Luke Vivier 7bc96648bc fix: add electron 4.0.0 (#53) 2018-12-22 16:09:20 +13:00
Ole André Vadla Ravnås 9db6bd1be9 feat: add node 11 with abi 67 (#51) 2018-11-02 10:42:45 +11:00
Samuel Attard d11b1aad31
fix: support electron 4.0.X 2018-10-02 01:35:18 +10:00
Zhenchao Li c8ac3d643d Add support for Electron 3.0.0 release 2018-09-18 17:40:25 -07:00
Lukas Geiger dd887dac18
fix: Move Node 4 to deprecated targets and update LTS schedule (#44) 2018-07-17 21:24:46 +02:00
Samuel Attard 153811ab83
fix: electron is in beta, move to future targets
also add beta tag
2018-06-22 02:13:54 +10:00
Samuel Attard f85c056d1c
fix: add electron 3.0 abi to list 2018-06-20 12:47:04 +10:00
Mark Lee 396db7f9a3 fix(electron): move Electron 2.0 to the supported list (#42) 2018-05-04 16:56:19 +02:00
Mathias Buus 09e7676d07 feat: add node 10 with abi 64 (not lts yet) 2018-04-25 11:51:40 +02:00
Jacob Quant 81f4bbc83a Add Electron 2.0.0(-beta.1) to future targets 2018-02-22 13:35:59 -06:00
greenkeeper[bot] a5f6f34d53 Update standard to the latest version 🚀 (#35)
* chore(package): update standard to version 11.0.0

* Fix indentation
2018-02-22 15:41:45 +01:00
Rodrigo Saboya 1e324fb48e feat: add support to node-webkit target. (#34)
* Adding support to node-webkit target.

* Adding tests for target sorting.

* move node-webkit to additionalTargets + export additionalTargets

* document additionalTargets
2018-01-28 17:58:42 +01:00
Lukas Geiger 47eca66d41 fix(Node): Add support for Node 9 2017-11-01 12:42:59 +01:00
Lukas Geiger d641b2b4bb Add tests for getNextTarget function 2017-09-06 02:15:28 +02:00
Lukas Geiger 88a7c9898c Throw if target isn't supported yet 2017-09-06 02:15:28 +02:00
Julian Gruber a207450c06 refactor getAbi using allTargets array 2017-09-06 02:15:28 +02:00
Julian Gruber 08e1c4f40e make targets start at earliest version with abi 2017-09-06 02:15:28 +02:00
Lukas Geiger 96e27c3b56 Add Electron 1.8.0 to supported targets
Follow up to #27
2017-09-01 13:04:05 +02:00
Jhen 7de8b6eea5 Add support for Electron 1.8 2017-09-01 12:55:59 +02:00
Magnus Skog a1e57e7c8f 🔥 remove 0.10 and 0.12 from supportedTargets 2017-07-10 19:57:22 +02:00
Lukas Geiger 33c6aba577 Add support for Node 8 (#25)
* Add support for Node 8

* Add missing comma

* Bump node 8 ABI to 57
2017-05-31 02:26:50 +02:00
Lukas Geiger 2f14d21080 Add electron 1.7.0 to supported targets 2017-05-13 02:32:10 +02:00
Samuel Attard c0512e2e2f Update index.js 2017-05-13 02:10:08 +02:00
Kirill Fomichev 06cc98069a Add standard 2017-02-27 20:28:06 +01:00
Kirill Fomichev abd24cd50a Add `futureTargets` 2017-02-27 20:16:08 +01:00
Julian Gruber 331bfb8d60 split allTargets in {supported,deprecated}Targets 2017-02-10 10:40:39 +01:00
Julian Gruber b9dd29b876 add missing abi versions to targets 2017-02-10 10:40:39 +01:00
Samuel Attard e0bcd185ee Provide a slightly more user friendly error message 2017-02-09 15:25:10 +01:00
Winsky e81f583dc7 support for electron 1.6.0 beta (#9)
* support for electron 1.6.0 beta

* fix abi version for electron 1.6.0 beta
2017-02-07 10:21:31 +01:00