Merge pull request #270 from babel/issue268

Add Android browser to name map
This commit is contained in:
Brian Ng 2017-04-11 12:40:36 -05:00 committed by GitHub
commit 3dee64d1e1
3 changed files with 133 additions and 0 deletions

View File

@ -47,6 +47,7 @@ const isBrowsersQueryValid = (browsers) => {
}; };
const browserNameMap = { const browserNameMap = {
android: "android",
chrome: "chrome", chrome: "chrome",
edge: "edge", edge: "edge",
firefox: "firefox", firefox: "firefox",

View File

@ -0,0 +1,11 @@
{
"presets": [
["../../lib", {
"debug": true,
"targets": {
"browsers": [ "Android >= 4" ]
},
"useBuiltIns": true
}]
]
}

View File

@ -0,0 +1,121 @@
babel-preset-env: `DEBUG` option
Using targets:
{
"android": 4
}
Modules transform: commonjs
Using plugins:
check-es2015-constants {"android":4}
transform-es2015-arrow-functions {"android":4}
transform-es2015-block-scoped-functions {"android":4}
transform-es2015-block-scoping {"android":4}
transform-es2015-classes {"android":4}
transform-es2015-computed-properties {"android":4}
transform-es2015-destructuring {"android":4}
transform-es2015-duplicate-keys {"android":4}
transform-es2015-for-of {"android":4}
transform-es2015-function-name {"android":4}
transform-es2015-literals {"android":4}
transform-es2015-object-super {"android":4}
transform-es2015-parameters {"android":4}
transform-es2015-shorthand-properties {"android":4}
transform-es2015-spread {"android":4}
transform-es2015-sticky-regex {"android":4}
transform-es2015-template-literals {"android":4}
transform-es2015-typeof-symbol {"android":4}
transform-es2015-unicode-regex {"android":4}
transform-regenerator {"android":4}
transform-exponentiation-operator {"android":4}
transform-async-to-generator {"android":4}
syntax-trailing-function-commas {"android":4}
Using polyfills:
es6.typed.array-buffer {"android":4}
es6.typed.int8-array {"android":4}
es6.typed.uint8-array {"android":4}
es6.typed.uint8-clamped-array {"android":4}
es6.typed.int16-array {"android":4}
es6.typed.uint16-array {"android":4}
es6.typed.int32-array {"android":4}
es6.typed.uint32-array {"android":4}
es6.typed.float32-array {"android":4}
es6.typed.float64-array {"android":4}
es6.map {"android":4}
es6.set {"android":4}
es6.weak-map {"android":4}
es6.weak-set {"android":4}
es6.reflect.apply {"android":4}
es6.reflect.construct {"android":4}
es6.reflect.define-property {"android":4}
es6.reflect.delete-property {"android":4}
es6.reflect.get {"android":4}
es6.reflect.get-own-property-descriptor {"android":4}
es6.reflect.get-prototype-of {"android":4}
es6.reflect.has {"android":4}
es6.reflect.is-extensible {"android":4}
es6.reflect.own-keys {"android":4}
es6.reflect.prevent-extensions {"android":4}
es6.reflect.set {"android":4}
es6.reflect.set-prototype-of {"android":4}
es6.promise {"android":4}
es6.symbol {"android":4}
es6.object.assign {"android":4}
es6.object.is {"android":4}
es6.object.set-prototype-of {"android":4}
es6.function.name {"android":4}
es6.string.raw {"android":4}
es6.string.from-code-point {"android":4}
es6.string.code-point-at {"android":4}
es6.string.repeat {"android":4}
es6.string.starts-with {"android":4}
es6.string.ends-with {"android":4}
es6.string.includes {"android":4}
es6.regexp.flags {"android":4}
es6.regexp.match {"android":4}
es6.regexp.replace {"android":4}
es6.regexp.split {"android":4}
es6.regexp.search {"android":4}
es6.array.from {"android":4}
es6.array.of {"android":4}
es6.array.copy-within {"android":4}
es6.array.find {"android":4}
es6.array.find-index {"android":4}
es6.array.fill {"android":4}
es6.array.iterator {"android":4}
es6.number.is-finite {"android":4}
es6.number.is-integer {"android":4}
es6.number.is-safe-integer {"android":4}
es6.number.is-nan {"android":4}
es6.number.epsilon {"android":4}
es6.number.min-safe-integer {"android":4}
es6.number.max-safe-integer {"android":4}
es6.math.acosh {"android":4}
es6.math.asinh {"android":4}
es6.math.atanh {"android":4}
es6.math.cbrt {"android":4}
es6.math.clz32 {"android":4}
es6.math.cosh {"android":4}
es6.math.expm1 {"android":4}
es6.math.fround {"android":4}
es6.math.hypot {"android":4}
es6.math.imul {"android":4}
es6.math.log1p {"android":4}
es6.math.log10 {"android":4}
es6.math.log2 {"android":4}
es6.math.sign {"android":4}
es6.math.sinh {"android":4}
es6.math.tanh {"android":4}
es6.math.trunc {"android":4}
es7.array.includes {"android":4}
es7.object.values {"android":4}
es7.object.entries {"android":4}
es7.object.get-own-property-descriptors {"android":4}
es7.string.pad-start {"android":4}
es7.string.pad-end {"android":4}
web.timers {"android":4}
web.immediate {"android":4}
web.dom.iterable {"android":4}
src/in.js -> lib/in.js