Socket
Socket
Sign inDemoInstall

@umijs/route-utils

Package Overview
Dependencies
Maintainers
11
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 2.2.0 to 2.2.1

5

dist/transformRoute/transformRoute.js

@@ -131,2 +131,4 @@ import isEqual from 'fast-deep-equal/es6/react';

return true;
if (item.originPath)
return true;
if (item.layout)

@@ -166,2 +168,5 @@ return true;

}
if (!item.path && item.originPath) {
item.path = item.originPath;
}
return item;

@@ -168,0 +173,0 @@ })

@@ -222,2 +222,3 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }

if (item.path) return true;
if (item.originPath) return true;
if (item.layout) return true; // 重定向

@@ -260,2 +261,6 @@

if (!item.path && item.originPath) {
item.path = item.originPath;
}
return item;

@@ -262,0 +267,0 @@ }).map(function () {

@@ -245,2 +245,3 @@ "use strict";

if (item.path) return true;
if (item.originPath) return true;
if (item.layout) return true; // 重定向

@@ -283,2 +284,6 @@

if (!item.path && item.originPath) {
item.path = item.originPath;
}
return item;

@@ -285,0 +290,0 @@ }).map(function () {

2

package.json
{
"name": "@umijs/route-utils",
"version": "2.2.0",
"version": "2.2.1",
"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