hunk.code_window:     "web": "expo start --web"
     },
     "dependencies": {
       "expo": "~45.0.0-beta.4",
       "expo-splash-screen": "~0.15.0",
       "expo-status-bar": "~1.3.0",
       "react": "18.0.0",
       "react-dom": "18.0.0",
       "react-native": "0.69.1",
       "react-native-web": "0.18.1"
     },
     "devDependencies": {
       "@babel/core": "^7.12.9"
     }
   }
hunk.labels: keep keep keep replace replace replace replace replace replace replace keep keep keep keep keep
hunk.after_edit:     "expo": "~46.0.0-alpha.0",
       "expo-splash-screen": "~0.16.0",
       "expo-status-bar": "~1.4.0",
       "react": "17.0.2",
       "react-dom": "17.0.2",
       "react-native": "0.68.2",
       "react-native-web": "0.17.7"
  
hunk.file_path: templates/expo-template-bare-minimum/package.json
hunk.type: replace
file: /*
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  
  #pragma once
  
  #include <ABI44_0_0React/ABI44_0_0renderer/core/LayoutPrimitives.h>
  
  namespace ABI44_0_0facebook {
  namespace ABI44_0_0React {
  
  inline std::string toString(const LayoutDirection &layoutDirection) {
    switch (layoutDirection) {
      case LayoutDirection::Undefined:
        return "undefined";
      case LayoutDirection::LeftToRight:
        return "ltr";
      case LayoutDirection::RightToLeft:
        return "rtl";
    }
  }
  
  inline int toInt(const LayoutDirection &layoutDirection) {
    switch (layoutDirection) {
      case LayoutDirection::Undefined:
        return 0;
      case LayoutDirection::LeftToRight:
        return 1;
      case LayoutDirection::RightToLeft:
        return 2;
    }
  }
  
  inline std::string toString(const DisplayType &displayType) {
    switch (displayType) {
      case DisplayType::None:
        return "none";
      case DisplayType::Flex:
        return "flex";
      case DisplayType::Inline:
        return "inline";
    }
  }
  
  inline Size yogaMeassureToSize(int64_t value) {
    static_assert(
        sizeof(value) == 8,
        "Expected measureResult to be 8 bytes, or two 32 bit ints");
  
    int32_t wBits = 0xFFFFFFFF & (value >> 32);
    int32_t hBits = 0xFFFFFFFF & value;
  
    float *measuredWidth = reinterpret_cast<float *>(&wBits);
    float *measuredHeight = reinterpret_cast<float *>(&hBits);
  
    return {*measuredWidth, *measuredHeight};
  }
  
  } // namespace ABI44_0_0React
  } // namespace ABI44_0_0facebook
  