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

@wltech/hooks

Package Overview
Dependencies
Maintainers
6
Versions
216
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wltech/hooks - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

6

CHANGELOG.md
# @wltech/mobile-hooks
## 0.0.9
### Patch Changes
- 修改 bug
## 0.0.8

@@ -4,0 +10,0 @@

2

package.json
{
"name": "@wltech/hooks",
"version": "0.0.8",
"version": "0.0.9",
"private": false,

@@ -5,0 +5,0 @@ "description": "",

@@ -7,3 +7,3 @@ type TMaterialMultipleChooseParams = {

isEditable: boolean;
isMobileOrPC: boolean;
isMobileOrPC: "mobile" | "pc";
isUserOrCorp: "user" | "corp";

@@ -41,6 +41,7 @@ };

): TMaterialMultipleChooseReturn[] => {
console.log(params);
const { isUserOrCorp, isEditable, isManager, isSingle, isWeb302 } = params;
const isUser = isUserOrCorp === "user";
const isTopAuth = isManager;
const commonAuth = (isUser || isTopAuth) && isEditable;
const commonAuth = (isUser && isTopAuth) || isEditable;
return [

@@ -47,0 +48,0 @@ {

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