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.23.2 to 4.23.3

8

index.js

@@ -85,7 +85,7 @@ var jsReleases = require('node-releases/data/processed/envs.json')

return function (v) {
return parseFloat(v) > version
return parseLatestFloat(v) > version
}
} else if (sign === '>=') {
return function (v) {
return parseFloat(v) >= version
return parseLatestFloat(v) >= version
}

@@ -101,2 +101,6 @@ } else if (sign === '<') {

}
function parseLatestFloat(v) {
return parseFloat(v.split('-')[1] || v)
}
}

@@ -103,0 +107,0 @@

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

@@ -28,5 +28,5 @@ "keywords": [

"dependencies": {
"caniuse-lite": "^1.0.30001640",
"electron-to-chromium": "^1.4.820",
"node-releases": "^2.0.14",
"caniuse-lite": "^1.0.30001646",
"electron-to-chromium": "^1.5.4",
"node-releases": "^2.0.18",
"update-browserslist-db": "^1.1.0"

@@ -33,0 +33,0 @@ },

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