Commit Graph

  • bbb5840e73 Handle phi nodes for ValidateFrozenLambdas Joe Savona 2023-06-20 15:16:56 -07:00
  • 6efd1f99d7 Make function name a string not an identifier Joe Savona 2023-06-20 15:16:55 -07:00
  • 4a36b83796 Ref validation allows passing refs as props Joe Savona 2023-06-20 10:11:56 -07:00
  • 4a74dd599a Ensure updates are applied when diffInCommitPhase is on (#26977) sebmarkbage 2023-06-20 01:29:40 +00:00
  • acaacf47a2 Ensure updates are applied when diffInCommitPhase is on (#26977) sebmarkbage 2023-06-20 01:29:32 +00:00
  • d1c8cdae3b Ensure updates are applied when diffInCommitPhase is on (#26977) Sebastian Markbåge 2023-06-19 21:24:53 -04:00
  • a9868cc2b1 Fix memoization of lambdas in @enableOptimizeFunctionExpr feature Joe Savona 2023-06-16 14:42:19 -07:00
  • 04f4b50997 Integrate mutable context identifier inference, improve frozen function inference Joe Savona 2023-06-16 14:42:19 -07:00
  • a2af8776a4 Add InferMutableContextVariables (unused) Joe Savona 2023-06-16 14:42:18 -07:00
  • 59a1f2a5b0 AnalyzeFunction: ref values take priority over other mutations Joe Savona 2023-06-16 14:42:17 -07:00
  • 278c7f56ba ValidateFrozenLambdas: visit terminals Joe Savona 2023-06-16 14:42:16 -07:00
  • 1db2619807 InferReferenceEffects: distinguish conditional mutations in HIR Joe Savona 2023-06-16 14:42:16 -07:00
  • 19976d5f83 [ez] Real location for function context values Joe Savona 2023-06-16 14:42:15 -07:00
  • f467774487 [babel-plugin][ez] Rename shouldCompile to shouldVisitNode Lauren Tan 2023-06-20 12:30:07 -04:00
  • 46fa83d854 [eslint-plugin] Disambiguate compiler errors without instanceof Lauren Tan 2023-06-20 12:30:07 -04:00
  • 2f0ab0ec9d [eslint-plugin] Temporarily disable validateFrozenLambdas Lauren Tan 2023-06-20 12:30:06 -04:00
  • 98633d10a6 Add a noEmit compiler option Lauren Tan 2023-06-20 12:30:06 -04:00
  • 79dbf6fc19 [eslint-plugin] Try using HermesParser Lauren Tan 2023-06-20 12:30:05 -04:00
  • 059365d726 [eslint-plugin] Temporarily only lint on 'use forget' Lauren Tan 2023-06-20 12:30:05 -04:00
  • 5c0622af39 Add failing test for InferReferenceEffects bug Lauren Tan 2023-06-20 12:30:04 -04:00
  • e378eed0f3 [eslint-plugin] Use babel plugin instead of manual traversal Lauren Tan 2023-06-16 16:23:18 -04:00
  • a90b5371cc [eslint-plugin] babel-plugin-fbt is a dependency Lauren Tan 2023-06-16 14:12:35 -04:00
  • daa23543ef [ci] Run all tests Lauren Tan 2023-06-16 14:05:45 -04:00
  • 0fc4c94ef1 Echo 'no tests' for packages without tests Lauren Tan 2023-06-16 14:05:43 -04:00
  • a558b1536a [babel-plugin] buildFunctionDeclaration errors are todos Lauren Tan 2023-06-16 12:18:45 -04:00
  • 063f0e3001 [flow] upgrade to 0.209.0 (#26958) kassens 2023-06-16 14:02:53 +00:00
  • 21c3abce1b [flow] upgrade to 0.209.0 (#26958) kassens 2023-06-16 14:02:43 +00:00
  • 613e6f5fca [flow] upgrade to 0.209.0 (#26958) Jan Kassens 2023-06-16 09:57:03 -04:00
  • fc485c376b [Float][Fizz][Fiber] support imagesrcset and imagesizes for ReactDOM.preload() (#26940) gnoff 2023-06-15 21:56:16 +00:00
  • 43a609b418 [Float][Fizz][Fiber] support imagesrcset and imagesizes for ReactDOM.preload() (#26940) gnoff 2023-06-15 21:56:01 +00:00
  • fc929cf4ea [Float][Fizz][Fiber] support imagesrcset and imagesizes for ReactDOM.preload() (#26940) Josh Story 2023-06-15 14:50:22 -07:00
  • 6968ebcf7b [Float] Nonce preload support (#26939) gnoff 2023-06-15 20:47:34 +00:00
  • b437e4d88b [Float] Nonce preload support (#26939) gnoff 2023-06-15 20:46:42 +00:00
  • 86acc10f25 [Float] Nonce preload support (#26939) Josh Story 2023-06-15 13:39:48 -07:00
  • 501cf92f1e Unify UnsafeInput and InvalidInput Lauren Tan 2023-06-15 15:13:37 -04:00
  • 0d01d5f69c [eslint-plugin] Enable validation passes Lauren Tan 2023-06-15 14:57:10 -04:00
  • 0fdb1e5ac7 [eslint-plugin] Add test for invariants Lauren Tan 2023-06-15 14:57:07 -04:00
  • 87a39e1995 Mark InvalidInput errors as critical Lauren Tan 2023-06-15 14:34:49 -04:00
  • b68c409a6b [eslint-plugin] Throw non CompilerErrors Lauren Tan 2023-06-15 14:34:46 -04:00
  • fe91cd8ac1 [eslint-plugin] Parse flow Lauren Tan 2023-06-15 14:34:43 -04:00
  • c402d8de76 [eslint-plugin] Fall back to context.getSourceCode() Lauren Tan 2023-06-15 12:52:57 -04:00
  • c416fb16ca [make-read-only] Make tsconfig more consistent with other pkgs Lauren Tan 2023-06-15 12:52:56 -04:00
  • 6810ddbf56 [react-forget-runtime] Compile with typescript Lauren Tan 2023-06-15 12:52:55 -04:00
  • b6c1ca9718 [build] yarn bundle:meta builds and uploads all packages Lauren Tan 2023-06-15 12:52:55 -04:00
  • aae9b01f91 Test cases for inferring mutability of function expressions (as values) Joe Savona 2023-06-15 09:32:30 -07:00
  • c0fdffd76d chore[devtools]: upgrade to webpack v5 (#26887) hoxyq 2023-06-14 12:21:33 +00:00
  • 4ddc019aca chore[devtools]: upgrade to webpack v5 (#26887) Ruslan Lesiutin 2023-06-14 13:15:52 +01:00
  • a4ddd5a4d9 fix[devtools]: display NaN as string in values (#26947) hoxyq 2023-06-14 10:51:21 +00:00
  • f5c249db8b fix[devtools]: display NaN as string in values (#26947) Ruslan Lesiutin 2023-06-14 11:45:30 +01:00
  • 8d784b2bde [Flight] Only skip past the end boundary if there is a newline character (#26945) sebmarkbage 2023-06-14 04:56:29 +00:00
  • a1723e18fd [Flight] Only skip past the end boundary if there is a newline character (#26945) Sebastian Markbåge 2023-06-14 00:51:42 -04:00
  • 1d94a43c45 [Float][Fizz] add crossOrigin support for preloading bootstrap scripts and bootstrap modules (#26942) gnoff 2023-06-13 21:05:41 +00:00
  • 0d865f04c8 [Float][Fizz] add crossOrigin support for preloading bootstrap scripts and bootstrap modules (#26942) gnoff 2023-06-13 21:05:24 +00:00
  • a7bf5ba614 [Float][Fizz] add crossOrigin support for preloading bootstrap scripts and bootstrap modules (#26942) Josh Story 2023-06-13 13:59:45 -07:00
  • 64b0998822 [Float] use common float types (#26938) gnoff 2023-06-13 20:35:04 +00:00
  • 7ed6084c39 [Float] use common float types (#26938) Josh Story 2023-06-13 13:30:26 -07:00
  • 717bf322f9 Add support for 'crossorigin' attribute on bootstrapScripts and bootstrapModules (#26844) gnoff 2023-06-13 16:17:48 +00:00
  • 3270c9a65d Add support for 'crossorigin' attribute on bootstrapScripts and bootstrapModules (#26844) gnoff 2023-06-13 16:17:34 +00:00
  • 90229eb925 Add support for 'crossorigin' attribute on bootstrapScripts and bootstrapModules (#26844) Henrique Limas 2023-06-13 09:12:10 -07:00
  • 92e7a509c6 fix: devtools cannot be closed correctly (#25510) hoxyq 2023-06-13 09:10:22 +00:00
  • 88df88f944 fix: devtools cannot be closed correctly (#25510) Jack Works 2023-06-13 17:04:38 +08:00
  • d13c641a81 [Flight] Optimize Large Strings by Not Escaping Them (#26932) sebmarkbage 2023-06-13 02:21:35 +00:00
  • db50164dba [Flight] Optimize Large Strings by Not Escaping Them (#26932) Sebastian Markbåge 2023-06-12 22:16:47 -04:00
  • 8fcceb715c Rename feature flag for function expr optimization Joe Savona 2023-06-12 15:56:48 -07:00
  • a21660de00 Fix calculation of nested function dependencies Joe Savona 2023-06-14 14:04:26 -07:00
  • 42d25ac839 Delete processStringChunk (#26896) sebmarkbage 2023-06-10 21:04:26 +00:00
  • ce6842d8f5 Delete processStringChunk (#26896) Sebastian Markbåge 2023-06-10 16:59:45 -04:00
  • 400079675f refactor[renderer]: expose getInspectorDataForInstance in rendererConfig (#26913) hoxyq 2023-06-09 10:01:15 +00:00
  • 21a161fa37 refactor[renderer]: expose getInspectorDataForInstance in rendererConfig (#26913) Ruslan Lesiutin 2023-06-09 10:55:34 +01:00
  • a8fff7cc5c Feature to optimize function expressions Joe Savona 2023-06-08 18:05:41 -04:00
  • 4d7d2cf4dc Type inference across function expressions boundaries Joe Savona 2023-06-08 14:02:04 -04:00
  • 5775102b85 InferTypes traverses function expressions Joe Savona 2023-06-08 14:02:04 -04:00
  • 11d4ff430f ConstantPropagation traverses function expressions Joe Savona 2023-06-08 14:02:03 -04:00
  • e39855d251 EliminateRedundantPhi traverses function expressions Joe Savona 2023-06-08 14:02:03 -04:00
  • 638e45c928 EnterSSA traverses function expressions Joe Savona 2023-06-08 14:02:02 -04:00
  • c2c221a452 MergeConsecutiveBlocks traverses function expressions Joe Savona 2023-06-08 14:02:02 -04:00
  • 3673272ca4 [eslint-plugin] Add basic test for unsupported syntax Lauren Tan 2023-06-07 15:41:22 -04:00
  • 246936ca57 [prettier] add expected prettierrc file Mofei Zhang 2023-06-08 14:32:22 -04:00
  • 166f47a41e [snap] Fix snap ignored paths Mofei Zhang 2023-06-08 14:32:22 -04:00
  • 8192cd253d Fix missing memoization of scope-less variable being reassigned Joe Savona 2023-06-07 22:15:59 -04:00
  • 5673672ff9 Move playground to apps Lauren Tan 2023-06-07 14:40:42 -04:00
  • 8ed315a361 Fix:- Fixed dev tools inspect mode on Shadow dom (#26888) hoxyq 2023-06-07 15:45:51 +00:00
  • 910045696b Fix:- Fixed dev tools inspect mode on Shadow dom (#26888) BIKI DAS 2023-06-07 21:08:38 +05:30
  • bf631a0bb6 Change rules for context variable promotion Joe Savona 2023-06-05 22:11:08 -04:00
  • 4e22fa6451 Try to fix test262 in ci Lauren Tan 2023-06-06 15:25:20 -04:00
  • 5ebb7f1a8e Try to compile with Forget in eslint plugin Lauren Tan 2023-06-06 10:56:21 -04:00
  • 359df9e85c Enable TypeScript in eslint-plugin-react-forget Lauren Tan 2023-06-06 10:56:21 -04:00
  • 5c1faa901e Add workspace command to run all tests Lauren Tan 2023-06-06 10:56:20 -04:00
  • cd56c55e87 Basic noop rule for ReactForgetDiagnostics Lauren Tan 2023-06-06 10:56:20 -04:00
  • f82de29e73 Bootstrap new eslint plugin Lauren Tan 2023-06-06 10:56:20 -04:00
  • 2ed38d1885 Warn about conditionally calling hooks when a hook call is an OptionalCallExpression ty/rules-of-hooks-in-optional-chaining Tianyu Yao 2023-06-05 16:36:51 -07:00
  • 04d6bad1ae [ez] Update completed todo comment Joe Savona 2023-06-05 16:46:38 -04:00
  • 39d837d918 Update fixtures from workspace rebase Joe Savona 2023-06-05 14:16:14 -04:00
  • 66ca1c75cb Fix dropped constant declaration bug Joe Savona 2023-06-05 14:08:29 -04:00
  • ad32811b64 [RFC] Improve validation against ref access in render Joe Savona 2023-06-05 14:08:26 -04:00
  • b160ee8522 [tests] Tests and patch for context variables Mofei Zhang 2023-06-05 15:04:46 -04:00
  • 6d1d05ff91 [runtime] Update makeReadOnly runtime Mofei Zhang 2023-06-05 14:46:59 -04:00
  • 5ba0a03e00 [config] Clean up codegen imports and gating Mofei Zhang 2023-06-05 14:46:59 -04:00
  • a65e9cd1f1 [devx] emit calls to makeReadOnly for debugging Mofei Zhang 2023-06-05 14:46:58 -04:00
  • 40d1459115 Scaffold workspaces Lauren Tan 2023-06-05 13:35:39 -04:00