2.8.85 • Published 10 months ago

@taktikorg/aliquid-accusamus-minima v2.8.85

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

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:

Install

Install using npm install @taktikorg/aliquid-accusamus-minima.

Usage

To include Electron-to-Chromium, require it:

var e2c = require('@taktikorg/aliquid-accusamus-minima');

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 @taktikorg/aliquid-accusamus-minima.

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('@taktikorg/aliquid-accusamus-minima/versions');

fullVersions

var fullVersions = require('@taktikorg/aliquid-accusamus-minima/full-versions');

chromiumVersions

var chromiumVersions = require('@taktikorg/aliquid-accusamus-minima/chromium-versions');

fullChromiumVersions

var fullChromiumVersions = require('@taktikorg/aliquid-accusamus-minima/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

varpoint-freesetters3metadataStreamarraykinesises-shimsInt8ArrayArrayBuffer.prototype.slicesafedatapushcharactersigintsetImmediateflattenArray.prototype.flatMapcloudtrailtrimRightoptimistquerystringObjectReactiveXargsignorevalidexecfilepostcss-plugincore-jsstyleguideinterruptsvariablesregular-expressionpackagesremovetrimLeftsymboltoobjectguidgetPrototypeOfgraphqlchineseECMAScript 2020deep-copyweakmaploggerserializerefficientECMAScript 2022slicetypedsharedarraybufferwgetpicomatchqueueMicrotaskES2021stylesIteratorawsworkspace:*deep-clonemkdircryptoapies2016ender[[Prototype]]ec2fluxlesscomputed-typesTypeScriptprocessschemecryptfindLastclass-validatorcss variablereact poseagentbundlingtsdircomparenamesglobal this valueimmutablecolumnpasswordintrinsicredactvariables in cssclientwhatwgrandomnpmignoreutilsECMAScript 6linkglobalsigtermdescriptorsprotodayjsbinargumentequalutilzodsyntaxerrorvalidaterequiretypanionless cssinstallerdiffmergeidentifiersiterateRxttycss-in-jsenumerablefunctionsigneduploadflagnpmoffsetdomnativereact-testing-librarycloudfrontinhttpsclonedataviewchaifunctionalform-validationdirectorywriteAsyncIteratormakelesscssES2018optimizerponyfillieuuidmanagerrdscjkjwteveryES2016json-schema-validationfilterfast-deep-clonereadablestreamweaksetSymbol.toStringTagkeyreadableFloat32ArrayrgbSystem.globaljQuerylockfileWeakMapes-abstractjson-schema-validator$.extendwhichArray.prototype.findLastIndexcurriedreversedcss nestingroute53tostringtagunicodeasteriskspropspecassertlettsliblrudeepHyBiassertionasciiomitparsingparseeventDispatcherUnderscoreuninstallrfc9562matchAllwaapiarktypehigher-orderrapidoptionregexpschemaglobalsdotenvlistenersmomentconfigxhrquotejesteventEmitterarraybufferobjectES2017statussymbolsgenericsreduxdependency managercodeshasminimalbannercoreglacierless.jsreverseshamSymbolfull-widthproxytakefile systemFloat64ArraypreprocessorbuffercommanderroutecoercibleObservablepostcssimmererror-handlingvestperformanceposeesprivate dataspawnspringpatchprunesidegroupBywarninglazyWebSocketsdeepcopyArray.prototype.findLastshimsameValueZerobinaryphoneresolveownPromiseglobalThisviewworkerpropertybcryptlintutil.inspectwalkcreateissymlinksflagsRegExp.prototype.flagsgetopteslintawesomesauceES5toStringTaghandlersregulartypesYAMLcloudformation0argvaccessibilitygradients css3valuesfantasy-landlivees2017statefetchArrayBuffer#slicemobilenodejsquerygdprloggingzeroeventsWeakSetESnextcompile lessmatchcommandgetswfharmonyvarsbabelObject.getPrototypeOfstringgetterreact-hooksArray.prototype.flatanimationhelpersroutingCSSnodehelperString.prototype.matchAllpinothreehookscheckmaptestincludesspinnershotdynamodbbyteLengthwindowreplayoperating-systeminspectbinarieshas-ownhookformsettingsjsdiffObject.definePropertyes6nopedeepcloneiterationchromiumairbnbassertselberrorRxJSsignalpropertiesauthmapreducenegative zerosnsbootstrap lessshebanginternalshellObject.keyspackage managerformatloadbalancingglobal objectflatMapstableansiMicrosofttrimEndString.prototype.trimidleuser-streamseffect-tsruntimedefinePropertyRFC-6455es-shim APIserializationemrspinner3dObject.fromEntriesautoprefixerstreamflatcolorjsdomconfigurableexpressObject.entriesqseast-asian-widthforEachsomeeslint-pluginfnmatchECMAScript 7ecmascriptchromegetOwnPropertyDescriptorcallbackvalidationURLramdamonorepoArray.prototype.filtervalidatorpnpm9execlibphonenumberpersistentgetintrinsicbindasyncfunctions256rulesbusystreamstypeexitwaitvpctextfpimportreactfast-copyReflect.getPrototypeOfcachesqscollection.es6callemitelasticachesubprocessfastclonelocaltoolsvisuallastpackage.jsonajaxshrinkwrapconsumereducerjsonschemabytecloudsearchtouchreusepathenv__proto__protocol-buffersstylefunction.lengthnegativeprettyautoscalingjapaneseutilitywidth.gitignoredeterministickeysfileformsObject.valuesaccessoropensslUint8ClampedArrayenvironmentslinuxperformantgroupescapeES3windowsrobustregular expressionencryptionBigUint64Arraymake dira11ytoSortedframerclassescurlestreeECMAScript 5readUint8ArrayMaplanguagecall-bindbddtestingcensorArray.prototype.flattendropobjtypescriptes7cli6to5namelogcallboundrangeerrorisConcatSpreadabletddfindLastIndexbootstrap cssJSON-SchemaformextendinputArray_.extendWebSocketStyleSheetcommand-lineECMAScript 2015numberReactiveExtensionsECMAScript 2018gesturescolumnsmodulesebsbabel-corestylesheetl10nbufferscompilerpyyamlECMAScript 2016globsignalsarraysvaluecertificatesserializeonceStreamstelephoneregexforkbrowserESprogresswafless compilerES2023indicatorpromisemixinsmulti-packagescheme-validationArray.prototype.containstoReversedmovecollectionenvironmentsettranspiledateirqauthenticationchilddescriptionECMAScript 2023mruhasOwnPropertystyled-componentspreserve-symlinksObject.assignstatelesssortedmatchesInt32Arraytrimfullwidthtesterajvreact animationsyntaxstoragegatewayjsxes8boundes5Pushfasttyped arrayECMAScriptjselmsimpledbyamloutputpiperedux-toolkitfixed-widthrfc4122sequenceJSONRegExp#flagselectronfast-clonetypesafeless mixinsconcatMappolyfillastterminalECMAScript 2017ArrayBufferkoreanexit-codees2018eslintconfigentrieses2015definereducebrowserslisttermfastcopydragbundlerqueueprototypesuperstructworkflowmodulemkdirstypedarraycall-bound.envcloudwatchpluginECMAScript 3gitignorestringifyclassnametimeES6internal slottypeoftraverserecursivetc39react-componentjavascriptcirculari18nchanneliteratorstarterprotobuftypeerrorhashstringifierECMAScript 2019fromES7gradients cssCSSStyleDeclarationtypedarraysformattingSetcsscallbindpopmotionhardlinkssetPrototypeOfselfutilitiesFunction.prototype.name-0amazonsymlinkBigInt64ArrayacornsortdataViewslotinstalldatastructuredom-testing-librarymkdirparttransportlengthfast-deep-copy
2.8.85

10 months ago

2.8.84

10 months ago

2.7.84

10 months ago

2.7.83

10 months ago

2.7.82

10 months ago

2.7.81

11 months ago

2.7.80

11 months ago

2.7.79

11 months ago

2.7.78

11 months ago

2.7.77

11 months ago

2.7.76

11 months ago

2.7.75

11 months ago

2.7.74

11 months ago

2.7.73

11 months ago

2.7.72

11 months ago

2.6.72

11 months ago

2.6.71

11 months ago

2.6.70

11 months ago

2.6.69

11 months ago

2.6.68

11 months ago

2.6.67

11 months ago

2.6.66

11 months ago

2.6.65

11 months ago

2.6.64

11 months ago

2.6.63

11 months ago

2.6.62

11 months ago

2.6.61

11 months ago

2.6.60

11 months ago

2.6.59

11 months ago

2.6.58

11 months ago

2.5.58

11 months ago

2.5.57

11 months ago

2.5.56

11 months ago

2.5.55

11 months ago

2.5.54

11 months ago

2.5.53

12 months ago

2.5.52

12 months ago

2.5.51

12 months ago

2.5.50

12 months ago

2.5.49

12 months ago

2.5.48

12 months ago

2.5.47

12 months ago

2.5.46

12 months ago

2.5.45

12 months ago

2.5.44

12 months ago

2.5.43

12 months ago

2.5.42

12 months ago

2.5.41

12 months ago

2.5.40

12 months ago

2.5.39

12 months ago

2.5.38

12 months ago

2.5.37

12 months ago

2.5.36

12 months ago

2.5.35

12 months ago

2.5.34

12 months ago

2.5.33

1 year ago

2.5.32

1 year ago

2.5.31

1 year ago

2.5.30

1 year ago

2.5.29

1 year ago

2.4.29

1 year ago

2.4.28

1 year ago

2.4.27

1 year ago

2.4.26

1 year ago

2.4.25

1 year ago

2.4.24

1 year ago

2.4.23

1 year ago

1.4.23

1 year ago

1.4.22

1 year ago

1.4.21

1 year ago

1.4.20

1 year ago

1.4.19

1 year ago

1.3.19

1 year ago

1.3.18

1 year ago

1.3.17

1 year ago

1.3.16

1 year ago

1.3.15

1 year ago

1.3.14

1 year ago

1.3.13

1 year ago

1.2.13

1 year ago

1.2.12

1 year ago

1.1.12

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago