diff --git a/package.json b/package.json index 0acb4df..0f2346f 100644 --- a/package.json +++ b/package.json @@ -28,10 +28,11 @@ "devDependencies": { "@open-wc/eslint-config": "^9.0.0", "@open-wc/testing": "^4.0.0", + "@types/mocha": "^10.0.6", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "@web/dev-server": "^0.4.0", - "@web/test-runner": "^0.17.0", + "@web/test-runner": "^0.18.0", "concurrently": "^8.0.0", "eslint": "^8.18.0", "eslint-config-prettier": "^8.5.0", diff --git a/yarn.lock b/yarn.lock index 2e0ca32..af35f40 100644 --- a/yarn.lock +++ b/yarn.lock @@ -655,10 +655,10 @@ resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.2.tgz#93e25bf9ee75fe0fd80b594bc4feb0e862111b5a" integrity sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw== -"@types/mocha@^10.0.1": - version "10.0.1" - resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-10.0.1.tgz#2f4f65bb08bc368ac39c96da7b2f09140b26851b" - integrity sha512-/fvYntiO1GeICvqbQ3doGDIP97vWmvFt83GKguJ6prmQM2iXZfFcq6YE8KteFyRtX2/h5Hf91BYvPodJKFYv5Q== +"@types/mocha@^10.0.6": + version "10.0.6" + resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-10.0.6.tgz#818551d39113081048bdddbef96701b4e8bb9d1b" + integrity sha512-dJvrYWxP/UcXm36Qn36fxhUKu8A/xMRXVT2cliFF1Z7UA9liG5Psj3ezNSZw+5puH2czDXRLcXQxf8JbJt0ejg== "@types/node@*": version "18.0.0" @@ -886,13 +886,6 @@ resolved "https://registry.yarnpkg.com/@vscode/web-custom-data/-/web-custom-data-0.4.8.tgz#d1b7c18752361cf5b6b09a2e1cc14f34daba1a74" integrity sha512-rRiEeEX49wipCeGZo65mQJUEuCY3IXd6bet90eY6cMMQ9jBe2g3Njw/2ctbaxuACPnEKXTdW0dB7umxDln3Rzg== -"@web/browser-logs@^0.3.2", "@web/browser-logs@^0.3.3": - version "0.3.3" - resolved "https://registry.yarnpkg.com/@web/browser-logs/-/browser-logs-0.3.3.tgz#121e5b662db2707c4b8cd1628d86903f059f5031" - integrity sha512-wt8arj0x7ghXbnipgCvLR+xQ90cFg16ae23cFbInCrJvAxvyI22bAtT24W4XOXMPXwWLBVUJwBgBcXo3oKIvDw== - dependencies: - errorstacks "^2.2.0" - "@web/browser-logs@^0.4.0": version "0.4.0" resolved "https://registry.yarnpkg.com/@web/browser-logs/-/browser-logs-0.4.0.tgz#8c4adddac46be02dff1a605312132053b3737d0a" @@ -900,42 +893,11 @@ dependencies: errorstacks "^2.2.0" -"@web/config-loader@^0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@web/config-loader/-/config-loader-0.2.1.tgz#a5ff416922994d698e1df8c3613715bde47ecf79" - integrity sha512-cQvTYA5lWLyyO8/R2aOReiudLa8r0LFHvMNYCwSAjzvrghb+AHxaW3BJWP9ORx6OaDcI7g5X8OATA81LSJce4A== - dependencies: - semver "^7.3.4" - "@web/config-loader@^0.3.0": version "0.3.1" resolved "https://registry.yarnpkg.com/@web/config-loader/-/config-loader-0.3.1.tgz#0917fd549c264e565e75bd6c7d73acd7365df26b" integrity sha512-IYjHXUgSGGNpO3YJQ9foLcazbJlAWDdJGRe9be7aOhon0Nd6Na5JIOJAej7jsMu76fKHr4b4w2LfIdNQ4fJ8pA== -"@web/dev-server-core@^0.5.0", "@web/dev-server-core@^0.5.1": - version "0.5.2" - resolved "https://registry.yarnpkg.com/@web/dev-server-core/-/dev-server-core-0.5.2.tgz#27fe5448e587a87272b556b44ce84c6453655cdb" - integrity sha512-7YjWmwzM+K5fPvBCXldUIMTK4EnEufi1aWQWinQE81oW1CqzEwmyUNCtnWV9fcPA4kJC4qrpcjWNGF4YDWxuSg== - dependencies: - "@types/koa" "^2.11.6" - "@types/ws" "^7.4.0" - "@web/parse5-utils" "^2.0.0" - chokidar "^3.4.3" - clone "^2.1.2" - es-module-lexer "^1.0.0" - get-stream "^6.0.0" - is-stream "^2.0.0" - isbinaryfile "^5.0.0" - koa "^2.13.0" - koa-etag "^4.0.0" - koa-send "^5.0.1" - koa-static "^5.0.0" - lru-cache "^8.0.4" - mime-types "^2.1.27" - parse5 "^6.0.1" - picomatch "^2.2.2" - ws "^7.4.2" - "@web/dev-server-core@^0.7.0": version "0.7.0" resolved "https://registry.yarnpkg.com/@web/dev-server-core/-/dev-server-core-0.7.0.tgz#ffe71dd272ecb73a2b0c1ee23f3fad812780b998" @@ -960,18 +922,6 @@ picomatch "^2.2.2" ws "^7.4.2" -"@web/dev-server-rollup@^0.5.1": - version "0.5.2" - resolved "https://registry.yarnpkg.com/@web/dev-server-rollup/-/dev-server-rollup-0.5.2.tgz#5a6a9138cd57f32f7ae0e5caab69099c1428bd15" - integrity sha512-R1heFIOmbExKJn2auDcOcF0EPoLQotZF1HE8Bpqq4TfLRkc7w+JClLdwkOMr/+Ip608cRw8VMkc7teYDFkvSXw== - dependencies: - "@rollup/plugin-node-resolve" "^15.0.1" - "@web/dev-server-core" "^0.5.0" - nanocolors "^0.2.1" - parse5 "^6.0.1" - rollup "^3.15.0" - whatwg-url "^11.0.0" - "@web/dev-server-rollup@^0.6.1": version "0.6.1" resolved "https://registry.yarnpkg.com/@web/dev-server-rollup/-/dev-server-rollup-0.6.1.tgz#85d881c20faf187138064a6de861c379be9ca224" @@ -984,26 +934,6 @@ rollup "^4.4.0" whatwg-url "^11.0.0" -"@web/dev-server@^0.3.0": - version "0.3.0" - resolved "https://registry.yarnpkg.com/@web/dev-server/-/dev-server-0.3.0.tgz#9818bc2c8b88b61761b70081a8ac2afedfb4d308" - integrity sha512-QlKiWrf8MAUIXAhMSGuBepXyZFNOi3GDPQGsnf5ZAnFXUAOT3LCXiKSBMSKfXIrPpFQ7AzyJwT+KIZ7LvnMJcg== - dependencies: - "@babel/code-frame" "^7.12.11" - "@types/command-line-args" "^5.0.0" - "@web/config-loader" "^0.2.1" - "@web/dev-server-core" "^0.5.1" - "@web/dev-server-rollup" "^0.5.1" - camelcase "^6.2.0" - command-line-args "^5.1.1" - command-line-usage "^7.0.1" - debounce "^1.2.0" - deepmerge "^4.2.2" - ip "^1.1.5" - nanocolors "^0.2.1" - open "^8.0.2" - portfinder "^1.0.32" - "@web/dev-server@^0.4.0": version "0.4.1" resolved "https://registry.yarnpkg.com/@web/dev-server/-/dev-server-0.4.1.tgz#e534f106008b7a21f1c4593a230e1e7c14339684" @@ -1024,14 +954,6 @@ open "^8.0.2" portfinder "^1.0.32" -"@web/parse5-utils@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@web/parse5-utils/-/parse5-utils-2.0.0.tgz#15ac70e8792a115ef05baa0eab2631fb8ffd3004" - integrity sha512-9pxjAg1k0Ie3t4gTQr/nmoTrvq6wmP40MNPwaetaN+jPc328MpO+WzmEApvJOW65v7lamjlvYFDsdvG8Lrd87Q== - dependencies: - "@types/parse5" "^6.0.1" - parse5 "^6.0.1" - "@web/parse5-utils@^2.1.0": version "2.1.0" resolved "https://registry.yarnpkg.com/@web/parse5-utils/-/parse5-utils-2.1.0.tgz#3d33aca62c66773492f2fba89d23a45f8b57ba4a" @@ -1040,25 +962,17 @@ "@types/parse5" "^6.0.1" parse5 "^6.0.1" -"@web/test-runner-chrome@^0.14.0": - version "0.14.0" - resolved "https://registry.yarnpkg.com/@web/test-runner-chrome/-/test-runner-chrome-0.14.0.tgz#86014f4eeec85e6502b5c1aad9bb36745544692e" - integrity sha512-iAgcKC65RsFf5UvG7cBAguXVPkCEpdVfq2GPfZiXnrA/DXVMMZhsqQW+opDUQnG+50cO1GpOgMWBcurEhKBu6Q== +"@web/test-runner-chrome@^0.15.0": + version "0.15.0" + resolved "https://registry.yarnpkg.com/@web/test-runner-chrome/-/test-runner-chrome-0.15.0.tgz#13dfb885e82140d244f066f7361a22f89fe9ba59" + integrity sha512-ZqkTJGQ57FDz3lWw+9CKfHuTV64S9GzBy5+0siSQulEVPfGiTzpksx9DohtA3BCLXdbEq4OHg40/XIQJomlc9w== dependencies: - "@web/test-runner-core" "^0.11.2" - "@web/test-runner-coverage-v8" "^0.7.0" + "@web/test-runner-core" "^0.13.0" + "@web/test-runner-coverage-v8" "^0.8.0" async-mutex "0.4.0" chrome-launcher "^0.15.0" puppeteer-core "^20.0.0" -"@web/test-runner-commands@^0.8.0": - version "0.8.0" - resolved "https://registry.yarnpkg.com/@web/test-runner-commands/-/test-runner-commands-0.8.0.tgz#8c4dfdfdf1a6e9b4e1e9f2fe398fce07af3aef70" - integrity sha512-R40Rz+Tf3Y3Z4Ka9ey0DQcwYz3BflkyaoL2TNc7CR33iN6zv9pzRkRrtt4M/cSQfOPBTEsLlVAi1FsbvXsCKuQ== - dependencies: - "@web/test-runner-core" "^0.11.1" - mkdirp "^1.0.4" - "@web/test-runner-commands@^0.9.0": version "0.9.0" resolved "https://registry.yarnpkg.com/@web/test-runner-commands/-/test-runner-commands-0.9.0.tgz#ed15a021249948204bb27559eb437ff6ceeee067" @@ -1067,38 +981,6 @@ "@web/test-runner-core" "^0.13.0" mkdirp "^1.0.4" -"@web/test-runner-core@^0.11.0", "@web/test-runner-core@^0.11.1", "@web/test-runner-core@^0.11.2": - version "0.11.2" - resolved "https://registry.yarnpkg.com/@web/test-runner-core/-/test-runner-core-0.11.2.tgz#d2e201339dbbdee8ad68632cfb18974a2956fb67" - integrity sha512-7padi7pGg2xSW/i6iSApUwxlNaHv2bFBM+MiivkzJ0vet/a/+Fz35bOo8L8Ra7b/1my4VYBsPcWX0PVPowbXRg== - dependencies: - "@babel/code-frame" "^7.12.11" - "@types/babel__code-frame" "^7.0.2" - "@types/co-body" "^6.1.0" - "@types/convert-source-map" "^2.0.0" - "@types/debounce" "^1.2.0" - "@types/istanbul-lib-coverage" "^2.0.3" - "@types/istanbul-reports" "^3.0.0" - "@web/browser-logs" "^0.3.2" - "@web/dev-server-core" "^0.5.1" - chokidar "^3.4.3" - cli-cursor "^3.1.0" - co-body "^6.1.0" - convert-source-map "^2.0.0" - debounce "^1.2.0" - dependency-graph "^0.11.0" - globby "^11.0.1" - ip "^1.1.5" - istanbul-lib-coverage "^3.0.0" - istanbul-lib-report "^3.0.0" - istanbul-reports "^3.0.2" - log-update "^4.0.0" - nanocolors "^0.2.1" - nanoid "^3.1.25" - open "^8.0.2" - picomatch "^2.2.2" - source-map "^0.7.3" - "@web/test-runner-core@^0.13.0": version "0.13.0" resolved "https://registry.yarnpkg.com/@web/test-runner-core/-/test-runner-core-0.13.0.tgz#a3799461002fcb969b0baa100d88be6c1ff504f4" @@ -1131,37 +1013,36 @@ picomatch "^2.2.2" source-map "^0.7.3" -"@web/test-runner-coverage-v8@^0.7.0": - version "0.7.1" - resolved "https://registry.yarnpkg.com/@web/test-runner-coverage-v8/-/test-runner-coverage-v8-0.7.1.tgz#b09c73f3e49ef6256cb589a5d7b09d1e28aef9b2" - integrity sha512-R0laTOxbLg7kVKHCBILEmja3w1ihlwkB+eRc7J06/ByyZoQVWxkM9SrTAUx7qCFI6o738Jj24a6TfIDbu3CwSA== +"@web/test-runner-coverage-v8@^0.8.0": + version "0.8.0" + resolved "https://registry.yarnpkg.com/@web/test-runner-coverage-v8/-/test-runner-coverage-v8-0.8.0.tgz#783e9f685f14cafc34a6bf323f7d9268c1477933" + integrity sha512-PskiucYpjUtgNfR2zF2AWqWwjXL7H3WW/SnCAYmzUrtob7X9o/+BjdyZ4wKbOxWWSbJO4lEdGIDLu+8X2Xw+lA== dependencies: - "@web/test-runner-core" "^0.11.0" + "@web/test-runner-core" "^0.13.0" istanbul-lib-coverage "^3.0.0" lru-cache "^8.0.4" picomatch "^2.2.2" v8-to-istanbul "^9.0.1" -"@web/test-runner-mocha@^0.8.1": - version "0.8.1" - resolved "https://registry.yarnpkg.com/@web/test-runner-mocha/-/test-runner-mocha-0.8.1.tgz#ef5744064bd9619c562cfa01c0b642e52757e4f7" - integrity sha512-CfYNZBbUSBiPNKkbF/dhxayecLCYZnu3g4cfgpfgmvLewlVOO6gNxaPt2c1/QhZutzTvXcMlsmaoWyk08F+V6A== - dependencies: - "@types/mocha" "^10.0.1" - "@web/test-runner-core" "^0.11.1" - -"@web/test-runner@^0.17.0": - version "0.17.0" - resolved "https://registry.yarnpkg.com/@web/test-runner/-/test-runner-0.17.0.tgz#d795e72fefd54f32142e723d9e34b3b16f15d59b" - integrity sha512-wt2auPsy8ZChqqiCrRdS4DInCAUnEOYZfpPV9Shx/6/UKqhg8MTgPJQ53wDRsCjzxxgZLhVeBpGKP3jmZriFxw== - dependencies: - "@web/browser-logs" "^0.3.3" - "@web/config-loader" "^0.2.1" - "@web/dev-server" "^0.3.0" - "@web/test-runner-chrome" "^0.14.0" - "@web/test-runner-commands" "^0.8.0" - "@web/test-runner-core" "^0.11.1" - "@web/test-runner-mocha" "^0.8.1" +"@web/test-runner-mocha@^0.9.0": + version "0.9.0" + resolved "https://registry.yarnpkg.com/@web/test-runner-mocha/-/test-runner-mocha-0.9.0.tgz#4fbfa5c3222c8c787fdcc057dd932a0763267b10" + integrity sha512-ZL9F6FXd0DBQvo/h/+mSfzFTSRVxzV9st/AHhpgABtUtV/AIpVE9to6+xdkpu6827kwjezdpuadPfg+PlrBWqQ== + dependencies: + "@web/test-runner-core" "^0.13.0" + +"@web/test-runner@^0.18.0": + version "0.18.0" + resolved "https://registry.yarnpkg.com/@web/test-runner/-/test-runner-0.18.0.tgz#70a99bb7b4f78555d0944fb53ffd2b1cb3423eb7" + integrity sha512-aAlQrdSqwCie1mxuSK5kM0RYDJZL4Q0Hd5LeXn1on3OtHLtgztL4dZzzNSuAWablR2/Vuve3ChwDDxmYSTqXRg== + dependencies: + "@web/browser-logs" "^0.4.0" + "@web/config-loader" "^0.3.0" + "@web/dev-server" "^0.4.0" + "@web/test-runner-chrome" "^0.15.0" + "@web/test-runner-commands" "^0.9.0" + "@web/test-runner-core" "^0.13.0" + "@web/test-runner-mocha" "^0.9.0" camelcase "^6.2.0" command-line-args "^5.1.1" command-line-usage "^7.0.1" @@ -4732,13 +4613,6 @@ rimraf@^5.0.0: dependencies: glob "^10.2.5" -rollup@^3.15.0: - version "3.26.2" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.26.2.tgz#2e76a37606cb523fc9fef43e6f59c93f86d95e7c" - integrity sha512-6umBIGVz93er97pMgQO08LuH3m6PUb3jlDUUGFsNJB6VgTCUaDFpupf5JfU30529m/UKOgmiX+uY6Sx8cOYpLA== - optionalDependencies: - fsevents "~2.3.2" - rollup@^3.7.0: version "3.9.1" resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.9.1.tgz#27501d3d026418765fe379d5620d25954ff2a011" @@ -4815,7 +4689,7 @@ semver@^6.0.0, semver@^6.3.0: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== -semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: +semver@^7.3.5, semver@^7.3.7: version "7.3.7" resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==