diff --git a/package.json b/package.json index 8165da82b759..4f89e8891dec 100644 --- a/package.json +++ b/package.json @@ -216,7 +216,7 @@ "remark-cli": "^8.0.0", "remark-lint": "^7.0.0", "remark-preset-lint-recommended": "^4.0.0", - "riot-jest-transformer": "^2.0.0", + "riot-jest-transformer": "^6.1.0", "semver": "^7.3.2", "shelljs": "^0.8.3", "shx": "^0.3.2", diff --git a/yarn.lock b/yarn.lock index 6fd005fb8706..e9e551e7f735 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3395,6 +3395,48 @@ prop-types "^15.6.1" react-lifecycles-compat "^3.0.4" +"@riotjs/compiler@^4.8.2": + version "4.8.2" + resolved "https://registry.yarnpkg.com/@riotjs/compiler/-/compiler-4.8.2.tgz#5c8420fef5721d20e68a664de238b0c0dad3dfd7" + integrity sha512-h1wfewMR1ZWaYQV8lJFRuabTabrJbLhubJ/0kUN7ZTVAugSPNm8qT65FnX4OsiQBmbwYD3WUJ5qbw6L6fDKMPg== + dependencies: + "@riotjs/parser" "^4.2.1" + "@riotjs/util" "1.2.0" + acorn "^7.1.1" + cssesc "^3.0.0" + cumpa "^1.0.1" + curri "^1.0.1" + dom-nodes "^1.1.3" + globals "^12.4.0" + recast "^0.18.7" + source-map "^0.7.3" + +"@riotjs/dom-bindings@^4.8.1": + version "4.8.1" + resolved "https://registry.yarnpkg.com/@riotjs/dom-bindings/-/dom-bindings-4.8.1.tgz#e98cf7e9cb946e344a6def5630447cd7eed75082" + integrity sha512-19cKHpdsVF4NKHSN60KL64ALC1UjpbJmJLdtuHgpyCZRt0DhFcEuZKjIFvgFdLNJbW18rrU+7TNRSDzuNC8wag== + dependencies: + "@riotjs/util" "^1.3.1" + domdiff "^2.2.2" + +"@riotjs/parser@^4.2.1": + version "4.2.1" + resolved "https://registry.yarnpkg.com/@riotjs/parser/-/parser-4.2.1.tgz#aac8efe3495890021befef7784711470113f5e1e" + integrity sha512-VOqX6Ne7Wt9ziV8GcAE/AARvV92HNiYeeIDzM7tPijduDkWYGKaFYlw+bcwAcg4DM8Pi4sExTceOHxAuqKH3dg== + dependencies: + curri "^1.0.1" + dom-nodes "^1.1.3" + +"@riotjs/util@1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@riotjs/util/-/util-1.2.0.tgz#a1fdaaa82e214eeff0b740b2b24600b6dfe62d7d" + integrity sha512-pdKDR9kTPWKR8rNmIJzFoCJ9efXatpwje/2SgWpBgsLH1dFzLiiggN35Kbt8KtaRSOf/nHsrmd6VDirUj4lTLw== + +"@riotjs/util@^1.3.1": + version "1.3.1" + resolved "https://registry.yarnpkg.com/@riotjs/util/-/util-1.3.1.tgz#3cc24081145f0c650fffc52b051a13ff2d19677e" + integrity sha512-8MhO7mVyRGDY/oaH6X+Q6DCrtu9zWrLOySBA8S3Qe5AGyVInpCwvjiAWGKqNbz5r6GWm08/S9yN/hCdB3mTLWw== + "@samverschueren/stream-to-observable@^0.3.0": version "0.3.0" resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz#ecdf48d532c58ea477acfcab80348424f8d0662f" @@ -7415,6 +7457,25 @@ bfj@^6.1.1: hoopy "^0.1.4" tryer "^1.0.1" +bianco.attr@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/bianco.attr/-/bianco.attr-1.0.0.tgz#38a16f28ad840cb57e0ab3638b8016e03c2bf1f2" + integrity sha512-ry700auBXrfRcn18wgOlDeCIAOy1HKnUrM96hc2xbzt4FQL+pfXTUGrt++gg9/rpp7JD4JUXi0X1OB7um+jm2w== + dependencies: + bianco.dom-to-array "^0.0.10" + +bianco.dom-to-array@^0.0.10: + version "0.0.10" + resolved "https://registry.yarnpkg.com/bianco.dom-to-array/-/bianco.dom-to-array-0.0.10.tgz#376e1a37c4ca5119b3b6de9fd2d5c994cf0152a3" + integrity sha512-EFYkcEGPmIqatvh+6I2eF6/X4mDtEyGoBucqmudJ5qABbFOw3RPIWB913aLD1FTaux8pZtYzD/yvcwGJKSNgXg== + +bianco.query@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/bianco.query/-/bianco.query-1.0.0.tgz#1149b4d5b4175ef28086ba5851507bebd60d161a" + integrity sha512-pDstv5+tsuw//wNuPnXuf4DjyN116tcH/a7hxbqH1OpWMsBgBkp/O29uxlWEZWN5e6hCaGajLNA9CAGTsgYeWw== + dependencies: + bianco.dom-to-array "^0.0.10" + big.js@^5.2.2: version "5.2.2" resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" @@ -10605,6 +10666,11 @@ ctype@0.5.3: resolved "https://registry.yarnpkg.com/ctype/-/ctype-0.5.3.tgz#82c18c2461f74114ef16c135224ad0b9144ca12f" integrity sha1-gsGMJGH3QRTvFsE1IkrQuRRMoS8= +cumpa@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/cumpa/-/cumpa-1.0.1.tgz#beff3180ab36e850a157a779d0cf4d997d2c7980" + integrity sha512-Ew3sfG4cqvDFINS1VgdvLX1FIruhySlnP6DRLhB+1EjewiOzhJzKRKPEp/TCuo0RDisSFeuaDrk0S4Q8grF9CA== + currently-unhandled@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/currently-unhandled/-/currently-unhandled-0.4.1.tgz#988df33feab191ef799a61369dd76c17adf957ea" @@ -10612,6 +10678,11 @@ currently-unhandled@^0.4.1: dependencies: array-find-index "^1.0.1" +curri@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/curri/-/curri-1.0.1.tgz#faf9d8900a20e85c1701df64a581cdcdcedb29b1" + integrity sha512-VwFb2MGqN0A1RPA0vSgDRSWc0c+V6N9yz8pVYJ9AXILAukRAyCZP5Sqp4VdOxgw1lT0t5oaplwIDT/ruF3Nz7Q== + cyclist@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9" @@ -11344,6 +11415,11 @@ dom-helpers@^5.0.1: "@babel/runtime" "^7.8.7" csstype "^2.6.7" +dom-nodes@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/dom-nodes/-/dom-nodes-1.1.3.tgz#608d569eafacadef857f09505123efd10a566030" + integrity sha512-y5wnIx97oe0IqMllL/lizgkK2c9vu1cQeqPCCsS7mwNdPuYxg3b04eDJynHhC63kM8+ZsteOmiPElfVGOUmmKg== + dom-serializer@0, dom-serializer@^0.2.1: version "0.2.2" resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.2.2.tgz#1afb81f533717175d478655debc5e332d9f9bb51" @@ -11370,6 +11446,13 @@ domain-browser@^1.1.1, domain-browser@^1.2.0: resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" integrity sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA== +domdiff@^2.2.2: + version "2.2.2" + resolved "https://registry.yarnpkg.com/domdiff/-/domdiff-2.2.2.tgz#b05ea5e6084b5e659369d1c022e4e3d6fb31398d" + integrity sha512-Pv7aH5JfjNIkLRKkah+T3Kd41Gy+7GU+5dmPsOZZXsCJ34QR1i7CCiWraUn1c/a40htShxAQ8mHJR2OqPd12+Q== + dependencies: + uarray "^1.0.0" + domelementtype@1, domelementtype@^1.3.0, domelementtype@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f" @@ -14710,7 +14793,7 @@ globals@^11.1.0, globals@^11.12.0, globals@^11.7.0: resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -globals@^12.1.0: +globals@^12.1.0, globals@^12.4.0: version "12.4.0" resolved "https://registry.yarnpkg.com/globals/-/globals-12.4.0.tgz#a18813576a41b00a24a97e7f815918c2e19925f8" integrity sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg== @@ -25381,7 +25464,7 @@ recast@^0.17.3: private "^0.1.8" source-map "~0.6.1" -recast@^0.18.1: +recast@^0.18.1, recast@^0.18.7: version "0.18.10" resolved "https://registry.yarnpkg.com/recast/-/recast-0.18.10.tgz#605ebbe621511eb89b6356a7e224bff66ed91478" integrity sha512-XNvYvkfdAN9QewbrxeTOjgINkdY/odTgTS56ZNEWL9Ml0weT4T3sFtvnTuF+Gxyu46ANcRm1ntrF6F5LAJPAaQ== @@ -26392,13 +26475,14 @@ riot-hot-reload@^1.0.0: resolved "https://registry.yarnpkg.com/riot-hot-reload/-/riot-hot-reload-1.0.0.tgz#a99da0659ca0eff6e140758454e687f7c06e4ebe" integrity sha1-qZ2gZZyg7/bhQHWEVOaH98BuTr4= -riot-jest-transformer@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/riot-jest-transformer/-/riot-jest-transformer-2.0.0.tgz#4bf441ed6186fd17d1bd080994044e91de912e75" - integrity sha512-SJO+6gLvYd2aCAsqAWr8ixeecnbFwjj1fFsGZs/EDVQHAhH+fT6TOk6OG8xNaaHu5kHA9vvCVhfZoqTAIJhsgQ== +riot-jest-transformer@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/riot-jest-transformer/-/riot-jest-transformer-6.1.0.tgz#a13522c66518247465436eb954744aca2a9955d9" + integrity sha512-/ToobGGkytUpbpzWjnBDDUBOJ+OpKlZySTSCg8MtPLqjcTBUyfDdC44it0CQFX8X8SrQxqSQuO/jNLfva1Qrmw== dependencies: "@babel/core" "^7.2.2" - riot "^3.3.1" + lodash "^4.17.15" + riot "^4.3.8" riot-observable@^3.0.0: version "3.0.0" @@ -26419,7 +26503,7 @@ riot-tmpl@^3.0.8: dependencies: eslint-config-riot "^1.0.0" -riot@^3.13.0, riot@^3.3.1: +riot@^3.13.0: version "3.13.2" resolved "https://registry.yarnpkg.com/riot/-/riot-3.13.2.tgz#3f5fb86b0d2b864bdcc959b7f86e2f4c2f696726" integrity sha512-L4WFJEhbTA0deDoZ1XxoVw7Tf96+xYc06aQ+4QM+IkYClD6mZ7E/9zN3Rd48uYMBvHQfHtbPvR0KEiu3pJyI2A== @@ -26431,6 +26515,19 @@ riot@^3.13.0, riot@^3.3.1: simple-dom "1.3.0" simple-html-tokenizer "^0.5.7" +riot@^4.3.8: + version "4.12.0" + resolved "https://registry.yarnpkg.com/riot/-/riot-4.12.0.tgz#54601c76709a22275227c2f89516be63ca82d294" + integrity sha512-roMDW12GMxhXZBu2ncvjESB9NFCVWdcdGC7xDLCzekMqOLgHCeX5kva441JQi/2ofFNRJRNuv2N1WFFBSW3z8Q== + dependencies: + "@riotjs/compiler" "^4.8.2" + "@riotjs/dom-bindings" "^4.8.1" + "@riotjs/util" "^1.3.1" + bianco.attr "^1.0.0" + bianco.query "^1.0.0" + cumpa "^1.0.1" + curri "^1.0.1" + ripemd160@^2.0.0, ripemd160@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" @@ -29527,6 +29624,11 @@ ua-parser-js@^0.7.18: resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.21.tgz#853cf9ce93f642f67174273cc34565ae6f308777" integrity sha512-+O8/qh/Qj8CgC6eYBVBykMrNtp5Gebn4dlGD/kKXVkJNDwyrAwSIqwz8CDf+tsAIWVycKcku6gIXJ0qwx/ZXaQ== +uarray@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/uarray/-/uarray-1.0.0.tgz#e89bf0ea2129596f4bf653b66e53246ed6562b6c" + integrity sha512-LHmiAd5QuAv7pU2vbh+Zq9YOnqVK0H764p2Ozinpfy9ka58OID4IsGLiXsitqH7n0NAIDxvax1A/kDXpii/Ckg== + uc.micro@^1.0.0, uc.micro@^1.0.1, uc.micro@^1.0.5: version "1.0.6" resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac"