Skip to content

Commit 5754752

Browse files
committed
upgrade virtuoso and typescript
1 parent bbdf47c commit 5754752

3 files changed

Lines changed: 17 additions & 83 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"ical-expander": "^3.1.0",
5555
"linkifyjs": "^2.1.9",
5656
"react-markdown": "^5.0.3",
57-
"react-virtuoso": "^1.5.8"
57+
"react-virtuoso": "^2.2.1"
5858
},
5959
"devDependencies": {
6060
"@size-limit/preset-big-lib": "^4.9.2",
@@ -74,7 +74,7 @@
7474
"styled-components": "^5.2.1",
7575
"tsdx": "^0.14.1",
7676
"tslib": "^2.1.0",
77-
"typescript": "^4.1.5"
77+
"typescript": "^4.4.3"
7878
},
7979
"husky": {
8080
"hooks": {

src/parser/__snapshots__/examples.test.tsx.snap

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -346,31 +346,17 @@ Array [
346346
}
347347
>
348348
<div
349+
data-test-id="virtuoso-item-list"
349350
style={
350351
Object {
351352
"boxSizing": "border-box",
352-
"height": 0,
353353
"marginTop": 0,
354354
"paddingBottom": 0,
355355
"paddingTop": 0,
356356
}
357357
}
358358
/>
359359
</div>
360-
<div
361-
style={
362-
Object {
363-
"marginTop": "0px",
364-
"position": "-webkit-sticky",
365-
"top": 0,
366-
"width": "100%",
367-
}
368-
}
369-
>
370-
<div
371-
style={Object {}}
372-
/>
373-
</div>
374360
</div>
375361
</div>
376362
<div
@@ -399,31 +385,17 @@ Array [
399385
}
400386
>
401387
<div
388+
data-test-id="virtuoso-item-list"
402389
style={
403390
Object {
404391
"boxSizing": "border-box",
405-
"height": 0,
406392
"marginTop": 0,
407393
"paddingBottom": 0,
408394
"paddingTop": 0,
409395
}
410396
}
411397
/>
412398
</div>
413-
<div
414-
style={
415-
Object {
416-
"marginTop": "0px",
417-
"position": "-webkit-sticky",
418-
"top": 0,
419-
"width": "100%",
420-
}
421-
}
422-
>
423-
<div
424-
style={Object {}}
425-
/>
426-
</div>
427399
</div>
428400
</div>
429401
</div>

yarn.lock

Lines changed: 13 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2871,11 +2871,6 @@ art-template@^4.13.2:
28712871
merge-source-map "^1.0.3"
28722872
source-map "^0.5.6"
28732873

2874-
asap@~2.0.6:
2875-
version "2.0.6"
2876-
resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46"
2877-
integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=
2878-
28792874
asn1.js@^5.2.0:
28802875
version "5.4.1"
28812876
resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-5.4.1.tgz#11a980b84ebb91781ce35b0fdc2ee294e3783f07"
@@ -3923,9 +3918,9 @@ caniuse-api@^3.0.0:
39233918
lodash.uniq "^4.5.0"
39243919

39253920
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001181:
3926-
version "1.0.30001191"
3927-
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001191.tgz#bacb432b6701f690c8c5f7c680166b9a9f0843d9"
3928-
integrity sha512-xJJqzyd+7GCJXkcoBiQ1GuxEiOBCLQ0aVW9HMekifZsAVGdj5eJ4mFB9fEhSHipq9IOk/QXFJUiIr9lZT+EsGw==
3921+
version "1.0.30001261"
3922+
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001261.tgz"
3923+
integrity sha512-vM8D9Uvp7bHIN0fZ2KQ4wnmYFpJo/Etb4Vwsuc+ka0tfGDHvOPrFm6S/7CCNLSOkAUjenT2HnUPESdOIL91FaA==
39293924

39303925
capitalize@^2.0.0:
39313926
version "2.0.3"
@@ -4621,7 +4616,7 @@ core-js@^2.4.1, core-js@^2.6.5:
46214616
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.12.tgz#d9333dfa7b065e347cc5682219d6f690859cc2ec"
46224617
integrity sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==
46234618

4624-
core-js@^3.5.0, core-js@^3.6.5:
4619+
core-js@^3.6.5:
46254620
version "3.9.0"
46264621
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.9.0.tgz#790b1bb11553a2272b36e2625c7179db345492f8"
46274622
integrity sha512-PyFBJaLq93FlyYdsndE5VaueA9K5cNB7CGzeCj191YYLhkQM0gdZR2SKihM70oF0wdqKSKClv/tEBOpoRmdOVQ==
@@ -12721,13 +12716,6 @@ promise-inflight@^1.0.1:
1272112716
resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3"
1272212717
integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM=
1272312718

12724-
promise@^8.0.3:
12725-
version "8.1.0"
12726-
resolved "https://registry.yarnpkg.com/promise/-/promise-8.1.0.tgz#697c25c3dfe7435dd79fcd58c38a135888eaf05e"
12727-
integrity sha512-W04AqnILOL/sPRXziNicCjSNRruLAuIHEOVBazepu0545DDNGYHz7ar9ZgZ1fMU8/MA4mVxp5rkBWRi6OXIy3Q==
12728-
dependencies:
12729-
asap "~2.0.6"
12730-
1273112719
prompts@^2.0.1, prompts@^2.3.2:
1273212720
version "2.4.0"
1273312721
resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.0.tgz#4aa5de0723a231d1ee9121c40fdf663df73f61d7"
@@ -12953,13 +12941,6 @@ raf-schd@^4.0.2:
1295312941
resolved "https://registry.yarnpkg.com/raf-schd/-/raf-schd-4.0.2.tgz#bd44c708188f2e84c810bf55fcea9231bcaed8a0"
1295412942
integrity sha512-VhlMZmGy6A6hrkJWHLNTGl5gtgMUm+xfGza6wbwnE914yeQ5Ybm18vgM734RZhMgfw4tacUrWseGZlpUrrakEQ==
1295512943

12956-
raf@^3.4.1:
12957-
version "3.4.1"
12958-
resolved "https://registry.yarnpkg.com/raf/-/raf-3.4.1.tgz#0742e99a4a6552f445d73e3ee0328af0ff1ede39"
12959-
integrity sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==
12960-
dependencies:
12961-
performance-now "^2.1.0"
12962-
1296312944
ramda@^0.27.1:
1296412945
version "0.27.1"
1296512946
resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.27.1.tgz#66fc2df3ef873874ffc2da6aa8984658abacf5c9"
@@ -13038,18 +13019,6 @@ react-ace@^7.0.2:
1303813019
lodash.isequal "^4.5.0"
1303913020
prop-types "^15.7.2"
1304013021

13041-
react-app-polyfill@^1.0.6:
13042-
version "1.0.6"
13043-
resolved "https://registry.yarnpkg.com/react-app-polyfill/-/react-app-polyfill-1.0.6.tgz#890f8d7f2842ce6073f030b117de9130a5f385f0"
13044-
integrity sha512-OfBnObtnGgLGfweORmdZbyEz+3dgVePQBb3zipiaDsMHV1NpWm0rDFYIVXFV/AK+x4VIIfWHhrdMIeoTLyRr2g==
13045-
dependencies:
13046-
core-js "^3.5.0"
13047-
object-assign "^4.1.1"
13048-
promise "^8.0.3"
13049-
raf "^3.4.1"
13050-
regenerator-runtime "^0.13.3"
13051-
whatwg-fetch "^3.0.0"
13052-
1305313022
react-dev-utils@^4.2.3:
1305413023
version "4.2.3"
1305513024
resolved "https://registry.yarnpkg.com/react-dev-utils/-/react-dev-utils-4.2.3.tgz#5b42d9ea58d5e9e017a2f57a40a8af408a3a46fb"
@@ -13244,15 +13213,13 @@ react-test-renderer@^17.0.1:
1324413213
react-shallow-renderer "^16.13.1"
1324513214
scheduler "^0.20.1"
1324613215

13247-
react-virtuoso@^1.5.8:
13248-
version "1.5.8"
13249-
resolved "https://registry.yarnpkg.com/react-virtuoso/-/react-virtuoso-1.5.8.tgz#137d4dc5ee82e55302f39c73479f2d1d7e2a10cd"
13250-
integrity sha512-GPLkT+PrP5mwLFgsUJcCmmc63Gw05cbGh4jvzGQu0jWqWUKFzNn0O0JvTEOIScQ65o2JV9Dxoz5ZLNtwyNgw5w==
13216+
react-virtuoso@^2.2.1:
13217+
version "2.2.1"
13218+
resolved "https://registry.yarnpkg.com/react-virtuoso/-/react-virtuoso-2.2.1.tgz#a15dbd864745011a011ac5ee75be3c523fcb8ded"
13219+
integrity sha512-kS+9mns4slmpsUSQA/sIUjDwf9cA17Il8dvslHTuS5SpxCo7iRJIKJpjZd1ilLpvX3wYAYObbHVR3BxnUWRPfg==
1325113220
dependencies:
1325213221
"@virtuoso.dev/react-urx" "^0.2.5"
1325313222
"@virtuoso.dev/urx" "^0.2.5"
13254-
react-app-polyfill "^1.0.6"
13255-
resize-observer-polyfill "^1.5.1"
1325613223

1325713224
react@^17.0.1:
1325813225
version "17.0.1"
@@ -13458,7 +13425,7 @@ regenerate@^1.4.0:
1345813425
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a"
1345913426
integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==
1346013427

13461-
regenerator-runtime@^0.13.3, regenerator-runtime@^0.13.4, regenerator-runtime@^0.13.7:
13428+
regenerator-runtime@^0.13.4, regenerator-runtime@^0.13.7:
1346213429
version "0.13.7"
1346313430
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz#cac2dacc8a1ea675feaabaeb8ae833898ae46f55"
1346413431
integrity sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==
@@ -15946,10 +15913,10 @@ typescript@^3.7.3:
1594615913
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.9.tgz#e69905c54bc0681d0518bd4d587cc6f2d0b1a674"
1594715914
integrity sha512-kdMjTiekY+z/ubJCATUPlRDl39vXYiMV9iyeMuEuXZh2we6zz80uovNN2WlAxmmdE/Z/YQe+EbOEXB5RHEED3w==
1594815915

15949-
typescript@^4.1.5:
15950-
version "4.1.5"
15951-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.5.tgz#123a3b214aaff3be32926f0d8f1f6e704eb89a72"
15952-
integrity sha512-6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA==
15916+
typescript@^4.4.3:
15917+
version "4.4.3"
15918+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.3.tgz#bdc5407caa2b109efd4f82fe130656f977a29324"
15919+
integrity sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==
1595315920

1595415921
typography-breakpoint-constants@^0.16.19:
1595515922
version "0.16.19"
@@ -16793,11 +16760,6 @@ whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.5:
1679316760
dependencies:
1679416761
iconv-lite "0.4.24"
1679516762

16796-
whatwg-fetch@^3.0.0:
16797-
version "3.6.1"
16798-
resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.6.1.tgz#93bc4005af6c2cc30ba3e42ec3125947c8f54ed3"
16799-
integrity sha512-IEmN/ZfmMw6G1hgZpVd0LuZXOQDisrMOZrzYd5x3RAK4bMPlJohKUZWZ9t/QsTvH0dV9TbPDcc2OSuIDcihnHA==
16800-
1680116763
whatwg-mimetype@^2.2.0, whatwg-mimetype@^2.3.0:
1680216764
version "2.3.0"
1680316765
resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf"

0 commit comments

Comments
 (0)