Skip to content

Conversation

@Yajur-Grover
Copy link
Contributor

@Yajur-Grover Yajur-Grover commented Nov 15, 2024

Overview

Bump react-native to 0.76.

Test Plan

Windows example test app:
image

Note: I tried to run yarn test locally, and was constantly hit with the following error, even before any changes were made:

 Details:

    SyntaxError: C:\new-account-repos\clipboard\node_modules\@react-native\js-polyfills\error-guard.js: Missing semicolon. (14:4)

      12 | let _inGuard = 0;
      13 |
    > 14 | type ErrorHandler = (error: mixed, isFatal: boolean) => void;
         |     ^
      15 | type Fn<Args, Return> = (...Args) => Return;
      16 |
      17 | /**

      at constructor (node_modules/@babel/parser/lib/index.js:353:19)
      at Parser.raise (node_modules/@babel/parser/lib/index.js:3277:19)
      at Parser.semicolon (node_modules/@babel/parser/lib/index.js:3598:10)
      at Parser.parseExpressionStatement (node_modules/@babel/parser/lib/index.js:12765:10)
      at Parser.parseStatementContent (node_modules/@babel/parser/lib/index.js:12376:19)
      at Parser.parseStatementLike (node_modules/@babel/parser/lib/index.js:12239:17)
      at Parser.parseModuleItem (node_modules/@babel/parser/lib/index.js:12216:17)
      at Parser.parseBlockOrModuleBlockBody (node_modules/@babel/parser/lib/index.js:12796:36)
      at Parser.parseBlockBody (node_modules/@babel/parser/lib/index.js:12789:10)
      at Parser.parseProgram (node_modules/@babel/parser/lib/index.js:12116:10)
      at Parser.parseTopLevel (node_modules/@babel/parser/lib/index.js:12106:25)
      at Parser.parse (node_modules/@babel/parser/lib/index.js:13905:10)
      at parse (node_modules/@babel/parser/lib/index.js:13947:38)
      at parser (node_modules/@babel/core/lib/parser/index.js:41:34)
          at parser.next (<anonymous>)
      at normalizeFile (node_modules/@babel/core/lib/transformation/normalize-file.js:64:37)
          at normalizeFile.next (<anonymous>)
      at run (node_modules/@babel/core/lib/transformation/index.js:21:50)
          at run.next (<anonymous>)
      at transform (node_modules/@babel/core/lib/transform.js:22:33)
          at transform.next (<anonymous>)
      at evaluateSync (node_modules/gensync/index.js:251:28)
      at sync (node_modules/gensync/index.js:89:14)
      at stopHiding - secret - don't use this - v1 (node_modules/@babel/core/lib/errors/rewrite-stack-trace.js:47:12)
      at transformSync (node_modules/@babel/core/lib/transform.js:42:76)
      at ScriptTransformer.transformSource (node_modules/@jest/transform/build/ScriptTransformer.js:545:31)
      at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:674:40)
      at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:726:19)
      at Object.<anonymous> (node_modules/react-native/jest/setup.js:323:6)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.428 s
Ran all test suites.

@Yajur-Grover Yajur-Grover changed the title chore(deps): bump react-native to 0.75 chore(deps): bump react-native to 0.76 Nov 18, 2024
Copy link
Member

@Naturalclar Naturalclar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, yarn test issue seems unrelated to this PR, so I will handle it separately

@Naturalclar Naturalclar merged commit d9aa666 into react-native-clipboard:master Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants