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 1.1.2 to 1.1.3

5

CHANGELOG.md

@@ -0,3 +1,6 @@

## 1.1.3
* Fix jspm support (by Sean Anderson).
## 1.1.2
* Fix JSPM support (by Sean Anderson).
* Fix jspm support (by Sean Anderson).

@@ -4,0 +7,0 @@ ## 1.1.1

@@ -1,2 +0,2 @@

var caniuse = require('caniuse-db/data').agents;
var caniuse = require('caniuse-db/data.json').agents;
var path = require('path');

@@ -314,3 +314,4 @@ var fs = require('fs');

usage = { };
var data = require('caniuse-db/region-usage-json/' + country);
var data = require(
'caniuse-db/region-usage-json/' + country + '.json');
for ( var i in data.data ) {

@@ -317,0 +318,0 @@ fillUsage(usage, i, data.data[i]);

4

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

@@ -20,3 +20,3 @@ "keywords": [

"devDependencies": {
"eslint-config-postcss": "^1.0.0",
"eslint-config-postcss": "1.0.0",
"eslint": "1.10.3",

@@ -23,0 +23,0 @@ "ava": "0.11.0"

@@ -144,3 +144,3 @@ # Browserslist [![Build Status][ci-img]][ci]

```js
var e=document.createElement('a');e.setAttribute('href', 'data:text/plain;charset=utf-8,'+encodeURIComponent(JSON.stringify(JSON.parse(localStorage['usage-data-by-id'])[localStorage['config-primary_usage']])));e.setAttribute('download','stats.json');document.body.appendChild(e);e.click();document.body.removeChild(e);}
var e=document.createElement('a');e.setAttribute('href', 'data:text/plain;charset=utf-8,'+encodeURIComponent(JSON.stringify(JSON.parse(localStorage['usage-data-by-id'])[localStorage['config-primary_usage']])));e.setAttribute('download','stats.json');document.body.appendChild(e);e.click();document.body.removeChild(e);
```

@@ -147,0 +147,0 @@ 3. Save data to file in your project.

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