Add missing copyright header (#33106)

This made the build fail since there was no file header comment.

DiffTrain build for [9de0304ad7](https://github.com/facebook/react/commit/9de0304ad72bc3f8a77d2d84efa530b8051d1c15)
This commit is contained in:
kassens
2025-05-02 13:59:14 -07:00
parent 7f00c48042
commit 6a15b09f98
31 changed files with 120785 additions and 86 deletions
+1 -1
View File
@@ -1 +1 @@
19.2.0-native-fb-0ed6ceb9-20250501
19.2.0-native-fb-9de0304a-20250502
@@ -0,0 +1,21 @@
MIT License
Copyright (c) Meta Platforms, Inc. and affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,138 @@
# `eslint-plugin-react-hooks`
This ESLint plugin enforces the [Rules of Hooks](https://react.dev/reference/rules/rules-of-hooks).
It is a part of the [Hooks API](https://react.dev/reference/react/hooks) for React.
## Installation
**Note: If you're using Create React App, please use `react-scripts` >= 3 instead of adding it directly.**
Assuming you already have ESLint installed, run:
```sh
# npm
npm install eslint-plugin-react-hooks --save-dev
# yarn
yarn add eslint-plugin-react-hooks --dev
```
### Flat Config (eslint.config.js|ts)
#### >= 6.0.0
For users of 6.0 and beyond, simply add the `recommended` config.
```js
import * as reactHooks from 'eslint-plugin-react-hooks';
export default [
// ...
reactHooks.configs.recommended,
];
```
#### 5.2.0
For users of 5.2.0 (the first version with flat config support), add the `recommended-latest` config.
```js
import * as reactHooks from 'eslint-plugin-react-hooks';
export default [
// ...
reactHooks.configs['recommended-latest'],
];
```
### Legacy Config (.eslintrc)
#### >= 5.2.0
If you are still using ESLint below 9.0.0, you can use `recommended-legacy` for accessing a legacy version of the recommended config.
```js
{
"extends": [
// ...
"plugin:react-hooks/recommended-legacy"
]
}
```
#### < 5.2.0
If you're using a version earlier than 5.2.0, the legacy config was simply `recommended`.
```js
{
"extends": [
// ...
"plugin:react-hooks/recommended"
]
}
```
### Custom Configuration
If you want more fine-grained configuration, you can instead add a snippet like this to your ESLint configuration file:
#### Flat Config (eslint.config.js|ts)
```js
import * as reactHooks from 'eslint-plugin-react-hooks';
export default [
{
files: ['**/*.{js,jsx}'],
plugins: { 'react-hooks': reactHooks },
// ...
rules: {
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
}
},
];
```
#### Legacy Config (.eslintrc)
```js
{
"plugins": [
// ...
"react-hooks"
],
"rules": {
// ...
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
}
}
```
## Advanced Configuration
`exhaustive-deps` can be configured to validate dependencies of custom Hooks with the `additionalHooks` option.
This option accepts a regex to match the names of custom Hooks that have dependencies.
```js
{
rules: {
// ...
"react-hooks/exhaustive-deps": ["warn", {
additionalHooks: "(useMyCustomHook|useMyOtherCustomHook)"
}]
}
}
```
We suggest to use this option **very sparingly, if at all**. Generally saying, we recommend most custom Hooks to not use the dependencies argument, and instead provide a higher-level API that is more focused around a specific use case.
## Valid and Invalid Examples
Please refer to the [Rules of Hooks](https://react.dev/reference/rules/rules-of-hooks) documentation to learn more about this rule.
## License
MIT
@@ -0,0 +1,87 @@
import * as estree from 'estree';
import { Rule, ESLint } from 'eslint';
declare const rules: {
'exhaustive-deps': {
meta: {
type: "suggestion";
docs: {
description: string;
recommended: true;
url: string;
};
fixable: "code";
hasSuggestions: true;
schema: {
type: "object";
additionalProperties: false;
enableDangerousAutofixThisMayCauseInfiniteLoops: boolean;
properties: {
additionalHooks: {
type: "string";
};
enableDangerousAutofixThisMayCauseInfiniteLoops: {
type: "boolean";
};
};
}[];
};
create(context: Rule.RuleContext): {
CallExpression: (node: estree.CallExpression) => void;
};
};
'react-compiler': Rule.RuleModule;
'rules-of-hooks': {
meta: {
type: "problem";
docs: {
description: string;
recommended: true;
url: string;
};
};
create(context: Rule.RuleContext): {
'*'(node: any): void;
'*:exit'(node: any): void;
CallExpression(node: estree.CallExpression & Rule.NodeParentExtension): void;
Identifier(node: estree.Identifier & Rule.NodeParentExtension): void;
'CallExpression:exit'(node: estree.CallExpression & Rule.NodeParentExtension): void;
FunctionDeclaration(node: estree.FunctionDeclaration & Rule.NodeParentExtension): void;
ArrowFunctionExpression(node: estree.ArrowFunctionExpression & Rule.NodeParentExtension): void;
};
};
};
declare const configs: {
'recommended-legacy': {
plugins: string[];
rules: {
'react-hooks/rules-of-hooks': "error";
'react-hooks/exhaustive-deps': "warn";
};
};
recommended: {
name: string;
plugins: {
readonly 'react-hooks': ESLint.Plugin;
};
rules: {
'react-hooks/rules-of-hooks': "error";
'react-hooks/exhaustive-deps': "warn";
};
};
'recommended-latest': {
name: string;
plugins: {
readonly 'react-hooks': ESLint.Plugin;
};
rules: {
'react-hooks/rules-of-hooks': "error";
'react-hooks/exhaustive-deps': "warn";
};
};
};
declare const meta: {
name: string;
};
export { configs, meta, rules };
@@ -0,0 +1,8 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export * from './cjs/eslint-plugin-react-hooks';
@@ -0,0 +1,17 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* @generated SignedSource<<829a703f74325e3ef8d64eef69524fd5>>
*/
'use strict';
// TODO: this doesn't make sense for an ESLint rule.
// We need to fix our build process to not create bundles for "raw" packages like this.
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/eslint-plugin-react-hooks.production.js');
} else {
module.exports = require('./cjs/eslint-plugin-react-hooks.development.js');
}
@@ -0,0 +1,69 @@
{
"name": "eslint-plugin-react-hooks",
"description": "ESLint rules for React Hooks",
"version": "0.0.0-experimental-9de0304a-20250502",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/eslint-plugin-react-hooks"
},
"files": [
"LICENSE",
"README.md",
"cjs",
"index.js",
"index.d.ts"
],
"keywords": [
"eslint",
"eslint-plugin",
"eslintplugin",
"react"
],
"scripts": {
"build:compiler": "cd ../../compiler && yarn workspace babel-plugin-react-compiler build",
"test": "yarn build:compiler && jest",
"typecheck": "tsc --noEmit"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/facebook/react/issues"
},
"main": "./index.js",
"types": "./index.d.ts",
"engines": {
"node": ">=18"
},
"homepage": "https://react.dev/",
"peerDependencies": {
"eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0"
},
"dependencies": {
"@babel/core": "^7.24.4",
"@babel/parser": "^7.24.4",
"@babel/plugin-transform-private-methods": "^7.24.4",
"hermes-parser": "^0.25.1",
"zod": "^3.22.4",
"zod-validation-error": "^3.0.3"
},
"devDependencies": {
"@babel/eslint-parser": "^7.11.4",
"@babel/preset-typescript": "^7.26.0",
"@babel/types": "^7.19.0",
"@tsconfig/strictest": "^2.0.5",
"@typescript-eslint/parser-v2": "npm:@typescript-eslint/parser@^2.26.0",
"@typescript-eslint/parser-v3": "npm:@typescript-eslint/parser@^3.10.0",
"@typescript-eslint/parser-v4": "npm:@typescript-eslint/parser@^4.1.0",
"@typescript-eslint/parser-v5": "npm:@typescript-eslint/parser@^5.62.0",
"@types/eslint": "^8.56.12",
"@types/estree": "^1.0.6",
"@types/estree-jsx": "^1.0.5",
"@types/node": "^20.2.5",
"babel-eslint": "^10.0.3",
"eslint-v7": "npm:eslint@^7.7.0",
"eslint-v8": "npm:eslint@^8.57.1",
"eslint-v9": "npm:eslint@^9.0.0",
"jest": "^29.5.0",
"typescript": "^5.4.3"
}
}
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<1eb08f6a09bf7c59a67b2c313eee5a7f>>
* @generated SignedSource<<94418d6210d98f9818b820d855be067b>>
*/
"use strict";
@@ -404,5 +404,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-0ed6ceb9-20250501";
exports.version = "19.2.0-native-fb-9de0304a-20250502";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<bf3c75b06c4ace9584a6b50cde7f1cec>>
* @generated SignedSource<<f5f8b76de6ec1def92aaaa4cceb11a4d>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-0ed6ceb9-20250501";
exports.version = "19.2.0-native-fb-9de0304a-20250502";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<bf3c75b06c4ace9584a6b50cde7f1cec>>
* @generated SignedSource<<f5f8b76de6ec1def92aaaa4cceb11a4d>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-0ed6ceb9-20250501";
exports.version = "19.2.0-native-fb-9de0304a-20250502";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<7c1e0cf917b85f5c89bb7c829d2fefae>>
* @generated SignedSource<<731574b70709fc6bdfd9890e3a84358d>>
*/
/*
@@ -26650,11 +26650,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-0ed6ceb9-20250501" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-9de0304a-20250502" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-native-fb-0ed6ceb9-20250501\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-9de0304a-20250502\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -26691,10 +26691,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-0ed6ceb9-20250501",
version: "19.2.0-native-fb-9de0304a-20250502",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ed6ceb9-20250501"
reconcilerVersion: "19.2.0-native-fb-9de0304a-20250502"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26838,5 +26838,5 @@ __DEV__ &&
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-0ed6ceb9-20250501";
exports.version = "19.2.0-native-fb-9de0304a-20250502";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<4d808718671119eeb92d5fca2e8ffff2>>
* @generated SignedSource<<271c338ffe2768b505ffedff1fd57c13>>
*/
/*
@@ -16748,14 +16748,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1904 = React.version;
if (
"19.2.0-native-fb-0ed6ceb9-20250501" !==
"19.2.0-native-fb-9de0304a-20250502" !==
isomorphicReactPackageVersion$jscomp$inline_1904
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1904,
"19.2.0-native-fb-0ed6ceb9-20250501"
"19.2.0-native-fb-9de0304a-20250502"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16777,10 +16777,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2388 = {
bundleType: 0,
version: "19.2.0-native-fb-0ed6ceb9-20250501",
version: "19.2.0-native-fb-9de0304a-20250502",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ed6ceb9-20250501"
reconcilerVersion: "19.2.0-native-fb-9de0304a-20250502"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2389 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16884,4 +16884,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-0ed6ceb9-20250501";
exports.version = "19.2.0-native-fb-9de0304a-20250502";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<89f9e826ae16098a3381f903164292b7>>
* @generated SignedSource<<3379d7be92d89e37652992f051429130>>
*/
/*
@@ -17457,14 +17457,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2007 = React.version;
if (
"19.2.0-native-fb-0ed6ceb9-20250501" !==
"19.2.0-native-fb-9de0304a-20250502" !==
isomorphicReactPackageVersion$jscomp$inline_2007
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2007,
"19.2.0-native-fb-0ed6ceb9-20250501"
"19.2.0-native-fb-9de0304a-20250502"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17486,10 +17486,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2014 = {
bundleType: 0,
version: "19.2.0-native-fb-0ed6ceb9-20250501",
version: "19.2.0-native-fb-9de0304a-20250502",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ed6ceb9-20250501",
reconcilerVersion: "19.2.0-native-fb-9de0304a-20250502",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$305 = 0;
@@ -17608,4 +17608,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-0ed6ceb9-20250501";
exports.version = "19.2.0-native-fb-9de0304a-20250502";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<bc60bd4dd18eab5fa22bf40954322555>>
* @generated SignedSource<<7617947fd85698c498bf3434a36d6e40>>
*/
/*
@@ -26711,11 +26711,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-0ed6ceb9-20250501" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-9de0304a-20250502" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-native-fb-0ed6ceb9-20250501\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-9de0304a-20250502\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -26752,10 +26752,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-0ed6ceb9-20250501",
version: "19.2.0-native-fb-9de0304a-20250502",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ed6ceb9-20250501"
reconcilerVersion: "19.2.0-native-fb-9de0304a-20250502"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -27215,7 +27215,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-0ed6ceb9-20250501";
exports.version = "19.2.0-native-fb-9de0304a-20250502";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<b04a651c413aba93f79ba379d24cce8f>>
* @generated SignedSource<<caadaebbc0d5e763fa55779316ed2004>>
*/
/*
@@ -16759,14 +16759,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1905 = React.version;
if (
"19.2.0-native-fb-0ed6ceb9-20250501" !==
"19.2.0-native-fb-9de0304a-20250502" !==
isomorphicReactPackageVersion$jscomp$inline_1905
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1905,
"19.2.0-native-fb-0ed6ceb9-20250501"
"19.2.0-native-fb-9de0304a-20250502"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16788,10 +16788,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2391 = {
bundleType: 0,
version: "19.2.0-native-fb-0ed6ceb9-20250501",
version: "19.2.0-native-fb-9de0304a-20250502",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ed6ceb9-20250501"
reconcilerVersion: "19.2.0-native-fb-9de0304a-20250502"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2392 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17049,4 +17049,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-0ed6ceb9-20250501";
exports.version = "19.2.0-native-fb-9de0304a-20250502";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<b43330c0761fecb749af012c4615c332>>
* @generated SignedSource<<b07bc6b1efd11c4b37bc075830c15c4e>>
*/
/*
@@ -17472,14 +17472,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2008 = React.version;
if (
"19.2.0-native-fb-0ed6ceb9-20250501" !==
"19.2.0-native-fb-9de0304a-20250502" !==
isomorphicReactPackageVersion$jscomp$inline_2008
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2008,
"19.2.0-native-fb-0ed6ceb9-20250501"
"19.2.0-native-fb-9de0304a-20250502"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17501,10 +17501,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2015 = {
bundleType: 0,
version: "19.2.0-native-fb-0ed6ceb9-20250501",
version: "19.2.0-native-fb-9de0304a-20250502",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ed6ceb9-20250501",
reconcilerVersion: "19.2.0-native-fb-9de0304a-20250502",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$305 = 0;
@@ -17777,7 +17777,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-0ed6ceb9-20250501";
exports.version = "19.2.0-native-fb-9de0304a-20250502";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<01e19d9368d624d31c81161ec91aa4c5>>
* @generated SignedSource<<3180708964486dfe2f683b09dd529c25>>
*/
"use strict";
@@ -15630,10 +15630,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-0ed6ceb9-20250501",
version: "19.2.0-native-fb-9de0304a-20250502",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ed6ceb9-20250501"
reconcilerVersion: "19.2.0-native-fb-9de0304a-20250502"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15778,5 +15778,5 @@ __DEV__ &&
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-0ed6ceb9-20250501";
exports.version = "19.2.0-native-fb-9de0304a-20250502";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<170c832af1ef56139d84b9583fc9e6fd>>
* @generated SignedSource<<c2e253441fc0f7e3750a77a99d846912>>
*/
"use strict";
@@ -9885,10 +9885,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1439 = {
bundleType: 0,
version: "19.2.0-native-fb-0ed6ceb9-20250501",
version: "19.2.0-native-fb-9de0304a-20250502",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ed6ceb9-20250501"
reconcilerVersion: "19.2.0-native-fb-9de0304a-20250502"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1440 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10024,4 +10024,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-0ed6ceb9-20250501";
exports.version = "19.2.0-native-fb-9de0304a-20250502";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<1ddec52ec0745a726c45d3233f99fb2a>>
* @generated SignedSource<<04a618789b7da79ae41ed09e0cb4cfb6>>
*/
"use strict";
@@ -10502,10 +10502,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1247 = {
bundleType: 0,
version: "19.2.0-native-fb-0ed6ceb9-20250501",
version: "19.2.0-native-fb-9de0304a-20250502",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ed6ceb9-20250501",
reconcilerVersion: "19.2.0-native-fb-9de0304a-20250502",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$155 = 0;
@@ -10656,4 +10656,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-0ed6ceb9-20250501";
exports.version = "19.2.0-native-fb-9de0304a-20250502";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<6b8da4e84e37ef171caed06c55d3dd2d>>
* @generated SignedSource<<e91864010579b5d6f7685627003a7ec0>>
*/
"use strict";
@@ -1412,7 +1412,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-native-fb-0ed6ceb9-20250501";
exports.version = "19.2.0-native-fb-9de0304a-20250502";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<09120e326736c5eca767081f61aaa504>>
* @generated SignedSource<<b5449f8294560a4c01a28b4e0e69a719>>
*/
"use strict";
@@ -587,4 +587,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-native-fb-0ed6ceb9-20250501";
exports.version = "19.2.0-native-fb-9de0304a-20250502";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<2407780bbfe7ed8fabddae3ec42d4978>>
* @generated SignedSource<<26b89a0b74047672074df141d79c79ec>>
*/
"use strict";
@@ -591,7 +591,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-native-fb-0ed6ceb9-20250501";
exports.version = "19.2.0-native-fb-9de0304a-20250502";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
0ed6ceb9f6c19f28c504cf46193cef40166a61f6
9de0304ad72bc3f8a77d2d84efa530b8051d1c15
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<2d9ccae50774dce0a433ee4503ae9b83>>
* @generated SignedSource<<96afa3cc7d41677e277a5828272f203a>>
*/
"use strict";
@@ -17469,10 +17469,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-0ed6ceb9-20250501",
version: "19.2.0-native-fb-9de0304a-20250502",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ed6ceb9-20250501"
reconcilerVersion: "19.2.0-native-fb-9de0304a-20250502"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<d6af66ec1f8ae7b41c9c6db9f06007d9>>
* @generated SignedSource<<0f7f496b9c54aca42108799399bb466e>>
*/
"use strict";
@@ -11210,10 +11210,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1251 = {
bundleType: 0,
version: "19.2.0-native-fb-0ed6ceb9-20250501",
version: "19.2.0-native-fb-9de0304a-20250502",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ed6ceb9-20250501"
reconcilerVersion: "19.2.0-native-fb-9de0304a-20250502"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1251.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<7959d567f6347b3a7ce45d838b3526d3>>
* @generated SignedSource<<4982b4d22c36fcef01af3f4e4070a9dd>>
*/
"use strict";
@@ -11911,10 +11911,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1352 = {
bundleType: 0,
version: "19.2.0-native-fb-0ed6ceb9-20250501",
version: "19.2.0-native-fb-9de0304a-20250502",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ed6ceb9-20250501"
reconcilerVersion: "19.2.0-native-fb-9de0304a-20250502"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1352.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<67faeb8c2a8f26549d4b4e302b2069e2>>
* @generated SignedSource<<a2e8d6941332f7af3cd71d9068383a06>>
*/
"use strict";
@@ -17622,11 +17622,11 @@ __DEV__ &&
shouldSuspendImpl = newShouldSuspendImpl;
};
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-0ed6ceb9-20250501" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-9de0304a-20250502" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-native-renderer: 19.2.0-native-fb-0ed6ceb9-20250501\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-9de0304a-20250502\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -17652,10 +17652,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-0ed6ceb9-20250501",
version: "19.2.0-native-fb-9de0304a-20250502",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ed6ceb9-20250501"
reconcilerVersion: "19.2.0-native-fb-9de0304a-20250502"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<592cef100153b912cdab60cb2e078efc>>
* @generated SignedSource<<9fa913670d20217656ae3c695faf63ae>>
*/
"use strict";
@@ -11243,11 +11243,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-0ed6ceb9-20250501" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-9de0304a-20250502" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-native-renderer: 19.2.0-native-fb-0ed6ceb9-20250501\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-9de0304a-20250502\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11296,10 +11296,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1299 = {
bundleType: 0,
version: "19.2.0-native-fb-0ed6ceb9-20250501",
version: "19.2.0-native-fb-9de0304a-20250502",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ed6ceb9-20250501"
reconcilerVersion: "19.2.0-native-fb-9de0304a-20250502"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1299.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<4c4885ef41508d8e05a68f6a2a9d1d0f>>
* @generated SignedSource<<e6bfc777f5fe692777bf73d9cb3754cf>>
*/
"use strict";
@@ -11942,11 +11942,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-0ed6ceb9-20250501" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-9de0304a-20250502" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-native-renderer: 19.2.0-native-fb-0ed6ceb9-20250501\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-9de0304a-20250502\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11995,10 +11995,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1400 = {
bundleType: 0,
version: "19.2.0-native-fb-0ed6ceb9-20250501",
version: "19.2.0-native-fb-9de0304a-20250502",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-0ed6ceb9-20250501"
reconcilerVersion: "19.2.0-native-fb-9de0304a-20250502"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1400.rendererConfig = extraDevToolsConfig);