@casl/react
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -46,5 +46,5 @@ import { PureComponent, ReactNode } from 'react'; | ||
private _canRender; | ||
render(): number | boolean | import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | import("react").ReactFragment | null | undefined; | ||
render(): ReactNode; | ||
private _renderChildren; | ||
} | ||
export {}; |
{ | ||
"name": "@casl/react", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "React component for CASL which makes it easy to add permissions in any React application", | ||
@@ -43,9 +43,10 @@ "main": "dist/umd/index.js", | ||
"peerDependencies": { | ||
"@casl/ability": "^3.0.0 || ^4.0.0 || ^5.1.0", | ||
"@casl/ability": "^3.0.0 || ^4.0.0 || ^5.1.0 || ^6.0.0", | ||
"react": "^16.0.0 || ^17.0.0 || ^18.0.0" | ||
}, | ||
"devDependencies": { | ||
"@casl/ability": "^5.1.0", | ||
"@casl/ability": "^6.0.0", | ||
"@casl/dx": "workspace:^1.0.0", | ||
"@testing-library/react-hooks": "^4.0.1", | ||
"@types/jest": "^26.0.22", | ||
"@types/node": "^14.0.5", | ||
@@ -52,0 +53,0 @@ "@types/react": "^18.0.0", |
39697
10