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.31 to 1.0.32

4

dist/transformRoute/transformRoute.js

@@ -154,2 +154,3 @@ import isEqual from 'lodash.isequal';

...restParent,
menu: undefined,
...item,

@@ -172,2 +173,5 @@ path,

}
if (finallyItem.menu === undefined) {
delete finallyItem.menu;
}
if (item.routes || item.children) {

@@ -174,0 +178,0 @@ const formatterChildren = formatter({

@@ -254,3 +254,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); }

var finallyItem = _objectSpread(_objectSpread(_objectSpread({}, restParent), item), {}, {
var finallyItem = _objectSpread(_objectSpread(_objectSpread({}, restParent), {}, {
menu: undefined
}, item), {}, {
path: path,

@@ -273,2 +275,6 @@ locale: locale,

if (finallyItem.menu === undefined) {
delete finallyItem.menu;
}
if (item.routes || item.children) {

@@ -275,0 +281,0 @@ var formatterChildren = formatter(_objectSpread(_objectSpread({}, props), {}, {

@@ -276,3 +276,5 @@ "use strict";

var finallyItem = _objectSpread(_objectSpread(_objectSpread({}, restParent), item), {}, {
var finallyItem = _objectSpread(_objectSpread(_objectSpread({}, restParent), {}, {
menu: undefined
}, item), {}, {
path: path,

@@ -295,2 +297,6 @@ locale: locale,

if (finallyItem.menu === undefined) {
delete finallyItem.menu;
}
if (item.routes || item.children) {

@@ -297,0 +303,0 @@ var formatterChildren = formatter(_objectSpread(_objectSpread({}, props), {}, {

2

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