Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fluentui/react-jsx-runtime

Package Overview
Dependencies
Maintainers
12
Versions
468
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-jsx-runtime - npm Package Compare versions

Comparing version 9.0.0-alpha.5 to 9.0.0-alpha.6

23

CHANGELOG.json

@@ -5,3 +5,24 @@ {

{
"date": "Thu, 25 May 2023 09:57:45 GMT",
"date": "Wed, 31 May 2023 06:43:06 GMT",
"tag": "@fluentui/react-jsx-runtime_v9.0.0-alpha.6",
"version": "9.0.0-alpha.6",
"comments": {
"prerelease": [
{
"author": "beachball",
"package": "@fluentui/react-jsx-runtime",
"comment": "Bump @fluentui/react-utilities to v9.9.2",
"commit": "17ca96c6b7f684f36a5c63e40e78b4986a86c713"
},
{
"author": "beachball",
"package": "@fluentui/react-jsx-runtime",
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.22",
"commit": "17ca96c6b7f684f36a5c63e40e78b4986a86c713"
}
]
}
},
{
"date": "Thu, 25 May 2023 10:00:48 GMT",
"tag": "@fluentui/react-jsx-runtime_v9.0.0-alpha.5",

@@ -8,0 +29,0 @@ "version": "9.0.0-alpha.5",

# Change Log - @fluentui/react-jsx-runtime
This log was last generated on Thu, 25 May 2023 09:57:45 GMT and should not be manually modified.
This log was last generated on Wed, 31 May 2023 06:43:06 GMT and should not be manually modified.
<!-- Start content -->
## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-jsx-runtime_v9.0.0-alpha.6)
Wed, 31 May 2023 06:43:06 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-jsx-runtime_v9.0.0-alpha.5..@fluentui/react-jsx-runtime_v9.0.0-alpha.6)
### Changes
- Bump @fluentui/react-utilities to v9.9.2 ([PR #28054](https://github.com/microsoft/fluentui/pull/28054) by beachball)
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.22 ([PR #28054](https://github.com/microsoft/fluentui/pull/28054) by beachball)
## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-jsx-runtime_v9.0.0-alpha.5)
Thu, 25 May 2023 09:57:45 GMT
Thu, 25 May 2023 10:00:48 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-jsx-runtime_v9.0.0-alpha.4..@fluentui/react-jsx-runtime_v9.0.0-alpha.5)

@@ -11,0 +21,0 @@

4

lib-commonjs/createElement.js

@@ -30,4 +30,2 @@ "use strict";

return Boolean(props === null || props === void 0 ? void 0 : props.hasOwnProperty(_reactUtilities.SLOT_RENDER_FUNCTION_SYMBOL));
} //# sourceMappingURL=createElement.js.map
//# sourceMappingURL=createElement.js.map
}

@@ -17,4 +17,1 @@ "use strict";

const _react = require("react");
//# sourceMappingURL=index.js.map
//# sourceMappingURL=index.js.map
import * as React from 'react';
import { SLOT_RENDER_FUNCTION_SYMBOL } from '@fluentui/react-utilities';
export function createElement(type, props, ...children) {
return hasRenderFunction(props) ? createElementFromRenderFunction(type, props, children) : /*#__PURE__*/React.createElement(type, props, ...children);
return hasRenderFunction(props) ? createElementFromRenderFunction(type, props, children) : React.createElement(type, props, ...children);
}
function createElementFromRenderFunction(type, props, overrideChildren) {
const {
[SLOT_RENDER_FUNCTION_SYMBOL]: renderFunction,
...renderProps
} = props;
if (overrideChildren.length > 0) {
renderProps.children = /*#__PURE__*/React.createElement(React.Fragment, {}, ...overrideChildren);
}
return /*#__PURE__*/React.createElement(React.Fragment, {}, renderFunction(type, renderProps));
const { [SLOT_RENDER_FUNCTION_SYMBOL]: renderFunction , ...renderProps } = props;
if (overrideChildren.length > 0) {
renderProps.children = React.createElement(React.Fragment, {}, ...overrideChildren);
}
return React.createElement(React.Fragment, {}, renderFunction(type, renderProps));
}
export function hasRenderFunction(props) {
return Boolean(props === null || props === void 0 ? void 0 : props.hasOwnProperty(SLOT_RENDER_FUNCTION_SYMBOL));
return Boolean(props === null || props === void 0 ? void 0 : props.hasOwnProperty(SLOT_RENDER_FUNCTION_SYMBOL));
}
//# sourceMappingURL=createElement.js.map
export { createElement } from './createElement';
export { Fragment } from 'react';
//# sourceMappingURL=index.js.map
{
"name": "@fluentui/react-jsx-runtime",
"version": "9.0.0-alpha.5",
"version": "9.0.0-alpha.6",
"description": "React components for building web experiences",

@@ -28,3 +28,3 @@ "main": "lib-commonjs/index.js",

"@fluentui/react-conformance": "*",
"@fluentui/react-conformance-griffel": "9.0.0-beta.21",
"@fluentui/react-conformance-griffel": "9.0.0-beta.22",
"@fluentui/scripts-api-extractor": "*",

@@ -34,3 +34,3 @@ "@fluentui/scripts-tasks": "*"

"dependencies": {
"@fluentui/react-utilities": "^9.9.1",
"@fluentui/react-utilities": "^9.9.2",
"@swc/helpers": "^0.4.14"

@@ -37,0 +37,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc