ey right age">hace 1 año 3394_vm 058f31828c first commit hace 1 año 3395 058f31828c first commit hace 1 año 3429 058f31828c first commit hace 1 año 3430 058f31828c first commit hace 1 año 3431 058f31828c first commit hace 1 año 3433 058f31828c first commit hace 1 año 3439 058f31828c first commit hace 1 año 3440 058f31828c first commit hace 1 año 3455 058f31828c first commit hace 1 año 3456 058f31828c first commit hace 1 año 3456_fsm 058f31828c first commit hace 1 año 3456_vm 058f31828c first commit hace 1 año 3466 058f31828c first commit hace 1 año 3467 058f31828c first commit hace 1 año 3468 058f31828c first commit hace 1 año 3501 058f31828c first commit hace 1 año 3502 058f31828c first commit hace 1 año 3503 058f31828c first commit hace 1 año 3534 058f31828c first commit hace 1 año 3541 058f31828c first commit hace 1 año 3541_fsm 058f31828c first commit hace 1 año 3541_vm 058f31828c first commit hace 1 año 3542 058f31828c first commit hace 1 año 3574 058f31828c first commit hace 1 año 3575 058f31828c first commit hace 1 año 3576 058f31828c first commit hace 1 año 3596 058f31828c first commit hace 1 año 3597 058f31828c first commit hace 1 año 3598 058f31828c first commit hace 1 año 3599 058f31828c first commit hace 1 año 3600 058f31828c first commit hace 1 año 3600_fsm 058f31828c first commit hace 1 año 3600_vm 058f31828c first commit hace 1 año 3601 058f31828c first commit hace 1 año 3601_fsm 058f31828c first commit hace 1 año 3601_vm 058f31828c first commit hace 1 año 3602 058f31828c first commit hace 1 año 3602_fsm 058f31828c first commit hace 1 año 3602_vm 058f31828c first commit hace 1 año 3603 058f31828c first commit hace 1 año 3603_fsm 058f31828c first commit hace 1 año 3603_vm 058f31828c first commit hace 1 año 3604 058f31828c first commit hace 1 año 3605 058f31828c first commit hace 1 año 3606 058f31828c first commit hace 1 año 3607 058f31828c first commit hace 1 año 3608 058f31828c first commit hace 1 año 3609 058f31828c first commit hace 1 año 3712 058f31828c first commit hace 1 año 3764 058f31828c first commit hace 1 año 3764_fsm 058f31828c first commit hace 1 año 3764_vm 058f31828c first commit hace 1 año 3766 058f31828c first commit hace 1 año 3767 058f31828c first commit hace 1 año 3997 058f31828c first commit hace 1 año 4143 058f31828c first commit hace 1 año 4144 058f31828c first commit hace 1 año 4145 058f31828c first commit hace 1 año 4146 058f31828c first commit hace 1 año 4147 058f31828c first commit hace 1 año 4148 058f31828c first commit hace 1 año 4149 058f31828c first commit hace 1 año 4150 058f31828c first commit hace 1 año 4151 058f31828c first commit hace 1 año 4152 058f31828c first commit hace 1 año 4153 058f31828c first commit hace 1 año 4154 058f31828c first commit hace 1 año 4155 058f31828c first commit hace 1 año 4156 058f31828c first commit hace 1 año 4157 058f31828c first commit hace 1 año 4158 058f31828c first commit hace 1 año 4159 058f31828c first commit hace 1 año 4160 058f31828c first commit hace 1 año 4161 058f31828c first commit hace 1 año 4162 058f31828c first commit hace 1 año 4163 058f31828c first commit hace 1 año 4164 058f31828c first commit hace 1 año 4165 058f31828c first commit hace 1 año 4166 058f31828c first commit hace 1 año 4167 058f31828c first commit hace 1 año 4168 058f31828c first commit hace 1 año 4169 058f31828c first commit hace 1 año 4170 058f31828c first commit hace 1 año 4171 058f31828c first commit hace 1 año 4172 058f31828c first commit hace 1 año 4173 058f31828c first commit hace 1 año 4174 058f31828c first commit hace 1 año 5002 058f31828c first commit hace 1 año 548 058f31828c first commit hace 1 año 549 058f31828c first commit hace 1 año 6102 058f31828c first commit hace 1 año 6104 058f31828c first commit hace 1 año 6106 058f31828c first commit hace 1 año 6110 058f31828c first commit hace 1 año 6111 058f31828c first commit hace 1 año 6112 058f31828c first commit hace 1 año 6113 058f31828c first commit hace 1 año 6117 058f31828c first commit hace 1 año 826 058f31828c first commit hace 1 año 827 058f31828c first commit hace 1 año 828 058f31828c first commit hace 1 año PG_VERSION 058f31828c first commit hace 1 año pg_filenode.map 058f31828c first commit hace 1 año golf/tge - Gogs: Simplico Git Service

Açıklama Yok

golf d8e79ace03 index commit 3 yıl önce
..
CHANGELOG.md d8e79ace03 index commit 3 yıl önce
LICENSE d8e79ace03 index commit 3 yıl önce
README.md d8e79ace03 index commit 3 yıl önce
chromium-versions.js d8e79ace03 index commit 3 yıl önce
chromium-versions.json d8e79ace03 index commit 3 yıl önce
full-chromium-versions.js d8e79ace03 index commit 3 yıl önce
full-chromium-versions.json d8e79ace03 index commit 3 yıl önce
full-versions.js d8e79ace03 index commit 3 yıl önce
full-versions.json d8e79ace03 index commit 3 yıl önce
index.js d8e79ace03 index commit 3 yıl önce
package.json d8e79ace03 index commit 3 yıl önce
versions.js d8e79ace03 index commit 3 yıl önce
versions.json d8e79ace03 index commit 3 yıl önce

README.md

Made by @kilianvalkhof

Other projects:

  • 💻 Polypane - Develop responsive websites and apps twice as fast on multiple screens at once
  • 🖌️ Superposition - Kickstart your design system by extracting design tokens from your website
  • 🗒️ FromScratch - A smart but simple autosaving scratchpad

Electron-to-Chromium npm travis npm-downloads codecovFOSSA Status

This repository provides a mapping of Electron versions to the Chromium version that it uses.

This package is used in Browserslist, so you can use e.g. electron >= 1.4 in Autoprefixer, Stylelint, babel-preset-env and eslint-plugin-compat.

Supported by:

<img src="https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/SVG/DO_Logo_horizontal_blue.svg" width="201px">

Install

Install using npm install electron-to-chromium.

Usage

To include Electron-to-Chromium, require it:

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.

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.

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.

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.

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:

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.

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.

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:

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.

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.

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 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:

var query = e2c.electronToBrowserList('1.4');
// query is "Chrome >= 53"

If a query does not match a Chromium version, it will return undefined.

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

var versions = require('electron-to-chromium/versions');

fullVersions

var fullVersions = require('electron-to-chromium/full-versions');

chromiumVersions

var chromiumVersions = require('electron-to-chromium/chromium-versions');

fullChromiumVersions

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

FOSSA Status