Skip to content

Commit 01c4207

Browse files
author
Forbes Lindesay
authored
fix: update typescript-json-schema (#12)
Adds support for the `unknown` type.
1 parent 1d02cf6 commit 01c4207

File tree

2 files changed

+98
-38
lines changed

2 files changed

+98
-38
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"rimraf": "^2.6.2",
4040
"ts-jest": "^23.0.0",
4141
"tslint": "^5.10.0",
42-
"typescript": "^3.1.1"
42+
"typescript": "^3.4.5"
4343
},
4444
"jest": {
4545
"watchPathIgnorePatterns": [
@@ -68,7 +68,7 @@
6868
"json-stable-stringify": "^1.0.1",
6969
"minimatch": "^3.0.4",
7070
"tsconfig": "^7.0.0",
71-
"typescript-json-schema": "^0.37.0",
72-
"yargs": "^12.0.5"
71+
"typescript-json-schema": "^0.38.0",
72+
"yargs": "^13.2.4"
7373
}
7474
}

yarn.lock

Lines changed: 95 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,11 @@ ansi-regex@^3.0.0:
235235
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998"
236236
integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=
237237

238+
ansi-regex@^4.1.0:
239+
version "4.1.0"
240+
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997"
241+
integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==
242+
238243
ansi-styles@^2.2.1:
239244
version "2.2.1"
240245
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
@@ -724,6 +729,15 @@ cliui@^4.0.0:
724729
strip-ansi "^4.0.0"
725730
wrap-ansi "^2.0.0"
726731

732+
cliui@^5.0.0:
733+
version "5.0.0"
734+
resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5"
735+
integrity sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==
736+
dependencies:
737+
string-width "^3.1.0"
738+
strip-ansi "^5.2.0"
739+
wrap-ansi "^5.1.0"
740+
727741
co@^4.6.0:
728742
version "4.6.0"
729743
resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
@@ -973,6 +987,11 @@ ecc-jsbn@~0.1.1:
973987
jsbn "~0.1.0"
974988
safer-buffer "^2.1.0"
975989

990+
emoji-regex@^7.0.1:
991+
version "7.0.3"
992+
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156"
993+
integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==
994+
976995
end-of-stream@^1.1.0:
977996
version "1.4.1"
978997
resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.1.tgz#ed29634d19baba463b6ce6b80a37213eab71ec43"
@@ -1341,6 +1360,11 @@ get-caller-file@^1.0.1:
13411360
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a"
13421361
integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==
13431362

1363+
get-caller-file@^2.0.1:
1364+
version "2.0.5"
1365+
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
1366+
integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==
1367+
13441368
get-stream@^3.0.0:
13451369
version "3.0.0"
13461370
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14"
@@ -1380,7 +1404,7 @@ glob-parent@^2.0.0:
13801404
dependencies:
13811405
is-glob "^2.0.0"
13821406

1383-
glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@~7.1.2:
1407+
glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3:
13841408
version "7.1.3"
13851409
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1"
13861410
integrity sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==
@@ -1392,6 +1416,18 @@ glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@~7.1.2:
13921416
once "^1.3.0"
13931417
path-is-absolute "^1.0.0"
13941418

1419+
glob@~7.1.4:
1420+
version "7.1.4"
1421+
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255"
1422+
integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==
1423+
dependencies:
1424+
fs.realpath "^1.0.0"
1425+
inflight "^1.0.4"
1426+
inherits "2"
1427+
minimatch "^3.0.4"
1428+
once "^1.3.0"
1429+
path-is-absolute "^1.0.0"
1430+
13951431
globals@^9.18.0:
13961432
version "9.18.0"
13971433
resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a"
@@ -2880,7 +2916,7 @@ os-locale@^2.0.0:
28802916
lcid "^1.0.0"
28812917
mem "^1.1.0"
28822918

2883-
os-locale@^3.0.0:
2919+
os-locale@^3.1.0:
28842920
version "3.1.0"
28852921
resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-3.1.0.tgz#a802a6ee17f24c10483ab9935719cef4ed16bf1a"
28862922
integrity sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==
@@ -3292,6 +3328,11 @@ require-main-filename@^1.0.1:
32923328
resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1"
32933329
integrity sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=
32943330

3331+
require-main-filename@^2.0.0:
3332+
version "2.0.0"
3333+
resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b"
3334+
integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==
3335+
32953336
resolve-cwd@^2.0.0:
32963337
version "2.0.0"
32973338
resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a"
@@ -3610,6 +3651,15 @@ string-width@^1.0.1:
36103651
is-fullwidth-code-point "^2.0.0"
36113652
strip-ansi "^4.0.0"
36123653

3654+
string-width@^3.0.0, string-width@^3.1.0:
3655+
version "3.1.0"
3656+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961"
3657+
integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==
3658+
dependencies:
3659+
emoji-regex "^7.0.1"
3660+
is-fullwidth-code-point "^2.0.0"
3661+
strip-ansi "^5.1.0"
3662+
36133663
string_decoder@~1.1.1:
36143664
version "1.1.1"
36153665
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8"
@@ -3631,6 +3681,13 @@ strip-ansi@^4.0.0:
36313681
dependencies:
36323682
ansi-regex "^3.0.0"
36333683

3684+
strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0:
3685+
version "5.2.0"
3686+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae"
3687+
integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==
3688+
dependencies:
3689+
ansi-regex "^4.1.0"
3690+
36343691
[email protected], strip-bom@^3.0.0:
36353692
version "3.0.0"
36363693
resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3"
@@ -3857,25 +3914,20 @@ type-check@~0.3.2:
38573914
dependencies:
38583915
prelude-ls "~1.1.2"
38593916

3860-
typescript-json-schema@^0.37.0:
3861-
version "0.37.0"
3862-
resolved "https://registry.yarnpkg.com/typescript-json-schema/-/typescript-json-schema-0.37.0.tgz#c7c8c6eaeba68aed68f7cedb2000e721f7afb032"
3863-
integrity sha512-ipR41ZPQY74X7nOYsoiI6dgCrU+etui9yvsZH3qeTp2938G4nsdce5bxQhdlWE7OPoP+adKkvukIptvuPhv4PQ==
3917+
typescript-json-schema@^0.38.0:
3918+
version "0.38.0"
3919+
resolved "https://registry.yarnpkg.com/typescript-json-schema/-/typescript-json-schema-0.38.0.tgz#8abd2761aa53084a8c382d94e4b570a42811f375"
3920+
integrity sha512-X3dnxETu/K4e17CW6ZYnBLVlH3K5RRlDg8RpPKz6YKJrtd0eL9MHi0OWhyQgjtGw0NAKGI5jpoXUsiR+6xPcZw==
38643921
dependencies:
3865-
glob "~7.1.2"
3922+
glob "~7.1.4"
38663923
json-stable-stringify "^1.0.1"
3867-
typescript "^3.0.1"
3868-
yargs "^12.0.1"
3869-
3870-
typescript@^3.0.1:
3871-
version "3.4.1"
3872-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.4.1.tgz#b6691be11a881ffa9a05765a205cb7383f3b63c6"
3873-
integrity sha512-3NSMb2VzDQm8oBTLH6Nj55VVtUEpe/rgkIzMir0qVoLyjDZlnMBva0U6vDiV3IH+sl/Yu6oP5QwsAQtHPmDd2Q==
3924+
typescript "^3.4.5"
3925+
yargs "^13.2.4"
38743926

3875-
typescript@^3.1.1:
3876-
version "3.2.2"
3877-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.2.tgz#fe8101c46aa123f8353523ebdcf5730c2ae493e5"
3878-
integrity sha512-VCj5UiSyHBjwfYacmDuc/NOk4QQixbE+Wn7MFJuS0nRuPQbof132Pw4u53dm264O8LPc2MVsc7RJNml5szurkg==
3927+
typescript@^3.4.5:
3928+
version "3.4.5"
3929+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.4.5.tgz#2d2618d10bb566572b8d7aad5180d84257d70a99"
3930+
integrity sha512-YycBxUb49UUhdNMU5aJ7z5Ej2XGmaIBL0x34vZ82fn3hGvD+bgrMrVDpatgz2f7YxUMJxMkbWxJZeAvDxVe7Vw==
38793931

38803932
uglify-js@^3.1.4:
38813933
version "3.4.9"
@@ -4049,6 +4101,15 @@ wrap-ansi@^2.0.0:
40494101
string-width "^1.0.1"
40504102
strip-ansi "^3.0.1"
40514103

4104+
wrap-ansi@^5.1.0:
4105+
version "5.1.0"
4106+
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09"
4107+
integrity sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==
4108+
dependencies:
4109+
ansi-styles "^3.2.0"
4110+
string-width "^3.0.0"
4111+
strip-ansi "^5.0.0"
4112+
40524113
wrappy@1:
40534114
version "1.0.2"
40544115
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
@@ -4080,7 +4141,7 @@ y18n@^3.2.1:
40804141
resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41"
40814142
integrity sha1-bRX7qITAhnnA136I53WegR4H+kE=
40824143

4083-
"y18n@^3.2.1 || ^4.0.0":
4144+
y18n@^4.0.0:
40844145
version "4.0.0"
40854146
resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b"
40864147
integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==
@@ -4102,10 +4163,10 @@ [email protected]:
41024163
dependencies:
41034164
camelcase "^4.1.0"
41044165

4105-
yargs-parser@^11.1.1:
4106-
version "11.1.1"
4107-
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-11.1.1.tgz#879a0865973bca9f6bab5cbdf3b1c67ec7d3bcf4"
4108-
integrity sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ==
4166+
yargs-parser@^13.1.0:
4167+
version "13.1.0"
4168+
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.0.tgz#7016b6dd03e28e1418a510e258be4bff5a31138f"
4169+
integrity sha512-Yq+32PrijHRri0vVKQEm+ys8mbqWjLiwQkMFNXEENutzLPP0bE4Lcd4iA3OQY5HF+GD3xXxf0MEHb8E4/SA3AA==
41094170
dependencies:
41104171
camelcase "^5.0.0"
41114172
decamelize "^1.2.0"
@@ -4135,20 +4196,19 @@ yargs@^11.0.0:
41354196
y18n "^3.2.1"
41364197
yargs-parser "^9.0.2"
41374198

4138-
yargs@^12.0.1, yargs@^12.0.5:
4139-
version "12.0.5"
4140-
resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13"
4141-
integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw==
4199+
yargs@^13.2.4:
4200+
version "13.2.4"
4201+
resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.2.4.tgz#0b562b794016eb9651b98bd37acf364aa5d6dc83"
4202+
integrity sha512-HG/DWAJa1PAnHT9JAhNa8AbAv3FPaiLzioSjCcmuXXhP8MlpHO5vwls4g4j6n30Z74GVQj8Xa62dWVx1QCGklg==
41424203
dependencies:
4143-
cliui "^4.0.0"
4144-
decamelize "^1.2.0"
4204+
cliui "^5.0.0"
41454205
find-up "^3.0.0"
4146-
get-caller-file "^1.0.1"
4147-
os-locale "^3.0.0"
4206+
get-caller-file "^2.0.1"
4207+
os-locale "^3.1.0"
41484208
require-directory "^2.1.1"
4149-
require-main-filename "^1.0.1"
4209+
require-main-filename "^2.0.0"
41504210
set-blocking "^2.0.0"
4151-
string-width "^2.0.0"
4211+
string-width "^3.0.0"
41524212
which-module "^2.0.0"
4153-
y18n "^3.2.1 || ^4.0.0"
4154-
yargs-parser "^11.1.1"
4213+
y18n "^4.0.0"
4214+
yargs-parser "^13.1.0"

0 commit comments

Comments
 (0)