browserslist
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -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]); |
{ | ||
"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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
23585
413