mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Update Babel to 7.11.6
Summary: Changelog: [Internal] Reviewed By: GijsWeterings Differential Revision: D24039996 fbshipit-source-id: 26ec2a988faadf24ea76d9124052d9397682787b
This commit is contained in:
1 parent
12a50c0a44
commit
43624dd193
4 files changed
+57
-26
No files matched your search
@@ -19,7 +19,7 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"flow-parser": "^0.121.0",
|
||||
"jscodeshift": "^0.9.0",
|
||||
"jscodeshift": "^0.11.0",
|
||||
"nullthrows": "^1.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
+32
-9
@@ -26,7 +26,11 @@ const ArrayPropsNativeComponentViewConfig = {
|
||||
disableds: true,
|
||||
progress: true,
|
||||
radii: true,
|
||||
colors: { process: require('processColorArray') },
|
||||
|
||||
colors: {
|
||||
process: require('processColorArray'),
|
||||
},
|
||||
|
||||
srcs: true,
|
||||
points: true,
|
||||
sizes: true,
|
||||
@@ -143,7 +147,9 @@ const ColorPropNativeComponentViewConfig = {
|
||||
uiViewClassName: 'ColorPropNativeComponent',
|
||||
|
||||
validAttributes: {
|
||||
tintColor: { process: require('processColor') },
|
||||
tintColor: {
|
||||
process: require('processColor'),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -603,7 +609,9 @@ const ImagePropNativeComponentViewConfig = {
|
||||
uiViewClassName: 'ImagePropNativeComponent',
|
||||
|
||||
validAttributes: {
|
||||
thumbImage: { process: require('resolveAssetSource') },
|
||||
thumbImage: {
|
||||
process: require('resolveAssetSource'),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -640,7 +648,9 @@ const InsetsPropNativeComponentViewConfig = {
|
||||
uiViewClassName: 'InsetsPropNativeComponent',
|
||||
|
||||
validAttributes: {
|
||||
contentInset: { diff: require('insetsDiffer') },
|
||||
contentInset: {
|
||||
diff: require('insetsDiffer'),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -800,10 +810,21 @@ const ImageColorPropNativeComponentViewConfig = {
|
||||
uiViewClassName: 'ImageColorPropNativeComponent',
|
||||
|
||||
validAttributes: {
|
||||
thumbImage: { process: require('resolveAssetSource') },
|
||||
color: { process: require('processColor') },
|
||||
thumbTintColor: { process: require('processColor') },
|
||||
point: { diff: require('pointsDiffer') },
|
||||
thumbImage: {
|
||||
process: require('resolveAssetSource'),
|
||||
},
|
||||
|
||||
color: {
|
||||
process: require('processColor'),
|
||||
},
|
||||
|
||||
thumbTintColor: {
|
||||
process: require('processColor'),
|
||||
},
|
||||
|
||||
point: {
|
||||
diff: require('pointsDiffer'),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -911,7 +932,9 @@ const PointPropNativeComponentViewConfig = {
|
||||
uiViewClassName: 'PointPropNativeComponent',
|
||||
|
||||
validAttributes: {
|
||||
startPoint: { diff: require('pointsDiffer') },
|
||||
startPoint: {
|
||||
diff: require('pointsDiffer'),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
"flow-bin": "^0.135.0",
|
||||
"jest": "^26.0.1",
|
||||
"jest-junit": "^10.0.0",
|
||||
"jscodeshift": "^0.9.0",
|
||||
"jscodeshift": "^0.11.0",
|
||||
"mkdirp": "^0.5.1",
|
||||
"prettier": "1.19.1",
|
||||
"react": "16.13.1",
|
||||
|
||||
@@ -1532,10 +1532,12 @@ ast-types-flow@0.0.7, ast-types-flow@^0.0.7:
|
||||
resolved "https://registry.yarnpkg.com/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad"
|
||||
integrity sha1-9wtzXGvKGlycItmCw+Oef+ujva0=
|
||||
|
||||
ast-types@0.13.2:
|
||||
version "0.13.2"
|
||||
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.13.2.tgz#df39b677a911a83f3a049644fb74fdded23cea48"
|
||||
integrity sha512-uWMHxJxtfj/1oZClOxDEV1sQ1HCDkA4MG8Gr69KKeBjEVH0R84WlejZ0y2DcwyBlpAEMltmVYkVgqfLFb2oyiA==
|
||||
ast-types@0.14.1:
|
||||
version "0.14.1"
|
||||
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.14.1.tgz#0b415043770d7a2cbe4b2770271cbd7d2c9f61b9"
|
||||
integrity sha512-pfSiukbt23P1qMhNnsozLzhMLBs7EEeXqPyvPmnuZM+RMfwfqwDbSVKYflgGuVI7/VehR4oMks0igzdNAg4VeQ==
|
||||
dependencies:
|
||||
tslib "^2.0.1"
|
||||
|
||||
astral-regex@^1.0.0:
|
||||
version "1.0.0"
|
||||
@@ -4375,10 +4377,10 @@ jsc-android@^245459.0.0:
|
||||
resolved "https://registry.yarnpkg.com/jsc-android/-/jsc-android-245459.0.0.tgz#e584258dd0b04c9159a27fb104cd5d491fd202c9"
|
||||
integrity sha512-wkjURqwaB1daNkDi2OYYbsLnIdC/lUM2nPXQKRs5pqEU9chDg435bjvo+LSaHotDENygHQDHe+ntUkkw2gwMtg==
|
||||
|
||||
jscodeshift@^0.9.0:
|
||||
version "0.9.0"
|
||||
resolved "https://registry.yarnpkg.com/jscodeshift/-/jscodeshift-0.9.0.tgz#672025658e868a63e24d6a6f4c44af9edb6e55f3"
|
||||
integrity sha512-SUeXq8dJzj5LR8uy71axgG3bmiHoC0IdHy7n89SqKzkzBWpAds5F9IIGE+lqUSZX9J0ZfEzN8fXWIqQV0dIp2w==
|
||||
jscodeshift@^0.11.0:
|
||||
version "0.11.0"
|
||||
resolved "https://registry.yarnpkg.com/jscodeshift/-/jscodeshift-0.11.0.tgz#4f95039408f3f06b0e39bb4d53bc3139f5330e2f"
|
||||
integrity sha512-SdRK2C7jjs4k/kT2mwtO07KJN9RnjxtKn03d9JVj6c3j9WwaLcFYsICYDnLAzY0hp+wG2nxl+Cm2jWLiNVYb8g==
|
||||
dependencies:
|
||||
"@babel/core" "^7.1.6"
|
||||
"@babel/parser" "^7.1.6"
|
||||
@@ -4392,11 +4394,11 @@ jscodeshift@^0.9.0:
|
||||
babel-core "^7.0.0-bridge.0"
|
||||
colors "^1.1.2"
|
||||
flow-parser "0.*"
|
||||
graceful-fs "^4.1.11"
|
||||
graceful-fs "^4.2.4"
|
||||
micromatch "^3.1.10"
|
||||
neo-async "^2.5.0"
|
||||
node-dir "^0.1.17"
|
||||
recast "^0.18.1"
|
||||
recast "^0.20.3"
|
||||
temp "^0.8.1"
|
||||
write-file-atomic "^2.3.0"
|
||||
|
||||
@@ -5979,15 +5981,16 @@ readable-stream@^2.0.1, readable-stream@^2.0.6, readable-stream@^2.2.2, readable
|
||||
string_decoder "~1.1.1"
|
||||
util-deprecate "~1.0.1"
|
||||
|
||||
recast@^0.18.1:
|
||||
version "0.18.7"
|
||||
resolved "https://registry.yarnpkg.com/recast/-/recast-0.18.7.tgz#56338a6d803c8c3b9113344440dc70d13c8a1ef7"
|
||||
integrity sha512-qNfoxvMkW4k8jJgNCfmIES7S31MEejXcEQs57eKUcQGiJUuX7cXNOD2h+W9z0rjNun2EkKqf0WvuRtmHw4NPNg==
|
||||
recast@^0.20.3:
|
||||
version "0.20.3"
|
||||
resolved "https://registry.yarnpkg.com/recast/-/recast-0.20.3.tgz#ac9387e4a59e5c8caef9057a35e306646287a7ef"
|
||||
integrity sha512-jrEPzRV5B7wfRiN0UYMtjgIx1Hp8MRHdLcMYqMNd0DoOe1CB5JmPL/04I7WPuuApCs7LCSisYK/FfKnPEaJrzw==
|
||||
dependencies:
|
||||
ast-types "0.13.2"
|
||||
ast-types "0.14.1"
|
||||
esprima "~4.0.0"
|
||||
private "^0.1.8"
|
||||
source-map "~0.6.1"
|
||||
tslib "^2.0.1"
|
||||
|
||||
rechoir@^0.6.2:
|
||||
version "0.6.2"
|
||||
@@ -7008,6 +7011,11 @@ tslib@^1.9.0:
|
||||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.2.tgz#9c79d83272c9a7aaf166f73915c9667ecdde3cc9"
|
||||
integrity sha512-tTSkux6IGPnUGUd1XAZHcpu85MOkIl5zX49pO+jfsie3eP0B6pyhOlLXm3cAC6T7s+euSDDUUV+Acop5WmtkVg==
|
||||
|
||||
tslib@^2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.1.tgz#410eb0d113e5b6356490eec749603725b021b43e"
|
||||
integrity sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ==
|
||||
|
||||
tunnel-agent@^0.6.0:
|
||||
version "0.6.0"
|
||||
resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd"
|
||||
|
||||
Reference in new issue
Block a user