update third-party library and remove unnecessary library

This commit is contained in:
MaysWind
2021-10-24 20:13:55 +08:00
parent a02fbc2ed0
commit b97f7e7985
3 changed files with 5 additions and 15 deletions

14
package-lock.json generated
View File

@@ -6137,17 +6137,9 @@
}
},
"moment": {
"version": "2.24.0",
"resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz",
"integrity": "sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg=="
},
"moment-timezone": {
"version": "0.5.28",
"resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.28.tgz",
"integrity": "sha512-TDJkZvAyKIVWg5EtVqRzU97w0Rb0YVbfpqyjgu6GwXCAohVRqwZjf4fOzDE6p1Ch98Sro/8hQQi65WDXW5STPw==",
"requires": {
"moment": ">= 2.9.0"
}
"version": "2.29.1",
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz",
"integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ=="
},
"morris.js": {
"version": "0.5.0",

View File

@@ -32,8 +32,7 @@
"font-awesome": "^4.7.0",
"jquery": "3.4.1",
"jquery-slimscroll": "^1.3.8",
"moment": "2.24.0",
"moment-timezone": "0.5.28",
"moment": "2.29.1",
"natural-compare": "1.4.0",
"sweetalert": "^1.1.3"
},

View File

@@ -317,11 +317,10 @@
<!-- build:js js/bootstrap-3.4.1.min.js -->
<script src="../node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- endbuild -->
<!-- build:js js/moment-with-locales-2.24.0.min.js -->
<!-- build:js js/moment-with-locales-2.29.1.min.js -->
<script src="../node_modules/moment/min/moment.min.js"></script>
<script src="../node_modules/moment/locale/zh-cn.js"></script>
<script src="../node_modules/moment/locale/zh-tw.js"></script>
<script src="../node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.min.js"></script>
<!-- endbuild -->
<!-- build:js js/echarts-common-3.8.5.min.js -->
<script src="../node_modules/echarts/dist/echarts.common.min.js"></script>