This commit is contained in:
三咲智子 2022-02-22 15:28:02 +08:00 committed by GitHub
parent d2e9de9511
commit 25edf5743b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 61 additions and 43 deletions

View File

@ -44,7 +44,7 @@ jobs:
- name: Lint - name: Lint
run: pnpm lint run: pnpm lint
- name: Test - name: Test
run: pnpm test:coverage run: pnpm test:jest && pnpm test:coverage
- name: Upload to codecov.io - name: Upload to codecov.io
uses: codecov/codecov-action@v2 uses: codecov/codecov-action@v2
with: with:

View File

@ -144,5 +144,10 @@
"vue-jest": "^5.0.0-alpha.10", "vue-jest": "^5.0.0-alpha.10",
"vue-router": "^4.0.12", "vue-router": "^4.0.12",
"vue-tsc": "^0.31.4" "vue-tsc": "^0.31.4"
},
"pnpm": {
"overrides": {
"jsdom": "16.4.0"
}
} }
} }

View File

@ -1,5 +1,8 @@
lockfileVersion: 5.3 lockfileVersion: 5.3
overrides:
jsdom: 16.4.0
importers: importers:
.: .:
@ -3942,7 +3945,7 @@ packages:
/axios/0.26.0: /axios/0.26.0:
resolution: {integrity: sha512-lKoGLMYtHvFrPVt3r+RBMp9nh34N0M8zEfCWqdWZx6phynIEhQqAdydpyBAAG211zlhX9Rgu08cOamy6XjE5Og==} resolution: {integrity: sha512-lKoGLMYtHvFrPVt3r+RBMp9nh34N0M8zEfCWqdWZx6phynIEhQqAdydpyBAAG211zlhX9Rgu08cOamy6XjE5Og==}
dependencies: dependencies:
follow-redirects: 1.14.9 follow-redirects: 1.14.9_debug@4.3.3
transitivePeerDependencies: transitivePeerDependencies:
- debug - debug
dev: false dev: false
@ -5758,13 +5761,13 @@ packages:
engines: {node: '>=10'} engines: {node: '>=10'}
dev: true dev: true
/escodegen/2.0.0: /escodegen/1.14.3:
resolution: {integrity: sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==} resolution: {integrity: sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==}
engines: {node: '>=6.0'} engines: {node: '>=4.0'}
hasBin: true hasBin: true
dependencies: dependencies:
esprima: 4.0.1 esprima: 4.0.1
estraverse: 5.3.0 estraverse: 4.3.0
esutils: 2.0.3 esutils: 2.0.3
optionator: 0.8.3 optionator: 0.8.3
optionalDependencies: optionalDependencies:
@ -6388,16 +6391,6 @@ packages:
readable-stream: 2.3.7 readable-stream: 2.3.7
dev: true dev: true
/follow-redirects/1.14.9:
resolution: {integrity: sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==}
engines: {node: '>=4.0'}
peerDependencies:
debug: '*'
peerDependenciesMeta:
debug:
optional: true
dev: false
/follow-redirects/1.14.9_debug@4.3.3: /follow-redirects/1.14.9_debug@4.3.3:
resolution: {integrity: sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==} resolution: {integrity: sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==}
engines: {node: '>=4.0'} engines: {node: '>=4.0'}
@ -6408,7 +6401,6 @@ packages:
optional: true optional: true
dependencies: dependencies:
debug: 4.3.3 debug: 4.3.3
dev: true
/for-in/1.0.2: /for-in/1.0.2:
resolution: {integrity: sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=} resolution: {integrity: sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=}
@ -6443,15 +6435,6 @@ packages:
mime-types: 2.1.34 mime-types: 2.1.34
dev: true dev: true
/form-data/3.0.1:
resolution: {integrity: sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==}
engines: {node: '>= 6'}
dependencies:
asynckit: 0.4.0
combined-stream: 1.0.8
mime-types: 2.1.34
dev: true
/fraction.js/4.1.3: /fraction.js/4.1.3:
resolution: {integrity: sha512-pUHWWt6vHzZZiQJcM6S/0PXfS+g6FM4BF5rj9wZyreivhQPdsh5PpE25VtSNxq80wHS5RfY51Ii+8Z0Zl/pmzg==} resolution: {integrity: sha512-pUHWWt6vHzZZiQJcM6S/0PXfS+g6FM4BF5rj9wZyreivhQPdsh5PpE25VtSNxq80wHS5RfY51Ii+8Z0Zl/pmzg==}
dev: true dev: true
@ -7229,6 +7212,11 @@ packages:
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}
dev: true dev: true
/ip-regex/2.1.0:
resolution: {integrity: sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=}
engines: {node: '>=4'}
dev: true
/ip/1.1.5: /ip/1.1.5:
resolution: {integrity: sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=} resolution: {integrity: sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=}
dev: true dev: true
@ -7813,11 +7801,10 @@ packages:
'@types/node': 17.0.18 '@types/node': 17.0.18
jest-mock: 26.6.2 jest-mock: 26.6.2
jest-util: 26.6.2 jest-util: 26.6.2
jsdom: 16.7.0 jsdom: 16.4.0
transitivePeerDependencies: transitivePeerDependencies:
- bufferutil - bufferutil
- canvas - canvas
- supports-color
- utf-8-validate - utf-8-validate
dev: true dev: true
@ -8171,8 +8158,8 @@ packages:
resolution: {integrity: sha1-peZUwuWi3rXyAdls77yoDA7y9RM=} resolution: {integrity: sha1-peZUwuWi3rXyAdls77yoDA7y9RM=}
dev: true dev: true
/jsdom/16.7.0: /jsdom/16.4.0:
resolution: {integrity: sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==} resolution: {integrity: sha512-lYMm3wYdgPhrl7pDcRmvzPhhrGVBeVhPIqeHjzeiHN3DFmD1RBpbExbi8vU7BJdH8VAZYovR8DMt0PNNDM7k8w==}
engines: {node: '>=10'} engines: {node: '>=10'}
peerDependencies: peerDependencies:
canvas: ^2.5.0 canvas: ^2.5.0
@ -8181,24 +8168,23 @@ packages:
optional: true optional: true
dependencies: dependencies:
abab: 2.0.5 abab: 2.0.5
acorn: 8.7.0 acorn: 7.4.1
acorn-globals: 6.0.0 acorn-globals: 6.0.0
cssom: 0.4.4 cssom: 0.4.4
cssstyle: 2.3.0 cssstyle: 2.3.0
data-urls: 2.0.0 data-urls: 2.0.0
decimal.js: 10.3.1 decimal.js: 10.3.1
domexception: 2.0.1 domexception: 2.0.1
escodegen: 2.0.0 escodegen: 1.14.3
form-data: 3.0.1
html-encoding-sniffer: 2.0.1 html-encoding-sniffer: 2.0.1
http-proxy-agent: 4.0.1
https-proxy-agent: 5.0.0
is-potential-custom-element-name: 1.0.1 is-potential-custom-element-name: 1.0.1
nwsapi: 2.2.0 nwsapi: 2.2.0
parse5: 6.0.1 parse5: 5.1.1
request: 2.88.2
request-promise-native: 1.0.9_request@2.88.2
saxes: 5.0.1 saxes: 5.0.1
symbol-tree: 3.2.4 symbol-tree: 3.2.4
tough-cookie: 4.0.0 tough-cookie: 3.0.1
w3c-hr-time: 1.0.2 w3c-hr-time: 1.0.2
w3c-xmlserializer: 2.0.0 w3c-xmlserializer: 2.0.0
webidl-conversions: 6.1.0 webidl-conversions: 6.1.0
@ -8209,7 +8195,6 @@ packages:
xml-name-validator: 3.0.0 xml-name-validator: 3.0.0
transitivePeerDependencies: transitivePeerDependencies:
- bufferutil - bufferutil
- supports-color
- utf-8-validate - utf-8-validate
dev: true dev: true
@ -9588,8 +9573,8 @@ packages:
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}
dev: true dev: true
/parse5/6.0.1: /parse5/5.1.1:
resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} resolution: {integrity: sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==}
dev: true dev: true
/pascalcase/0.1.1: /pascalcase/0.1.1:
@ -10262,6 +10247,29 @@ packages:
throttleit: 1.0.0 throttleit: 1.0.0
dev: true dev: true
/request-promise-core/1.1.4_request@2.88.2:
resolution: {integrity: sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw==}
engines: {node: '>=0.10.0'}
peerDependencies:
request: ^2.34
dependencies:
lodash: 4.17.21
request: 2.88.2
dev: true
/request-promise-native/1.0.9_request@2.88.2:
resolution: {integrity: sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g==}
engines: {node: '>=0.12.0'}
deprecated: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
peerDependencies:
request: ^2.34
dependencies:
request: 2.88.2
request-promise-core: 1.1.4_request@2.88.2
stealthy-require: 1.1.1
tough-cookie: 2.5.0
dev: true
/request/2.88.2: /request/2.88.2:
resolution: {integrity: sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==} resolution: {integrity: sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==}
engines: {node: '>= 6'} engines: {node: '>= 6'}
@ -10902,6 +10910,11 @@ packages:
object-copy: 0.1.0 object-copy: 0.1.0
dev: true dev: true
/stealthy-require/1.1.1:
resolution: {integrity: sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=}
engines: {node: '>=0.10.0'}
dev: true
/stream-exhaust/1.0.2: /stream-exhaust/1.0.2:
resolution: {integrity: sha512-b/qaq/GlBK5xaq1yrK9/zFcyRSTNxmcZwFLGSTG0mXgZl/4Z6GgiyYOXOvY7N3eEvFRAG1bkDRz5EPGSvPYQlw==} resolution: {integrity: sha512-b/qaq/GlBK5xaq1yrK9/zFcyRSTNxmcZwFLGSTG0mXgZl/4Z6GgiyYOXOvY7N3eEvFRAG1bkDRz5EPGSvPYQlw==}
dev: true dev: true
@ -11354,13 +11367,13 @@ packages:
punycode: 2.1.1 punycode: 2.1.1
dev: true dev: true
/tough-cookie/4.0.0: /tough-cookie/3.0.1:
resolution: {integrity: sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==} resolution: {integrity: sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==}
engines: {node: '>=6'} engines: {node: '>=6'}
dependencies: dependencies:
ip-regex: 2.1.0
psl: 1.8.0 psl: 1.8.0
punycode: 2.1.1 punycode: 2.1.1
universalify: 0.1.2
dev: true dev: true
/tr46/0.0.3: /tr46/0.0.3: