Socket
Socket
Sign inDemoInstall

@fluentui/react-utilities

Package Overview
Dependencies
Maintainers
12
Versions
828
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-utilities - npm Package Compare versions

Comparing version 9.0.0-alpha.34 to 9.0.0-alpha.35

.cache/jest/jest-transform-cache-8d447fcc3651f775414030c6152aad6b-d0e7c439bf6eb5a4bf3a6371fdd259d1/00/usePrevioustest_00f66a0dfddf1266c38a634dd42998f9

17

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Thu, 22 Jul 2021 07:32:58 GMT",
"date": "Fri, 23 Jul 2021 07:34:43 GMT",
"tag": "@fluentui/react-utilities_v9.0.0-alpha.35",
"version": "9.0.0-alpha.35",
"comments": {
"prerelease": [
{
"comment": "Improve type safety of the onlyChild function",
"author": "behowell@microsoft.com",
"commit": "d38109a7fd40e187aca862046219cf9a7ca66131",
"package": "@fluentui/react-utilities"
}
]
}
},
{
"date": "Thu, 22 Jul 2021 07:36:55 GMT",
"tag": "@fluentui/react-utilities_v9.0.0-alpha.34",

@@ -8,0 +23,0 @@ "version": "9.0.0-alpha.34",

# Change Log - @fluentui/react-utilities
This log was last generated on Thu, 22 Jul 2021 07:32:58 GMT and should not be manually modified.
This log was last generated on Fri, 23 Jul 2021 07:34:43 GMT and should not be manually modified.
<!-- Start content -->
## [9.0.0-alpha.35](https://github.com/microsoft/fluentui/tree/@fluentui/react-utilities_v9.0.0-alpha.35)
Fri, 23 Jul 2021 07:34:43 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-utilities_v9.0.0-alpha.34..@fluentui/react-utilities_v9.0.0-alpha.35)
### Changes
- Improve type safety of the onlyChild function ([PR #18610](https://github.com/microsoft/fluentui/pull/18610) by behowell@microsoft.com)
## [9.0.0-alpha.34](https://github.com/microsoft/fluentui/tree/@fluentui/react-utilities_v9.0.0-alpha.34)
Thu, 22 Jul 2021 07:32:58 GMT
Thu, 22 Jul 2021 07:36:55 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-utilities_v9.0.0-alpha.33..@fluentui/react-utilities_v9.0.0-alpha.34)

@@ -11,0 +20,0 @@

2

dist/react-utilities.d.ts

@@ -324,3 +324,3 @@ import * as React_2 from 'react';

*/
export declare const onlyChild: (child: React_2.ReactNode) => React_2.ReactElement;
export declare const onlyChild: <P>(child: string | number | boolean | {} | React_2.ReactNodeArray | React_2.ReactPortal | React_2.ReactElement<P, string | ((props: any) => React_2.ReactElement<any, string | any | (new (props: any) => React_2.Component<any, any, any>)> | null) | (new (props: any) => React_2.Component<any, any, any>)> | null | undefined) => React_2.ReactElement<P, string | ((props: any) => React_2.ReactElement<any, string | any | (new (props: any) => React_2.Component<any, any, any>)> | null) | (new (props: any) => React_2.Component<any, any, any>)>;

@@ -327,0 +327,0 @@ export declare const optionProperties: Record<string, number>;

@@ -201,3 +201,3 @@ ## API Report File for "@fluentui/react-utilities"

// @public
export const onlyChild: (child: React_2.ReactNode) => React_2.ReactElement;
export const onlyChild: <P>(child: string | number | boolean | {} | React_2.ReactNodeArray | React_2.ReactPortal | React_2.ReactElement<P, string | ((props: any) => React_2.ReactElement<any, string | any | (new (props: any) => React_2.Component<any, any, any>)> | null) | (new (props: any) => React_2.Component<any, any, any>)> | null | undefined) => React_2.ReactElement<P, string | ((props: any) => React_2.ReactElement<any, string | any | (new (props: any) => React_2.Component<any, any, any>)> | null) | (new (props: any) => React_2.Component<any, any, any>)>;

@@ -204,0 +204,0 @@ // @public (undocumented)

@@ -5,2 +5,2 @@ import * as React from 'react';

*/
export declare const onlyChild: (child: React.ReactNode) => React.ReactElement;
export declare const onlyChild: <P>(child: string | number | boolean | {} | React.ReactNodeArray | React.ReactPortal | React.ReactElement<P, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null | undefined) => React.ReactElement<P, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>;

@@ -5,2 +5,2 @@ import * as React from 'react';

*/
export declare const onlyChild: (child: React.ReactNode) => React.ReactElement;
export declare const onlyChild: <P>(child: string | number | boolean | {} | React.ReactNodeArray | React.ReactPortal | React.ReactElement<P, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null | undefined) => React.ReactElement<P, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>;

@@ -5,2 +5,2 @@ import * as React from 'react';

*/
export declare const onlyChild: (child: React.ReactNode) => React.ReactElement;
export declare const onlyChild: <P>(child: string | number | boolean | {} | React.ReactNodeArray | React.ReactPortal | React.ReactElement<P, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null | undefined) => React.ReactElement<P, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>;
{
"name": "@fluentui/react-utilities",
"version": "9.0.0-alpha.34",
"version": "9.0.0-alpha.35",
"description": "A set of general React-specific utilities.",

@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js",

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