🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-compiler-runtime

Package Overview
Dependencies
Maintainers
2
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-compiler-runtime - npm Package Compare versions

Comparing version

to
0.0.0-experimental-4b12060-20250611

44

dist/index.d.ts

@@ -1,26 +0,20 @@

declare module 'react-compiler-runtime/index' {
type MemoCache = Array<number | typeof $empty>;
const $empty: unique symbol;
export const c: any;
enum GuardKind {
PushGuardContext = 0,
PopGuardContext = 1,
PushExpectHook = 2,
PopExpectHook = 3
}
export function $dispatcherGuard(kind: GuardKind): void;
export function $reset($: MemoCache): void;
export function $makeReadOnly(): void;
export const renderCounterRegistry: Map<string, Set<{
count: number;
}>>;
export function clearRenderCounterRegistry(): void;
export function useRenderCounter(name: string): void;
export function $structuralCheck(oldValue: any, newValue: any, variableName: string, fnName: string, kind: string, loc: string): void;
export {};
type MemoCache = Array<number | typeof $empty>;
declare const $empty: unique symbol;
declare const c: any;
declare enum GuardKind {
PushGuardContext = 0,
PopGuardContext = 1,
PushExpectHook = 2,
PopExpectHook = 3
}
declare function $dispatcherGuard(kind: GuardKind): void;
declare function $reset($: MemoCache): void;
declare function $makeReadOnly(): void;
declare const renderCounterRegistry: Map<string, Set<{
count: number;
}>>;
declare function clearRenderCounterRegistry(): void;
declare function useRenderCounter(name: string): void;
declare function $structuralCheck(oldValue: any, newValue: any, variableName: string, fnName: string, kind: string, loc: string): void;
}
declare module 'react-compiler-runtime' {
import main = require('react-compiler-runtime/src/index');
export = main;
}
export { $dispatcherGuard, $makeReadOnly, $reset, $structuralCheck, c, clearRenderCounterRegistry, renderCounterRegistry, useRenderCounter };

@@ -385,2 +385,2 @@ /**

});
//# sourceMappingURL=index.js.map
//# sourceMappingURL=index.js.map
{
"name": "react-compiler-runtime",
"version": "0.0.0-experimental-40c6c23-20250301",
"version": "0.0.0-experimental-4b12060-20250611",
"description": "Runtime for React Compiler",

@@ -16,5 +16,5 @@ "license": "MIT",

"scripts": {
"build": "rimraf dist && scripts/build.js",
"build": "rimraf dist && tsup",
"test": "echo 'no tests'",
"watch": "scripts/build.js --watch"
"watch": "yarn build --watch"
},

@@ -21,0 +21,0 @@ "repository": {

Sorry, the diff of this file is not supported yet