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 0.3.2 to 0.3.3

3

ChangeLog.md

@@ -0,1 +1,4 @@

## 0.3.3
* Fix DynJS compatibility (by Nick Howes).
## 0.3.2

@@ -2,0 +5,0 @@ * Fix joined versions on versions query (by Vincent De Oliveira).

@@ -64,3 +64,10 @@ var caniuse = require('caniuse-db/data').agents;

if ( name1[0] === name2[0] ) {
return parseFloat(name2[1]) - parseFloat(name1[1]);
var d = parseFloat(name2[1]) - parseFloat(name1[1]);
if ( d > 0 ) {
return 1;
} else if ( d < 0 ) {
return -1;
} else {
return 0;
}
} else {

@@ -67,0 +74,0 @@ return name1[0].localeCompare(name2[0]);

8

package.json
{
"name": "browserslist",
"version": "0.3.2",
"version": "0.3.3",
"description": "Get browsers versions that matches given criterias like in Autoprefixer",

@@ -13,8 +13,8 @@ "keywords": ["caniuse", "browsers"],

"dependencies": {
"caniuse-db": "^1.0.30000113"
"caniuse-db": "^1.0.30000127"
},
"devDependencies": {
"gulp-eslint": "0.6.0",
"gulp-eslint": "0.9.0",
"gulp-mocha": "2.0.1",
"mocha": "2.2.1",
"mocha": "2.2.4",
"chai": "2.2.0",

@@ -21,0 +21,0 @@ "gulp": "3.8.11"

@@ -14,4 +14,4 @@ # Browserslist [![Build Status](https://travis-ci.org/ai/browserslist.svg)](https://travis-ci.org/ai/browserslist)

browserslist('last 1 version, > 5%');
//=> ['and_chr 40', 'chrome 40', 'chrome 39', 'firefox 36', 'firefox 34',
// 'ie 11', 'ie_mob 11', 'ios_saf 8.1', 'opera 27', 'safari 8']
//=> ['and_chr 41', 'chrome 41', 'chrome 40', 'firefox 37', 'firefox 36',
// 'ie 11', 'ie_mob 11', 'ios_saf 8.1-8.3', 'opera 27', 'safari 8']
```

@@ -18,0 +18,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