Commit 7c4dd24481267f3f22a85f48e2d7cc95660d8fc1
1 parent
ba070c5e
chore: minify html
Showing
8 changed files
with
125 additions
and
6 deletions
README.md
@@ -37,7 +37,7 @@ | @@ -37,7 +37,7 @@ | ||
37 | 37 | ||
38 | 1.0 分支请切换到`master`分支。1.0 采用`vue2.6`+`vue-composition-api`+`vue-cli`开发 | 38 | 1.0 分支请切换到`master`分支。1.0 采用`vue2.6`+`vue-composition-api`+`vue-cli`开发 |
39 | 39 | ||
40 | -项目基于`ant-design-vue`,`typescript`,`vue3.0`,`vite`,`tailwindcss`,`tsx`实现的 vue3 风格的后台管理系统, | 40 | +项目基于`ant-design-vue`,`typescript`,`vue3.0`,`vite`,`tsx`实现的 vue3 风格的后台管理系统, |
41 | 41 | ||
42 | ## gitHub 地址 | 42 | ## gitHub 地址 |
43 | 43 |
build/script/updateHtml.ts
@@ -3,9 +3,10 @@ import viteConfig, { htmlConfig } from '../../vite.config'; | @@ -3,9 +3,10 @@ import viteConfig, { htmlConfig } from '../../vite.config'; | ||
3 | import { getCwdPath, successConsole, errorConsole } from '../utils'; | 3 | import { getCwdPath, successConsole, errorConsole } from '../utils'; |
4 | import { GLOB_CONFIG_FILE_NAME } from '../constant'; | 4 | import { GLOB_CONFIG_FILE_NAME } from '../constant'; |
5 | import { hmScript } from './hm'; | 5 | import { hmScript } from './hm'; |
6 | +import HtmlMinifier from 'html-minifier'; | ||
6 | const pkg = require('../../package.json'); | 7 | const pkg = require('../../package.json'); |
7 | 8 | ||
8 | -const { title, addHm, cdnConf, useCdn } = htmlConfig; | 9 | +const { title, addHm, cdnConf, useCdn, minify } = htmlConfig; |
9 | 10 | ||
10 | function injectTitle(html: string, htmlTitle: string) { | 11 | function injectTitle(html: string, htmlTitle: string) { |
11 | if (/<\/title>/.test(html)) { | 12 | if (/<\/title>/.test(html)) { |
@@ -89,6 +90,10 @@ export async function runUpdateHtml() { | @@ -89,6 +90,10 @@ export async function runUpdateHtml() { | ||
89 | processedHtml = injectCdnCss(processedHtml); | 90 | processedHtml = injectCdnCss(processedHtml); |
90 | processedHtml = injectCdnjs(processedHtml); | 91 | processedHtml = injectCdnjs(processedHtml); |
91 | } | 92 | } |
93 | + if (minify) { | ||
94 | + const { enable, ...miniOpt } = minify; | ||
95 | + processedHtml = HtmlMinifier.minify(processedHtml, miniOpt); | ||
96 | + } | ||
92 | 97 | ||
93 | writeFileSync(indexPath, processedHtml); | 98 | writeFileSync(indexPath, processedHtml); |
94 | successConsole('Update Html Successfully!'); | 99 | successConsole('Update Html Successfully!'); |
package.json
@@ -46,6 +46,7 @@ | @@ -46,6 +46,7 @@ | ||
46 | "@purge-icons/generated": "^0.4.1", | 46 | "@purge-icons/generated": "^0.4.1", |
47 | "@types/echarts": "^4.8.0", | 47 | "@types/echarts": "^4.8.0", |
48 | "@types/fs-extra": "^9.0.2", | 48 | "@types/fs-extra": "^9.0.2", |
49 | + "@types/html-minifier": "^4.0.0", | ||
49 | "@types/inquirer": "^7.3.1", | 50 | "@types/inquirer": "^7.3.1", |
50 | "@types/koa-static": "^4.0.1", | 51 | "@types/koa-static": "^4.0.1", |
51 | "@types/lodash-es": "^4.17.3", | 52 | "@types/lodash-es": "^4.17.3", |
@@ -70,6 +71,7 @@ | @@ -70,6 +71,7 @@ | ||
70 | "eslint-plugin-prettier": "^3.1.4", | 71 | "eslint-plugin-prettier": "^3.1.4", |
71 | "eslint-plugin-vue": "^7.0.1", | 72 | "eslint-plugin-vue": "^7.0.1", |
72 | "fs-extra": "^9.0.1", | 73 | "fs-extra": "^9.0.1", |
74 | + "html-minifier": "^4.0.0", | ||
73 | "husky": "^4.3.0", | 75 | "husky": "^4.3.0", |
74 | "inquirer": "^7.3.3", | 76 | "inquirer": "^7.3.3", |
75 | "koa-static": "^5.0.0", | 77 | "koa-static": "^5.0.0", |
src/App.vue
@@ -12,6 +12,7 @@ | @@ -12,6 +12,7 @@ | ||
12 | import zhCN from 'ant-design-vue/es/locale/zh_CN'; | 12 | import zhCN from 'ant-design-vue/es/locale/zh_CN'; |
13 | import moment from 'moment'; | 13 | import moment from 'moment'; |
14 | import 'moment/locale/zh-cn'; | 14 | import 'moment/locale/zh-cn'; |
15 | + import axios from 'axios'; | ||
15 | 16 | ||
16 | import { useConfigProvider, useInitAppConfigStore, useListenerNetWork } from './useApp'; | 17 | import { useConfigProvider, useInitAppConfigStore, useListenerNetWork } from './useApp'; |
17 | import { useLockPage } from '/@/hooks/web/useLockPage'; | 18 | import { useLockPage } from '/@/hooks/web/useLockPage'; |
@@ -25,6 +26,7 @@ | @@ -25,6 +26,7 @@ | ||
25 | createBreakpointListen(); | 26 | createBreakpointListen(); |
26 | const { transformCellText } = useConfigProvider(); | 27 | const { transformCellText } = useConfigProvider(); |
27 | const { on: lockOn } = useLockPage(); | 28 | const { on: lockOn } = useLockPage(); |
29 | + axios.get('/api/users?page=2'); | ||
28 | return { | 30 | return { |
29 | transformCellText, | 31 | transformCellText, |
30 | zhCN, | 32 | zhCN, |
src/components/Menu/src/index.less
@@ -14,6 +14,14 @@ | @@ -14,6 +14,14 @@ | ||
14 | } | 14 | } |
15 | 15 | ||
16 | .basic-menu { | 16 | .basic-menu { |
17 | + .ant-menu-submenu:first-of-type { | ||
18 | + margin-top: 4px; | ||
19 | + } | ||
20 | + | ||
21 | + .ant-menu-submenu-title { | ||
22 | + margin-top: 0; | ||
23 | + } | ||
24 | + | ||
17 | &-wrap { | 25 | &-wrap { |
18 | height: 100%; | 26 | height: 100%; |
19 | } | 27 | } |
@@ -151,7 +159,8 @@ | @@ -151,7 +159,8 @@ | ||
151 | 159 | ||
152 | // 2级菜单 | 160 | // 2级菜单 |
153 | 161 | ||
154 | - .basic-menu-item__level2:not(.ant-menu-item-selected) { | 162 | + .basic-menu-item__level2:not(.ant-menu-item-selected), |
163 | + .ant-menu-sub { | ||
155 | background-color: @sub-menu-item-dark-bg-color; | 164 | background-color: @sub-menu-item-dark-bg-color; |
156 | } | 165 | } |
157 | 166 |
src/layouts/default/LayoutMenu.tsx
@@ -183,7 +183,6 @@ export default defineComponent({ | @@ -183,7 +183,6 @@ export default defineComponent({ | ||
183 | const isSidebarType = menuType === MenuTypeEnum.SIDEBAR; | 183 | const isSidebarType = menuType === MenuTypeEnum.SIDEBAR; |
184 | const isShowLogo = showLogo && isSidebarType; | 184 | const isShowLogo = showLogo && isSidebarType; |
185 | const themeData = props.theme || theme; | 185 | const themeData = props.theme || theme; |
186 | - | ||
187 | return ( | 186 | return ( |
188 | <BasicMenu | 187 | <BasicMenu |
189 | beforeClickFn={beforeMenuClickFn} | 188 | beforeClickFn={beforeMenuClickFn} |
vite.config.ts
@@ -153,6 +153,13 @@ export const htmlConfig: { | @@ -153,6 +153,13 @@ export const htmlConfig: { | ||
153 | js?: string[]; | 153 | js?: string[]; |
154 | }; | 154 | }; |
155 | useCdn: boolean; | 155 | useCdn: boolean; |
156 | + minify: { | ||
157 | + enable: boolean; | ||
158 | + removeComments: boolean; | ||
159 | + collapseWhitespace: boolean; | ||
160 | + minifyJS: boolean; | ||
161 | + minifyCSS: boolean; | ||
162 | + }; | ||
156 | } = { | 163 | } = { |
157 | // html title | 164 | // html title |
158 | title: VITE_GLOB_APP_TITLE, | 165 | title: VITE_GLOB_APP_TITLE, |
@@ -164,5 +171,12 @@ export const htmlConfig: { | @@ -164,5 +171,12 @@ export const htmlConfig: { | ||
164 | // useCdn: VITE_USE_CDN, | 171 | // useCdn: VITE_USE_CDN, |
165 | // cdn列表 | 172 | // cdn列表 |
166 | cdnConf, | 173 | cdnConf, |
174 | + minify: { | ||
175 | + enable: true, | ||
176 | + removeComments: true, | ||
177 | + collapseWhitespace: true, | ||
178 | + minifyJS: true, | ||
179 | + minifyCSS: true, | ||
180 | + }, | ||
167 | }; | 181 | }; |
168 | export default viteConfig; | 182 | export default viteConfig; |
yarn.lock
@@ -547,6 +547,13 @@ | @@ -547,6 +547,13 @@ | ||
547 | "@types/connect" "*" | 547 | "@types/connect" "*" |
548 | "@types/node" "*" | 548 | "@types/node" "*" |
549 | 549 | ||
550 | +"@types/clean-css@*": | ||
551 | + version "4.2.2" | ||
552 | + resolved "https://registry.npmjs.org/@types/clean-css/-/clean-css-4.2.2.tgz#99fd79f6939c2b325938a1c569712e07dd97d709" | ||
553 | + integrity sha512-xiTJn3bmDh1lA8c6iVJs4ZhHw+pcmxXlJQXOB6G1oULaak8rmarIeFKI4aTJ7849dEhaO612wgIualZfbxTJwA== | ||
554 | + dependencies: | ||
555 | + "@types/node" "*" | ||
556 | + | ||
550 | "@types/connect@*": | 557 | "@types/connect@*": |
551 | version "3.4.33" | 558 | version "3.4.33" |
552 | resolved "https://registry.npmjs.org/@types/connect/-/connect-3.4.33.tgz#31610c901eca573b8713c3330abc6e6b9f588546" | 559 | resolved "https://registry.npmjs.org/@types/connect/-/connect-3.4.33.tgz#31610c901eca573b8713c3330abc6e6b9f588546" |
@@ -620,6 +627,15 @@ | @@ -620,6 +627,15 @@ | ||
620 | "@types/minimatch" "*" | 627 | "@types/minimatch" "*" |
621 | "@types/node" "*" | 628 | "@types/node" "*" |
622 | 629 | ||
630 | +"@types/html-minifier@^4.0.0": | ||
631 | + version "4.0.0" | ||
632 | + resolved "https://registry.npmjs.org/@types/html-minifier/-/html-minifier-4.0.0.tgz#2065cb9944f2d1b241146707c6935aa7b947d279" | ||
633 | + integrity sha512-eFnGhrKmjWBlnSGNtunetE3UU2Tc/LUl92htFslSSTmpp9EKHQVcYQadCyYfnzUEFB5G/3wLWo/USQS/mEPKrA== | ||
634 | + dependencies: | ||
635 | + "@types/clean-css" "*" | ||
636 | + "@types/relateurl" "*" | ||
637 | + "@types/uglify-js" "*" | ||
638 | + | ||
623 | "@types/http-assert@*": | 639 | "@types/http-assert@*": |
624 | version "1.5.1" | 640 | version "1.5.1" |
625 | resolved "https://registry.npmjs.org/@types/http-assert/-/http-assert-1.5.1.tgz#d775e93630c2469c2f980fc27e3143240335db3b" | 641 | resolved "https://registry.npmjs.org/@types/http-assert/-/http-assert-1.5.1.tgz#d775e93630c2469c2f980fc27e3143240335db3b" |
@@ -758,6 +774,11 @@ | @@ -758,6 +774,11 @@ | ||
758 | resolved "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.3.tgz#7ee330ba7caafb98090bece86a5ee44115904c2c" | 774 | resolved "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.3.tgz#7ee330ba7caafb98090bece86a5ee44115904c2c" |
759 | integrity sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA== | 775 | integrity sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA== |
760 | 776 | ||
777 | +"@types/relateurl@*": | ||
778 | + version "0.2.28" | ||
779 | + resolved "https://registry.npmjs.org/@types/relateurl/-/relateurl-0.2.28.tgz#6bda7db8653fa62643f5ee69e9f69c11a392e3a6" | ||
780 | + integrity sha1-a9p9uGU/piZD9e5p6facEaOS46Y= | ||
781 | + | ||
761 | "@types/resolve@1.17.1": | 782 | "@types/resolve@1.17.1": |
762 | version "1.17.1" | 783 | version "1.17.1" |
763 | resolved "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6" | 784 | resolved "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6" |
@@ -796,6 +817,13 @@ | @@ -796,6 +817,13 @@ | ||
796 | dependencies: | 817 | dependencies: |
797 | "@types/node" "*" | 818 | "@types/node" "*" |
798 | 819 | ||
820 | +"@types/uglify-js@*": | ||
821 | + version "3.11.0" | ||
822 | + resolved "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.11.0.tgz#2868d405cc45cd9dc3069179052103032c33afbc" | ||
823 | + integrity sha512-I0Yd8TUELTbgRHq2K65j8rnDPAzAP+DiaF/syLem7yXwYLsHZhPd+AM2iXsWmf9P2F2NlFCgl5erZPQx9IbM9Q== | ||
824 | + dependencies: | ||
825 | + source-map "^0.6.1" | ||
826 | + | ||
799 | "@types/unist@^2.0.0", "@types/unist@^2.0.2": | 827 | "@types/unist@^2.0.0", "@types/unist@^2.0.2": |
800 | version "2.0.3" | 828 | version "2.0.3" |
801 | resolved "https://registry.npmjs.org/@types/unist/-/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e" | 829 | resolved "https://registry.npmjs.org/@types/unist/-/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e" |
@@ -1439,6 +1467,14 @@ callsites@^3.0.0: | @@ -1439,6 +1467,14 @@ callsites@^3.0.0: | ||
1439 | resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" | 1467 | resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" |
1440 | integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== | 1468 | integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== |
1441 | 1469 | ||
1470 | +camel-case@^3.0.0: | ||
1471 | + version "3.0.0" | ||
1472 | + resolved "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz#ca3c3688a4e9cf3a4cda777dc4dcbc713249cf73" | ||
1473 | + integrity sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M= | ||
1474 | + dependencies: | ||
1475 | + no-case "^2.2.0" | ||
1476 | + upper-case "^1.1.1" | ||
1477 | + | ||
1442 | camelcase-keys@^2.0.0: | 1478 | camelcase-keys@^2.0.0: |
1443 | version "2.1.0" | 1479 | version "2.1.0" |
1444 | resolved "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz#308beeaffdf28119051efa1d932213c91b8f92e7" | 1480 | resolved "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz#308beeaffdf28119051efa1d932213c91b8f92e7" |
@@ -1579,7 +1615,7 @@ class-utils@^0.3.5: | @@ -1579,7 +1615,7 @@ class-utils@^0.3.5: | ||
1579 | isobject "^3.0.0" | 1615 | isobject "^3.0.0" |
1580 | static-extend "^0.1.1" | 1616 | static-extend "^0.1.1" |
1581 | 1617 | ||
1582 | -clean-css@^4.2.3: | 1618 | +clean-css@^4.2.1, clean-css@^4.2.3: |
1583 | version "4.2.3" | 1619 | version "4.2.3" |
1584 | resolved "https://registry.npmjs.org/clean-css/-/clean-css-4.2.3.tgz#507b5de7d97b48ee53d84adb0160ff6216380f78" | 1620 | resolved "https://registry.npmjs.org/clean-css/-/clean-css-4.2.3.tgz#507b5de7d97b48ee53d84adb0160ff6216380f78" |
1585 | integrity sha512-VcMWDN54ZN/DS+g58HYL5/n4Zrqe8vHJpGA8KdgUXFU4fuP/aHNw8eld9SyEIyabIMJX/0RaY/fplOo5hYLSFA== | 1621 | integrity sha512-VcMWDN54ZN/DS+g58HYL5/n4Zrqe8vHJpGA8KdgUXFU4fuP/aHNw8eld9SyEIyabIMJX/0RaY/fplOo5hYLSFA== |
@@ -1729,7 +1765,7 @@ commander@*, commander@^6.0.0: | @@ -1729,7 +1765,7 @@ commander@*, commander@^6.0.0: | ||
1729 | resolved "https://registry.npmjs.org/commander/-/commander-6.1.0.tgz#f8d722b78103141006b66f4c7ba1e97315ba75bc" | 1765 | resolved "https://registry.npmjs.org/commander/-/commander-6.1.0.tgz#f8d722b78103141006b66f4c7ba1e97315ba75bc" |
1730 | integrity sha512-wl7PNrYWd2y5mp1OK/LhTlv8Ff4kQJQRXXAvF+uU/TPNiVJUxZLRYGj/B0y/lPGAVcSbJqH2Za/cvHmrPMC8mA== | 1766 | integrity sha512-wl7PNrYWd2y5mp1OK/LhTlv8Ff4kQJQRXXAvF+uU/TPNiVJUxZLRYGj/B0y/lPGAVcSbJqH2Za/cvHmrPMC8mA== |
1731 | 1767 | ||
1732 | -commander@^2.20.0: | 1768 | +commander@^2.19.0, commander@^2.20.0: |
1733 | version "2.20.3" | 1769 | version "2.20.3" |
1734 | resolved "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" | 1770 | resolved "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" |
1735 | integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== | 1771 | integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== |
@@ -3209,6 +3245,11 @@ hash-sum@^2.0.0: | @@ -3209,6 +3245,11 @@ hash-sum@^2.0.0: | ||
3209 | resolved "https://registry.npmjs.org/hash-sum/-/hash-sum-2.0.0.tgz#81d01bb5de8ea4a214ad5d6ead1b523460b0b45a" | 3245 | resolved "https://registry.npmjs.org/hash-sum/-/hash-sum-2.0.0.tgz#81d01bb5de8ea4a214ad5d6ead1b523460b0b45a" |
3210 | integrity sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg== | 3246 | integrity sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg== |
3211 | 3247 | ||
3248 | +he@^1.2.0: | ||
3249 | + version "1.2.0" | ||
3250 | + resolved "https://registry.npmjs.org/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" | ||
3251 | + integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== | ||
3252 | + | ||
3212 | homedir-polyfill@^1.0.1: | 3253 | homedir-polyfill@^1.0.1: |
3213 | version "1.0.3" | 3254 | version "1.0.3" |
3214 | resolved "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" | 3255 | resolved "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" |
@@ -3221,6 +3262,19 @@ hosted-git-info@^2.1.4: | @@ -3221,6 +3262,19 @@ hosted-git-info@^2.1.4: | ||
3221 | resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz#7539bd4bc1e0e0a895815a2e0262420b12858488" | 3262 | resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz#7539bd4bc1e0e0a895815a2e0262420b12858488" |
3222 | integrity sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg== | 3263 | integrity sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg== |
3223 | 3264 | ||
3265 | +html-minifier@^4.0.0: | ||
3266 | + version "4.0.0" | ||
3267 | + resolved "https://registry.npmjs.org/html-minifier/-/html-minifier-4.0.0.tgz#cca9aad8bce1175e02e17a8c33e46d8988889f56" | ||
3268 | + integrity sha512-aoGxanpFPLg7MkIl/DDFYtb0iWz7jMFGqFhvEDZga6/4QTjneiD8I/NXL1x5aaoCp7FSIT6h/OhykDdPsbtMig== | ||
3269 | + dependencies: | ||
3270 | + camel-case "^3.0.0" | ||
3271 | + clean-css "^4.2.1" | ||
3272 | + commander "^2.19.0" | ||
3273 | + he "^1.2.0" | ||
3274 | + param-case "^2.1.1" | ||
3275 | + relateurl "^0.2.7" | ||
3276 | + uglify-js "^3.5.1" | ||
3277 | + | ||
3224 | html-tags@^3.1.0: | 3278 | html-tags@^3.1.0: |
3225 | version "3.1.0" | 3279 | version "3.1.0" |
3226 | resolved "https://registry.npmjs.org/html-tags/-/html-tags-3.1.0.tgz#7b5e6f7e665e9fb41f30007ed9e0d41e97fb2140" | 3280 | resolved "https://registry.npmjs.org/html-tags/-/html-tags-3.1.0.tgz#7b5e6f7e665e9fb41f30007ed9e0d41e97fb2140" |
@@ -4268,6 +4322,11 @@ loud-rejection@^1.0.0: | @@ -4268,6 +4322,11 @@ loud-rejection@^1.0.0: | ||
4268 | currently-unhandled "^0.4.1" | 4322 | currently-unhandled "^0.4.1" |
4269 | signal-exit "^3.0.0" | 4323 | signal-exit "^3.0.0" |
4270 | 4324 | ||
4325 | +lower-case@^1.1.1: | ||
4326 | + version "1.1.4" | ||
4327 | + resolved "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz#9a2cabd1b9e8e0ae993a4bf7d5875c39c42e8eac" | ||
4328 | + integrity sha1-miyr0bno4K6ZOkv31YdcOcQujqw= | ||
4329 | + | ||
4271 | lru-cache@^5.1.1: | 4330 | lru-cache@^5.1.1: |
4272 | version "5.1.1" | 4331 | version "5.1.1" |
4273 | resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" | 4332 | resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" |
@@ -4617,6 +4676,13 @@ neo-async@^2.6.0: | @@ -4617,6 +4676,13 @@ neo-async@^2.6.0: | ||
4617 | resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" | 4676 | resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" |
4618 | integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== | 4677 | integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== |
4619 | 4678 | ||
4679 | +no-case@^2.2.0: | ||
4680 | + version "2.3.2" | ||
4681 | + resolved "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz#60b813396be39b3f1288a4c1ed5d1e7d28b464ac" | ||
4682 | + integrity sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ== | ||
4683 | + dependencies: | ||
4684 | + lower-case "^1.1.1" | ||
4685 | + | ||
4620 | node-emoji@^1.10.0: | 4686 | node-emoji@^1.10.0: |
4621 | version "1.10.0" | 4687 | version "1.10.0" |
4622 | resolved "https://registry.npmjs.org/node-emoji/-/node-emoji-1.10.0.tgz#8886abd25d9c7bb61802a658523d1f8d2a89b2da" | 4688 | resolved "https://registry.npmjs.org/node-emoji/-/node-emoji-1.10.0.tgz#8886abd25d9c7bb61802a658523d1f8d2a89b2da" |
@@ -4857,6 +4923,13 @@ p-try@^2.0.0: | @@ -4857,6 +4923,13 @@ p-try@^2.0.0: | ||
4857 | resolved "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" | 4923 | resolved "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" |
4858 | integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== | 4924 | integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== |
4859 | 4925 | ||
4926 | +param-case@^2.1.1: | ||
4927 | + version "2.1.1" | ||
4928 | + resolved "https://registry.npmjs.org/param-case/-/param-case-2.1.1.tgz#df94fd8cf6531ecf75e6bef9a0858fbc72be2247" | ||
4929 | + integrity sha1-35T9jPZTHs915r75oIWPvHK+Ikc= | ||
4930 | + dependencies: | ||
4931 | + no-case "^2.2.0" | ||
4932 | + | ||
4860 | parent-module@^1.0.0: | 4933 | parent-module@^1.0.0: |
4861 | version "1.0.1" | 4934 | version "1.0.1" |
4862 | resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" | 4935 | resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" |
@@ -5472,6 +5545,11 @@ regexpp@^3.0.0, regexpp@^3.1.0: | @@ -5472,6 +5545,11 @@ regexpp@^3.0.0, regexpp@^3.1.0: | ||
5472 | resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" | 5545 | resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" |
5473 | integrity sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q== | 5546 | integrity sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q== |
5474 | 5547 | ||
5548 | +relateurl@^0.2.7: | ||
5549 | + version "0.2.7" | ||
5550 | + resolved "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9" | ||
5551 | + integrity sha1-VNvzd+UUQKypCkzSdGANP/LYiKk= | ||
5552 | + | ||
5475 | remark-parse@^8.0.0: | 5553 | remark-parse@^8.0.0: |
5476 | version "8.0.3" | 5554 | version "8.0.3" |
5477 | resolved "https://registry.npmjs.org/remark-parse/-/remark-parse-8.0.3.tgz#9c62aa3b35b79a486454c690472906075f40c7e1" | 5555 | resolved "https://registry.npmjs.org/remark-parse/-/remark-parse-8.0.3.tgz#9c62aa3b35b79a486454c690472906075f40c7e1" |
@@ -6669,6 +6747,11 @@ uglify-js@^3.1.4: | @@ -6669,6 +6747,11 @@ uglify-js@^3.1.4: | ||
6669 | resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.11.1.tgz#32d274fea8aac333293044afd7f81409d5040d38" | 6747 | resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.11.1.tgz#32d274fea8aac333293044afd7f81409d5040d38" |
6670 | integrity sha512-OApPSuJcxcnewwjSGGfWOjx3oix5XpmrK9Z2j0fTRlHGoZ49IU6kExfZTM0++fCArOOCet+vIfWwFHbvWqwp6g== | 6748 | integrity sha512-OApPSuJcxcnewwjSGGfWOjx3oix5XpmrK9Z2j0fTRlHGoZ49IU6kExfZTM0++fCArOOCet+vIfWwFHbvWqwp6g== |
6671 | 6749 | ||
6750 | +uglify-js@^3.5.1: | ||
6751 | + version "3.11.2" | ||
6752 | + resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.11.2.tgz#9f50325544273c27b20e586def140e7726c525ea" | ||
6753 | + integrity sha512-G440NU6fewtnQftSgqRV1r2A5ChKbU1gqFCJ7I8S7MPpY/eZZfLGefaY6gUZYiWebMaO+txgiQ1ZyLDuNWJulg== | ||
6754 | + | ||
6672 | unherit@^1.0.4: | 6755 | unherit@^1.0.4: |
6673 | version "1.1.3" | 6756 | version "1.1.3" |
6674 | resolved "https://registry.npmjs.org/unherit/-/unherit-1.1.3.tgz#6c9b503f2b41b262330c80e91c8614abdaa69c22" | 6757 | resolved "https://registry.npmjs.org/unherit/-/unherit-1.1.3.tgz#6c9b503f2b41b262330c80e91c8614abdaa69c22" |
@@ -6770,6 +6853,11 @@ unset-value@^1.0.0: | @@ -6770,6 +6853,11 @@ unset-value@^1.0.0: | ||
6770 | has-value "^0.3.1" | 6853 | has-value "^0.3.1" |
6771 | isobject "^3.0.0" | 6854 | isobject "^3.0.0" |
6772 | 6855 | ||
6856 | +upper-case@^1.1.1: | ||
6857 | + version "1.1.3" | ||
6858 | + resolved "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598" | ||
6859 | + integrity sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg= | ||
6860 | + | ||
6773 | uri-js@^4.2.2: | 6861 | uri-js@^4.2.2: |
6774 | version "4.4.0" | 6862 | version "4.4.0" |
6775 | resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz#aa714261de793e8a82347a7bcc9ce74e86f28602" | 6863 | resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz#aa714261de793e8a82347a7bcc9ce74e86f28602" |