diff --git a/react-packager/src/Bundler/source-map/source-map.js b/react-packager/src/Bundler/source-map/source-map.js index 2b28f880..e6048168 100644 --- a/react-packager/src/Bundler/source-map/source-map.js +++ b/react-packager/src/Bundler/source-map/source-map.js @@ -59,9 +59,9 @@ function compactMapping(mapping: BabelRawMapping): RawMapping { } if (typeof name !== 'string') { - /* $FlowFixMe(>=0.38.0 site=react_native_fb) - Flow error detected during - * the deployment of v0.38.0. To see the error, remove this comment and run - * flow */ + /* $FlowFixMe(>=0.38.0 site=react_native_fb,react_native_oss) - Flow error + * detected during the deployment of v0.38.0. To see the error, remove this + * comment and run flow */ return ([line, column, original.line, original.column]: SourceMapping); } @@ -80,13 +80,13 @@ function addMappingsForFile(generator, mappings, module, carryOver) { mapping[0] + carryOver, // lines start at 1, columns start at 0 mapping[0] === 1 && mapping[1] + columnOffset || mapping[1], - /* $FlowFixMe(>=0.38.0 site=react_native_fb) - Flow error detected during - * the deployment of v0.38.0. To see the error, remove this comment and - * run flow */ + /* $FlowFixMe(>=0.38.0 site=react_native_fb,react_native_oss) - Flow error + * detected during the deployment of v0.38.0. To see the error, remove + * this comment and run flow */ mapping[2], - /* $FlowFixMe(>=0.38.0 site=react_native_fb) - Flow error detected during - * the deployment of v0.38.0. To see the error, remove this comment and - * run flow */ + /* $FlowFixMe(>=0.38.0 site=react_native_fb,react_native_oss) - Flow error + * detected during the deployment of v0.38.0. To see the error, remove + * this comment and run flow */ mapping[3], //$FlowIssue #15417846 mapping[4], diff --git a/react-packager/src/ModuleGraph/worker/optimize-module.js b/react-packager/src/ModuleGraph/worker/optimize-module.js index 8ab56bf3..7a83850e 100644 --- a/react-packager/src/ModuleGraph/worker/optimize-module.js +++ b/react-packager/src/ModuleGraph/worker/optimize-module.js @@ -71,8 +71,9 @@ function optimize(transformed, file, originalCode, options): TransformResult { } function optimizeCode(code, map, filename, inliningOptions) { - /* $FlowFixMe(>=0.38.0 site=react_native_fb) - Flow error detected during the - * deployment of v0.38.0. To see the error, remove this comment and run flow + /* $FlowFixMe(>=0.38.0 site=react_native_fb,react_native_oss) - Flow error + * detected during the deployment of v0.38.0. To see the error, remove this + * comment and run flow */ return babel.transform(code, { plugins: [ diff --git a/react-packager/src/node-haste/Cache/index.js b/react-packager/src/node-haste/Cache/index.js index a562761c..fb2a2289 100644 --- a/react-packager/src/node-haste/Cache/index.js +++ b/react-packager/src/node-haste/Cache/index.js @@ -161,9 +161,9 @@ class Cache { const ret = (Object.create(null): Record); ret.metadata = record.metadata; ret.data = Object.create(null); - /* $FlowFixMe(>=0.36.0 site=react_native_fb) Flow error detected - * during the deploy of Flow v0.36.0. To see the error, remove this - * comment and run Flow */ + /* $FlowFixMe(>=0.36.0 site=react_native_fb,react_native_oss) Flow + * error detected during the deploy of Flow v0.36.0. To see the + * error, remove this comment and run Flow */ fieldNames.forEach((field, index) => ret.data[field] = ref[index] );