Commit fcee7d4eb71471dd40567c8d7c97302eeee80697

Authored by Vben
1 parent a84586e2

perf: move src/types to root

CHANGELOG.zh_CN.md
... ... @@ -10,6 +10,7 @@
10 10 - 修复 github 仓库体积过大问题.
11 11 - 默认隐藏表格全屏按钮
12 12 - `crypto-es`改为`crypto-js`,减小打包体积
  13 +- `types`目录移动到根目录,兼容其他目录全局类型
13 14  
14 15 ### 🐛 Bug Fixes
15 16  
... ...
src/components/Container/src/collapse/CollapseContainer.vue
... ... @@ -36,7 +36,7 @@
36 36 import CollapseHeader from './CollapseHeader.vue';
37 37 import LazyContainer from '../LazyContainer.vue';
38 38  
39   - import { triggerWindowResize } from '/@/utils/event/triggerWindowResizeEvent';
  39 + import { triggerWindowResize } from '/@/utils/event';
40 40 // hook
41 41 import { useTimeoutFn } from '/@/hooks/core/useTimeout';
42 42 import { propTypes } from '/@/utils/propTypes';
... ...
src/components/Form/src/hooks/useForm.ts
... ... @@ -7,7 +7,7 @@ import { getDynamicProps } from '/@/utils';
7 7  
8 8 import type { FormProps, FormActionType, UseFormReturnType, FormSchema } from '../types/form';
9 9 import type { NamePath } from 'ant-design-vue/lib/form/interface';
10   -import type { DynamicProps } from '/@/types/utils';
  10 +import type { DynamicProps } from '/#/utils';
11 11  
12 12 export declare type ValidateFields = (nameList?: NamePath[]) => Promise<Recordable>;
13 13  
... ...
src/components/Scrollbar/src/index.vue
... ... @@ -17,7 +17,7 @@
17 17 </div>
18 18 </template>
19 19 <script lang="ts">
20   - import { addResizeListener, removeResizeListener } from '/@/utils/event/resizeEvent';
  20 + import { addResizeListener, removeResizeListener } from '/@/utils/event';
21 21 import componentSetting from '/@/settings/componentSetting';
22 22 const { scrollbar } = componentSetting;
23 23 import { toObject } from './util';
... ...
src/components/Table/src/hooks/useTable.ts
1 1 import type { BasicTableProps, TableActionType, FetchParams, BasicColumn } from '../types/table';
2 2 import type { PaginationProps } from '../types/pagination';
3   -import type { DynamicProps } from '/@/types/utils';
  3 +import type { DynamicProps } from '/#/utils';
4 4 import { getDynamicProps } from '/@/utils';
5 5  
6 6 import { ref, onUnmounted, unref, watch, toRaw } from 'vue';
... ...
src/components/Tinymce/src/Editor.vue
... ... @@ -26,7 +26,7 @@
26 26 import plugins from './plugins';
27 27 import { getTinymce } from './getTinymce';
28 28 import { useScript } from '/@/hooks/web/useScript';
29   - import { shortUuid } from '/@/utils/uuid';
  29 + import { buildShortUUID } from '/@/utils/uuid';
30 30 import { bindHandlers } from './helper';
31 31 import lineHeight from './lineHeight';
32 32 import { onMountedOrActivated } from '/@/hooks/core/onMountedOrActivated';
... ... @@ -45,7 +45,7 @@
45 45 emits: ['change', 'update:modelValue'],
46 46 setup(props, { emit, attrs }) {
47 47 const editorRef = ref<any>(null);
48   - const tinymceId = ref<string>(shortUuid('tiny-vue'));
  48 + const tinymceId = ref<string>(buildShortUUID('tiny-vue'));
49 49 const elRef = ref<Nullable<HTMLElement>>(null);
50 50  
51 51 const { prefixCls } = useDesign('tinymce-container');
... ... @@ -104,7 +104,7 @@
104 104 }
105 105 );
106 106 onMountedOrActivated(() => {
107   - tinymceId.value = shortUuid('tiny-vue');
  107 + tinymceId.value = buildShortUUID('tiny-vue');
108 108 nextTick(() => {
109 109 init();
110 110 });
... ...
src/hooks/event/useElResize.ts
1 1 import { useDebounce } from '/@/hooks/core/useDebounce';
2   -import { addResizeListener, removeResizeListener } from '/@/utils/event/resizeEvent';
  2 +import { addResizeListener, removeResizeListener } from '/@/utils/event';
3 3  
4 4 interface WindowSizeOptions {
5 5 once?: boolean;
... ...
src/hooks/setting/index.ts
1   -import type { ProjectConfig, GlobConfig, GlobEnvConfig } from '/@/types/config';
  1 +import type { ProjectConfig, GlobConfig, GlobEnvConfig } from '/#/config';
2 2  
3 3 import { getConfigFileName } from '../../../build/getConfigFileName';
4 4  
... ...
src/hooks/setting/useHeaderSetting.ts
1   -import type { HeaderSetting } from '/@/types/config';
  1 +import type { HeaderSetting } from '/#/config';
2 2  
3 3 import { computed, unref } from 'vue';
4 4  
... ...
src/hooks/setting/useLocaleSetting.ts
1   -import type { LocaleSetting } from '/@/types/config';
  1 +import type { LocaleSetting } from '/#/config';
2 2  
3 3 import { computed, unref } from 'vue';
4 4 import { appStore } from '/@/store/modules/app';
... ...
src/hooks/setting/useMenuSetting.ts
1   -import type { MenuSetting } from '/@/types/config';
  1 +import type { MenuSetting } from '/#/config';
2 2  
3 3 import { computed, unref, ref } from 'vue';
4 4  
... ...
src/hooks/setting/useMultipleTabSetting.ts
1   -import type { MultiTabsSetting } from '/@/types/config';
  1 +import type { MultiTabsSetting } from '/#/config';
2 2  
3 3 import { computed, unref } from 'vue';
4 4  
... ...
src/hooks/setting/useRootSetting.ts
1   -import type { ProjectConfig } from '/@/types/config';
  1 +import type { ProjectConfig } from '/#/config';
2 2  
3 3 import { computed, unref } from 'vue';
4 4  
... ...
src/hooks/setting/useTransitionSetting.ts
1   -import type { TransitionSetting } from '/@/types/config';
  1 +import type { TransitionSetting } from '/#/config';
2 2  
3 3 import { computed, unref } from 'vue';
4 4  
... ...
src/layouts/default/setting/handler.ts
... ... @@ -4,7 +4,7 @@ import { updateColorWeak } from &#39;/@/logics/theme/updateColorWeak&#39;;
4 4 import { updateGrayMode } from '/@/logics/theme/updateGrayMode';
5 5  
6 6 import { appStore } from '/@/store/modules/app';
7   -import { ProjectConfig } from '/@/types/config';
  7 +import { ProjectConfig } from '/#/config';
8 8 import { changeTheme } from '/@/logics/theme';
9 9 import { useRootSetting } from '/@/hooks/setting/useRootSetting';
10 10  
... ...
src/logics/initAppConfig.ts
... ... @@ -2,7 +2,7 @@
2 2 * Application configuration
3 3 */
4 4  
5   -import type { ProjectConfig } from '/@/types/config';
  5 +import type { ProjectConfig } from '/#/config';
6 6  
7 7 import { PROJ_CFG_KEY } from '/@/enums/cacheEnum';
8 8  
... ...
src/settings/projectSetting.ts
1   -import type { ProjectConfig } from '/@/types/config';
  1 +import type { ProjectConfig } from '/#/config';
2 2  
3 3 import { MenuTypeEnum, MenuModeEnum, TriggerEnum, MixSidebarTriggerEnum } from '/@/enums/menuEnum';
4 4 import { CacheTypeEnum } from '/@/enums/cacheEnum';
... ...
src/store/modules/app.ts
1   -import type { ProjectConfig } from '/@/types/config';
  1 +import type { ProjectConfig } from '/#/config';
2 2  
3 3 import { VuexModule, getModule, Module, Mutation, Action } from 'vuex-module-decorators';
4 4 import store from '/@/store';
... ... @@ -24,7 +24,7 @@ let timeId: TimeoutHandle;
24 24 const NAME = 'app';
25 25 hotModuleUnregisterModule(NAME);
26 26 @Module({ dynamic: true, namespaced: true, store, name: NAME })
27   -class App extends VuexModule {
  27 +export default class App extends VuexModule {
28 28 // Page loading status
29 29 private pageLoadingState = false;
30 30  
... ...
src/utils/cache/aesEncryption.ts deleted 100644 → 0
1   -import type { lib } from 'crypto-js';
2   -
3   -import { encrypt, decrypt } from 'crypto-js/aes';
4   -import Uft8, { parse } from 'crypto-js/enc-utf8';
5   -import pkcs7 from 'crypto-js/pad-pkcs7';
6   -
7   -export interface EncryptionParams {
8   - key: string;
9   - iv: string;
10   -}
11   -
12   -export class Encryption {
13   - private key: lib.WordArray;
14   - private iv: lib.WordArray;
15   -
16   - constructor(opt: EncryptionParams) {
17   - const { key, iv } = opt;
18   - this.key = parse(key);
19   - this.iv = parse(iv);
20   - }
21   -
22   - get getOptions() {
23   - return {
24   - // mode: mode.CBC,
25   - padding: pkcs7,
26   - iv: this.iv,
27   - };
28   - }
29   -
30   - encryptByAES(str: string) {
31   - return encrypt(str, this.key, this.getOptions).toString();
32   - }
33   -
34   - decryptByAES(str: string) {
35   - return decrypt(str, this.key, this.getOptions).toString(Uft8);
36   - }
37   -}
38   -export default Encryption;
src/utils/cache/storageCache.ts
1 1 import { cacheCipher } from '/@/settings/encryptionSetting';
2 2  
3   -import Encryption, { EncryptionParams } from './aesEncryption';
  3 +import type { EncryptionParams } from '/@/utils/cipher';
  4 +
  5 +import { AesEncryption } from '/@/utils/cipher';
4 6  
5 7 export interface CreateStorageParams extends EncryptionParams {
6 8 prefixKey: string;
... ... @@ -20,7 +22,7 @@ export const createStorage = ({
20 22 throw new Error('When hasEncrypt is true, the key or iv must be 16 bits!');
21 23 }
22 24  
23   - const encryption = new Encryption({ key, iv });
  25 + const encryption = new AesEncryption({ key, iv });
24 26  
25 27 /**
26 28 *Cache class
... ... @@ -31,7 +33,7 @@ export const createStorage = ({
31 33 const WebStorage = class WebStorage {
32 34 private storage: Storage;
33 35 private prefixKey?: string;
34   - private encryption: Encryption;
  36 + private encryption: AesEncryption;
35 37 private hasEncrypt: boolean;
36 38 /**
37 39 *
... ...
src/utils/cipher.ts 0 → 100644
  1 +import { encrypt, decrypt } from 'crypto-js/aes';
  2 +import { parse } from 'crypto-js/enc-utf8';
  3 +import pkcs7 from 'crypto-js/pad-pkcs7';
  4 +import ECB from 'crypto-js/mode-ecb';
  5 +import md5 from 'crypto-js/md5';
  6 +import UTF8 from 'crypto-js/enc-utf8';
  7 +import Base64 from 'crypto-js/enc-base64';
  8 +
  9 +export interface EncryptionParams {
  10 + key: string;
  11 + iv: string;
  12 +}
  13 +
  14 +export class AesEncryption {
  15 + private key;
  16 + private iv;
  17 +
  18 + constructor(opt: Partial<EncryptionParams> = {}) {
  19 + const { key, iv } = opt;
  20 + if (key) {
  21 + this.key = parse(key);
  22 + }
  23 + if (iv) {
  24 + this.iv = parse(iv);
  25 + }
  26 + }
  27 +
  28 + get getOptions() {
  29 + return {
  30 + mode: ECB,
  31 + padding: pkcs7,
  32 + iv: this.iv,
  33 + };
  34 + }
  35 +
  36 + encryptByAES(cipherText: string) {
  37 + return encrypt(cipherText, this.key, this.getOptions).toString();
  38 + }
  39 +
  40 + decryptByAES(cipherText: string) {
  41 + return decrypt(cipherText, this.key, this.getOptions).toString(UTF8);
  42 + }
  43 +}
  44 +
  45 +export function encryptByBase64(cipherText: string) {
  46 + return Base64.parse(cipherText).toString(UTF8);
  47 +}
  48 +
  49 +export function decodeByBase64(cipherText: string) {
  50 + return Base64.parse(cipherText).toString(UTF8);
  51 +}
  52 +
  53 +export function encryptByMd5(password: string) {
  54 + return md5(password).toString();
  55 +}
... ...
src/utils/env.ts
1   -import type { GlobEnvConfig } from '/@/types/config';
  1 +import type { GlobEnvConfig } from '/#/config';
2 2  
3 3 import { useGlobSetting } from '/@/hooks/setting';
4 4 import pkg from '../../package.json';
... ...
src/utils/event/resizeEvent.ts renamed to src/utils/event/index.ts
... ... @@ -33,3 +33,10 @@ export function removeResizeListener(element: any, fn: () =&gt; any) {
33 33 element.__ro__.disconnect();
34 34 }
35 35 }
  36 +
  37 +export function triggerWindowResize() {
  38 + const event = document.createEvent('HTMLEvents');
  39 + event.initEvent('resize', true, true);
  40 + (event as any).eventType = 'message';
  41 + window.dispatchEvent(event);
  42 +}
... ...
src/utils/event/triggerWindowResizeEvent.ts deleted 100644 → 0
1   -/**
2   - * triggter window.resize
3   - */
4   -export function triggerWindowResize() {
5   - const event = document.createEvent('HTMLEvents');
6   - event.initEvent('resize', true, true);
7   - (event as any).eventType = 'message';
8   - window.dispatchEvent(event);
9   -}
src/utils/uuid.ts
... ... @@ -20,7 +20,7 @@ export function buildUUID(): string {
20 20 }
21 21  
22 22 let unique = 0;
23   -export function shortUuid(prefix = ''): string {
  23 +export function buildShortUUID(prefix = ''): string {
24 24 const time = Date.now();
25 25 const random = Math.floor(Math.random() * 1000000000);
26 26 unique++;
... ...
tsconfig.json
... ... @@ -18,13 +18,23 @@
18 18 "experimentalDecorators": true,
19 19 "lib": ["dom", "esnext"],
20 20 "types": ["vite/client"],
  21 + "typeRoots": ["./node_modules/@types/", "./types"],
21 22 "incremental": true,
22 23 "noImplicitAny": false,
23 24 "skipLibCheck": true,
24 25 "paths": {
25   - "/@/*": ["src/*"]
  26 + "/@/*": ["src/*"],
  27 + "/#/*": ["types/*"]
26 28 }
27 29 },
28   - "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
  30 + "include": [
  31 + "src/**/*.ts",
  32 + "src/**/*.d.ts",
  33 + "src/**/*.tsx",
  34 + "src/**/*.vue",
  35 + "types/**/*.d.ts",
  36 + "types/**/*.ts",
  37 + "mock/**/*.ts"
  38 + ],
29 39 "exclude": ["node_modules", "dist", "**/*.js"]
30 40 }
... ...
src/types/config.d.ts renamed to types/config.d.ts
src/types/event.d.ts renamed to types/event.d.ts
src/types/global.d.ts renamed to types/global.d.ts
src/types/module.d.ts renamed to types/module.d.ts
src/types/tsx.d.ts renamed to types/tsx.d.ts
src/types/utils.ts renamed to types/utils.ts
src/types/vue-app-env.d.ts renamed to types/vue-app-env.d.ts
src/types/window.d.ts renamed to types/window.d.ts
vite.config.ts
... ... @@ -35,6 +35,11 @@ export default ({ command, mode }: ConfigEnv): UserConfig =&gt; {
35 35 find: /^\/@\//,
36 36 replacement: pathResolve('src') + '/',
37 37 },
  38 + {
  39 + // /@/xxxx => src/xxx
  40 + find: /^\/#\//,
  41 + replacement: pathResolve('types') + '/',
  42 + },
38 43 ],
39 44 },
40 45 server: {
... ...
yarn.lock
... ... @@ -881,35 +881,35 @@
881 881 lodash "^4.17.19"
882 882 to-fast-properties "^2.0.0"
883 883  
884   -"@commitlint/cli@^12.0.0":
885   - version "12.0.0"
886   - resolved "https://registry.npmjs.org/@commitlint/cli/-/cli-12.0.0.tgz#bd389db0718aa4a7dfb515ea890776223ea0c60f"
887   - integrity sha512-9jxKu6PmBUeQIbSD7olsv8wSqFnFsGwKMN9sL5T1d5YZDCocFMgfeyDGtOwuiATsox7Mje+NucQ4zU1y0530Dw==
888   - dependencies:
889   - "@commitlint/format" "^12.0.0"
890   - "@commitlint/lint" "^12.0.0"
891   - "@commitlint/load" "^12.0.0"
892   - "@commitlint/read" "^12.0.0"
893   - "@commitlint/types" "^12.0.0"
  884 +"@commitlint/cli@^12.0.1":
  885 + version "12.0.1"
  886 + resolved "https://registry.npmjs.org/@commitlint/cli/-/cli-12.0.1.tgz#8960e34e8f1aed8b2ea50f223ee817fdf2264ffb"
  887 + integrity sha512-V+cMYNHJOr40XT9Kvz3Vrz1Eh7QE1rjQrUbifawDAqcOrBJFuoXwU2SAcRtYFCSqFy9EhbreQGhZFs8dYb90KA==
  888 + dependencies:
  889 + "@commitlint/format" "^12.0.1"
  890 + "@commitlint/lint" "^12.0.1"
  891 + "@commitlint/load" "^12.0.1"
  892 + "@commitlint/read" "^12.0.1"
  893 + "@commitlint/types" "^12.0.1"
894 894 get-stdin "8.0.0"
895 895 lodash "^4.17.19"
896 896 resolve-from "5.0.0"
897 897 resolve-global "1.0.0"
898   - yargs "^16.0.0"
  898 + yargs "^16.2.0"
899 899  
900   -"@commitlint/config-conventional@^12.0.0":
901   - version "12.0.0"
902   - resolved "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-12.0.0.tgz#3244957b87b92dc2f4feb46059cdeb950783198f"
903   - integrity sha512-zjTeCBlHEP0syW6QedRSxOiafYeuOol9vIXZ89uhKMhyejaKxdAnS3SBMN4fYiSFChsZEl+VshJeZDtUFkCd7Q==
  900 +"@commitlint/config-conventional@^12.0.1":
  901 + version "12.0.1"
  902 + resolved "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-12.0.1.tgz#7bf3bbf68bda967c5165135ebe8f2055decf1a83"
  903 + integrity sha512-1ZhB135lh47zVmf1orwcjxuKuam11fJIH/bdVxW9XiQv8XPwC6iIp19knfl8FcOT78AVBnes1z6EVxgUeP2/4Q==
904 904 dependencies:
905 905 conventional-changelog-conventionalcommits "^4.3.1"
906 906  
907   -"@commitlint/ensure@^12.0.0":
908   - version "12.0.0"
909   - resolved "https://registry.npmjs.org/@commitlint/ensure/-/ensure-12.0.0.tgz#a019bd4f4a2ea81ca3883d5f9c13bf70e786ff7f"
910   - integrity sha512-xTPjd2cw8WOLtcrp5C3S+GtmGzA+TJjlNwqgYP61jmitLiDsTs69qNcysR9vPTyIjA1EQio4iff1bpAoilTbcg==
  907 +"@commitlint/ensure@^12.0.1":
  908 + version "12.0.1"
  909 + resolved "https://registry.npmjs.org/@commitlint/ensure/-/ensure-12.0.1.tgz#0ed5e997026db25eb080559b6e67f55a21eea080"
  910 + integrity sha512-XdBq+q1YBBDxWIAEjE3Y1YMbzhUnUuSLAEWD8SU1xsvEpQXWRYwDlMBRkjO7funNWTdL0ZQSkZDzme70imYjbw==
911 911 dependencies:
912   - "@commitlint/types" "^12.0.0"
  912 + "@commitlint/types" "^12.0.1"
913 913 lodash "^4.17.19"
914 914  
915 915 "@commitlint/execute-rule@^11.0.0":
... ... @@ -917,36 +917,36 @@
917 917 resolved "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-11.0.0.tgz#3ed60ab7a33019e58d90e2d891b75d7df77b4b4d"
918 918 integrity sha512-g01p1g4BmYlZ2+tdotCavrMunnPFPhTzG1ZiLKTCYrooHRbmvqo42ZZn4QMStUEIcn+jfLb6BRZX3JzIwA1ezQ==
919 919  
920   -"@commitlint/execute-rule@^12.0.0":
921   - version "12.0.0"
922   - resolved "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-12.0.0.tgz#4469e0c606f523d6b92e395b0fdb0701e7aa6334"
923   - integrity sha512-X9vZDKdyOz8MNDZqJN39K9UbjQmMsyQ74d1lUaw0QuCE4jOesmynYkLc4Y4MWKqq9ElWdjswZyLMyOgm3kAMrg==
  920 +"@commitlint/execute-rule@^12.0.1":
  921 + version "12.0.1"
  922 + resolved "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-12.0.1.tgz#5bb2eba929270cafb2bd8191799d8b451de7fb7e"
  923 + integrity sha512-JzyweYfZlFLtXpgP+btzSY3YAkGPg61TqUSYQqBr4+5IaVf1FruMm5v4D5eLu9dAJuNKUfHbM3AEfuEPiZ79pg==
924 924  
925   -"@commitlint/format@^12.0.0":
926   - version "12.0.0"
927   - resolved "https://registry.npmjs.org/@commitlint/format/-/format-12.0.0.tgz#d364c631aa35aa84f32a8afa8218a0da9f7a2ba6"
928   - integrity sha512-otQHHx1KtT7UlO8igYeqxfatVFni6T8Nq8OPhwUHGrp8VYMorFSKUWrVpDtPtTAzRBj7e/ZtxCUOWck9Lwm7ug==
  925 +"@commitlint/format@^12.0.1":
  926 + version "12.0.1"
  927 + resolved "https://registry.npmjs.org/@commitlint/format/-/format-12.0.1.tgz#5164e5a9e8592c1983482cbd71e7ea86a645ff1b"
  928 + integrity sha512-rF79ipAxR8yFzPzG5tRoEZ//MRkyxCXj4JhpEjtdaCMBAXMssI8uazn3e5D8z4UFgSDe9qOnL0OmQvql7HTMoA==
929 929 dependencies:
930   - "@commitlint/types" "^12.0.0"
  930 + "@commitlint/types" "^12.0.1"
931 931 chalk "^4.0.0"
932 932  
933   -"@commitlint/is-ignored@^12.0.0":
934   - version "12.0.0"
935   - resolved "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-12.0.0.tgz#94ec9a2995f7fb35bb197c755796fa0eafa2ae09"
936   - integrity sha512-jo1/ee0Ly8ySG+FvAWPFq2Bt4Xdx7tyDDnwuclDw1yatv9Tu7CVSN4ae9FNiU2dVLzqIoIxCFwu9YMaMmnT+Lg==
  933 +"@commitlint/is-ignored@^12.0.1":
  934 + version "12.0.1"
  935 + resolved "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-12.0.1.tgz#0e59b0524e16300b1d9d62f8c138f083f22ebf9a"
  936 + integrity sha512-AplfLn5mX/kWTIiSolcOhTYcgphuGLX8FUr+HmyHBEqUkO36jt0z9caysH47fqU71ePtH63v1DWm+RYQ5RPDjg==
937 937 dependencies:
938   - "@commitlint/types" "^12.0.0"
  938 + "@commitlint/types" "^12.0.1"
939 939 semver "7.3.4"
940 940  
941   -"@commitlint/lint@^12.0.0":
942   - version "12.0.0"
943   - resolved "https://registry.npmjs.org/@commitlint/lint/-/lint-12.0.0.tgz#6c05432beeb45202eaecbf0366807397d46ad984"
944   - integrity sha512-/qPhiMBoAiaBmirxQKEf8iRy2B/PvU7xgNfRI4Gy5X9hx3xRwzZHVDTs6YjTZVRCD/9i6C8ZDMUuEM5Fk0pRyQ==
  941 +"@commitlint/lint@^12.0.1":
  942 + version "12.0.1"
  943 + resolved "https://registry.npmjs.org/@commitlint/lint/-/lint-12.0.1.tgz#a88b01c81cb6ca1867bd3d8fd288ba30017c2b7d"
  944 + integrity sha512-1lKyRCq4ahJrY+Xxo8LsqCbALeJkodtEfpmYHeA5HpPMnK7lRSplLqOLcTCjoPfd4vO+gl6aDEZN+ow3YGQBOg==
945 945 dependencies:
946   - "@commitlint/is-ignored" "^12.0.0"
947   - "@commitlint/parse" "^12.0.0"
948   - "@commitlint/rules" "^12.0.0"
949   - "@commitlint/types" "^12.0.0"
  946 + "@commitlint/is-ignored" "^12.0.1"
  947 + "@commitlint/parse" "^12.0.1"
  948 + "@commitlint/rules" "^12.0.1"
  949 + "@commitlint/types" "^12.0.1"
950 950  
951 951 "@commitlint/load@>6.1.1":
952 952 version "11.0.0"
... ... @@ -961,40 +961,40 @@
961 961 lodash "^4.17.19"
962 962 resolve-from "^5.0.0"
963 963  
964   -"@commitlint/load@^12.0.0":
965   - version "12.0.0"
966   - resolved "https://registry.npmjs.org/@commitlint/load/-/load-12.0.0.tgz#d0cd58bd6c3f5184ae542b6fbcdea37c5c671e32"
967   - integrity sha512-B7rwRGWE3j+4dWsLD4s82fIbIJP1xGOJYfAvKDWOa/FnAb8s8ZQOK8HHuDC8BD/MU3Ierl8KJMfzGiO63d1rlA==
  964 +"@commitlint/load@^12.0.1":
  965 + version "12.0.1"
  966 + resolved "https://registry.npmjs.org/@commitlint/load/-/load-12.0.1.tgz#4d180fc88e5b4cfcb476a245d899f85154137502"
  967 + integrity sha512-dX8KdCWn7w0bTkkk3zKQpe9X8vsTRa5EM+1ffF313wCX9b6tGa9vujhEHCkSzKAbbE2tFV64CHZygE7rtlHdIA==
968 968 dependencies:
969   - "@commitlint/execute-rule" "^12.0.0"
970   - "@commitlint/resolve-extends" "^12.0.0"
971   - "@commitlint/types" "^12.0.0"
  969 + "@commitlint/execute-rule" "^12.0.1"
  970 + "@commitlint/resolve-extends" "^12.0.1"
  971 + "@commitlint/types" "^12.0.1"
972 972 chalk "^4.0.0"
973 973 cosmiconfig "^7.0.0"
974 974 lodash "^4.17.19"
975 975 resolve-from "^5.0.0"
976 976  
977   -"@commitlint/message@^12.0.0":
978   - version "12.0.0"
979   - resolved "https://registry.npmjs.org/@commitlint/message/-/message-12.0.0.tgz#37587f487961e89e13ef0fe90ba66ca91b901a1e"
980   - integrity sha512-jSyL6Po/IsYin6OGoeazcUDkxTYW4l83c2HiUoBKLYgvzMLyCy5jrW/ijKXK6hC/9A0nY00Zdi4iY7pA0gNSuA==
  977 +"@commitlint/message@^12.0.1":
  978 + version "12.0.1"
  979 + resolved "https://registry.npmjs.org/@commitlint/message/-/message-12.0.1.tgz#caff6743db78c30a063809501cf4b835c3ce7fa6"
  980 + integrity sha512-fXuoxRC+NT1wEQi6p8oHfT7wvWIRgTk+udlRJnWTjmMpiYzVnMmmZfasdShirWr4TtxQtMyL+5DVgh7Y98kURw==
981 981  
982   -"@commitlint/parse@^12.0.0":
983   - version "12.0.0"
984   - resolved "https://registry.npmjs.org/@commitlint/parse/-/parse-12.0.0.tgz#e4d1ba1333c6c41ad9d1c1d2469b7c378ed36a52"
985   - integrity sha512-CcSNSwQlKTJtnPPaGlKrClV4wOPUKH5fZ2AE+M+QQlTcp5IchgASzpqwPjMaeeP5FwnBiDZ98AtV9ZqqkKy2kg==
  982 +"@commitlint/parse@^12.0.1":
  983 + version "12.0.1"
  984 + resolved "https://registry.npmjs.org/@commitlint/parse/-/parse-12.0.1.tgz#ba8641f53e15b523808ba2eaa48c1bf0129c91c4"
  985 + integrity sha512-7oEGASmzBnHir5jSIR7KephXrKh7rIi9a6RpH1tOT+CIENYvhe8EDtIy29qMt+RLa2LlaPF7YrAgaJRfzG0YDQ==
986 986 dependencies:
987   - "@commitlint/types" "^12.0.0"
  987 + "@commitlint/types" "^12.0.1"
988 988 conventional-changelog-angular "^5.0.11"
989 989 conventional-commits-parser "^3.0.0"
990 990  
991   -"@commitlint/read@^12.0.0":
992   - version "12.0.0"
993   - resolved "https://registry.npmjs.org/@commitlint/read/-/read-12.0.0.tgz#556894663614b1a22156673250e517be18f657c6"
994   - integrity sha512-xOply23eCsbIvqXMkrjrxhryClBu6rRPhEVxahihhcNQ2x9SskHTlEr3o6BljqCWfIxNNZL9s2TVqkOjEmkskw==
  991 +"@commitlint/read@^12.0.1":
  992 + version "12.0.1"
  993 + resolved "https://registry.npmjs.org/@commitlint/read/-/read-12.0.1.tgz#41f3295ed9f451d4c65223cd37ddd59ef714bddb"
  994 + integrity sha512-baa0YeD4QOctEuthLpExQSi9xPiw0kDPfUVHqp8I88iuIXJECeS8S1+1GBiz89e8dLN9zmEE+sN9vtJHdAp9YA==
995 995 dependencies:
996   - "@commitlint/top-level" "^12.0.0"
997   - "@commitlint/types" "^12.0.0"
  996 + "@commitlint/top-level" "^12.0.1"
  997 + "@commitlint/types" "^12.0.1"
998 998 fs-extra "^9.0.0"
999 999 git-raw-commits "^2.0.0"
1000 1000  
... ... @@ -1008,35 +1008,35 @@
1008 1008 resolve-from "^5.0.0"
1009 1009 resolve-global "^1.0.0"
1010 1010  
1011   -"@commitlint/resolve-extends@^12.0.0":
1012   - version "12.0.0"
1013   - resolved "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-12.0.0.tgz#78b5c53c9b3ab496095b5ff612a5e6693f32250c"
1014   - integrity sha512-5i0ZieVFzXuRqyYxnoEJ7InYyXQC/K98nF75Ro6wVQqpmzi01/KHYwo8uCcy1Q+rPB48FSmCB84br0t5Ulr/KA==
  1011 +"@commitlint/resolve-extends@^12.0.1":
  1012 + version "12.0.1"
  1013 + resolved "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-12.0.1.tgz#77509f386e08bd30262ec9a75c783d8f4f028fd2"
  1014 + integrity sha512-Mvg0GDi/68Cqw893ha8uhxE8myHfPmiSSSi7d1x4VJNR4hoS37lBdX89kyx4i9NPmLfviY2cUJKTyK8ZrFznZw==
1015 1015 dependencies:
1016 1016 import-fresh "^3.0.0"
1017 1017 lodash "^4.17.19"
1018 1018 resolve-from "^5.0.0"
1019 1019 resolve-global "^1.0.0"
1020 1020  
1021   -"@commitlint/rules@^12.0.0":
1022   - version "12.0.0"
1023   - resolved "https://registry.npmjs.org/@commitlint/rules/-/rules-12.0.0.tgz#81bfb00adbd9a4c876be40f30eaf8dd5938a5a41"
1024   - integrity sha512-VO9UqtivXRMko7GpgUOkKSixWuihKxJYmLBrcdw5TcPD8Ott0wgFGWE65n67wTfikW7aLZLzGiybuopZHIdP/w==
  1021 +"@commitlint/rules@^12.0.1":
  1022 + version "12.0.1"
  1023 + resolved "https://registry.npmjs.org/@commitlint/rules/-/rules-12.0.1.tgz#1c81345f468597656141338a493d5e426e44dab9"
  1024 + integrity sha512-A5O0ubNGugZR9WWxk5IVOLo07lpdUwhG5WkAW2lYpgZ7Z/2U4PLob9b4Ih1eHbQu+gnVeFr91k7F0DrpM7B8EQ==
1025 1025 dependencies:
1026   - "@commitlint/ensure" "^12.0.0"
1027   - "@commitlint/message" "^12.0.0"
1028   - "@commitlint/to-lines" "^12.0.0"
1029   - "@commitlint/types" "^12.0.0"
  1026 + "@commitlint/ensure" "^12.0.1"
  1027 + "@commitlint/message" "^12.0.1"
  1028 + "@commitlint/to-lines" "^12.0.1"
  1029 + "@commitlint/types" "^12.0.1"
1030 1030  
1031   -"@commitlint/to-lines@^12.0.0":
1032   - version "12.0.0"
1033   - resolved "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-12.0.0.tgz#b015bf50ae4e652e8254c145329072723a88e070"
1034   - integrity sha512-hRZQTDkBUA7eDDlvbRLrXl/HRK3yA6Cbnd+TvxDc79MlsMH5affLtDfdJICE8SSkN2AFxIzHcSysBPxJvSvcKQ==
  1031 +"@commitlint/to-lines@^12.0.1":
  1032 + version "12.0.1"
  1033 + resolved "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-12.0.1.tgz#586d89b9f9ff99ef93b3c8aa3d77faffbe3ffedc"
  1034 + integrity sha512-XwcJ1jY7x2fhudzbGMpNQkTSMVrxWrI8bRMbVe3Abuu7RfYpFf7VXAlhtnLfxBoagaK7RxjC2+eRidp/3txQBg==
1035 1035  
1036   -"@commitlint/top-level@^12.0.0":
1037   - version "12.0.0"
1038   - resolved "https://registry.npmjs.org/@commitlint/top-level/-/top-level-12.0.0.tgz#9076da970d3c44df3a83051405f4e6841a35cc37"
1039   - integrity sha512-Y7UfYZyi0q+jj0Yh81HVtTvstupVh6b+a7eUnSvmAWyDdMRfVBoE2hjuT6DY3W2xv1xuJ4DUHJu64BUr6FOkMQ==
  1036 +"@commitlint/top-level@^12.0.1":
  1037 + version "12.0.1"
  1038 + resolved "https://registry.npmjs.org/@commitlint/top-level/-/top-level-12.0.1.tgz#9c7efd319a4f8d29001f011ba8b0e21fad6044f6"
  1039 + integrity sha512-rHdgt7U24GEau2/9i2vEAbksxkBRiVjHj5ECFL5dd0AJOIvaK++vMg4EF/ME0X/1yd9qVTHTNOl2Q4tTFK7VBQ==
1040 1040 dependencies:
1041 1041 find-up "^5.0.0"
1042 1042  
... ... @@ -1045,10 +1045,10 @@
1045 1045 resolved "https://registry.npmjs.org/@commitlint/types/-/types-11.0.0.tgz#719cf05fcc1abb6533610a2e0f5dd1e61eac14fe"
1046 1046 integrity sha512-VoNqai1vR5anRF5Tuh/+SWDFk7xi7oMwHrHrbm1BprYXjB2RJsWLhUrStMssDxEl5lW/z3EUdg8RvH/IUBccSQ==
1047 1047  
1048   -"@commitlint/types@^12.0.0":
1049   - version "12.0.0"
1050   - resolved "https://registry.npmjs.org/@commitlint/types/-/types-12.0.0.tgz#c7f27b87e3ceac08a9b8a6f200054709c2a64271"
1051   - integrity sha512-ADW/GEwDdgf7ppNq+S2T8J6XgATi2yndXddu+ZV8wlHFpL1DhjPbuPA9RYLnJcp44xQSe/cEV7a7Z43Ryy1S9Q==
  1048 +"@commitlint/types@^12.0.1":
  1049 + version "12.0.1"
  1050 + resolved "https://registry.npmjs.org/@commitlint/types/-/types-12.0.1.tgz#04a0cbb8aa56b7c004f8939c2d1ef8892ec68327"
  1051 + integrity sha512-FsNDMV0W7D19/ZbR412klpqAilXASx75Neqh7jPtK278IEwdukOg3vth1r5kTm+BjDScM7wMUEOwIW3NNfAtwg==
1052 1052 dependencies:
1053 1053 chalk "^4.0.0"
1054 1054  
... ... @@ -9394,7 +9394,7 @@ yargs@^13.2.4:
9394 9394 y18n "^4.0.0"
9395 9395 yargs-parser "^13.1.2"
9396 9396  
9397   -yargs@^16.0.0, yargs@^16.0.3, yargs@^16.2.0:
  9397 +yargs@^16.0.3, yargs@^16.2.0:
9398 9398 version "16.2.0"
9399 9399 resolved "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66"
9400 9400 integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==
... ...