Socket
Socket
Sign inDemoInstall

electron-to-chromium

Package Overview
Dependencies
0
Maintainers
1
Versions
1706
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.3 to 1.2.4

2

index.js
var versions = require('./versions');
var fullVersions = require('./versions');
var fullVersions = require('./full-versions');

@@ -4,0 +4,0 @@ var electronToChromium = function (query) {

{
"name": "electron-to-chromium",
"version": "1.2.3",
"version": "1.2.4",
"description": "Provides a list of electron-to-chromium version mappings",

@@ -5,0 +5,0 @@ "main": "index.js",

# Electron-to-Chromium
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-present-env](https://github.com/babel/babel-preset-env) and [eslint-plugin-compat](https://github.com/amilajack/eslint-plugin-compat).
## Install

@@ -62,6 +64,8 @@ Install using `npm install electron-to-chromium`.

#### electronToBrowserList(query)
#### 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 [Browserlist](https://github.com/ai/browserslist) query that matches the given major Electron version. Returns a string.

@@ -68,0 +72,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc