@fluentui/react-jsx-runtime 9.3.5 → 9.4.1
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/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-jsx-runtime
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 25 Feb 2026 13:28:23 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.4.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-jsx-runtime_v9.4.1)
|
|
8
|
+
|
|
9
|
+
Wed, 25 Feb 2026 13:28:23 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-jsx-runtime_v9.4.0..@fluentui/react-jsx-runtime_v9.4.1)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- Bump @fluentui/react-utilities to v9.26.2 ([PR #35782](https://github.com/microsoft/fluentui/pull/35782) by beachball)
|
|
15
|
+
|
|
16
|
+
## [9.4.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-jsx-runtime_v9.4.0)
|
|
17
|
+
|
|
18
|
+
Thu, 12 Feb 2026 10:46:14 GMT
|
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-jsx-runtime_v9.3.5..@fluentui/react-jsx-runtime_v9.4.0)
|
|
20
|
+
|
|
21
|
+
### Minor changes
|
|
22
|
+
|
|
23
|
+
- feat: remove react-is dependency and update warnIfElementTypeIsInvalid logic ([PR #35711](https://github.com/microsoft/fluentui/pull/35711) by dmytrokirpa@microsoft.com)
|
|
24
|
+
|
|
7
25
|
## [9.3.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-jsx-runtime_v9.3.5)
|
|
8
26
|
|
|
9
|
-
Thu, 22 Jan 2026 17:
|
|
27
|
+
Thu, 22 Jan 2026 17:06:56 GMT
|
|
10
28
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-jsx-runtime_v9.3.4..@fluentui/react-jsx-runtime_v9.3.5)
|
|
11
29
|
|
|
12
30
|
### Patches
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { isValidElementType } from 'react-is';
|
|
3
2
|
export function warnIfElementTypeIsInvalid(type) {
|
|
4
|
-
if (process.env.NODE_ENV === 'development' && typeof type === 'object' &&
|
|
3
|
+
if (process.env.NODE_ENV === 'development' && typeof type === 'object' && type !== null && // eslint-disable-next-line dot-notation
|
|
4
|
+
type['$$typeof'] === undefined) {
|
|
5
5
|
// eslint-disable-next-line no-console
|
|
6
6
|
console.error(`@fluentui/react-jsx-runtime:
|
|
7
7
|
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${type}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/utils/warnIfElementTypeIsInvalid.ts"],"sourcesContent":["import * as React from 'react';\
|
|
1
|
+
{"version":3,"sources":["../src/utils/warnIfElementTypeIsInvalid.ts"],"sourcesContent":["import * as React from 'react';\n\nexport function warnIfElementTypeIsInvalid(type: React.ElementType): void {\n if (\n process.env.NODE_ENV === 'development' &&\n typeof type === 'object' &&\n type !== null &&\n // eslint-disable-next-line dot-notation\n type['$$typeof'] === undefined\n ) {\n // eslint-disable-next-line no-console\n console.error(/** #__DE-INDENT__ */ `\n @fluentui/react-jsx-runtime:\n Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${type}.\n\n If this happened in a slot of Fluent UI component, you might be facing package resolution issues.\n Please make sure you don't have multiple versions of \"@fluentui/react-utilities\" installed in your dependencies or sub-dependencies.\n You can check this by searching up for matching entries in a lockfile produced by your package manager (yarn.lock, pnpm-lock.yaml or package-lock.json).\n `);\n }\n}\n"],"names":["React","warnIfElementTypeIsInvalid","type","process","env","NODE_ENV","undefined","console","error"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAE/B,OAAO,SAASC,2BAA2BC,IAAuB;IAChE,IACEC,QAAQC,GAAG,CAACC,QAAQ,KAAK,iBACzB,OAAOH,SAAS,YAChBA,SAAS,QACT,wCAAwC;IACxCA,IAAI,CAAC,WAAW,KAAKI,WACrB;QACA,sCAAsC;QACtCC,QAAQC,KAAK,CAAuB,CAAC;6HAE4F,EAAEN,KAAK;;;;wJAKtI,CAAC;IACL;AACF"}
|
|
@@ -10,9 +10,9 @@ Object.defineProperty(exports, "warnIfElementTypeIsInvalid", {
|
|
|
10
10
|
});
|
|
11
11
|
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
|
|
12
12
|
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
13
|
-
const _reactis = require("react-is");
|
|
14
13
|
function warnIfElementTypeIsInvalid(type) {
|
|
15
|
-
if (process.env.NODE_ENV === 'development' && typeof type === 'object' &&
|
|
14
|
+
if (process.env.NODE_ENV === 'development' && typeof type === 'object' && type !== null && // eslint-disable-next-line dot-notation
|
|
15
|
+
type['$$typeof'] === undefined) {
|
|
16
16
|
// eslint-disable-next-line no-console
|
|
17
17
|
console.error(`@fluentui/react-jsx-runtime:
|
|
18
18
|
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${type}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/utils/warnIfElementTypeIsInvalid.ts"],"sourcesContent":["import * as React from 'react';\
|
|
1
|
+
{"version":3,"sources":["../src/utils/warnIfElementTypeIsInvalid.ts"],"sourcesContent":["import * as React from 'react';\n\nexport function warnIfElementTypeIsInvalid(type: React.ElementType): void {\n if (\n process.env.NODE_ENV === 'development' &&\n typeof type === 'object' &&\n type !== null &&\n // eslint-disable-next-line dot-notation\n type['$$typeof'] === undefined\n ) {\n // eslint-disable-next-line no-console\n console.error(/** #__DE-INDENT__ */ `\n @fluentui/react-jsx-runtime:\n Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${type}.\n\n If this happened in a slot of Fluent UI component, you might be facing package resolution issues.\n Please make sure you don't have multiple versions of \"@fluentui/react-utilities\" installed in your dependencies or sub-dependencies.\n You can check this by searching up for matching entries in a lockfile produced by your package manager (yarn.lock, pnpm-lock.yaml or package-lock.json).\n `);\n }\n}\n"],"names":["warnIfElementTypeIsInvalid","type","process","env","NODE_ENV","undefined","console","error"],"mappings":";;;;+BAEgBA;;;eAAAA;;;;iEAFO;AAEhB,SAASA,2BAA2BC,IAAuB;IAChE,IACEC,QAAQC,GAAG,CAACC,QAAQ,KAAK,iBACzB,OAAOH,SAAS,YAChBA,SAAS,QACT,wCAAwC;IACxCA,IAAI,CAAC,WAAW,KAAKI,WACrB;QACA,sCAAsC;QACtCC,QAAQC,KAAK,CAAuB,CAAC;6HAE4F,EAAEN,KAAK;;;;wJAKtI,CAAC;IACL;AACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-jsx-runtime",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.4.1",
|
|
4
4
|
"description": "Custom JSX runtime for @fluentui/react-components",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@fluentui/react-utilities": "^9.26.
|
|
16
|
-
"react-is": "^17.0.2",
|
|
15
|
+
"@fluentui/react-utilities": "^9.26.2",
|
|
17
16
|
"@swc/helpers": "^0.5.1"
|
|
18
17
|
},
|
|
19
18
|
"peerDependencies": {
|