mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-30 15:53:21 +00:00
Update dependency typescript to v4.7.2 (#2079)
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
409df9b2c8
commit
a8673c9174
3 changed files with 5 additions and 25 deletions
|
@ -156,7 +156,7 @@
|
|||
"ts-loader": "9.3.0",
|
||||
"ts-mockery": "1.2.0",
|
||||
"ts-node": "10.8.0",
|
||||
"typescript": "4.6.4"
|
||||
"typescript": "4.7.2"
|
||||
},
|
||||
"packageManager": "yarn@3.2.1"
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ import { defaultConfig } from '../../default-config'
|
|||
import { Mock } from 'ts-mockery'
|
||||
|
||||
export const expectFetch = (expectedUrl: string, expectedStatusCode: number, expectedOptions: RequestInit): void => {
|
||||
global.fetch = jest.fn((fetchUrl: RequestInfo, fetchOptions?: RequestInit): Promise<Response> => {
|
||||
global.fetch = jest.fn((fetchUrl: RequestInfo | URL, fetchOptions?: RequestInit): Promise<Response> => {
|
||||
expect(fetchUrl).toEqual(expectedUrl)
|
||||
expect(fetchOptions).toStrictEqual({
|
||||
...defaultConfig,
|
||||
|
|
26
yarn.lock
26
yarn.lock
|
@ -2108,7 +2108,7 @@ __metadata:
|
|||
ts-mockery: 1.2.0
|
||||
ts-node: 10.8.0
|
||||
twemoji-colr-font: 0.0.4
|
||||
typescript: 4.6.4
|
||||
typescript: 4.7.2
|
||||
uuid: 8.3.2
|
||||
vega: 5.22.1
|
||||
vega-embed: 6.20.8
|
||||
|
@ -19813,17 +19813,7 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@npm:4.6.4":
|
||||
version: 4.6.4
|
||||
resolution: "typescript@npm:4.6.4"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: e7bfcc39cd4571a63a54e5ea21f16b8445268b9900bf55aee0e02ad981be576acc140eba24f1af5e3c1457767c96cea6d12861768fb386cf3ffb34013718631a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@npm:^4.5.4, typescript@npm:^4.5.5":
|
||||
"typescript@npm:4.7.2, typescript@npm:^4.5.4, typescript@npm:^4.5.5":
|
||||
version: 4.7.2
|
||||
resolution: "typescript@npm:4.7.2"
|
||||
bin:
|
||||
|
@ -19833,17 +19823,7 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@4.6.4#~builtin<compat/typescript>":
|
||||
version: 4.6.4
|
||||
resolution: "typescript@patch:typescript@npm%3A4.6.4#~builtin<compat/typescript>::version=4.6.4&hash=7ad353"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: 1cb434fbc637d347be90e3a0c6cd05e33c38f941713c8786d3031faf1842c2c148ba91d2fac01e7276b0ae3249b8633f1660e32686cc7a8c6a8fd5361dc52c66
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@^4.5.4#~builtin<compat/typescript>, typescript@patch:typescript@^4.5.5#~builtin<compat/typescript>":
|
||||
"typescript@patch:typescript@4.7.2#~builtin<compat/typescript>, typescript@patch:typescript@^4.5.4#~builtin<compat/typescript>, typescript@patch:typescript@^4.5.5#~builtin<compat/typescript>":
|
||||
version: 4.7.2
|
||||
resolution: "typescript@patch:typescript@npm%3A4.7.2#~builtin<compat/typescript>::version=4.7.2&hash=7ad353"
|
||||
bin:
|
||||
|
|
Loading…
Reference in a new issue