Skip to content

Commit 8cbb55d

Browse files
committed
Fix(security): fix security vulnerabilities caused by lodash package
1 parent d649d0f commit 8cbb55d

File tree

3 files changed

+464
-438
lines changed

3 files changed

+464
-438
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"js-cookie": "^2.2.0",
2929
"jsonlint": "^1.6.3",
3030
"jszip": "^3.2.2",
31-
"lodash": "^4.17.11",
31+
"lodash": "^4.17.14",
3232
"morgan": "^1.9.1",
3333
"normalize.css": "^8.0.1",
3434
"nprogress": "^0.2.0",
@@ -42,7 +42,7 @@
4242
"vue": "^2.6.10",
4343
"vue-class-component": "^7.1.0",
4444
"vue-count-to": "^1.0.13",
45-
"vue-i18n": "^8.11.2",
45+
"vue-i18n": "^8.12.0",
4646
"vue-image-crop-upload": "^2.5.0",
4747
"vue-property-decorator": "^8.2.1",
4848
"vue-router": "^3.0.7",
@@ -68,20 +68,20 @@
6868
"@types/jest": "^24.0.15",
6969
"@types/js-cookie": "^2.2.2",
7070
"@types/jszip": "^3.1.6",
71-
"@types/lodash": "^4.14.135",
71+
"@types/lodash": "^4.14.136",
7272
"@types/morgan": "^1.7.35",
7373
"@types/nprogress": "^0.2.0",
7474
"@types/sortablejs": "^1.7.2",
7575
"@types/tinymce": "^4.5.22",
76-
"@types/webpack-env": "^1.13.9",
76+
"@types/webpack-env": "^1.14.0",
7777
"@types/yamljs": "^0.2.30",
78-
"@vue/cli-plugin-babel": "^3.9.0",
78+
"@vue/cli-plugin-babel": "^3.9.2",
7979
"@vue/cli-plugin-e2e-cypress": "^3.9.0",
80-
"@vue/cli-plugin-eslint": "^3.9.1",
80+
"@vue/cli-plugin-eslint": "^3.9.2",
8181
"@vue/cli-plugin-pwa": "^3.9.0",
8282
"@vue/cli-plugin-typescript": "^3.9.0",
8383
"@vue/cli-plugin-unit-jest": "^3.9.0",
84-
"@vue/cli-service": "^3.9.0",
84+
"@vue/cli-service": "^3.9.2",
8585
"@vue/eslint-config-standard": "^4.0.0",
8686
"@vue/eslint-config-typescript": "^4.0.0",
8787
"@vue/test-utils": "^1.0.0-beta.29",
@@ -92,18 +92,18 @@
9292
"eslint-plugin-vue": "^5.2.3",
9393
"fibers": "^4.0.1",
9494
"jest": "^24.8.0",
95-
"lint-staged": "^9.0.2",
96-
"sass": "^1.22.3",
95+
"lint-staged": "^9.2.0",
96+
"sass": "^1.22.5",
9797
"sass-loader": "^7.1.0",
9898
"style-resources-loader": "^1.2.1",
9999
"swagger-routes-express": "^3.0.2",
100100
"ts-jest": "^24.0.2",
101101
"ts-node-dev": "^1.0.0-pre.40",
102-
"typescript": "3.5.2",
102+
"typescript": "3.5.3",
103103
"vue-cli-plugin-element": "^1.0.1",
104104
"vue-cli-plugin-style-resources-loader": "^0.1.3",
105105
"vue-template-compiler": "^2.6.10",
106-
"webpack": "^4.35.2"
106+
"webpack": "^4.35.3"
107107
},
108108
"bugs": {
109109
"url": "https://github.com/armour/vue-typescript-admin-template/issues"

src/router/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export const asyncRoutes: RouteConfig[] = [
146146
{
147147
path: '/permission',
148148
component: Layout,
149-
redirect: '/permission/index',
149+
redirect: '/permission/directive',
150150
meta: {
151151
title: 'permission',
152152
icon: 'lock',

0 commit comments

Comments
 (0)