{
  "manifest": {
    "name": "electron-to-chromium",
    "version": "1.4.741",
    "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 && codecov"
    },
    "repository": {
      "type": "git",
      "url": "https://github.com/kilian/electron-to-chromium/"
    },
    "keywords": [
      "electron",
      "chrome",
      "chromium",
      "browserslist",
      "browserlist"
    ],
    "author": {
      "name": "Kilian Valkhof"
    },
    "license": "ISC",
    "devDependencies": {
      "ava": "^5.1.1",
      "codecov": "^3.8.2",
      "compare-versions": "^6.0.0-rc.1",
      "node-fetch": "^3.3.0",
      "nyc": "^15.1.0",
      "shelljs": "^0.8.5"
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-electron-to-chromium-1.4.741-0ca6502689294beeef260889f35331e2c857451d-integrity/node_modules/electron-to-chromium/package.json",
    "readmeFilename": "README.md",
    "readme": "### Made by [@kilianvalkhof](https://twitter.com/kilianvalkhof)\n\n#### Other projects:\n\n- 💻 [Polypane](https://polypane.app) - Develop responsive websites and apps twice as fast on multiple screens at once\n- 🖌️ [Superposition](https://superposition.design) - Kickstart your design system by extracting design tokens from your website\n- 🗒️ [FromScratch](https://fromscratch.rocks) - A smart but simple autosaving scratchpad\n\n---\n\n# Electron-to-Chromium [![npm](https://img.shields.io/npm/v/electron-to-chromium.svg)](https://www.npmjs.com/package/electron-to-chromium) [![travis](https://img.shields.io/travis/Kilian/electron-to-chromium/master.svg)](https://travis-ci.org/Kilian/electron-to-chromium) [![npm-downloads](https://img.shields.io/npm/dm/electron-to-chromium.svg)](https://www.npmjs.com/package/electron-to-chromium) [![codecov](https://codecov.io/gh/Kilian/electron-to-chromium/branch/master/graph/badge.svg)](https://codecov.io/gh/Kilian/electron-to-chromium)[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FKilian%2Felectron-to-chromium.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FKilian%2Felectron-to-chromium?ref=badge_shield)\n\nThis repository provides a mapping of Electron versions to the Chromium version that it uses.\n\nThis 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).\n\n**Supported by:**\n\n  <a href=\"https://m.do.co/c/bb22ea58e765\">\n    <img src=\"https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/SVG/DO_Logo_horizontal_blue.svg\" width=\"201px\">\n  </a>\n\n\n## Install\nInstall using `npm install electron-to-chromium`.\n\n## Usage\nTo include Electron-to-Chromium, require it:\n\n```js\nvar e2c = require('electron-to-chromium');\n```\n\n### Properties\nThe Electron-to-Chromium object has 4 properties to use:\n\n#### `versions`\nAn object of key-value pairs with a _major_ Electron version as the key, and the corresponding major Chromium version as the value.\n\n```js\nvar versions = e2c.versions;\nconsole.log(versions['1.4']);\n// returns \"53\"\n```\n\n#### `fullVersions`\nAn object of key-value pairs with a Electron version as the key, and the corresponding full Chromium version as the value.\n\n```js\nvar versions = e2c.fullVersions;\nconsole.log(versions['1.4.11']);\n// returns \"53.0.2785.143\"\n```\n\n#### `chromiumVersions`\nAn object of key-value pairs with a _major_ Chromium version as the key, and the corresponding major Electron version as the value.\n\n```js\nvar versions = e2c.chromiumVersions;\nconsole.log(versions['54']);\n// returns \"1.4\"\n```\n\n#### `fullChromiumVersions`\nAn object of key-value pairs with a Chromium version as the key, and an array of the corresponding major Electron versions as the value.\n\n```js\nvar versions = e2c.fullChromiumVersions;\nconsole.log(versions['54.0.2840.101']);\n// returns [\"1.5.1\", \"1.5.0\"]\n```\n### Functions\n\n#### `electronToChromium(query)`\nArguments:\n* Query: string or number, required. A major or full Electron version.\n\nA function that returns the corresponding Chromium version for a given Electron function. Returns a string.\n\nIf you provide it with a major Electron version, it will return a major Chromium version:\n\n```js\nvar chromeVersion = e2c.electronToChromium('1.4');\n// chromeVersion is \"53\"\n```\n\nIf you provide it with a full Electron version, it will return the full Chromium version.\n\n```js\nvar chromeVersion = e2c.electronToChromium('1.4.11');\n// chromeVersion is \"53.0.2785.143\"\n```\n\nIf a query does not match a Chromium version, it will return `undefined`.\n\n```js\nvar chromeVersion = e2c.electronToChromium('9000');\n// chromeVersion is undefined\n```\n\n#### `chromiumToElectron(query)`\nArguments:\n* Query: string or number, required. A major or full Chromium version.\n\nReturns a string with the corresponding Electron version for a given Chromium query.\n\nIf you provide it with a major Chromium version, it will return a major Electron version:\n\n```js\nvar electronVersion = e2c.chromiumToElectron('54');\n// electronVersion is \"1.4\"\n```\n\nIf you provide it with a full Chrome version, it will return an array of full Electron versions.\n\n```js\nvar electronVersions = e2c.chromiumToElectron('56.0.2924.87');\n// electronVersions is [\"1.6.3\", \"1.6.2\", \"1.6.1\", \"1.6.0\"]\n```\n\nIf a query does not match an Electron version, it will return `undefined`.\n\n```js\nvar electronVersion = e2c.chromiumToElectron('10');\n// electronVersion is undefined\n```\n\n#### `electronToBrowserList(query)` **DEPRECATED**\nArguments:\n* Query: string or number, required. A major Electron version.\n\n_**Deprecated**: Browserlist already includes electron-to-chromium._\n\nA function that returns a [Browserslist](https://github.com/ai/browserslist) query that matches the given major Electron version. Returns a string.\n\nIf you provide it with a major Electron version, it will return a Browserlist query string that matches the Chromium capabilities:\n\n```js\nvar query = e2c.electronToBrowserList('1.4');\n// query is \"Chrome >= 53\"\n```\n\nIf a query does not match a Chromium version, it will return `undefined`.\n\n```js\nvar query = e2c.electronToBrowserList('9000');\n// query is undefined\n```\n\n### Importing just versions, fullVersions, chromiumVersions and fullChromiumVersions\nAll lists can be imported on their own, if file size is a concern.\n\n#### `versions`\n\n```js\nvar versions = require('electron-to-chromium/versions');\n```\n\n#### `fullVersions`\n\n```js\nvar fullVersions = require('electron-to-chromium/full-versions');\n```\n\n#### `chromiumVersions`\n\n```js\nvar chromiumVersions = require('electron-to-chromium/chromium-versions');\n```\n\n#### `fullChromiumVersions`\n\n```js\nvar fullChromiumVersions = require('electron-to-chromium/full-chromium-versions');\n```\n\n## Updating\nThis package will be updated with each new Electron release.\n\nTo update the list, run `npm run build.js`. Requires internet access as it downloads from the canonical list of Electron versions.\n\nTo verify correct behaviour, run `npm test`.\n\n\n## License\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FKilian%2Felectron-to-chromium.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FKilian%2Felectron-to-chromium?ref=badge_large)\n",
    "licenseText": "Copyright 2018 Kilian Valkhof\n\nPermission 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.\n\nTHE 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.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.741.tgz#0ca6502689294beeef260889f35331e2c857451d",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.741.tgz",
    "hash": "0ca6502689294beeef260889f35331e2c857451d",
    "integrity": "sha512-AyTBZqDoS7/mvQK22gOQpjxbeV8iPeUBTvYlEh/1S9dKAHgQdxuF49g9rLbj0cRKtqH8PzLJzqT3nAdl+qoZTA==",
    "registry": "npm",
    "packageName": "electron-to-chromium",
    "cacheIntegrity": "sha512-AyTBZqDoS7/mvQK22gOQpjxbeV8iPeUBTvYlEh/1S9dKAHgQdxuF49g9rLbj0cRKtqH8PzLJzqT3nAdl+qoZTA== sha1-DKZQJokpS+7vJgiJ81Mx4shXRR0="
  },
  "registry": "npm",
  "hash": "0ca6502689294beeef260889f35331e2c857451d"
}