babel-plugin-react-compiler 0.0.0-experimental-20087f9-20250430 → 0.0.0-experimental-7bde208-20250505
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -1
- package/dist/index.js +32834 -78833
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -242,6 +242,7 @@ declare const EnvironmentConfigSchema: z.ZodObject<{
|
|
242
242
|
validateNoCapitalizedCalls: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
243
243
|
validateBlocklistedImports: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
244
244
|
validateNoImpureFunctionsInRender: z.ZodDefault<z.ZodBoolean>;
|
245
|
+
validateNoFreezingKnownMutableFunctions: z.ZodDefault<z.ZodBoolean>;
|
245
246
|
enableAssumeHooksFollowRulesOfReact: z.ZodDefault<z.ZodBoolean>;
|
246
247
|
enableTransitivelyFreezeFunctionExpressions: z.ZodDefault<z.ZodBoolean>;
|
247
248
|
enableEmitFreeze: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
@@ -402,6 +403,7 @@ declare const EnvironmentConfigSchema: z.ZodObject<{
|
|
402
403
|
validateNoCapitalizedCalls: string[] | null;
|
403
404
|
validateBlocklistedImports: string[] | null;
|
404
405
|
validateNoImpureFunctionsInRender: boolean;
|
406
|
+
validateNoFreezingKnownMutableFunctions: boolean;
|
405
407
|
enableAssumeHooksFollowRulesOfReact: boolean;
|
406
408
|
enableTransitivelyFreezeFunctionExpressions: boolean;
|
407
409
|
enableEmitFreeze: {
|
@@ -486,6 +488,7 @@ declare const EnvironmentConfigSchema: z.ZodObject<{
|
|
486
488
|
validateNoCapitalizedCalls?: string[] | null | undefined;
|
487
489
|
validateBlocklistedImports?: string[] | null | undefined;
|
488
490
|
validateNoImpureFunctionsInRender?: boolean | undefined;
|
491
|
+
validateNoFreezingKnownMutableFunctions?: boolean | undefined;
|
489
492
|
enableAssumeHooksFollowRulesOfReact?: boolean | undefined;
|
490
493
|
enableTransitivelyFreezeFunctionExpressions?: boolean | undefined;
|
491
494
|
enableEmitFreeze?: {
|
@@ -1107,7 +1110,7 @@ type InstructionValue = LoadLocal | LoadContext | {
|
|
1107
1110
|
} | StoreLocal | {
|
1108
1111
|
kind: 'StoreContext';
|
1109
1112
|
lvalue: {
|
1110
|
-
kind: InstructionKind.Reassign;
|
1113
|
+
kind: InstructionKind.Reassign | InstructionKind.Const | InstructionKind.Let | InstructionKind.Function;
|
1111
1114
|
place: Place;
|
1112
1115
|
};
|
1113
1116
|
value: Place;
|