New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@casl/react

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@casl/react - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

dist/types/Can.d.ts

@@ -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",

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