Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@umijs/route-utils

Package Overview
Dependencies
Maintainers
14
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@umijs/route-utils - npm Package Compare versions

Comparing version 1.0.27 to 1.0.28

3

dist/transformRoute/transformRoute.js

@@ -136,4 +136,5 @@ import isEqual from 'lodash.isequal';

// 是否没有权限查看
// 这样就不会显示,是一个兼容性的方式
if (item.unaccessible) {
return false;
delete item.name;
}

@@ -140,0 +141,0 @@ if (item?.menu?.name || item?.flatMenu || item?.menu?.flatMenu) {

@@ -229,4 +229,5 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

// 是否没有权限查看
// 这样就不会显示,是一个兼容性的方式
if (item.unaccessible) {
return false;
delete item.name;
}

@@ -233,0 +234,0 @@

@@ -250,4 +250,5 @@ "use strict";

// 是否没有权限查看
// 这样就不会显示,是一个兼容性的方式
if (item.unaccessible) {
return false;
delete item.name;
}

@@ -254,0 +255,0 @@

{
"name": "@umijs/route-utils",
"version": "1.0.27",
"version": "1.0.28",
"description": "Quickly process the routing of umi",

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

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