mirror of
https://github.com/status-im/react-native.git
synced 2025-02-03 13:14:42 +00:00
Fixing Issue #7526
Summary: Thanks for submitting a pull request! Please provide enough information so that others can review your pull request: Fixing a bug detailed in Issue #7526 where Android app was crashing when using a binary number. **Test plan:** - Build & Run UIExplorer - Build & Run UIExplorer with `const binaryNumber = 0b101010` inserted into UIExplorerApp.android.js - Use `react-native init` to create a new blank project, then replace files in node_modules and insert `const binaryNumber = 0b101010` into index.android.js. Closes https://github.com/facebook/react-native/pull/7730 Reviewed By: avaly Differential Revision: D3353119 Pulled By: bestander fbshipit-source-id: 098442da32a29c369f5932b7a4004e8d7f4cb91f
This commit is contained in:
parent
7ca8e0e8b1
commit
98dd91825f
@ -30,6 +30,7 @@ module.exports = {
|
||||
'transform-es2015-shorthand-properties',
|
||||
'transform-es2015-spread',
|
||||
'transform-es2015-template-literals',
|
||||
'transform-es2015-literals',
|
||||
'transform-flow-strip-types',
|
||||
'transform-object-assign',
|
||||
'transform-object-rest-spread',
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "babel-preset-react-native",
|
||||
"version": "1.8.0",
|
||||
"version": "1.9.0",
|
||||
"description": "Babel preset for React Native applications",
|
||||
"main": "index.js",
|
||||
"repository": "https://github.com/facebook/react-native/tree/master/babel-preset",
|
||||
@ -23,13 +23,14 @@
|
||||
"babel-plugin-syntax-jsx": "^6.5.0",
|
||||
"babel-plugin-syntax-trailing-function-commas": "^6.5.0",
|
||||
"babel-plugin-transform-class-properties": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-function-name": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-arrow-functions": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-block-scoping": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-classes": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-computed-properties": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-destructuring": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-for-of": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-function-name": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-literals": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-modules-commonjs": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-parameters": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-shorthand-properties": "^6.5.0",
|
||||
|
@ -26,6 +26,7 @@ module.exports = {
|
||||
'babel-plugin-transform-es2015-shorthand-properties': require('babel-plugin-transform-es2015-shorthand-properties'),
|
||||
'babel-plugin-transform-es2015-spread': require('babel-plugin-transform-es2015-spread'),
|
||||
'babel-plugin-transform-es2015-template-literals': require('babel-plugin-transform-es2015-template-literals'),
|
||||
'babel-plugin-transform-es2015-literals' : require('babel-plugin-transform-es2015-literals'),
|
||||
'babel-plugin-transform-flow-strip-types': require('babel-plugin-transform-flow-strip-types'),
|
||||
'babel-plugin-transform-object-assign': require('babel-plugin-transform-object-assign'),
|
||||
'babel-plugin-transform-object-rest-spread': require('babel-plugin-transform-object-rest-spread'),
|
||||
|
@ -136,7 +136,7 @@
|
||||
"babel-plugin-transform-object-rest-spread": "^6.6.5",
|
||||
"babel-polyfill": "^6.6.1",
|
||||
"babel-preset-es2015-node": "^4.0.2",
|
||||
"babel-preset-react-native": "^1.8.0",
|
||||
"babel-preset-react-native": "^1.9.0",
|
||||
"babel-register": "^6.6.0",
|
||||
"babel-types": "^6.6.4",
|
||||
"babylon": "^6.6.4",
|
||||
|
Loading…
x
Reference in New Issue
Block a user