From a915c736f53340e100b18dbeac44e38f9e8dd8cc Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Thu, 13 Jun 2024 21:00:28 +0000 Subject: [PATCH 1/7] Update whatwg-fetch to version 3.6.20 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 2103a35..04aaca4 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "react-dom": "17.0.2", "react-test-renderer": "^17.0.2", "tailwindcss": "^3.4.4", - "whatwg-fetch": "^3.6.2" + "whatwg-fetch": "^3.6.20" }, "devDependencies": { "@fullhuman/postcss-purgecss": "^4.0.3", diff --git a/yarn.lock b/yarn.lock index 89178dd..1ac2479 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7572,10 +7572,10 @@ whatwg-encoding@^1.0.5: dependencies: iconv-lite "0.4.24" -whatwg-fetch@^3.6.2: - version "3.6.2" - resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz#dced24f37f2624ed0281725d51d0e2e3fe677f8c" - integrity sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA== +whatwg-fetch@^3.6.20: + version "3.6.20" + resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz#580ce6d791facec91d37c72890995a0b48d31c70" + integrity sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg== whatwg-mimetype@^2.3.0: version "2.3.0" From 0fb222981b811784242433bf19be0e77de346ad5 Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Thu, 13 Jun 2024 21:05:51 +0000 Subject: [PATCH 2/7] Update autoprefixer to version 10.4.19 --- package.json | 2 +- yarn.lock | 71 +++++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 58 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 2103a35..6d22478 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@fortawesome/react-fontawesome": "^0.1.15", "@tailwindcss/typography": "^0.5.9", "@tippyjs/react": "^4.2.5", - "autoprefixer": "^10.4.14", + "autoprefixer": "^10.4.19", "dayjs": "^1.11.11", "mockdate": "^3.0.5", "msw": "^0.35.0", diff --git a/yarn.lock b/yarn.lock index 89178dd..c44f332 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1544,14 +1544,14 @@ asynckit@^0.4.0: resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== -autoprefixer@^10.4.14: - version "10.4.14" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.14.tgz#e28d49902f8e759dd25b153264e862df2705f79d" - integrity sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ== - dependencies: - browserslist "^4.21.5" - caniuse-lite "^1.0.30001464" - fraction.js "^4.2.0" +autoprefixer@^10.4.19: + version "10.4.19" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.19.tgz#ad25a856e82ee9d7898c59583c1afeb3fa65f89f" + integrity sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew== + dependencies: + browserslist "^4.23.0" + caniuse-lite "^1.0.30001599" + fraction.js "^4.3.7" normalize-range "^0.1.2" picocolors "^1.0.0" postcss-value-parser "^4.2.0" @@ -1806,7 +1806,7 @@ browserslist@^4.12.0: escalade "^3.1.1" node-releases "^1.1.75" -browserslist@^4.21.3, browserslist@^4.21.5: +browserslist@^4.21.3: version "4.21.5" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.5.tgz#75c5dae60063ee641f977e00edd3cfb2fb7af6a7" integrity sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w== @@ -1816,6 +1816,16 @@ browserslist@^4.21.3, browserslist@^4.21.5: node-releases "^2.0.8" update-browserslist-db "^1.0.10" +browserslist@^4.23.0: + version "4.23.1" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.1.tgz#ce4af0534b3d37db5c1a4ca98b9080f985041e96" + integrity sha512-TUfofFo/KsK/bWZ9TWQ5O26tsWW4Uhmt8IYklbnUa70udB6P2wA7w7o4PY4muaEPBQaAX+CEnmmIA41NVHtPVw== + dependencies: + caniuse-lite "^1.0.30001629" + electron-to-chromium "^1.4.796" + node-releases "^2.0.14" + update-browserslist-db "^1.0.16" + browserslist@^4.6.4: version "4.17.0" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.17.0.tgz#1fcd81ec75b41d6d4994fb0831b92ac18c01649c" @@ -1918,11 +1928,16 @@ camelcase@^6.2.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001202, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001228, caniuse-lite@^1.0.30001251, caniuse-lite@^1.0.30001254, caniuse-lite@^1.0.30001449, caniuse-lite@^1.0.30001464: +caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001202, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001228, caniuse-lite@^1.0.30001251, caniuse-lite@^1.0.30001254, caniuse-lite@^1.0.30001449: version "1.0.30001632" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001632.tgz" integrity sha512-udx3o7yHJfUxMLkGohMlVHCvFvWmirKh9JAH/d7WOLPetlH+LTL5cocMZ0t7oZx/mdlOWXti97xLZWc8uURRHg== +caniuse-lite@^1.0.30001599, caniuse-lite@^1.0.30001629: + version "1.0.30001633" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001633.tgz#45a4ade9fb9ec80a06537a6271ac1e0afadcb324" + integrity sha512-6sT0yf/z5jqf8tISAgpJDrmwOpLsrpnyCdD/lOZKvKkkJK4Dn0X5i7KF7THEZhOq+30bmhwBlNEaqPUiHiKtZg== + chalk@2.4.2, chalk@^2.0.0, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" @@ -2612,6 +2627,11 @@ electron-to-chromium@^1.4.284: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.328.tgz#b4565ffa502542b561cea16086d6d9b916c7095a" integrity sha512-DE9tTy2PNmy1v55AZAO542ui+MLC2cvINMK4P2LXGsJdput/ThVG9t+QGecPuAZZSgC8XoI+Jh9M1OG9IoNSCw== +electron-to-chromium@^1.4.796: + version "1.4.802" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.802.tgz#49b397eadc95a49b1ac33eebee146b8e5a93773f" + integrity sha512-TnTMUATbgNdPXVSHsxvNVSG0uEd6cSZsANjm8c9HbvflZVVn1yTRcmVXYT1Ma95/ssB/Dcd30AHweH2TE+dNpA== + elliptic@^6.5.3: version "6.5.4" resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" @@ -2842,6 +2862,11 @@ escalade@^3.1.1: resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== +escalade@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.2.tgz#54076e9ab29ea5bf3d8f1ed62acffbb88272df27" + integrity sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA== + escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" @@ -3336,10 +3361,10 @@ form-data@^3.0.0: combined-stream "^1.0.8" mime-types "^2.1.12" -fraction.js@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.2.0.tgz#448e5109a313a3527f5a3ab2119ec4cf0e0e2950" - integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA== +fraction.js@^4.3.7: + version "4.3.7" + resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.3.7.tgz#06ca0085157e42fda7f9e726e79fefc4068840f7" + integrity sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew== fs.realpath@^1.0.0: version "1.0.0" @@ -5246,6 +5271,11 @@ node-releases@^1.1.71, node-releases@^1.1.75: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.75.tgz#6dd8c876b9897a1b8e5a02de26afa79bb54ebbfe" integrity sha512-Qe5OUajvqrqDSy6wrWFmMwfJ0jVgwiw4T3KqmbTcZ62qW0gQkheXYhcFM1+lOVcGUoRxcEcfyvFMAnDgaF1VWw== +node-releases@^2.0.14: + version "2.0.14" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.14.tgz#2ffb053bceb8b2be8495ece1ab6ce600c4461b0b" + integrity sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw== + node-releases@^2.0.8: version "2.0.10" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.10.tgz#c311ebae3b6a148c89b1813fd7c4d3c024ef537f" @@ -5549,6 +5579,11 @@ picocolors@^1.0.0: resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== +picocolors@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.1.tgz#a8ad579b571952f0e5d25892de5445bcfe25aaa1" + integrity sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew== + picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" @@ -7418,6 +7453,14 @@ update-browserslist-db@^1.0.10: escalade "^3.1.1" picocolors "^1.0.0" +update-browserslist-db@^1.0.16: + version "1.0.16" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz#f6d489ed90fb2f07d67784eb3f53d7891f736356" + integrity sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ== + dependencies: + escalade "^3.1.2" + picocolors "^1.0.1" + uri-js@^4.2.2: version "4.4.1" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" From 926f1114864a8ae10af1b2c9b7f4cc5aa0e950a2 Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Thu, 13 Jun 2024 21:12:35 +0000 Subject: [PATCH 3/7] Update eslint-plugin-jsx-a11y to version 6.8.0 --- package.json | 2 +- yarn.lock | 196 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 194 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 2103a35..71b543e 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "eslint-config-next": "11.0.1", "eslint-config-prettier": "^8.10.0", "eslint-plugin-jest": "^23.8.2", - "eslint-plugin-jsx-a11y": "^6.4.1", + "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-prettier": "^3.4.1", "eslint-plugin-react": "^7.24.0", "eslint-plugin-react-hooks": "^4.2.0", diff --git a/yarn.lock b/yarn.lock index 89178dd..a0f6ac3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -338,6 +338,13 @@ dependencies: regenerator-runtime "^0.13.11" +"@babel/runtime@^7.23.2": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.24.7.tgz#f4f0d5530e8dbdf59b3451b9b3e594b6ba082e12" + integrity sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw== + dependencies: + regenerator-runtime "^0.14.0" + "@babel/template@^7.18.10", "@babel/template@^7.20.7", "@babel/template@^7.3.3": version "7.20.7" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8" @@ -1415,6 +1422,13 @@ aria-query@^5.0.0, aria-query@^5.1.3: dependencies: deep-equal "^2.0.5" +aria-query@^5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.0.tgz#650c569e41ad90b51b3d7df5e5eed1c7549c103e" + integrity sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A== + dependencies: + dequal "^2.0.3" + array-buffer-byte-length@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz#1e5583ec16763540a27ae52eed99ff899223568f" @@ -1423,7 +1437,7 @@ array-buffer-byte-length@^1.0.1: call-bind "^1.0.5" is-array-buffer "^3.0.4" -array-includes@^3.1.2: +array-includes@^3.1.2, array-includes@^3.1.7: version "3.1.8" resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.8.tgz#5e370cbe172fdd5dd6530c1d4aadda25281ba97d" integrity sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ== @@ -1471,6 +1485,16 @@ array.prototype.flatmap@^1.3.1: es-abstract "^1.20.4" es-shim-unscopables "^1.0.0" +array.prototype.flatmap@^1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz#c9a7c6831db8e719d6ce639190146c24bbd3e527" + integrity sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + es-shim-unscopables "^1.0.0" + array.prototype.tosorted@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/array.prototype.tosorted/-/array.prototype.tosorted-1.1.1.tgz#ccf44738aa2b5ac56578ffda97c03fd3e23dd532" @@ -1529,6 +1553,11 @@ ast-types-flow@^0.0.7: resolved "https://registry.yarnpkg.com/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad" integrity sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag== +ast-types-flow@^0.0.8: + version "0.0.8" + resolved "https://registry.yarnpkg.com/ast-types-flow/-/ast-types-flow-0.0.8.tgz#0a85e1c92695769ac13a428bb653e7538bea27d6" + integrity sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ== + ast-types@0.13.2: version "0.13.2" resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.13.2.tgz#df39b677a911a83f3a049644fb74fdded23cea48" @@ -1581,6 +1610,11 @@ available-typed-arrays@^1.0.7: dependencies: possible-typed-array-names "^1.0.0" +axe-core@=4.7.0: + version "4.7.0" + resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.7.0.tgz#34ba5a48a8b564f67e103f0aa5768d76e15bbbbf" + integrity sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ== + axe-core@^4.6.2: version "4.6.3" resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.6.3.tgz#fc0db6fdb65cc7a80ccf85286d91d64ababa3ece" @@ -1593,6 +1627,13 @@ axobject-query@^3.1.1: dependencies: deep-equal "^2.0.5" +axobject-query@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-3.2.1.tgz#39c378a6e3b06ca679f29138151e45b2b32da62a" + integrity sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg== + dependencies: + dequal "^2.0.3" + babel-jest@^27.0.6, babel-jest@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.5.1.tgz#a1bf8d61928edfefd21da27eb86a695bfd691444" @@ -2512,6 +2553,11 @@ depd@~1.1.2: resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== +dequal@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" + integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== + des.js@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" @@ -2712,7 +2758,7 @@ es-abstract@^1.19.0, es-abstract@^1.20.4: unbox-primitive "^1.0.2" which-typed-array "^1.1.9" -es-abstract@^1.22.1, es-abstract@^1.22.3, es-abstract@^1.23.0, es-abstract@^1.23.2: +es-abstract@^1.22.1, es-abstract@^1.22.3, es-abstract@^1.23.0, es-abstract@^1.23.1, es-abstract@^1.23.2, es-abstract@^1.23.3: version "1.23.3" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.23.3.tgz#8f0c5a35cd215312573c5a27c87dfd6c881a0aa0" integrity sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A== @@ -2791,6 +2837,26 @@ es-get-iterator@^1.1.2: isarray "^2.0.5" stop-iteration-iterator "^1.0.0" +es-iterator-helpers@^1.0.15: + version "1.0.19" + resolved "https://registry.yarnpkg.com/es-iterator-helpers/-/es-iterator-helpers-1.0.19.tgz#117003d0e5fec237b4b5c08aded722e0c6d50ca8" + integrity sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.3" + es-errors "^1.3.0" + es-set-tostringtag "^2.0.3" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + globalthis "^1.0.3" + has-property-descriptors "^1.0.2" + has-proto "^1.0.3" + has-symbols "^1.0.3" + internal-slot "^1.0.7" + iterator.prototype "^1.1.2" + safe-array-concat "^1.1.2" + es-object-atoms@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.0.0.tgz#ddb55cd47ac2e240701260bc2a8e31ecb643d941" @@ -2966,6 +3032,28 @@ eslint-plugin-jsx-a11y@^6.4.1: object.fromentries "^2.0.6" semver "^6.3.0" +eslint-plugin-jsx-a11y@^6.8.0: + version "6.8.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.8.0.tgz#2fa9c701d44fcd722b7c771ec322432857fcbad2" + integrity sha512-Hdh937BS3KdwwbBaKd5+PLCOmYY6U4f2h9Z2ktwtNKvIdIEu137rjYbcb9ApSbVJfWxANNuiKTD/9tOKjK9qOA== + dependencies: + "@babel/runtime" "^7.23.2" + aria-query "^5.3.0" + array-includes "^3.1.7" + array.prototype.flatmap "^1.3.2" + ast-types-flow "^0.0.8" + axe-core "=4.7.0" + axobject-query "^3.2.1" + damerau-levenshtein "^1.0.8" + emoji-regex "^9.2.2" + es-iterator-helpers "^1.0.15" + hasown "^2.0.0" + jsx-ast-utils "^3.3.5" + language-tags "^1.0.9" + minimatch "^3.1.2" + object.entries "^1.1.7" + object.fromentries "^2.0.7" + eslint-plugin-prettier@^3.4.1: version "3.4.1" resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.4.1.tgz#e9ddb200efb6f3d05ffe83b1665a716af4a387e5" @@ -3893,6 +3981,13 @@ is-arrayish@^0.2.1: resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== +is-async-function@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-async-function/-/is-async-function-2.0.0.tgz#8e4418efd3e5d3a6ebb0164c05ef5afb69aa9646" + integrity sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA== + dependencies: + has-tostringtag "^1.0.0" + is-bigint@^1.0.1: version "1.0.4" resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3" @@ -3953,6 +4048,13 @@ is-extglob@^2.1.1: resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== +is-finalizationregistry@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-finalizationregistry/-/is-finalizationregistry-1.0.2.tgz#c8749b65f17c133313e661b1289b95ad3dbd62e6" + integrity sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw== + dependencies: + call-bind "^1.0.2" + is-fullwidth-code-point@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" @@ -3963,7 +4065,7 @@ is-generator-fn@^2.0.0: resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== -is-generator-function@^1.0.7: +is-generator-function@^1.0.10, is-generator-function@^1.0.7: version "1.0.10" resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.10.tgz#f1558baf1ac17e0deea7c0415c438351ff2b3c72" integrity sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A== @@ -4178,6 +4280,17 @@ istanbul-reports@^3.1.3: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" +iterator.prototype@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/iterator.prototype/-/iterator.prototype-1.1.2.tgz#5e29c8924f01916cb9335f1ff80619dcff22b0c0" + integrity sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w== + dependencies: + define-properties "^1.2.1" + get-intrinsic "^1.2.1" + has-symbols "^1.0.3" + reflect.getprototypeof "^1.0.4" + set-function-name "^2.0.1" + jest-changed-files@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-27.5.1.tgz#a348aed00ec9bf671cc58a66fcbe7c3dfd6a68f5" @@ -4763,11 +4876,26 @@ jsx-ast-utils@^3.3.3: array-includes "^3.1.5" object.assign "^4.1.3" +jsx-ast-utils@^3.3.5: + version "3.3.5" + resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz#4766bd05a8e2a11af222becd19e15575e52a853a" + integrity sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ== + dependencies: + array-includes "^3.1.6" + array.prototype.flat "^1.3.1" + object.assign "^4.1.4" + object.values "^1.1.6" + kleur@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== +language-subtag-registry@^0.3.20: + version "0.3.23" + resolved "https://registry.yarnpkg.com/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz#23529e04d9e3b74679d70142df3fd2eb6ec572e7" + integrity sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ== + language-subtag-registry@~0.3.2: version "0.3.22" resolved "https://registry.yarnpkg.com/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz#2e1500861b2e457eba7e7ae86877cbd08fa1fd1d" @@ -4780,6 +4908,13 @@ language-tags@=1.0.5: dependencies: language-subtag-registry "~0.3.2" +language-tags@^1.0.9: + version "1.0.9" + resolved "https://registry.yarnpkg.com/language-tags/-/language-tags-1.0.9.tgz#1ffdcd0ec0fafb4b1be7f8b11f306ad0f9c08777" + integrity sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA== + dependencies: + language-subtag-registry "^0.3.20" + leven@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" @@ -5340,6 +5475,15 @@ object.entries@^1.1.6: define-properties "^1.1.4" es-abstract "^1.20.4" +object.entries@^1.1.7: + version "1.1.8" + resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.8.tgz#bffe6f282e01f4d17807204a24f8edd823599c41" + integrity sha512-cmopxi8VwRIAw/fkijJohSfpef5PdN0pMQJN6VC/ZKvn0LIknWD8KtgY6KlQdEc4tIjcQ3HxSMmnvtzIscdaYQ== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" + object.fromentries@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.6.tgz#cdb04da08c539cffa912dcd368b886e0904bfa73" @@ -5349,6 +5493,16 @@ object.fromentries@^2.0.6: define-properties "^1.1.4" es-abstract "^1.20.4" +object.fromentries@^2.0.7: + version "2.0.8" + resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.8.tgz#f7195d8a9b97bd95cbc1999ea939ecd1a2b00c65" + integrity sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-object-atoms "^1.0.0" + object.hasown@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/object.hasown/-/object.hasown-1.1.2.tgz#f919e21fad4eb38a57bc6345b3afd496515c3f92" @@ -6342,11 +6496,29 @@ redent@^3.0.0: indent-string "^4.0.0" strip-indent "^3.0.0" +reflect.getprototypeof@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/reflect.getprototypeof/-/reflect.getprototypeof-1.0.6.tgz#3ab04c32a8390b770712b7a8633972702d278859" + integrity sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.1" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" + globalthis "^1.0.3" + which-builtin-type "^1.1.3" + regenerator-runtime@^0.13.11, regenerator-runtime@^0.13.4: version "0.13.11" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== +regenerator-runtime@^0.14.0: + version "0.14.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" + integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== + regexp.prototype.flags@^1.4.3: version "1.4.3" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac" @@ -7619,6 +7791,24 @@ which-boxed-primitive@^1.0.2: is-string "^1.0.5" is-symbol "^1.0.3" +which-builtin-type@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/which-builtin-type/-/which-builtin-type-1.1.3.tgz#b1b8443707cc58b6e9bf98d32110ff0c2cbd029b" + integrity sha512-YmjsSMDBYsM1CaFiayOVT06+KJeXf0o5M/CAd4o1lTadFAtacTUM49zoYxr/oroopFDfhvN6iEcBxUyc3gvKmw== + dependencies: + function.prototype.name "^1.1.5" + has-tostringtag "^1.0.0" + is-async-function "^2.0.0" + is-date-object "^1.0.5" + is-finalizationregistry "^1.0.2" + is-generator-function "^1.0.10" + is-regex "^1.1.4" + is-weakref "^1.0.2" + isarray "^2.0.5" + which-boxed-primitive "^1.0.2" + which-collection "^1.0.1" + which-typed-array "^1.1.9" + which-collection@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/which-collection/-/which-collection-1.0.1.tgz#70eab71ebbbd2aefaf32f917082fc62cdcb70906" From d93f14db0f4a1d0be38e68ff286f9d6ddffabeb0 Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Thu, 13 Jun 2024 21:15:45 +0000 Subject: [PATCH 4/7] Update eslint-plugin-react-hooks to version 4.6.2 --- package.json | 2 +- yarn.lock | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2103a35..6735628 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^3.4.1", "eslint-plugin-react": "^7.24.0", - "eslint-plugin-react-hooks": "^4.2.0", + "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-testing-library": "^3.0.4", "jest": "^27.0.6", "postcss-flexbugs-fixes": "^5.0.2", diff --git a/yarn.lock b/yarn.lock index 89178dd..3d6f304 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2978,6 +2978,11 @@ eslint-plugin-react-hooks@^4.2.0: resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3" integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g== +eslint-plugin-react-hooks@^4.6.2: + version "4.6.2" + resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz#c829eb06c0e6f484b3fbb85a97e57784f328c596" + integrity sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ== + eslint-plugin-react@^7.23.1, eslint-plugin-react@^7.24.0: version "7.32.2" resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.32.2.tgz#e71f21c7c265ebce01bcbc9d0955170c55571f10" From 40cfdddcf4b8d36479eab8cb834a9bc9894773d3 Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Fri, 21 Jun 2024 21:00:32 +0000 Subject: [PATCH 5/7] Update eslint-plugin-jsx-a11y to version 6.9.0 --- package.json | 2 +- yarn.lock | 174 +++++++++++++++++++++------------------------------ 2 files changed, 72 insertions(+), 104 deletions(-) diff --git a/package.json b/package.json index 71c3ecc..63b16ba 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "eslint-config-next": "11.0.1", "eslint-config-prettier": "^8.10.0", "eslint-plugin-jest": "^23.8.2", - "eslint-plugin-jsx-a11y": "^6.8.0", + "eslint-plugin-jsx-a11y": "^6.9.0", "eslint-plugin-prettier": "^3.4.1", "eslint-plugin-react": "^7.24.0", "eslint-plugin-react-hooks": "^4.6.2", diff --git a/yarn.lock b/yarn.lock index 6ebc905..a694d96 100644 --- a/yarn.lock +++ b/yarn.lock @@ -338,13 +338,6 @@ dependencies: regenerator-runtime "^0.13.11" -"@babel/runtime@^7.23.2": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.24.7.tgz#f4f0d5530e8dbdf59b3451b9b3e594b6ba082e12" - integrity sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw== - dependencies: - regenerator-runtime "^0.14.0" - "@babel/template@^7.18.10", "@babel/template@^7.20.7", "@babel/template@^7.3.3": version "7.20.7" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8" @@ -1415,20 +1408,13 @@ aria-query@^4.2.2: "@babel/runtime" "^7.10.2" "@babel/runtime-corejs3" "^7.10.2" -aria-query@^5.0.0, aria-query@^5.1.3: +aria-query@^5.0.0, aria-query@^5.1.3, aria-query@~5.1.3: version "5.1.3" resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.1.3.tgz#19db27cd101152773631396f7a95a3b58c22c35e" integrity sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ== dependencies: deep-equal "^2.0.5" -aria-query@^5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.0.tgz#650c569e41ad90b51b3d7df5e5eed1c7549c103e" - integrity sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A== - dependencies: - dequal "^2.0.3" - array-buffer-byte-length@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz#1e5583ec16763540a27ae52eed99ff899223568f" @@ -1437,7 +1423,7 @@ array-buffer-byte-length@^1.0.1: call-bind "^1.0.5" is-array-buffer "^3.0.4" -array-includes@^3.1.2, array-includes@^3.1.7: +array-includes@^3.1.2, array-includes@^3.1.8: version "3.1.8" resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.8.tgz#5e370cbe172fdd5dd6530c1d4aadda25281ba97d" integrity sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ== @@ -1610,30 +1596,23 @@ available-typed-arrays@^1.0.7: dependencies: possible-typed-array-names "^1.0.0" -axe-core@=4.7.0: - version "4.7.0" - resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.7.0.tgz#34ba5a48a8b564f67e103f0aa5768d76e15bbbbf" - integrity sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ== - axe-core@^4.6.2: version "4.6.3" resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.6.3.tgz#fc0db6fdb65cc7a80ccf85286d91d64ababa3ece" integrity sha512-/BQzOX780JhsxDnPpH4ZiyrJAzcd8AfzFPkv+89veFSr1rcMjuq2JDCwypKaPeB6ljHp9KjXhPpjgCvQlWYuqg== -axobject-query@^3.1.1: +axe-core@^4.9.1: + version "4.9.1" + resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.9.1.tgz#fcd0f4496dad09e0c899b44f6c4bb7848da912ae" + integrity sha512-QbUdXJVTpvUTHU7871ppZkdOLBeGUKBQWHkHrvN2V9IQWGMt61zf3B45BtzjxEJzYuj0JBjBZP/hmYS/R9pmAw== + +axobject-query@^3.1.1, axobject-query@~3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-3.1.1.tgz#3b6e5c6d4e43ca7ba51c5babf99d22a9c68485e1" integrity sha512-goKlv8DZrK9hUh975fnHzhNIO4jUnFCfv/dszV5VwUGDFjI6vQ2VwoyjYjYNEbBE8AH87TduWP5uyDR1D+Iteg== dependencies: deep-equal "^2.0.5" -axobject-query@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-3.2.1.tgz#39c378a6e3b06ca679f29138151e45b2b32da62a" - integrity sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg== - dependencies: - dequal "^2.0.3" - babel-jest@^27.0.6, babel-jest@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.5.1.tgz#a1bf8d61928edfefd21da27eb86a695bfd691444" @@ -2568,11 +2547,6 @@ depd@~1.1.2: resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== -dequal@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" - integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== - des.js@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" @@ -2739,46 +2713,7 @@ error-stack-parser@^2.0.6: dependencies: stackframe "^1.3.4" -es-abstract@^1.19.0, es-abstract@^1.20.4: - version "1.21.1" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.21.1.tgz#e6105a099967c08377830a0c9cb589d570dd86c6" - integrity sha512-QudMsPOz86xYz/1dG1OuGBKOELjCh99IIWHLzy5znUB6j8xG2yMA7bfTV86VSqKF+Y/H08vQPR+9jyXpuC6hfg== - dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - es-set-tostringtag "^2.0.1" - es-to-primitive "^1.2.1" - function-bind "^1.1.1" - function.prototype.name "^1.1.5" - get-intrinsic "^1.1.3" - get-symbol-description "^1.0.0" - globalthis "^1.0.3" - gopd "^1.0.1" - has "^1.0.3" - has-property-descriptors "^1.0.0" - has-proto "^1.0.1" - has-symbols "^1.0.3" - internal-slot "^1.0.4" - is-array-buffer "^3.0.1" - is-callable "^1.2.7" - is-negative-zero "^2.0.2" - is-regex "^1.1.4" - is-shared-array-buffer "^1.0.2" - is-string "^1.0.7" - is-typed-array "^1.1.10" - is-weakref "^1.0.2" - object-inspect "^1.12.2" - object-keys "^1.1.1" - object.assign "^4.1.4" - regexp.prototype.flags "^1.4.3" - safe-regex-test "^1.0.0" - string.prototype.trimend "^1.0.6" - string.prototype.trimstart "^1.0.6" - typed-array-length "^1.0.4" - unbox-primitive "^1.0.2" - which-typed-array "^1.1.9" - -es-abstract@^1.22.1, es-abstract@^1.22.3, es-abstract@^1.23.0, es-abstract@^1.23.1, es-abstract@^1.23.2, es-abstract@^1.23.3: +es-abstract@^1.17.5, es-abstract@^1.22.1, es-abstract@^1.22.3, es-abstract@^1.23.0, es-abstract@^1.23.1, es-abstract@^1.23.2, es-abstract@^1.23.3: version "1.23.3" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.23.3.tgz#8f0c5a35cd215312573c5a27c87dfd6c881a0aa0" integrity sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A== @@ -2830,6 +2765,45 @@ es-abstract@^1.22.1, es-abstract@^1.22.3, es-abstract@^1.23.0, es-abstract@^1.23 unbox-primitive "^1.0.2" which-typed-array "^1.1.15" +es-abstract@^1.19.0, es-abstract@^1.20.4: + version "1.21.1" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.21.1.tgz#e6105a099967c08377830a0c9cb589d570dd86c6" + integrity sha512-QudMsPOz86xYz/1dG1OuGBKOELjCh99IIWHLzy5znUB6j8xG2yMA7bfTV86VSqKF+Y/H08vQPR+9jyXpuC6hfg== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + es-set-tostringtag "^2.0.1" + es-to-primitive "^1.2.1" + function-bind "^1.1.1" + function.prototype.name "^1.1.5" + get-intrinsic "^1.1.3" + get-symbol-description "^1.0.0" + globalthis "^1.0.3" + gopd "^1.0.1" + has "^1.0.3" + has-property-descriptors "^1.0.0" + has-proto "^1.0.1" + has-symbols "^1.0.3" + internal-slot "^1.0.4" + is-array-buffer "^3.0.1" + is-callable "^1.2.7" + is-negative-zero "^2.0.2" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.2" + is-string "^1.0.7" + is-typed-array "^1.1.10" + is-weakref "^1.0.2" + object-inspect "^1.12.2" + object-keys "^1.1.1" + object.assign "^4.1.4" + regexp.prototype.flags "^1.4.3" + safe-regex-test "^1.0.0" + string.prototype.trimend "^1.0.6" + string.prototype.trimstart "^1.0.6" + typed-array-length "^1.0.4" + unbox-primitive "^1.0.2" + which-typed-array "^1.1.9" + es-define-property@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.0.tgz#c7faefbdff8b2696cf5f46921edfb77cc4ba3845" @@ -2857,7 +2831,7 @@ es-get-iterator@^1.1.2: isarray "^2.0.5" stop-iteration-iterator "^1.0.0" -es-iterator-helpers@^1.0.15: +es-iterator-helpers@^1.0.19: version "1.0.19" resolved "https://registry.yarnpkg.com/es-iterator-helpers/-/es-iterator-helpers-1.0.19.tgz#117003d0e5fec237b4b5c08aded722e0c6d50ca8" integrity sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw== @@ -3057,27 +3031,27 @@ eslint-plugin-jsx-a11y@^6.4.1: object.fromentries "^2.0.6" semver "^6.3.0" -eslint-plugin-jsx-a11y@^6.8.0: - version "6.8.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.8.0.tgz#2fa9c701d44fcd722b7c771ec322432857fcbad2" - integrity sha512-Hdh937BS3KdwwbBaKd5+PLCOmYY6U4f2h9Z2ktwtNKvIdIEu137rjYbcb9ApSbVJfWxANNuiKTD/9tOKjK9qOA== +eslint-plugin-jsx-a11y@^6.9.0: + version "6.9.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.9.0.tgz#67ab8ff460d4d3d6a0b4a570e9c1670a0a8245c8" + integrity sha512-nOFOCaJG2pYqORjK19lqPqxMO/JpvdCZdPtNdxY3kvom3jTvkAbOvQvD8wuD0G8BYR0IGAGYDlzqWJOh/ybn2g== dependencies: - "@babel/runtime" "^7.23.2" - aria-query "^5.3.0" - array-includes "^3.1.7" + aria-query "~5.1.3" + array-includes "^3.1.8" array.prototype.flatmap "^1.3.2" ast-types-flow "^0.0.8" - axe-core "=4.7.0" - axobject-query "^3.2.1" + axe-core "^4.9.1" + axobject-query "~3.1.1" damerau-levenshtein "^1.0.8" emoji-regex "^9.2.2" - es-iterator-helpers "^1.0.15" - hasown "^2.0.0" + es-iterator-helpers "^1.0.19" + hasown "^2.0.2" jsx-ast-utils "^3.3.5" language-tags "^1.0.9" minimatch "^3.1.2" - object.entries "^1.1.7" - object.fromentries "^2.0.7" + object.fromentries "^2.0.8" + safe-regex-test "^1.0.3" + string.prototype.includes "^2.0.0" eslint-plugin-prettier@^3.4.1: version "3.4.1" @@ -5510,15 +5484,6 @@ object.entries@^1.1.6: define-properties "^1.1.4" es-abstract "^1.20.4" -object.entries@^1.1.7: - version "1.1.8" - resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.8.tgz#bffe6f282e01f4d17807204a24f8edd823599c41" - integrity sha512-cmopxi8VwRIAw/fkijJohSfpef5PdN0pMQJN6VC/ZKvn0LIknWD8KtgY6KlQdEc4tIjcQ3HxSMmnvtzIscdaYQ== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-object-atoms "^1.0.0" - object.fromentries@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.6.tgz#cdb04da08c539cffa912dcd368b886e0904bfa73" @@ -5528,7 +5493,7 @@ object.fromentries@^2.0.6: define-properties "^1.1.4" es-abstract "^1.20.4" -object.fromentries@^2.0.7: +object.fromentries@^2.0.8: version "2.0.8" resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.8.tgz#f7195d8a9b97bd95cbc1999ea939ecd1a2b00c65" integrity sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ== @@ -6554,11 +6519,6 @@ regenerator-runtime@^0.13.11, regenerator-runtime@^0.13.4: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== -regenerator-runtime@^0.14.0: - version "0.14.1" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" - integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== - regexp.prototype.flags@^1.4.3: version "1.4.3" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac" @@ -7071,6 +7031,14 @@ string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" +string.prototype.includes@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/string.prototype.includes/-/string.prototype.includes-2.0.0.tgz#8986d57aee66d5460c144620a6d873778ad7289f" + integrity sha512-E34CkBgyeqNDcrbU76cDjL5JLcVrtSdYq0MEh/B10r17pRP4ciHLwTgnuLV8Ay6cgEMLkcBkFCKyFZ43YldYzg== + dependencies: + define-properties "^1.1.3" + es-abstract "^1.17.5" + string.prototype.matchall@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz#3bf85722021816dcd1bf38bb714915887ca79fd3" From 5ade9f6d21eed3e4bd47336024d36e698777f837 Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 00:00:28 +0000 Subject: [PATCH 6/7] Update postcss to version 8.4.39 --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 63b16ba..2b44be6 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "mockdate": "^3.0.5", "msw": "^0.35.0", "next": "11.1.1", - "postcss": "^8.4.38", + "postcss": "^8.4.39", "postcss-import": "^15.1.0", "postcss-url": "^10.1.3", "react": "17.0.2", diff --git a/yarn.lock b/yarn.lock index a694d96..d82b551 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6150,13 +6150,13 @@ postcss@^8.4.23: picocolors "^1.0.0" source-map-js "^1.0.2" -postcss@^8.4.38: - version "8.4.38" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.38.tgz#b387d533baf2054288e337066d81c6bee9db9e0e" - integrity sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A== +postcss@^8.4.39: + version "8.4.39" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.39.tgz#aa3c94998b61d3a9c259efa51db4b392e1bde0e3" + integrity sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw== dependencies: nanoid "^3.3.7" - picocolors "^1.0.0" + picocolors "^1.0.1" source-map-js "^1.2.0" prelude-ls@^1.2.1: From a4675ac7c966c0190cf2844f25fdd52d005e785d Mon Sep 17 00:00:00 2001 From: Robert Beekman Date: Fri, 16 Aug 2024 10:28:08 +0200 Subject: [PATCH 7/7] Fix `NaN` uptime percentage This commit fixes an issue if there's no data for a region, it results in a `NaN` uptime percentage * Return `0` when no regions with timeseries are present. --- components/Outages/Outages.js | 6 + components/UptimeMonitor/UptimeMonitor.js | 8 + .../UptimeMonitor/UptimeMonitor.test.js | 11 +- .../__snapshots__/UptimeMonitors.test.js.snap | 149 +++ mocks/handlers.js | 2 + mocks/monitors/only-one-metric.json | 1022 +++++++++++++++++ mocks/status_pages/appsignal.json | 8 + 7 files changed, 1205 insertions(+), 1 deletion(-) create mode 100644 mocks/monitors/only-one-metric.json diff --git a/components/Outages/Outages.js b/components/Outages/Outages.js index 7114f49..6d679eb 100644 --- a/components/Outages/Outages.js +++ b/components/Outages/Outages.js @@ -1,3 +1,4 @@ +import PropTypes from "prop-types"; import OutagesByDay from "../OutagesByDay"; import { timeseriesByDay } from "../../utils"; @@ -23,4 +24,9 @@ const Outages = ({ timeseries, regions }) => { } }; +Outages.propTypes = { + timeseries: PropTypes.array.isRequired, + regions: PropTypes.array.isRequired, +}; + export default Outages; diff --git a/components/UptimeMonitor/UptimeMonitor.js b/components/UptimeMonitor/UptimeMonitor.js index fa0a78e..41e68d2 100644 --- a/components/UptimeMonitor/UptimeMonitor.js +++ b/components/UptimeMonitor/UptimeMonitor.js @@ -41,6 +41,10 @@ export const calculateUptime = (timeseries, regions) => { const downtimePerRegion = []; regions.map((region) => { + if (timeSeriesLast30Days.length == 0) { + return 0; + } + const downtimeInMinutes = timeSeriesLast30Days.reduce((acc, item) => { return acc + item.values[region]; }, 0); @@ -63,6 +67,10 @@ export const calculateUptime = (timeseries, regions) => { }; export const averageDowntimeOverRegions = (downtimePerRegion) => { + if (Object.keys(downtimePerRegion).length == 0) { + return 0; + } + const average = Object.values(downtimePerRegion).reduce((acc, item) => { return (acc += item.percentage); diff --git a/components/UptimeMonitor/UptimeMonitor.test.js b/components/UptimeMonitor/UptimeMonitor.test.js index 124e1fd..45686aa 100644 --- a/components/UptimeMonitor/UptimeMonitor.test.js +++ b/components/UptimeMonitor/UptimeMonitor.test.js @@ -1,6 +1,9 @@ import { render, screen, waitFor } from "@testing-library/react"; -import UptimeMonitor, { UptimeMonitorLoading } from "./UptimeMonitor"; +import UptimeMonitor, { + UptimeMonitorLoading, + averageDowntimeOverRegions, +} from "./UptimeMonitor"; import statusPageMock from "../../mocks/status_pages/appsignal.json"; const build = (props = {}) => { @@ -67,4 +70,10 @@ describe("UptimeMonitorLoading", () => { const loadingDots = screen.getAllByTestId("loadingDot"); expect(loadingDots.length).toEqual(30); }); + + describe("averageDowntimeOverRegions", () => { + test("returns 0 if no regions are present", () => { + expect(averageDowntimeOverRegions([])).toEqual(0); + }); + }); }); diff --git a/components/UptimeMonitors/__snapshots__/UptimeMonitors.test.js.snap b/components/UptimeMonitors/__snapshots__/UptimeMonitors.test.js.snap index d53b472..fc8d901 100644 --- a/components/UptimeMonitors/__snapshots__/UptimeMonitors.test.js.snap +++ b/components/UptimeMonitors/__snapshots__/UptimeMonitors.test.js.snap @@ -458,6 +458,155 @@ exports[`UptimeMonitors renders without problems 1`] = ` /> +
+
+

+ +

+

+ Monitoring from + 1 + + location +

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mocks/handlers.js b/mocks/handlers.js index cf94fa0..c2f0731 100644 --- a/mocks/handlers.js +++ b/mocks/handlers.js @@ -3,11 +3,13 @@ import { rest } from "msw"; const alwaysDown = require("./monitors/always-down.json"); const blog = require("./monitors/blog.json"); const homepage = require("./monitors/homepage.json"); +const onlyOneMetric = require("./monitors/only-one-metric.json"); const monitorMapping = { "always-down": alwaysDown, blog, homepage, + "only-one-metric": onlyOneMetric, }; export const handlers = [ diff --git a/mocks/monitors/only-one-metric.json b/mocks/monitors/only-one-metric.json new file mode 100644 index 0000000..6b40874 --- /dev/null +++ b/mocks/monitors/only-one-metric.json @@ -0,0 +1,1022 @@ +{ + "id": "only-one-metric", + "title": "only one metrics", + "url": "https://appsignal.com", + "description": "", + "timeseries": [ + { + "timestamp": "2024-08-07T07:00:00.000Z" + }, + { + "timestamp": "2024-08-09T08:00:00.000Z" + }, + { + "timestamp": "2024-08-03T17:00:00.000Z" + }, + { + "timestamp": "2024-08-03T15:00:00.000Z" + }, + { + "timestamp": "2024-08-06T06:00:00.000Z" + }, + { + "timestamp": "2024-08-06T20:00:00.000Z" + }, + { + "timestamp": "2024-08-06T07:00:00.000Z" + }, + { + "timestamp": "2024-08-09T00:00:00.000Z" + }, + { + "timestamp": "2024-08-12T23:00:00.000Z" + }, + { + "timestamp": "2024-08-10T19:00:00.000Z" + }, + { + "timestamp": "2024-08-13T05:00:00.000Z" + }, + { + "timestamp": "2024-08-06T13:00:00.000Z" + }, + { + "timestamp": "2024-08-14T03:00:00.000Z" + }, + { + "timestamp": "2024-08-16T07:00:00.000Z", + "values": { + "asia-pacific": 0 + } + }, + { + "timestamp": "2024-08-13T20:00:00.000Z" + }, + { + "timestamp": "2024-08-11T01:00:00.000Z" + }, + { + "timestamp": "2024-08-08T15:00:00.000Z" + }, + { + "timestamp": "2024-08-10T16:00:00.000Z" + }, + { + "timestamp": "2024-08-04T00:00:00.000Z" + }, + { + "timestamp": "2024-08-14T12:00:00.000Z" + }, + { + "timestamp": "2024-08-15T18:00:00.000Z" + }, + { + "timestamp": "2024-08-05T06:00:00.000Z" + }, + { + "timestamp": "2024-08-15T02:00:00.000Z" + }, + { + "timestamp": "2024-08-04T03:00:00.000Z" + }, + { + "timestamp": "2024-08-03T02:00:00.000Z" + }, + { + "timestamp": "2024-08-05T16:00:00.000Z" + }, + { + "timestamp": "2024-08-06T00:00:00.000Z" + }, + { + "timestamp": "2024-08-08T21:00:00.000Z" + }, + { + "timestamp": "2024-08-13T10:00:00.000Z" + }, + { + "timestamp": "2024-08-12T21:00:00.000Z" + }, + { + "timestamp": "2024-08-07T09:00:00.000Z" + }, + { + "timestamp": "2024-08-12T10:00:00.000Z" + }, + { + "timestamp": "2024-08-14T06:00:00.000Z" + }, + { + "timestamp": "2024-08-15T10:00:00.000Z" + }, + { + "timestamp": "2024-08-02T10:00:00.000Z" + }, + { + "timestamp": "2024-08-07T16:00:00.000Z" + }, + { + "timestamp": "2024-08-15T22:00:00.000Z" + }, + { + "timestamp": "2024-08-12T07:00:00.000Z" + }, + { + "timestamp": "2024-08-03T06:00:00.000Z" + }, + { + "timestamp": "2024-08-08T20:00:00.000Z" + }, + { + "timestamp": "2024-08-13T16:00:00.000Z" + }, + { + "timestamp": "2024-08-05T11:00:00.000Z" + }, + { + "timestamp": "2024-08-07T18:00:00.000Z" + }, + { + "timestamp": "2024-08-08T06:00:00.000Z" + }, + { + "timestamp": "2024-08-04T16:00:00.000Z" + }, + { + "timestamp": "2024-08-02T12:00:00.000Z" + }, + { + "timestamp": "2024-08-03T23:00:00.000Z" + }, + { + "timestamp": "2024-08-09T22:00:00.000Z" + }, + { + "timestamp": "2024-08-10T12:00:00.000Z" + }, + { + "timestamp": "2024-08-11T11:00:00.000Z" + }, + { + "timestamp": "2024-08-07T01:00:00.000Z" + }, + { + "timestamp": "2024-08-04T10:00:00.000Z" + }, + { + "timestamp": "2024-08-07T22:00:00.000Z" + }, + { + "timestamp": "2024-08-12T18:00:00.000Z" + }, + { + "timestamp": "2024-08-08T01:00:00.000Z" + }, + { + "timestamp": "2024-08-05T04:00:00.000Z" + }, + { + "timestamp": "2024-08-13T03:00:00.000Z" + }, + { + "timestamp": "2024-08-13T18:00:00.000Z" + }, + { + "timestamp": "2024-08-13T21:00:00.000Z" + }, + { + "timestamp": "2024-08-02T09:00:00.000Z" + }, + { + "timestamp": "2024-08-10T08:00:00.000Z" + }, + { + "timestamp": "2024-08-14T07:00:00.000Z" + }, + { + "timestamp": "2024-08-10T17:00:00.000Z" + }, + { + "timestamp": "2024-08-09T18:00:00.000Z" + }, + { + "timestamp": "2024-08-11T16:00:00.000Z" + }, + { + "timestamp": "2024-08-14T18:00:00.000Z" + }, + { + "timestamp": "2024-08-15T03:00:00.000Z" + }, + { + "timestamp": "2024-08-15T01:00:00.000Z" + }, + { + "timestamp": "2024-08-04T06:00:00.000Z" + }, + { + "timestamp": "2024-08-02T14:00:00.000Z" + }, + { + "timestamp": "2024-08-08T02:00:00.000Z" + }, + { + "timestamp": "2024-08-06T16:00:00.000Z" + }, + { + "timestamp": "2024-08-15T05:00:00.000Z" + }, + { + "timestamp": "2024-08-07T04:00:00.000Z" + }, + { + "timestamp": "2024-08-05T09:00:00.000Z" + }, + { + "timestamp": "2024-08-10T23:00:00.000Z" + }, + { + "timestamp": "2024-08-07T20:00:00.000Z" + }, + { + "timestamp": "2024-08-07T13:00:00.000Z" + }, + { + "timestamp": "2024-08-09T01:00:00.000Z" + }, + { + "timestamp": "2024-08-10T03:00:00.000Z" + }, + { + "timestamp": "2024-08-12T04:00:00.000Z" + }, + { + "timestamp": "2024-08-08T14:00:00.000Z" + }, + { + "timestamp": "2024-08-07T17:00:00.000Z" + }, + { + "timestamp": "2024-08-10T21:00:00.000Z" + }, + { + "timestamp": "2024-08-14T17:00:00.000Z" + }, + { + "timestamp": "2024-08-08T18:00:00.000Z" + }, + { + "timestamp": "2024-08-12T20:00:00.000Z" + }, + { + "timestamp": "2024-08-12T16:00:00.000Z" + }, + { + "timestamp": "2024-08-13T09:00:00.000Z" + }, + { + "timestamp": "2024-08-10T02:00:00.000Z" + }, + { + "timestamp": "2024-08-02T16:00:00.000Z" + }, + { + "timestamp": "2024-08-02T22:00:00.000Z" + }, + { + "timestamp": "2024-08-03T18:00:00.000Z" + }, + { + "timestamp": "2024-08-05T20:00:00.000Z" + }, + { + "timestamp": "2024-08-12T00:00:00.000Z" + }, + { + "timestamp": "2024-08-05T21:00:00.000Z" + }, + { + "timestamp": "2024-08-06T04:00:00.000Z" + }, + { + "timestamp": "2024-08-10T09:00:00.000Z" + }, + { + "timestamp": "2024-08-13T22:00:00.000Z" + }, + { + "timestamp": "2024-08-03T14:00:00.000Z" + }, + { + "timestamp": "2024-08-12T22:00:00.000Z" + }, + { + "timestamp": "2024-08-08T08:00:00.000Z" + }, + { + "timestamp": "2024-08-05T08:00:00.000Z" + }, + { + "timestamp": "2024-08-15T00:00:00.000Z" + }, + { + "timestamp": "2024-08-06T10:00:00.000Z" + }, + { + "timestamp": "2024-08-09T23:00:00.000Z" + }, + { + "timestamp": "2024-08-12T09:00:00.000Z" + }, + { + "timestamp": "2024-08-16T02:00:00.000Z" + }, + { + "timestamp": "2024-08-11T07:00:00.000Z" + }, + { + "timestamp": "2024-08-05T03:00:00.000Z" + }, + { + "timestamp": "2024-08-10T10:00:00.000Z" + }, + { + "timestamp": "2024-08-10T18:00:00.000Z" + }, + { + "timestamp": "2024-08-06T18:00:00.000Z" + }, + { + "timestamp": "2024-08-09T02:00:00.000Z" + }, + { + "timestamp": "2024-08-13T04:00:00.000Z" + }, + { + "timestamp": "2024-08-04T13:00:00.000Z" + }, + { + "timestamp": "2024-08-08T22:00:00.000Z" + }, + { + "timestamp": "2024-08-02T18:00:00.000Z" + }, + { + "timestamp": "2024-08-09T04:00:00.000Z" + }, + { + "timestamp": "2024-08-03T09:00:00.000Z" + }, + { + "timestamp": "2024-08-10T14:00:00.000Z" + }, + { + "timestamp": "2024-08-14T09:00:00.000Z" + }, + { + "timestamp": "2024-08-16T05:00:00.000Z", + "values": { + "asia-pacific": 0 + } + }, + { + "timestamp": "2024-08-16T06:00:00.000Z", + "values": { + "asia-pacific": 0 + } + }, + { + "timestamp": "2024-08-04T20:00:00.000Z" + }, + { + "timestamp": "2024-08-03T08:00:00.000Z" + }, + { + "timestamp": "2024-08-05T00:00:00.000Z" + }, + { + "timestamp": "2024-08-10T07:00:00.000Z" + }, + { + "timestamp": "2024-08-05T23:00:00.000Z" + }, + { + "timestamp": "2024-08-11T08:00:00.000Z" + }, + { + "timestamp": "2024-08-14T15:00:00.000Z" + }, + { + "timestamp": "2024-08-11T13:00:00.000Z" + }, + { + "timestamp": "2024-08-12T14:00:00.000Z" + }, + { + "timestamp": "2024-08-02T15:00:00.000Z" + }, + { + "timestamp": "2024-08-07T10:00:00.000Z" + }, + { + "timestamp": "2024-08-07T00:00:00.000Z" + }, + { + "timestamp": "2024-08-09T19:00:00.000Z" + }, + { + "timestamp": "2024-08-14T00:00:00.000Z" + }, + { + "timestamp": "2024-08-05T10:00:00.000Z" + }, + { + "timestamp": "2024-08-08T16:00:00.000Z" + }, + { + "timestamp": "2024-08-03T12:00:00.000Z" + }, + { + "timestamp": "2024-08-06T21:00:00.000Z" + }, + { + "timestamp": "2024-08-16T01:00:00.000Z" + }, + { + "timestamp": "2024-08-04T23:00:00.000Z" + }, + { + "timestamp": "2024-08-09T06:00:00.000Z" + }, + { + "timestamp": "2024-08-07T19:00:00.000Z" + }, + { + "timestamp": "2024-08-10T22:00:00.000Z" + }, + { + "timestamp": "2024-08-15T08:00:00.000Z" + }, + { + "timestamp": "2024-08-15T09:00:00.000Z" + }, + { + "timestamp": "2024-08-13T13:00:00.000Z" + }, + { + "timestamp": "2024-08-15T23:00:00.000Z" + }, + { + "timestamp": "2024-08-02T19:00:00.000Z" + }, + { + "timestamp": "2024-08-15T13:00:00.000Z" + }, + { + "timestamp": "2024-08-11T22:00:00.000Z" + }, + { + "timestamp": "2024-08-09T10:00:00.000Z" + }, + { + "timestamp": "2024-08-13T23:00:00.000Z" + }, + { + "timestamp": "2024-08-06T02:00:00.000Z" + }, + { + "timestamp": "2024-08-14T05:00:00.000Z" + }, + { + "timestamp": "2024-08-14T13:00:00.000Z" + }, + { + "timestamp": "2024-08-15T17:00:00.000Z" + }, + { + "timestamp": "2024-08-05T18:00:00.000Z" + }, + { + "timestamp": "2024-08-03T07:00:00.000Z" + }, + { + "timestamp": "2024-08-11T17:00:00.000Z" + }, + { + "timestamp": "2024-08-15T04:00:00.000Z" + }, + { + "timestamp": "2024-08-15T15:00:00.000Z" + }, + { + "timestamp": "2024-08-06T09:00:00.000Z" + }, + { + "timestamp": "2024-08-09T03:00:00.000Z" + }, + { + "timestamp": "2024-08-10T04:00:00.000Z" + }, + { + "timestamp": "2024-08-11T19:00:00.000Z" + }, + { + "timestamp": "2024-08-03T11:00:00.000Z" + }, + { + "timestamp": "2024-08-11T18:00:00.000Z" + }, + { + "timestamp": "2024-08-13T17:00:00.000Z" + }, + { + "timestamp": "2024-08-03T13:00:00.000Z" + }, + { + "timestamp": "2024-08-05T07:00:00.000Z" + }, + { + "timestamp": "2024-08-12T19:00:00.000Z" + }, + { + "timestamp": "2024-08-11T06:00:00.000Z" + }, + { + "timestamp": "2024-08-14T14:00:00.000Z" + }, + { + "timestamp": "2024-08-09T12:00:00.000Z" + }, + { + "timestamp": "2024-08-05T05:00:00.000Z" + }, + { + "timestamp": "2024-08-07T15:00:00.000Z" + }, + { + "timestamp": "2024-08-04T07:00:00.000Z" + }, + { + "timestamp": "2024-08-06T22:00:00.000Z" + }, + { + "timestamp": "2024-08-11T20:00:00.000Z" + }, + { + "timestamp": "2024-08-14T04:00:00.000Z" + }, + { + "timestamp": "2024-08-13T19:00:00.000Z" + }, + { + "timestamp": "2024-08-14T01:00:00.000Z" + }, + { + "timestamp": "2024-08-07T03:00:00.000Z" + }, + { + "timestamp": "2024-08-12T02:00:00.000Z" + }, + { + "timestamp": "2024-08-06T03:00:00.000Z" + }, + { + "timestamp": "2024-08-07T12:00:00.000Z" + }, + { + "timestamp": "2024-08-14T08:00:00.000Z" + }, + { + "timestamp": "2024-08-08T12:00:00.000Z" + }, + { + "timestamp": "2024-08-08T17:00:00.000Z" + }, + { + "timestamp": "2024-08-06T05:00:00.000Z" + }, + { + "timestamp": "2024-08-02T17:00:00.000Z" + }, + { + "timestamp": "2024-08-15T06:00:00.000Z" + }, + { + "timestamp": "2024-08-02T13:00:00.000Z" + }, + { + "timestamp": "2024-08-03T10:00:00.000Z" + }, + { + "timestamp": "2024-08-04T05:00:00.000Z" + }, + { + "timestamp": "2024-08-04T17:00:00.000Z" + }, + { + "timestamp": "2024-08-09T07:00:00.000Z" + }, + { + "timestamp": "2024-08-05T19:00:00.000Z" + }, + { + "timestamp": "2024-08-15T19:00:00.000Z" + }, + { + "timestamp": "2024-08-03T05:00:00.000Z" + }, + { + "timestamp": "2024-08-15T11:00:00.000Z" + }, + { + "timestamp": "2024-08-09T05:00:00.000Z" + }, + { + "timestamp": "2024-08-08T23:00:00.000Z" + }, + { + "timestamp": "2024-08-09T13:00:00.000Z" + }, + { + "timestamp": "2024-08-04T02:00:00.000Z" + }, + { + "timestamp": "2024-08-12T17:00:00.000Z" + }, + { + "timestamp": "2024-08-09T20:00:00.000Z" + }, + { + "timestamp": "2024-08-13T12:00:00.000Z" + }, + { + "timestamp": "2024-08-04T01:00:00.000Z" + }, + { + "timestamp": "2024-08-03T04:00:00.000Z" + }, + { + "timestamp": "2024-08-09T09:00:00.000Z" + }, + { + "timestamp": "2024-08-04T04:00:00.000Z" + }, + { + "timestamp": "2024-08-05T17:00:00.000Z" + }, + { + "timestamp": "2024-08-04T15:00:00.000Z" + }, + { + "timestamp": "2024-08-11T00:00:00.000Z" + }, + { + "timestamp": "2024-08-04T14:00:00.000Z" + }, + { + "timestamp": "2024-08-08T07:00:00.000Z" + }, + { + "timestamp": "2024-08-05T02:00:00.000Z" + }, + { + "timestamp": "2024-08-14T16:00:00.000Z" + }, + { + "timestamp": "2024-08-05T12:00:00.000Z" + }, + { + "timestamp": "2024-08-03T21:00:00.000Z" + }, + { + "timestamp": "2024-08-11T12:00:00.000Z" + }, + { + "timestamp": "2024-08-16T04:00:00.000Z" + }, + { + "timestamp": "2024-08-04T21:00:00.000Z" + }, + { + "timestamp": "2024-08-10T05:00:00.000Z" + }, + { + "timestamp": "2024-08-16T00:00:00.000Z" + }, + { + "timestamp": "2024-08-08T19:00:00.000Z" + }, + { + "timestamp": "2024-08-04T22:00:00.000Z" + }, + { + "timestamp": "2024-08-04T11:00:00.000Z" + }, + { + "timestamp": "2024-08-14T22:00:00.000Z" + }, + { + "timestamp": "2024-08-05T14:00:00.000Z" + }, + { + "timestamp": "2024-08-14T10:00:00.000Z" + }, + { + "timestamp": "2024-08-10T06:00:00.000Z" + }, + { + "timestamp": "2024-08-15T20:00:00.000Z" + }, + { + "timestamp": "2024-08-16T03:00:00.000Z" + }, + { + "timestamp": "2024-08-06T08:00:00.000Z" + }, + { + "timestamp": "2024-08-15T14:00:00.000Z" + }, + { + "timestamp": "2024-08-07T05:00:00.000Z" + }, + { + "timestamp": "2024-08-03T16:00:00.000Z" + }, + { + "timestamp": "2024-08-08T04:00:00.000Z" + }, + { + "timestamp": "2024-08-02T21:00:00.000Z" + }, + { + "timestamp": "2024-08-10T01:00:00.000Z" + }, + { + "timestamp": "2024-08-10T11:00:00.000Z" + }, + { + "timestamp": "2024-08-12T15:00:00.000Z" + }, + { + "timestamp": "2024-08-08T11:00:00.000Z" + }, + { + "timestamp": "2024-08-07T02:00:00.000Z" + }, + { + "timestamp": "2024-08-09T16:00:00.000Z" + }, + { + "timestamp": "2024-08-06T23:00:00.000Z" + }, + { + "timestamp": "2024-08-10T00:00:00.000Z" + }, + { + "timestamp": "2024-08-12T01:00:00.000Z" + }, + { + "timestamp": "2024-08-06T01:00:00.000Z" + }, + { + "timestamp": "2024-08-06T15:00:00.000Z" + }, + { + "timestamp": "2024-08-05T22:00:00.000Z" + }, + { + "timestamp": "2024-08-08T00:00:00.000Z" + }, + { + "timestamp": "2024-08-11T23:00:00.000Z" + }, + { + "timestamp": "2024-08-03T19:00:00.000Z" + }, + { + "timestamp": "2024-08-07T06:00:00.000Z" + }, + { + "timestamp": "2024-08-03T03:00:00.000Z" + }, + { + "timestamp": "2024-08-13T00:00:00.000Z" + }, + { + "timestamp": "2024-08-13T06:00:00.000Z" + }, + { + "timestamp": "2024-08-13T08:00:00.000Z" + }, + { + "timestamp": "2024-08-09T21:00:00.000Z" + }, + { + "timestamp": "2024-08-11T09:00:00.000Z" + }, + { + "timestamp": "2024-08-14T21:00:00.000Z" + }, + { + "timestamp": "2024-08-11T14:00:00.000Z" + }, + { + "timestamp": "2024-08-03T01:00:00.000Z" + }, + { + "timestamp": "2024-08-12T11:00:00.000Z" + }, + { + "timestamp": "2024-08-08T05:00:00.000Z" + }, + { + "timestamp": "2024-08-07T08:00:00.000Z" + }, + { + "timestamp": "2024-08-09T17:00:00.000Z" + }, + { + "timestamp": "2024-08-02T20:00:00.000Z" + }, + { + "timestamp": "2024-08-14T11:00:00.000Z" + }, + { + "timestamp": "2024-08-02T11:00:00.000Z" + }, + { + "timestamp": "2024-08-11T03:00:00.000Z" + }, + { + "timestamp": "2024-08-02T23:00:00.000Z" + }, + { + "timestamp": "2024-08-07T11:00:00.000Z" + }, + { + "timestamp": "2024-08-15T07:00:00.000Z" + }, + { + "timestamp": "2024-08-05T13:00:00.000Z" + }, + { + "timestamp": "2024-08-04T19:00:00.000Z" + }, + { + "timestamp": "2024-08-12T08:00:00.000Z" + }, + { + "timestamp": "2024-08-06T19:00:00.000Z" + }, + { + "timestamp": "2024-08-09T11:00:00.000Z" + }, + { + "timestamp": "2024-08-06T11:00:00.000Z" + }, + { + "timestamp": "2024-08-03T22:00:00.000Z" + }, + { + "timestamp": "2024-08-04T18:00:00.000Z" + }, + { + "timestamp": "2024-08-05T01:00:00.000Z" + }, + { + "timestamp": "2024-08-13T02:00:00.000Z" + }, + { + "timestamp": "2024-08-14T20:00:00.000Z" + }, + { + "timestamp": "2024-08-15T21:00:00.000Z" + }, + { + "timestamp": "2024-08-13T07:00:00.000Z" + }, + { + "timestamp": "2024-08-04T08:00:00.000Z" + }, + { + "timestamp": "2024-08-05T15:00:00.000Z" + }, + { + "timestamp": "2024-08-09T15:00:00.000Z" + }, + { + "timestamp": "2024-08-06T12:00:00.000Z" + }, + { + "timestamp": "2024-08-07T21:00:00.000Z" + }, + { + "timestamp": "2024-08-08T13:00:00.000Z" + }, + { + "timestamp": "2024-08-08T03:00:00.000Z" + }, + { + "timestamp": "2024-08-04T12:00:00.000Z" + }, + { + "timestamp": "2024-08-12T13:00:00.000Z" + }, + { + "timestamp": "2024-08-03T00:00:00.000Z" + }, + { + "timestamp": "2024-08-10T15:00:00.000Z" + }, + { + "timestamp": "2024-08-11T02:00:00.000Z" + }, + { + "timestamp": "2024-08-11T05:00:00.000Z" + }, + { + "timestamp": "2024-08-08T10:00:00.000Z" + }, + { + "timestamp": "2024-08-12T03:00:00.000Z" + }, + { + "timestamp": "2024-08-13T11:00:00.000Z" + }, + { + "timestamp": "2024-08-15T16:00:00.000Z" + }, + { + "timestamp": "2024-08-10T13:00:00.000Z" + }, + { + "timestamp": "2024-08-04T09:00:00.000Z" + }, + { + "timestamp": "2024-08-12T05:00:00.000Z" + }, + { + "timestamp": "2024-08-13T01:00:00.000Z" + }, + { + "timestamp": "2024-08-11T10:00:00.000Z" + }, + { + "timestamp": "2024-08-13T14:00:00.000Z" + }, + { + "timestamp": "2024-08-14T02:00:00.000Z" + }, + { + "timestamp": "2024-08-15T12:00:00.000Z" + }, + { + "timestamp": "2024-08-07T14:00:00.000Z" + }, + { + "timestamp": "2024-08-08T09:00:00.000Z" + }, + { + "timestamp": "2024-08-10T20:00:00.000Z" + }, + { + "timestamp": "2024-08-12T06:00:00.000Z" + }, + { + "timestamp": "2024-08-06T14:00:00.000Z" + }, + { + "timestamp": "2024-08-07T23:00:00.000Z" + }, + { + "timestamp": "2024-08-13T15:00:00.000Z" + }, + { + "timestamp": "2024-08-14T23:00:00.000Z" + }, + { + "timestamp": "2024-08-03T20:00:00.000Z" + }, + { + "timestamp": "2024-08-11T04:00:00.000Z" + }, + { + "timestamp": "2024-08-06T17:00:00.000Z" + }, + { + "timestamp": "2024-08-09T14:00:00.000Z" + }, + { + "timestamp": "2024-08-11T21:00:00.000Z" + }, + { + "timestamp": "2024-08-14T19:00:00.000Z" + }, + { + "timestamp": "2024-08-12T12:00:00.000Z" + }, + { + "timestamp": "2024-08-11T15:00:00.000Z" + } + ] +} diff --git a/mocks/status_pages/appsignal.json b/mocks/status_pages/appsignal.json index 0c85ef6..12feea9 100644 --- a/mocks/status_pages/appsignal.json +++ b/mocks/status_pages/appsignal.json @@ -45,6 +45,14 @@ "description": "This endpoint will always be down!", "regions": ["europe", "south-america", "north-america", "asia-pacific"], "endpoint": "https://api.appsignal-status.online/status_pages/1/monitors/always-down.json" + }, + { + "id": "only-one-metric", + "title": "only one metric", + "url": "https://appsignal.com", + "description": "Only one metric", + "regions": ["asia-pacific"], + "endpoint": "https://api.appsignal-status.online/status_pages/1/monitors/only-one-metric.json" } ] }