autopolyfiller
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -1,3 +0,3 @@ | ||
var Browsers = require('autoprefixer/lib/browsers'), | ||
browsersData = require('autoprefixer/data/browsers'), | ||
var Browsers = require('autoprefixer-core/lib/browsers'), | ||
browsersData = require('autoprefixer-core/data/browsers'), | ||
debug = require('debug')('polyfill:reduce'), | ||
@@ -10,13 +10,10 @@ semver = require('semver'); | ||
var browserMap = { | ||
// 0: 'Opera Mini', | ||
// 1: 'Opera Mobile', | ||
'ie': 'Internet Explorer', | ||
'firefox': 'Firefox', | ||
'chrome': 'Chrome', | ||
'safari': 'Safari', | ||
'opera': 'Opera', | ||
'android': 'Android', | ||
'bb': 'BlackBerry', | ||
// '-': 'Chrome iOS', | ||
'ios': 'Safari iOS', | ||
'chrome': 'Chrome', | ||
'ie': 'Internet Explorer', | ||
'ff': 'Firefox', | ||
'safari': 'Safari' | ||
'ios_saf': 'Safari iOS', | ||
'android': 'Android' | ||
/*,'ie_mob': ''*/ | ||
}; | ||
@@ -23,0 +20,0 @@ |
@@ -13,3 +13,3 @@ { | ||
], | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"author": "Mikhail Davydov <i@azproduction.ru>", | ||
@@ -31,3 +31,3 @@ "contributors": [ | ||
"acorn": "~0.4.2", | ||
"autoprefixer": "1.1.x", | ||
"autoprefixer-core": "~3.1.1", | ||
"debug": "~0.7.4", | ||
@@ -64,3 +64,3 @@ "node.extend": "~1.0.9", | ||
"coverage": "istanbul cover node_modules/.bin/_mocha --report html -- -R spec", | ||
"coverage_push": "istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && cat ./coverage/lcov.info | codeclimate", | ||
"coverage_push": "istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && cat ./coverage/lcov.info | codeclimate || true", | ||
"precommit": "npm test", | ||
@@ -67,0 +67,0 @@ "prepush": "npm test", |
@@ -5,3 +5,3 @@ # Autopolyfiller — Precise polyfills | ||
This is like [Autoprefixer](https://github.com/ai/autoprefixer), but for JavaScript polyfills. It scans your code and applies only required polyfills. [Live example](http://azproduction.ru/autopolyfiller). | ||
This is like [Autoprefixer](https://github.com/ai/autoprefixer), but for JavaScript polyfills. It scans your code and applies only required polyfills. [Live example](http://azproduction.github.io/autopolyfiller). | ||
@@ -8,0 +8,0 @@ Assume you code is `Object.keys(window)`. `Object.keys` polyfill is required to run it [in any browser](http://kangax.github.io/es5-compat-table/#Object.keys) (include IE7). On the other hand this code can be executed on iOS 7 Safari without any polyfills. AutoPolyfiller knows about ES5 and ES6 features and their support in browsers. It can help you to write cutting-edge JavaScript without thinking about ES shims and shivs. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
524481
43
8938
+ Addedautoprefixer-core@~3.1.1
+ Addedautoprefixer-core@3.1.2(transitive)
+ Addedcaniuse-db@1.0.30001684(transitive)
+ Addedjs-base64@2.1.9(transitive)
+ Addedpostcss@2.2.6(transitive)
- Removedautoprefixer@1.1.x
- Removedautoprefixer@1.1.20140605(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbase64-js@0.0.8(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedfs-extra@0.9.1(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedinflight@1.0.6(transitive)
- Removedjsonfile@1.1.1(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedncp@0.5.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpostcss@0.3.5(transitive)
- Removedrimraf@2.7.1(transitive)
- Removedwrappy@1.0.2(transitive)