react-children-utilities
Advanced tools
Comparing version 2.0.11 to 2.0.12
@@ -5,4 +5,4 @@ import { ReactNode } from 'react'; | ||
} | ||
declare const groupByType: (children: ReactNode, types?: ReactNode[], rest?: string) => GroupedChildren; | ||
declare const groupByType: (children: ReactNode, types?: readonly ReactNode[], rest?: string) => GroupedChildren; | ||
export default groupByType; | ||
//# sourceMappingURL=groupByType.d.ts.map |
{ | ||
"name": "react-children-utilities", | ||
"version": "2.0.11", | ||
"version": "2.0.12", | ||
"description": "Recursive and extended utils for React children opaque data structure", | ||
@@ -57,6 +57,6 @@ "keywords": [ | ||
"@types/jest": "^25.1.4", | ||
"@types/react": "^16.9.25", | ||
"@types/react": "^16.9.26", | ||
"@types/react-dom": "^16.9.5", | ||
"@typescript-eslint/eslint-plugin": "^2.24.0", | ||
"@typescript-eslint/parser": "^2.24.0", | ||
"@typescript-eslint/eslint-plugin": "^2.25.0", | ||
"@typescript-eslint/parser": "^2.25.0", | ||
"all-contributors-cli": "^6.14.0", | ||
@@ -71,3 +71,3 @@ "bundlesize": "^0.18.0", | ||
"eslint-config-airbnb": "^18.1.0", | ||
"eslint-config-prettier": "^6.10.0", | ||
"eslint-config-prettier": "^6.10.1", | ||
"eslint-plugin-import": "^2.20.1", | ||
@@ -78,14 +78,14 @@ "eslint-plugin-jest": "^23.8.2", | ||
"eslint-plugin-react": "^7.19.0", | ||
"eslint-plugin-react-hooks": "^2.5.1", | ||
"eslint-plugin-react-hooks": "^3.0.0", | ||
"flow-bin": "^0.121.0", | ||
"flowgen": "^1.10.0", | ||
"husky": "^4.2.3", | ||
"jest": "^25.1.0", | ||
"jest": "^25.2.3", | ||
"jest-environment-enzyme": "^7.1.2", | ||
"jest-enzyme": "^7.1.2", | ||
"jest-junit": "^10.0.0", | ||
"lint-staged": "^10.0.8", | ||
"lint-staged": "^10.0.9", | ||
"make-dir-cli": "^2.0.0", | ||
"normalize.css": "^8.0.1", | ||
"prettier": "^1.19.1", | ||
"prettier": "^2.0.2", | ||
"raf": "^3.4.1", | ||
@@ -95,3 +95,3 @@ "react": "^16.13.1", | ||
"react-test-renderer": "^16.13.1", | ||
"rollup": "^2.1.0", | ||
"rollup": "^2.2.0", | ||
"rollup-plugin-terser": "^5.3.0", | ||
@@ -98,0 +98,0 @@ "ts-jest": "^25.2.1", |
@@ -18,3 +18,3 @@ /// <reference types="react" /> | ||
filter: (children: import("react").ReactNode, filterFn: (child: import("react").ReactNode, index?: number | undefined, children?: import("react").ReactNode[] | undefined) => boolean) => import("react").ReactNode[]; | ||
groupByType: (children: import("react").ReactNode, types?: import("react").ReactNode[], rest?: string) => import("./lib/groupByType").GroupedChildren; | ||
groupByType: (children: import("react").ReactNode, types?: readonly import("react").ReactNode[], rest?: string) => import("./lib/groupByType").GroupedChildren; | ||
hasChildren: (element: import("react").ReactNode) => element is import("react").ReactElement<{ | ||
@@ -21,0 +21,0 @@ children: import("react").ReactNode[]; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51538