mirror of
https://github.com/R0m1k3/Loki.git
synced 2026-10-21 22:18:13 +02:00
Jauge de contexte, espace disque sur partage agrégé, panneau Fichiers
Trois défauts sans rapport entre eux, tous visibles à l'écran. Jauge de contexte bloquée à « 0 / N (0 %) » : le comptage exact vient de usage.prompt_tokens (include_usage), qu'un llama-server récent a cessé de renvoyer. On note désormais si l'usage est arrivé ; sinon la fin de tour publie l'estimation qui pilote déjà la compaction — approximative, mais jamais absente. Et la souscription envoie la valeur courante juste après le rattrapage : une page rechargée affichait zéro sur une discussion pourtant pleine, faute d'événement ctx_used dans la fenêtre rejouée. Espace disque : « il ne reste que 11,9 Go » sur un partage Unraid qui en a des centaines. /mnt/user est servi par shfs, un FUSE qui agrège plusieurs disques — statfs y renvoie l'espace d'un seul, et ce chiffre REFUSAIT l'installation du modèle. Les systèmes de fichiers qui approximent (FUSE, overlay, NFS, CIFS, Ceph, Gluster) sont reconnus par leur magie : leur chiffre reste affiché, précédé d'un « ~ », mais ne bloque plus rien. Panneau Fichiers : le panneau entier défilait, emportant vers le haut l'en-tête, le fil d'Ariane et le pied (occupation disque, bouton .zip) dès qu'il y avait quelques fichiers. Seule la liste défile maintenant ; le pied reste en bas et l'état vide se centre. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
895ff92ed8
commit
b405adea6c
5118 files changed
+1264007
-23
No files matched your search
+5
@@ -0,0 +1,5 @@
|
||||
Copyright 2018 Kilian Valkhof
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
+186
@@ -0,0 +1,186 @@
|
||||
### Made by [@kilianvalkhof](https://twitter.com/kilianvalkhof)
|
||||
|
||||
#### Other projects:
|
||||
|
||||
- 💻 [Polypane](https://polypane.app) - Develop responsive websites and apps twice as fast on multiple screens at once
|
||||
- 🖌️ [Superposition](https://superposition.design) - Kickstart your design system by extracting design tokens from your website
|
||||
- 🗒️ [FromScratch](https://fromscratch.rocks) - A smart but simple autosaving scratchpad
|
||||
|
||||
---
|
||||
|
||||
# Electron-to-Chromium [](https://www.npmjs.com/package/electron-to-chromium) [](https://www.npmjs.com/package/electron-to-chromium) [](https://codecov.io/gh/Kilian/electron-to-chromium)[](https://app.fossa.io/projects/git%2Bgithub.com%2FKilian%2Felectron-to-chromium?ref=badge_shield)
|
||||
|
||||
This repository provides a mapping of Electron versions to the Chromium version that it uses.
|
||||
|
||||
This package is used in [Browserslist](https://github.com/ai/browserslist), so you can use e.g. `electron >= 1.4` in [Autoprefixer](https://github.com/postcss/autoprefixer), [Stylelint](https://github.com/stylelint/stylelint), [babel-preset-env](https://github.com/babel/babel-preset-env) and [eslint-plugin-compat](https://github.com/amilajack/eslint-plugin-compat).
|
||||
|
||||
**Supported by:**
|
||||
|
||||
<a href="https://m.do.co/c/bb22ea58e765">
|
||||
<img src="https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/SVG/DO_Logo_horizontal_blue.svg" width="201px">
|
||||
</a>
|
||||
|
||||
|
||||
## Install
|
||||
Install using `npm install electron-to-chromium`.
|
||||
|
||||
## Usage
|
||||
To include Electron-to-Chromium, require it:
|
||||
|
||||
```js
|
||||
var e2c = require('electron-to-chromium');
|
||||
```
|
||||
|
||||
### Properties
|
||||
The Electron-to-Chromium object has 4 properties to use:
|
||||
|
||||
#### `versions`
|
||||
An object of key-value pairs with a _major_ Electron version as the key, and the corresponding major Chromium version as the value.
|
||||
|
||||
```js
|
||||
var versions = e2c.versions;
|
||||
console.log(versions['1.4']);
|
||||
// returns "53"
|
||||
```
|
||||
|
||||
#### `fullVersions`
|
||||
An object of key-value pairs with a Electron version as the key, and the corresponding full Chromium version as the value.
|
||||
|
||||
```js
|
||||
var versions = e2c.fullVersions;
|
||||
console.log(versions['1.4.11']);
|
||||
// returns "53.0.2785.143"
|
||||
```
|
||||
|
||||
#### `chromiumVersions`
|
||||
An object of key-value pairs with a _major_ Chromium version as the key, and the corresponding major Electron version as the value.
|
||||
|
||||
```js
|
||||
var versions = e2c.chromiumVersions;
|
||||
console.log(versions['54']);
|
||||
// returns "1.4"
|
||||
```
|
||||
|
||||
#### `fullChromiumVersions`
|
||||
An object of key-value pairs with a Chromium version as the key, and an array of the corresponding major Electron versions as the value.
|
||||
|
||||
```js
|
||||
var versions = e2c.fullChromiumVersions;
|
||||
console.log(versions['54.0.2840.101']);
|
||||
// returns ["1.5.1", "1.5.0"]
|
||||
```
|
||||
### Functions
|
||||
|
||||
#### `electronToChromium(query)`
|
||||
Arguments:
|
||||
* Query: string or number, required. A major or full Electron version.
|
||||
|
||||
A function that returns the corresponding Chromium version for a given Electron function. Returns a string.
|
||||
|
||||
If you provide it with a major Electron version, it will return a major Chromium version:
|
||||
|
||||
```js
|
||||
var chromeVersion = e2c.electronToChromium('1.4');
|
||||
// chromeVersion is "53"
|
||||
```
|
||||
|
||||
If you provide it with a full Electron version, it will return the full Chromium version.
|
||||
|
||||
```js
|
||||
var chromeVersion = e2c.electronToChromium('1.4.11');
|
||||
// chromeVersion is "53.0.2785.143"
|
||||
```
|
||||
|
||||
If a query does not match a Chromium version, it will return `undefined`.
|
||||
|
||||
```js
|
||||
var chromeVersion = e2c.electronToChromium('9000');
|
||||
// chromeVersion is undefined
|
||||
```
|
||||
|
||||
#### `chromiumToElectron(query)`
|
||||
Arguments:
|
||||
* Query: string or number, required. A major or full Chromium version.
|
||||
|
||||
Returns a string with the corresponding Electron version for a given Chromium query.
|
||||
|
||||
If you provide it with a major Chromium version, it will return a major Electron version:
|
||||
|
||||
```js
|
||||
var electronVersion = e2c.chromiumToElectron('54');
|
||||
// electronVersion is "1.4"
|
||||
```
|
||||
|
||||
If you provide it with a full Chrome version, it will return an array of full Electron versions.
|
||||
|
||||
```js
|
||||
var electronVersions = e2c.chromiumToElectron('56.0.2924.87');
|
||||
// electronVersions is ["1.6.3", "1.6.2", "1.6.1", "1.6.0"]
|
||||
```
|
||||
|
||||
If a query does not match an Electron version, it will return `undefined`.
|
||||
|
||||
```js
|
||||
var electronVersion = e2c.chromiumToElectron('10');
|
||||
// electronVersion is undefined
|
||||
```
|
||||
|
||||
#### `electronToBrowserList(query)` **DEPRECATED**
|
||||
Arguments:
|
||||
* Query: string or number, required. A major Electron version.
|
||||
|
||||
_**Deprecated**: Browserlist already includes electron-to-chromium._
|
||||
|
||||
A function that returns a [Browserslist](https://github.com/ai/browserslist) query that matches the given major Electron version. Returns a string.
|
||||
|
||||
If you provide it with a major Electron version, it will return a Browserlist query string that matches the Chromium capabilities:
|
||||
|
||||
```js
|
||||
var query = e2c.electronToBrowserList('1.4');
|
||||
// query is "Chrome >= 53"
|
||||
```
|
||||
|
||||
If a query does not match a Chromium version, it will return `undefined`.
|
||||
|
||||
```js
|
||||
var query = e2c.electronToBrowserList('9000');
|
||||
// query is undefined
|
||||
```
|
||||
|
||||
### Importing just versions, fullVersions, chromiumVersions and fullChromiumVersions
|
||||
All lists can be imported on their own, if file size is a concern.
|
||||
|
||||
#### `versions`
|
||||
|
||||
```js
|
||||
var versions = require('electron-to-chromium/versions');
|
||||
```
|
||||
|
||||
#### `fullVersions`
|
||||
|
||||
```js
|
||||
var fullVersions = require('electron-to-chromium/full-versions');
|
||||
```
|
||||
|
||||
#### `chromiumVersions`
|
||||
|
||||
```js
|
||||
var chromiumVersions = require('electron-to-chromium/chromium-versions');
|
||||
```
|
||||
|
||||
#### `fullChromiumVersions`
|
||||
|
||||
```js
|
||||
var fullChromiumVersions = require('electron-to-chromium/full-chromium-versions');
|
||||
```
|
||||
|
||||
## Updating
|
||||
This package will be updated with each new Electron release.
|
||||
|
||||
To update the list, run `npm run build.js`. Requires internet access as it downloads from the canonical list of Electron versions.
|
||||
|
||||
To verify correct behaviour, run `npm test`.
|
||||
|
||||
|
||||
## License
|
||||
[](https://app.fossa.io/projects/git%2Bgithub.com%2FKilian%2Felectron-to-chromium?ref=badge_large)
|
||||
+89
@@ -0,0 +1,89 @@
|
||||
module.exports = {
|
||||
"39": "0.20",
|
||||
"40": "0.21",
|
||||
"41": "0.21",
|
||||
"42": "0.25",
|
||||
"43": "0.27",
|
||||
"44": "0.30",
|
||||
"45": "0.31",
|
||||
"47": "0.36",
|
||||
"49": "0.37",
|
||||
"50": "1.1",
|
||||
"51": "1.2",
|
||||
"52": "1.3",
|
||||
"53": "1.4",
|
||||
"54": "1.4",
|
||||
"56": "1.6",
|
||||
"58": "1.7",
|
||||
"59": "1.8",
|
||||
"61": "2.0",
|
||||
"66": "3.0",
|
||||
"69": "4.0",
|
||||
"72": "5.0",
|
||||
"73": "5.0",
|
||||
"76": "6.0",
|
||||
"78": "7.0",
|
||||
"79": "8.0",
|
||||
"80": "8.0",
|
||||
"82": "9.0",
|
||||
"83": "9.0",
|
||||
"84": "10.0",
|
||||
"85": "10.0",
|
||||
"86": "11.0",
|
||||
"87": "11.0",
|
||||
"89": "12.0",
|
||||
"90": "13.0",
|
||||
"91": "13.0",
|
||||
"92": "14.0",
|
||||
"93": "14.0",
|
||||
"94": "15.0",
|
||||
"95": "16.0",
|
||||
"96": "16.0",
|
||||
"98": "17.0",
|
||||
"99": "18.0",
|
||||
"100": "18.0",
|
||||
"102": "19.0",
|
||||
"103": "20.0",
|
||||
"104": "20.0",
|
||||
"105": "21.0",
|
||||
"106": "21.0",
|
||||
"107": "22.0",
|
||||
"108": "22.0",
|
||||
"110": "23.0",
|
||||
"111": "24.0",
|
||||
"112": "24.0",
|
||||
"114": "25.0",
|
||||
"116": "26.0",
|
||||
"118": "27.0",
|
||||
"119": "28.0",
|
||||
"120": "28.0",
|
||||
"121": "29.0",
|
||||
"122": "29.0",
|
||||
"123": "30.0",
|
||||
"124": "30.0",
|
||||
"125": "31.0",
|
||||
"126": "31.0",
|
||||
"127": "32.0",
|
||||
"128": "32.0",
|
||||
"129": "33.0",
|
||||
"130": "33.0",
|
||||
"131": "34.0",
|
||||
"132": "34.0",
|
||||
"133": "35.0",
|
||||
"134": "35.0",
|
||||
"135": "36.0",
|
||||
"136": "36.0",
|
||||
"137": "37.0",
|
||||
"138": "37.0",
|
||||
"139": "38.0",
|
||||
"140": "38.0",
|
||||
"141": "39.0",
|
||||
"142": "39.0",
|
||||
"143": "40.0",
|
||||
"144": "40.0",
|
||||
"146": "41.0",
|
||||
"147": "42.0",
|
||||
"148": "42.0",
|
||||
"149": "43.0",
|
||||
"150": "43.0"
|
||||
};
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"39":"0.20","40":"0.21","41":"0.21","42":"0.25","43":"0.27","44":"0.30","45":"0.31","47":"0.36","49":"0.37","50":"1.1","51":"1.2","52":"1.3","53":"1.4","54":"1.4","56":"1.6","58":"1.7","59":"1.8","61":"2.0","66":"3.0","69":"4.0","72":"5.0","73":"5.0","76":"6.0","78":"7.0","79":"8.0","80":"8.0","82":"9.0","83":"9.0","84":"10.0","85":"10.0","86":"11.0","87":"11.0","89":"12.0","90":"13.0","91":"13.0","92":"14.0","93":"14.0","94":"15.0","95":"16.0","96":"16.0","98":"17.0","99":"18.0","100":"18.0","102":"19.0","103":"20.0","104":"20.0","105":"21.0","106":"21.0","107":"22.0","108":"22.0","110":"23.0","111":"24.0","112":"24.0","114":"25.0","116":"26.0","118":"27.0","119":"28.0","120":"28.0","121":"29.0","122":"29.0","123":"30.0","124":"30.0","125":"31.0","126":"31.0","127":"32.0","128":"32.0","129":"33.0","130":"33.0","131":"34.0","132":"34.0","133":"35.0","134":"35.0","135":"36.0","136":"36.0","137":"37.0","138":"37.0","139":"38.0","140":"38.0","141":"39.0","142":"39.0","143":"40.0","144":"40.0","146":"41.0","147":"42.0","148":"42.0","149":"43.0","150":"43.0"}
|
||||
+2863
File diff suppressed because it is too large.
Load diff
+1
@@ -0,0 +1 @@
|
||||
{"39.0.2171.65":["0.20.0","0.20.1","0.20.2","0.20.3","0.20.4","0.20.5","0.20.6","0.20.7","0.20.8"],"40.0.2214.91":["0.21.0","0.21.1","0.21.2"],"41.0.2272.76":["0.21.3","0.22.1","0.22.2","0.22.3","0.23.0","0.24.0"],"42.0.2311.107":["0.25.0","0.25.1","0.25.2","0.25.3","0.26.0","0.26.1","0.27.0","0.27.1"],"43.0.2357.65":["0.27.2","0.27.3","0.28.0","0.28.1","0.28.2","0.28.3","0.29.1","0.29.2"],"44.0.2403.125":["0.30.4","0.31.0"],"45.0.2454.85":["0.31.2","0.32.2","0.32.3","0.33.0","0.33.1","0.33.2","0.33.3","0.33.4","0.33.6","0.33.7","0.33.8","0.33.9","0.34.0","0.34.1","0.34.2","0.34.3","0.34.4","0.35.1","0.35.2","0.35.3","0.35.4","0.35.5"],"47.0.2526.73":["0.36.0","0.36.2","0.36.3","0.36.4"],"47.0.2526.110":["0.36.5","0.36.6","0.36.7","0.36.8","0.36.9","0.36.10","0.36.11","0.36.12"],"49.0.2623.75":["0.37.0","0.37.1","0.37.3","0.37.4","0.37.5","0.37.6","0.37.7","0.37.8","1.0.0","1.0.1","1.0.2"],"50.0.2661.102":["1.1.0","1.1.1","1.1.2","1.1.3"],"51.0.2704.63":["1.2.0","1.2.1"],"51.0.2704.84":["1.2.2","1.2.3"],"51.0.2704.103":["1.2.4","1.2.5"],"51.0.2704.106":["1.2.6","1.2.7","1.2.8"],"52.0.2743.82":["1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.9","1.3.10","1.3.13","1.3.14","1.3.15"],"53.0.2785.113":["1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5"],"53.0.2785.143":["1.4.6","1.4.7","1.4.8","1.4.10","1.4.11","1.4.13","1.4.14","1.4.15","1.4.16"],"54.0.2840.51":["1.4.12"],"54.0.2840.101":["1.5.0","1.5.1"],"56.0.2924.87":["1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9","1.6.10","1.6.11","1.6.12","1.6.13","1.6.14","1.6.15","1.6.16","1.6.17","1.6.18"],"58.0.3029.110":["1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","1.7.9","1.7.10","1.7.11","1.7.12","1.7.13","1.7.14","1.7.15","1.7.16"],"59.0.3071.115":["1.8.0","1.8.1","1.8.2-beta.1","1.8.2-beta.2","1.8.2-beta.3","1.8.2-beta.4","1.8.2-beta.5","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.8.7","1.8.8"],"61.0.3163.100":["2.0.0-beta.1","2.0.0-beta.2","2.0.0-beta.3","2.0.0-beta.4","2.0.0-beta.5","2.0.0-beta.6","2.0.0-beta.7","2.0.0-beta.8","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.0.10","2.0.11","2.0.12","2.0.13","2.0.14","2.0.15","2.0.16","2.0.17","2.0.18","2.1.0-unsupported.20180809"],"66.0.3359.181":["3.0.0-beta.1","3.0.0-beta.2","3.0.0-beta.3","3.0.0-beta.4","3.0.0-beta.5","3.0.0-beta.6","3.0.0-beta.7","3.0.0-beta.8","3.0.0-beta.9","3.0.0-beta.10","3.0.0-beta.11","3.0.0-beta.12","3.0.0-beta.13","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.0.10","3.0.11","3.0.12","3.0.13","3.0.14","3.0.15","3.0.16","3.1.0-beta.1","3.1.0-beta.2","3.1.0-beta.3","3.1.0-beta.4","3.1.0-beta.5","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9","3.1.10","3.1.11","3.1.12","3.1.13"],"69.0.3497.106":["4.0.0-beta.1","4.0.0-beta.2","4.0.0-beta.3","4.0.0-beta.4","4.0.0-beta.5","4.0.0-beta.6","4.0.0-beta.7","4.0.0-beta.8","4.0.0-beta.9","4.0.0-beta.10","4.0.0-beta.11","4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6"],"69.0.3497.128":["4.0.7","4.0.8","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.2.0","4.2.1","4.2.2","4.2.3","4.2.4","4.2.5","4.2.6","4.2.7","4.2.8","4.2.9","4.2.10","4.2.11","4.2.12"],"72.0.3626.52":["5.0.0-beta.1","5.0.0-beta.2"],"73.0.3683.27":["5.0.0-beta.3"],"73.0.3683.54":["5.0.0-beta.4"],"73.0.3683.61":["5.0.0-beta.5"],"73.0.3683.84":["5.0.0-beta.6"],"73.0.3683.94":["5.0.0-beta.7"],"73.0.3683.104":["5.0.0-beta.8"],"73.0.3683.117":["5.0.0-beta.9"],"73.0.3683.119":["5.0.0"],"73.0.3683.121":["5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8","5.0.9","5.0.10","5.0.11","5.0.12","5.0.13"],"76.0.3774.1":["6.0.0-beta.1"],"76.0.3783.1":["6.0.0-beta.2","6.0.0-beta.3","6.0.0-beta.4"],"76.0.3805.4":["6.0.0-beta.5"],"76.0.3809.3":["6.0.0-beta.6"],"76.0.3809.22":["6.0.0-beta.7"],"76.0.3809.26":["6.0.0-beta.8","6.0.0-beta.9"],"76.0.3809.37":["6.0.0-beta.10"],"76.0.3809.42":["6.0.0-beta.11"],"76.0.3809.54":["6.0.0-beta.12"],"76.0.3809.60":["6.0.0-beta.13"],"76.0.3809.68":["6.0.0-beta.14"],"76.0.3809.74":["6.0.0-beta.15"],"76.0.3809.88":["6.0.0"],"76.0.3809.102":["6.0.1"],"76.0.3809.110":["6.0.2"],"76.0.3809.126":["6.0.3"],"76.0.3809.131":["6.0.4"],"76.0.3809.136":["6.0.5"],"76.0.3809.138":["6.0.6"],"76.0.3809.139":["6.0.7"],"76.0.3809.146":["6.0.8","6.0.9","6.0.10","6.0.11","6.0.12","6.1.0","6.1.1","6.1.2","6.1.3","6.1.4","6.1.5","6.1.6","6.1.7","6.1.8","6.1.9","6.1.10","6.1.11","6.1.12"],"78.0.3866.0":["7.0.0-beta.1","7.0.0-beta.2","7.0.0-beta.3"],"78.0.3896.6":["7.0.0-beta.4"],"78.0.3905.1":["7.0.0-beta.5","7.0.0-beta.6","7.0.0-beta.7","7.0.0"],"78.0.3904.92":["7.0.1"],"78.0.3904.94":["7.1.0"],"78.0.3904.99":["7.1.1"],"78.0.3904.113":["7.1.2"],"78.0.3904.126":["7.1.3"],"78.0.3904.130":["7.1.4","7.1.5","7.1.6","7.1.7","7.1.8","7.1.9","7.1.10","7.1.11","7.1.12","7.1.13","7.1.14","7.2.0","7.2.1","7.2.2","7.2.3","7.2.4","7.3.0","7.3.1","7.3.2","7.3.3"],"79.0.3931.0":["8.0.0-beta.1","8.0.0-beta.Line truncated
|
||||
+1819
File diff suppressed because it is too large.
Load diff
+1
@@ -0,0 +1 @@
|
||||
{"0.20.0":"39.0.2171.65","0.20.1":"39.0.2171.65","0.20.2":"39.0.2171.65","0.20.3":"39.0.2171.65","0.20.4":"39.0.2171.65","0.20.5":"39.0.2171.65","0.20.6":"39.0.2171.65","0.20.7":"39.0.2171.65","0.20.8":"39.0.2171.65","0.21.0":"40.0.2214.91","0.21.1":"40.0.2214.91","0.21.2":"40.0.2214.91","0.21.3":"41.0.2272.76","0.22.1":"41.0.2272.76","0.22.2":"41.0.2272.76","0.22.3":"41.0.2272.76","0.23.0":"41.0.2272.76","0.24.0":"41.0.2272.76","0.25.0":"42.0.2311.107","0.25.1":"42.0.2311.107","0.25.2":"42.0.2311.107","0.25.3":"42.0.2311.107","0.26.0":"42.0.2311.107","0.26.1":"42.0.2311.107","0.27.0":"42.0.2311.107","0.27.1":"42.0.2311.107","0.27.2":"43.0.2357.65","0.27.3":"43.0.2357.65","0.28.0":"43.0.2357.65","0.28.1":"43.0.2357.65","0.28.2":"43.0.2357.65","0.28.3":"43.0.2357.65","0.29.1":"43.0.2357.65","0.29.2":"43.0.2357.65","0.30.4":"44.0.2403.125","0.31.0":"44.0.2403.125","0.31.2":"45.0.2454.85","0.32.2":"45.0.2454.85","0.32.3":"45.0.2454.85","0.33.0":"45.0.2454.85","0.33.1":"45.0.2454.85","0.33.2":"45.0.2454.85","0.33.3":"45.0.2454.85","0.33.4":"45.0.2454.85","0.33.6":"45.0.2454.85","0.33.7":"45.0.2454.85","0.33.8":"45.0.2454.85","0.33.9":"45.0.2454.85","0.34.0":"45.0.2454.85","0.34.1":"45.0.2454.85","0.34.2":"45.0.2454.85","0.34.3":"45.0.2454.85","0.34.4":"45.0.2454.85","0.35.1":"45.0.2454.85","0.35.2":"45.0.2454.85","0.35.3":"45.0.2454.85","0.35.4":"45.0.2454.85","0.35.5":"45.0.2454.85","0.36.0":"47.0.2526.73","0.36.2":"47.0.2526.73","0.36.3":"47.0.2526.73","0.36.4":"47.0.2526.73","0.36.5":"47.0.2526.110","0.36.6":"47.0.2526.110","0.36.7":"47.0.2526.110","0.36.8":"47.0.2526.110","0.36.9":"47.0.2526.110","0.36.10":"47.0.2526.110","0.36.11":"47.0.2526.110","0.36.12":"47.0.2526.110","0.37.0":"49.0.2623.75","0.37.1":"49.0.2623.75","0.37.3":"49.0.2623.75","0.37.4":"49.0.2623.75","0.37.5":"49.0.2623.75","0.37.6":"49.0.2623.75","0.37.7":"49.0.2623.75","0.37.8":"49.0.2623.75","1.0.0":"49.0.2623.75","1.0.1":"49.0.2623.75","1.0.2":"49.0.2623.75","1.1.0":"50.0.2661.102","1.1.1":"50.0.2661.102","1.1.2":"50.0.2661.102","1.1.3":"50.0.2661.102","1.2.0":"51.0.2704.63","1.2.1":"51.0.2704.63","1.2.2":"51.0.2704.84","1.2.3":"51.0.2704.84","1.2.4":"51.0.2704.103","1.2.5":"51.0.2704.103","1.2.6":"51.0.2704.106","1.2.7":"51.0.2704.106","1.2.8":"51.0.2704.106","1.3.0":"52.0.2743.82","1.3.1":"52.0.2743.82","1.3.2":"52.0.2743.82","1.3.3":"52.0.2743.82","1.3.4":"52.0.2743.82","1.3.5":"52.0.2743.82","1.3.6":"52.0.2743.82","1.3.7":"52.0.2743.82","1.3.9":"52.0.2743.82","1.3.10":"52.0.2743.82","1.3.13":"52.0.2743.82","1.3.14":"52.0.2743.82","1.3.15":"52.0.2743.82","1.4.0":"53.0.2785.113","1.4.1":"53.0.2785.113","1.4.2":"53.0.2785.113","1.4.3":"53.0.2785.113","1.4.4":"53.0.2785.113","1.4.5":"53.0.2785.113","1.4.6":"53.0.2785.143","1.4.7":"53.0.2785.143","1.4.8":"53.0.2785.143","1.4.10":"53.0.2785.143","1.4.11":"53.0.2785.143","1.4.12":"54.0.2840.51","1.4.13":"53.0.2785.143","1.4.14":"53.0.2785.143","1.4.15":"53.0.2785.143","1.4.16":"53.0.2785.143","1.5.0":"54.0.2840.101","1.5.1":"54.0.2840.101","1.6.0":"56.0.2924.87","1.6.1":"56.0.2924.87","1.6.2":"56.0.2924.87","1.6.3":"56.0.2924.87","1.6.4":"56.0.2924.87","1.6.5":"56.0.2924.87","1.6.6":"56.0.2924.87","1.6.7":"56.0.2924.87","1.6.8":"56.0.2924.87","1.6.9":"56.0.2924.87","1.6.10":"56.0.2924.87","1.6.11":"56.0.2924.87","1.6.12":"56.0.2924.87","1.6.13":"56.0.2924.87","1.6.14":"56.0.2924.87","1.6.15":"56.0.2924.87","1.6.16":"56.0.2924.87","1.6.17":"56.0.2924.87","1.6.18":"56.0.2924.87","1.7.0":"58.0.3029.110","1.7.1":"58.0.3029.110","1.7.2":"58.0.3029.110","1.7.3":"58.0.3029.110","1.7.4":"58.0.3029.110","1.7.5":"58.0.3029.110","1.7.6":"58.0.3029.110","1.7.7":"58.0.3029.110","1.7.8":"58.0.3029.110","1.7.9":"58.0.3029.110","1.7.10":"58.0.3029.110","1.7.11":"58.0.3029.110","1.7.12":"58.0.3029.110","1.7.13":"58.0.3029.110","1.7.14":"58.0.3029.110","1.7.15":"58.0.3029.110","1.7.16":"58.0.3029.110","1.8.0":"59.0.3071.115","1.8.1":"59.0.3071.115","1.8.2-beta.1":"59.0.3071.115","1.8.2-beta.2":"59.0.3071.115","1.8.2-beta.3":"59.0.3071.115","1.8.2-beta.4":"59.0.3071.115","1.8.2-beta.5":"59.0.3071.115","1.8.2":"59.0.3071.115","1.8.3":"59.0.3071.115","1.8.4":"59.0.3071.115","1.8.5":"59.0.3071.115","1.8.6":"59.0.3071.115","1.8.7":"59.0.3071.115","1.8.8":"59.0.3071.115","2.0.0-beta.1":"61.0.3163.100","2.0.0-beta.2":"61.0.3163.100","2.0.0-beta.3":"61.0.3163.100","2.0.0-beta.4":"61.0.3163.100","2.0.0-beta.5":"61.0.3163.100","2.0.0-beta.6":"61.0.3163.100","2.0.0-beta.7":"61.0.3163.100","2.0.0-beta.8":"61.0.3163.100","2.0.0":"61.0.3163.100","2.0.1":"61.0.3163.100","2.0.2":"61.0.3163.100","2.0.3":"61.0.3163.100","2.0.4":"61.0.3163.100","2.0.5":"61.0.3163.100","2.0.6":"61.0.3163.100","2.0.7":"61.0.3163.100","2.0.8":"61.0.3163.100","2.0.9":"61.0.3163.100","2.0.10":"61.0.3163.100","2.0.11":"61.0.3163.100","2.0.12":"61.0.3163.100","2.0.13":"61.0.3163.100","2.0.14":"61.0.3163.100","2.0.15":"61.0.3163.100","2.0.16":"61.0.3163.100","2.0.17":"61.0.3163.100","2.0.18":"61.0.3163.100","2.1.0-unsupported.20180809":"61.0.3163.10Line truncated
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
var versions = require('./versions');
|
||||
var fullVersions = require('./full-versions');
|
||||
var chromiumVersions = require('./chromium-versions');
|
||||
var fullChromiumVersions = require('./full-chromium-versions');
|
||||
|
||||
var electronToChromium = function (query) {
|
||||
var number = getQueryString(query);
|
||||
return number.split('.').length > 2 ? fullVersions[number] : versions[number] || undefined;
|
||||
};
|
||||
|
||||
var chromiumToElectron = function (query) {
|
||||
var number = getQueryString(query);
|
||||
return number.split('.').length > 2 ? fullChromiumVersions[number] : chromiumVersions[number] || undefined;
|
||||
};
|
||||
|
||||
var electronToBrowserList = function (query) {
|
||||
var number = getQueryString(query);
|
||||
return versions[number] ? "Chrome >= " + versions[number] : undefined;
|
||||
};
|
||||
|
||||
var getQueryString = function (query) {
|
||||
var number = query;
|
||||
if (query === 1) { number = "1.0" }
|
||||
if (typeof query === 'number') { number += ''; }
|
||||
return number;
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
versions: versions,
|
||||
fullVersions: fullVersions,
|
||||
chromiumVersions: chromiumVersions,
|
||||
fullChromiumVersions: fullChromiumVersions,
|
||||
electronToChromium: electronToChromium,
|
||||
electronToBrowserList: electronToBrowserList,
|
||||
chromiumToElectron: chromiumToElectron
|
||||
};
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"name": "electron-to-chromium",
|
||||
"version": "1.5.381",
|
||||
"description": "Provides a list of electron-to-chromium version mappings",
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
"versions.js",
|
||||
"full-versions.js",
|
||||
"chromium-versions.js",
|
||||
"full-chromium-versions.js",
|
||||
"versions.json",
|
||||
"full-versions.json",
|
||||
"chromium-versions.json",
|
||||
"full-chromium-versions.json",
|
||||
"LICENSE"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "node build.mjs",
|
||||
"update": "node automated-update.js",
|
||||
"test": "nyc ava --verbose",
|
||||
"report": "nyc report --reporter=text-lcov > coverage.lcov"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/Kilian/electron-to-chromium.git"
|
||||
},
|
||||
"keywords": [
|
||||
"electron",
|
||||
"chrome",
|
||||
"chromium",
|
||||
"browserslist",
|
||||
"browserlist"
|
||||
],
|
||||
"author": "Kilian Valkhof",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"ava": "^7.0.0",
|
||||
"compare-versions": "^6.1.1",
|
||||
"node-fetch": "^3.3.2",
|
||||
"nyc": "^18.0.0",
|
||||
"shelljs": "^0.10.0"
|
||||
}
|
||||
}
|
||||
+258
@@ -0,0 +1,258 @@
|
||||
module.exports = {
|
||||
"0.20": "39",
|
||||
"0.21": "41",
|
||||
"0.22": "41",
|
||||
"0.23": "41",
|
||||
"0.24": "41",
|
||||
"0.25": "42",
|
||||
"0.26": "42",
|
||||
"0.27": "43",
|
||||
"0.28": "43",
|
||||
"0.29": "43",
|
||||
"0.30": "44",
|
||||
"0.31": "45",
|
||||
"0.32": "45",
|
||||
"0.33": "45",
|
||||
"0.34": "45",
|
||||
"0.35": "45",
|
||||
"0.36": "47",
|
||||
"0.37": "49",
|
||||
"1.0": "49",
|
||||
"1.1": "50",
|
||||
"1.2": "51",
|
||||
"1.3": "52",
|
||||
"1.4": "53",
|
||||
"1.5": "54",
|
||||
"1.6": "56",
|
||||
"1.7": "58",
|
||||
"1.8": "59",
|
||||
"2.0": "61",
|
||||
"2.1": "61",
|
||||
"3.0": "66",
|
||||
"3.1": "66",
|
||||
"4.0": "69",
|
||||
"4.1": "69",
|
||||
"4.2": "69",
|
||||
"5.0": "73",
|
||||
"6.0": "76",
|
||||
"6.1": "76",
|
||||
"7.0": "78",
|
||||
"7.1": "78",
|
||||
"7.2": "78",
|
||||
"7.3": "78",
|
||||
"8.0": "80",
|
||||
"8.1": "80",
|
||||
"8.2": "80",
|
||||
"8.3": "80",
|
||||
"8.4": "80",
|
||||
"8.5": "80",
|
||||
"9.0": "83",
|
||||
"9.1": "83",
|
||||
"9.2": "83",
|
||||
"9.3": "83",
|
||||
"9.4": "83",
|
||||
"10.0": "85",
|
||||
"10.1": "85",
|
||||
"10.2": "85",
|
||||
"10.3": "85",
|
||||
"10.4": "85",
|
||||
"11.0": "87",
|
||||
"11.1": "87",
|
||||
"11.2": "87",
|
||||
"11.3": "87",
|
||||
"11.4": "87",
|
||||
"11.5": "87",
|
||||
"12.0": "89",
|
||||
"12.1": "89",
|
||||
"12.2": "89",
|
||||
"13.0": "91",
|
||||
"13.1": "91",
|
||||
"13.2": "91",
|
||||
"13.3": "91",
|
||||
"13.4": "91",
|
||||
"13.5": "91",
|
||||
"13.6": "91",
|
||||
"14.0": "93",
|
||||
"14.1": "93",
|
||||
"14.2": "93",
|
||||
"15.0": "94",
|
||||
"15.1": "94",
|
||||
"15.2": "94",
|
||||
"15.3": "94",
|
||||
"15.4": "94",
|
||||
"15.5": "94",
|
||||
"16.0": "96",
|
||||
"16.1": "96",
|
||||
"16.2": "96",
|
||||
"17.0": "98",
|
||||
"17.1": "98",
|
||||
"17.2": "98",
|
||||
"17.3": "98",
|
||||
"17.4": "98",
|
||||
"18.0": "100",
|
||||
"18.1": "100",
|
||||
"18.2": "100",
|
||||
"18.3": "100",
|
||||
"19.0": "102",
|
||||
"19.1": "102",
|
||||
"20.0": "104",
|
||||
"20.1": "104",
|
||||
"20.2": "104",
|
||||
"20.3": "104",
|
||||
"21.0": "106",
|
||||
"21.1": "106",
|
||||
"21.2": "106",
|
||||
"21.3": "106",
|
||||
"21.4": "106",
|
||||
"22.0": "108",
|
||||
"22.1": "108",
|
||||
"22.2": "108",
|
||||
"22.3": "108",
|
||||
"23.0": "110",
|
||||
"23.1": "110",
|
||||
"23.2": "110",
|
||||
"23.3": "110",
|
||||
"24.0": "112",
|
||||
"24.1": "112",
|
||||
"24.2": "112",
|
||||
"24.3": "112",
|
||||
"24.4": "112",
|
||||
"24.5": "112",
|
||||
"24.6": "112",
|
||||
"24.7": "112",
|
||||
"24.8": "112",
|
||||
"25.0": "114",
|
||||
"25.1": "114",
|
||||
"25.2": "114",
|
||||
"25.3": "114",
|
||||
"25.4": "114",
|
||||
"25.5": "114",
|
||||
"25.6": "114",
|
||||
"25.7": "114",
|
||||
"25.8": "114",
|
||||
"25.9": "114",
|
||||
"26.0": "116",
|
||||
"26.1": "116",
|
||||
"26.2": "116",
|
||||
"26.3": "116",
|
||||
"26.4": "116",
|
||||
"26.5": "116",
|
||||
"26.6": "116",
|
||||
"27.0": "118",
|
||||
"27.1": "118",
|
||||
"27.2": "118",
|
||||
"27.3": "118",
|
||||
"28.0": "120",
|
||||
"28.1": "120",
|
||||
"28.2": "120",
|
||||
"28.3": "120",
|
||||
"29.0": "122",
|
||||
"29.1": "122",
|
||||
"29.2": "122",
|
||||
"29.3": "122",
|
||||
"29.4": "122",
|
||||
"30.0": "124",
|
||||
"30.1": "124",
|
||||
"30.2": "124",
|
||||
"30.3": "124",
|
||||
"30.4": "124",
|
||||
"30.5": "124",
|
||||
"31.0": "126",
|
||||
"31.1": "126",
|
||||
"31.2": "126",
|
||||
"31.3": "126",
|
||||
"31.4": "126",
|
||||
"31.5": "126",
|
||||
"31.6": "126",
|
||||
"31.7": "126",
|
||||
"32.0": "128",
|
||||
"32.1": "128",
|
||||
"32.2": "128",
|
||||
"32.3": "128",
|
||||
"33.0": "130",
|
||||
"33.1": "130",
|
||||
"33.2": "130",
|
||||
"33.3": "130",
|
||||
"33.4": "130",
|
||||
"34.0": "132",
|
||||
"34.1": "132",
|
||||
"34.2": "132",
|
||||
"34.3": "132",
|
||||
"34.4": "132",
|
||||
"34.5": "132",
|
||||
"35.0": "134",
|
||||
"35.1": "134",
|
||||
"35.2": "134",
|
||||
"35.3": "134",
|
||||
"35.4": "134",
|
||||
"35.5": "134",
|
||||
"35.6": "134",
|
||||
"35.7": "134",
|
||||
"36.0": "136",
|
||||
"36.1": "136",
|
||||
"36.2": "136",
|
||||
"36.3": "136",
|
||||
"36.4": "136",
|
||||
"36.5": "136",
|
||||
"36.6": "136",
|
||||
"36.7": "136",
|
||||
"36.8": "136",
|
||||
"36.9": "136",
|
||||
"37.0": "138",
|
||||
"37.1": "138",
|
||||
"37.2": "138",
|
||||
"37.3": "138",
|
||||
"37.4": "138",
|
||||
"37.5": "138",
|
||||
"37.6": "138",
|
||||
"37.7": "138",
|
||||
"37.8": "138",
|
||||
"37.9": "138",
|
||||
"37.10": "138",
|
||||
"38.0": "140",
|
||||
"38.1": "140",
|
||||
"38.2": "140",
|
||||
"38.3": "140",
|
||||
"38.4": "140",
|
||||
"38.5": "140",
|
||||
"38.6": "140",
|
||||
"38.7": "140",
|
||||
"38.8": "140",
|
||||
"39.0": "142",
|
||||
"39.1": "142",
|
||||
"39.2": "142",
|
||||
"39.3": "142",
|
||||
"39.4": "142",
|
||||
"39.5": "142",
|
||||
"39.6": "142",
|
||||
"39.7": "142",
|
||||
"39.8": "142",
|
||||
"40.0": "144",
|
||||
"40.1": "144",
|
||||
"40.2": "144",
|
||||
"40.3": "144",
|
||||
"40.4": "144",
|
||||
"40.5": "144",
|
||||
"40.6": "144",
|
||||
"40.7": "144",
|
||||
"40.8": "144",
|
||||
"40.9": "144",
|
||||
"40.10": "144",
|
||||
"41.0": "146",
|
||||
"41.1": "146",
|
||||
"41.2": "146",
|
||||
"41.3": "146",
|
||||
"41.4": "146",
|
||||
"41.5": "146",
|
||||
"41.6": "146",
|
||||
"41.7": "146",
|
||||
"41.8": "146",
|
||||
"41.9": "146",
|
||||
"42.0": "148",
|
||||
"42.1": "148",
|
||||
"42.2": "148",
|
||||
"42.3": "148",
|
||||
"42.4": "148",
|
||||
"42.5": "148",
|
||||
"43.0": "150"
|
||||
};
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"0.20":"39","0.21":"41","0.22":"41","0.23":"41","0.24":"41","0.25":"42","0.26":"42","0.27":"43","0.28":"43","0.29":"43","0.30":"44","0.31":"45","0.32":"45","0.33":"45","0.34":"45","0.35":"45","0.36":"47","0.37":"49","1.0":"49","1.1":"50","1.2":"51","1.3":"52","1.4":"53","1.5":"54","1.6":"56","1.7":"58","1.8":"59","2.0":"61","2.1":"61","3.0":"66","3.1":"66","4.0":"69","4.1":"69","4.2":"69","5.0":"73","6.0":"76","6.1":"76","7.0":"78","7.1":"78","7.2":"78","7.3":"78","8.0":"80","8.1":"80","8.2":"80","8.3":"80","8.4":"80","8.5":"80","9.0":"83","9.1":"83","9.2":"83","9.3":"83","9.4":"83","10.0":"85","10.1":"85","10.2":"85","10.3":"85","10.4":"85","11.0":"87","11.1":"87","11.2":"87","11.3":"87","11.4":"87","11.5":"87","12.0":"89","12.1":"89","12.2":"89","13.0":"91","13.1":"91","13.2":"91","13.3":"91","13.4":"91","13.5":"91","13.6":"91","14.0":"93","14.1":"93","14.2":"93","15.0":"94","15.1":"94","15.2":"94","15.3":"94","15.4":"94","15.5":"94","16.0":"96","16.1":"96","16.2":"96","17.0":"98","17.1":"98","17.2":"98","17.3":"98","17.4":"98","18.0":"100","18.1":"100","18.2":"100","18.3":"100","19.0":"102","19.1":"102","20.0":"104","20.1":"104","20.2":"104","20.3":"104","21.0":"106","21.1":"106","21.2":"106","21.3":"106","21.4":"106","22.0":"108","22.1":"108","22.2":"108","22.3":"108","23.0":"110","23.1":"110","23.2":"110","23.3":"110","24.0":"112","24.1":"112","24.2":"112","24.3":"112","24.4":"112","24.5":"112","24.6":"112","24.7":"112","24.8":"112","25.0":"114","25.1":"114","25.2":"114","25.3":"114","25.4":"114","25.5":"114","25.6":"114","25.7":"114","25.8":"114","25.9":"114","26.0":"116","26.1":"116","26.2":"116","26.3":"116","26.4":"116","26.5":"116","26.6":"116","27.0":"118","27.1":"118","27.2":"118","27.3":"118","28.0":"120","28.1":"120","28.2":"120","28.3":"120","29.0":"122","29.1":"122","29.2":"122","29.3":"122","29.4":"122","30.0":"124","30.1":"124","30.2":"124","30.3":"124","30.4":"124","30.5":"124","31.0":"126","31.1":"126","31.2":"126","31.3":"126","31.4":"126","31.5":"126","31.6":"126","31.7":"126","32.0":"128","32.1":"128","32.2":"128","32.3":"128","33.0":"130","33.1":"130","33.2":"130","33.3":"130","33.4":"130","34.0":"132","34.1":"132","34.2":"132","34.3":"132","34.4":"132","34.5":"132","35.0":"134","35.1":"134","35.2":"134","35.3":"134","35.4":"134","35.5":"134","35.6":"134","35.7":"134","36.0":"136","36.1":"136","36.2":"136","36.3":"136","36.4":"136","36.5":"136","36.6":"136","36.7":"136","36.8":"136","36.9":"136","37.0":"138","37.1":"138","37.2":"138","37.3":"138","37.4":"138","37.5":"138","37.6":"138","37.7":"138","37.8":"138","37.9":"138","37.10":"138","38.0":"140","38.1":"140","38.2":"140","38.3":"140","38.4":"140","38.5":"140","38.6":"140","38.7":"140","38.8":"140","39.0":"142","39.1":"142","39.2":"142","39.3":"142","39.4":"142","39.5":"142","39.6":"142","39.7":"142","39.8":"142","40.0":"144","40.1":"144","40.2":"144","40.3":"144","40.4":"144","40.5":"144","40.6":"144","40.7":"144","40.8":"144","40.9":"144","40.10":"144","41.0":"146","41.1":"146","41.2":"146","41.3":"146","41.4":"146","41.5":"146","41.6":"146","41.7":"146","41.8":"146","41.9":"146","42.0":"148","42.1":"148","42.2":"148","42.3":"148","42.4":"148","42.5":"148","43.0":"150"}
|
||||
Reference in new issue
Block a user