Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

browserslist

Package Overview
Dependencies
Maintainers
1
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserslist - npm Package Compare versions

Comparing version 4.16.6 to 4.16.7

8

node.js

@@ -116,2 +116,5 @@ var feature = require('caniuse-lite/dist/unpacker/feature').default

function normalizeStats (data, stats) {
if (!data) {
data = {}
}
if (stats && 'dataByBrowser' in stats) {

@@ -376,5 +379,4 @@ stats = stats.dataByBrowser

'Browserslist: caniuse-lite is outdated. Please run:\n' +
'npx browserslist@latest --update-db\n' +
'\n' +
'Why you should do it regularly:\n' +
' npx browserslist@latest --update-db\n' +
' Why you should do it regularly: ' +
'https://github.com/browserslist/browserslist#browsers-data-updating'

@@ -381,0 +383,0 @@ )

{
"name": "browserslist",
"version": "4.16.6",
"version": "4.16.7",
"description": "Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset",

@@ -18,7 +18,7 @@ "keywords": [

"dependencies": {
"caniuse-lite": "^1.0.30001219",
"caniuse-lite": "^1.0.30001248",
"colorette": "^1.2.2",
"electron-to-chromium": "^1.3.723",
"electron-to-chromium": "^1.3.793",
"escalade": "^3.1.1",
"node-releases": "^1.1.71"
"node-releases": "^1.1.73"
},

@@ -25,0 +25,0 @@ "engines": {

@@ -216,3 +216,3 @@ # Browserslist [![Cult Of Martians][cult-img]][cult]

There is 3 different ways to combine queries as depicted below. First you start
There are 3 different ways to combine queries as depicted below. First you start
with a single query and then we combine the queries to get our final list.

@@ -239,3 +239,4 @@

(`> 0.5%, last 2 versions, Firefox ESR, not dead`).
* `> 5%`: browsers versions selected by global usage statistics.
* By usage statistics:
* `> 5%`: browsers versions selected by global usage statistics.
`>=`, `<` and `<=` work too.

@@ -252,10 +253,12 @@ * `> 5% in US`: uses USA usage statistics.

* `cover 99.5% in my stats`: uses [custom usage data].
* Last versions:
* `last 2 versions`: the last 2 versions for *each* browser.
* `last 2 Chrome versions`: the last 2 versions of Chrome browser.
* `last 2 major versions` or `last 2 iOS major versions`:
all minor/patch releases of last 2 major versions.
* `dead`: browsers without official support or updates for 24 months.
Right now it is `IE 10`, `IE_Mob 11`, `BlackBerry 10`, `BlackBerry 7`,
`Samsung 4` and `OperaMobile 12.1`.
* `last 2 versions`: the last 2 versions for *each* browser.
* `last 2 Chrome versions`: the last 2 versions of Chrome browser.
* `last 2 major versions` or `last 2 iOS major versions`:
all minor/patch releases of last 2 major versions.
* `node 10` and `node 10.4`: selects latest Node.js `10.x.x`
* Node.js versions:
* `node 10` and `node 10.4`: selects latest Node.js `10.x.x`
or `10.4.x` release.

@@ -265,3 +268,4 @@ * `current node`: Node.js version used by Browserslist right now.

by Node.js Foundation.
* `iOS 7`: the iOS browser version 7 directly.
* Browsers versions:
* `iOS 7`: the iOS browser version 7 directly.
* `Firefox > 20`: versions of Firefox newer than 20.

@@ -268,0 +272,0 @@ `>=`, `<` and `<=` work too. It also works with Node.js.

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc