From 357f7179f9024c8a20eba6a94fcf3846532f69f1 Mon Sep 17 00:00:00 2001 From: Fernando Lucchesi Date: Thu, 18 Aug 2022 12:00:02 -0300 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Upgrade=20dependencies=20#?= =?UTF-8?q?1209?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- pnpm-lock.yaml | 8 +- studio/package.json | 6 +- studio/yarn.lock | 300 ++++---------------------------------------- web/package.json | 4 +- web/pnpm-lock.yaml | 109 ++++++++++++---- 6 files changed, 116 insertions(+), 313 deletions(-) diff --git a/package.json b/package.json index fe9ca4da7..8272e3768 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-react": "^7.29.4", "eslint-plugin-react-hooks": "^4.5.0", - "only-allow": "^1.1.0", + "only-allow": "^1.1.1", "typescript": "4.6.3" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c7eb68e93..7eb16eb64 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,7 +12,7 @@ specifiers: eslint-plugin-react-hooks: ^4.5.0 husky: ^7.0.4 is-ci: ^3.0.1 - only-allow: ^1.1.0 + only-allow: ^1.1.1 typescript: 4.6.3 dependencies: @@ -29,7 +29,7 @@ devDependencies: eslint-plugin-jsx-a11y: 6.5.1_eslint@8.14.0 eslint-plugin-react: 7.29.4_eslint@8.14.0 eslint-plugin-react-hooks: 4.5.0_eslint@8.14.0 - only-allow: 1.1.0 + only-allow: 1.1.1 typescript: 4.6.3 packages: @@ -1339,8 +1339,8 @@ packages: wrappy: 1.0.2 dev: true - /only-allow/1.1.0: - resolution: {integrity: sha512-HYiuMpRuy0d0DjoQZwhwO1Ueal0NXJ2I4mNxLv3aGw/1naRcAAzVC953WNpcbjlo+ak3WsoKDjHvoMd2cSZLpw==} + /only-allow/1.1.1: + resolution: {integrity: sha512-WE01hpInLQUF3MKK7vhu4p1VZLKb4rL4d+CI3rwwwsToXELx6YawNFhZy3rVU3rpQpI9kF9zFMk4OjB3xwXdJA==} hasBin: true dependencies: boxen: 4.2.0 diff --git a/studio/package.json b/studio/package.json index 70cf9eef2..275f4d62d 100644 --- a/studio/package.json +++ b/studio/package.json @@ -41,13 +41,13 @@ "@sanity/types": "^2.29.3", "@sanity/ui": "^0.37.12", "@sanity/vision": "^2.30.1", - "only-allow": "^1.1.0", + "only-allow": "^1.1.1", "prop-types": "^15.8.1", "react": "^17.0.2", "react-dom": "^17.0.2", - "rxjs": "^7.5.5", + "rxjs": "^7.5.6", "sanity-plugin-color-list": "^2.0.3", - "sanity-plugin-documents-pane": "^1.0.8", + "sanity-plugin-documents-pane": "^1.0.9", "sanity-plugin-iframe-pane": "^1.0.14", "sanity-plugin-media": "^1.4.10", "sanity-plugin-mux-input": "^1.1.3", diff --git a/studio/yarn.lock b/studio/yarn.lock index 991b258e1..dd82d3e7f 100644 --- a/studio/yarn.lock +++ b/studio/yarn.lock @@ -945,7 +945,7 @@ pirates "^4.0.5" source-map-support "^0.5.16" -"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.17.8", "@babel/runtime@^7.2.0", "@babel/runtime@^7.6.2", "@babel/runtime@^7.8.4": +"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.17.8", "@babel/runtime@^7.2.0", "@babel/runtime@^7.8.4": version "7.17.9" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.9.tgz#d19fbf802d01a8cb6cf053a64e472d42c434ba72" integrity sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg== @@ -1407,68 +1407,6 @@ resolved "https://registry.yarnpkg.com/@sanity/asset-utils/-/asset-utils-1.2.3.tgz#a90c7895c6506405d64c2363db131923ba1fa6ef" integrity sha512-0eOR0D6zcqd6nEmAGIJ93ibRGO6ocYzQ5aEuyYvngHy5MDDjUfC821UnF/YPIcxiMXg2DLDjWd4EPt9F8frKNQ== -"@sanity/base@2.30.0", "@sanity/base@^2.29.5": - version "2.30.0" - resolved "https://registry.npmjs.org/@sanity/base/-/base-2.30.0.tgz#33c4280537745915792fdac01f462cb0f86e9f67" - integrity sha512-b7ZZQq4/1k6Km+e4cHXbNy0dMLNT/DCw9qrhWRnqSRaYl6k/nG5mi+NoEukffQ/jkcOnKa01X5DjZNoPsn6E4w== - dependencies: - "@juggle/resize-observer" "^3.3.1" - "@popperjs/core" "^2.5.4" - "@reach/auto-id" "^0.13.2" - "@sanity/asset-utils" "^1.2.0" - "@sanity/bifur-client" "^0.0.8" - "@sanity/client" "^3.2.0" - "@sanity/color" "^2.1.8" - "@sanity/generate-help-url" "^3.0.0" - "@sanity/icons" "^1.2.6" - "@sanity/image-url" "^1.0.1" - "@sanity/initial-value-templates" "2.29.5" - "@sanity/mutator" "2.29.3" - "@sanity/schema" "2.29.3" - "@sanity/state-router" "2.29.3" - "@sanity/structure" "2.29.5" - "@sanity/transaction-collator" "2.29.3" - "@sanity/types" "2.29.5" - "@sanity/ui" "^0.37.9" - "@sanity/util" "2.29.5" - "@sanity/validation" "2.30.0" - boundless-arrow-key-navigation "^1.1.0" - circular-at "^1.0.3" - classnames "^2.2.5" - dataloader "^2.0.0" - date-fns "^2.16.1" - debug "^3.2.7" - dom-scroll-into-view "^1.2.1" - element-resize-detector "^1.1.14" - groq-js "^0.2.0" - history "^4.6.3" - json-reduce "^2.0.0" - lodash "^4.17.15" - nano-pubsub "^2.0.1" - nanoid "^3.1.30" - observable-callback "^1.0.1" - pluralize "^7.0.0" - polished "^4.0.5" - popper-max-size-modifier "^0.2.0" - raf "^3.4.1" - react-click-outside "^3.0.0" - react-fast-compare "^3.2.0" - react-icon-base "^2.1.2" - react-is "^17.0.2" - react-popper "^2.2.4" - react-props-stream "^1.0.0" - react-refractor "^2.1.6" - react-rx "^1.0.0-beta.6" - react-sortable-hoc "^1.11.0" - react-split-pane "^0.1.84" - refractor "^3.6.0" - rxjs "^6.5.3" - rxjs-etc "^10.6.0" - rxjs-exhaustmap-with-trailing "^1.0.0" - semver-compare "^1.0.0" - shallow-equals "^1.0.0" - use-device-pixel-ratio "^1.1.0" - "@sanity/base@2.30.1", "@sanity/base@^2.30.1": version "2.30.1" resolved "https://registry.npmjs.org/@sanity/base/-/base-2.30.1.tgz#95e8b38cb45585a5a27b97713de5411ef7b8c801" @@ -1548,9 +1486,9 @@ lodash "^4.17.15" "@sanity/cli@^2.30.2": - version "2.30.2" - resolved "https://registry.npmjs.org/@sanity/cli/-/cli-2.30.2.tgz#a91336f831c613c4e0f140af124ab7ced842e2ca" - integrity sha512-kS6xH38TWCH0yDpzhURghsacxjUcoDYN/R8xSutEkY70FvYm0x7/bfRuOiFYfdR4wrSE9LAu+50NsCmD3L39Ww== + version "2.30.6" + resolved "https://registry.yarnpkg.com/@sanity/cli/-/cli-2.30.6.tgz#04393fd17f8f77a68e78322b85825d5ba0d7d864" + integrity sha512-YkVWTXF3FlIZMhs5bzwqppC+MlRtr3n3WW96LAgQxrvTNO1/9PFIN1zb8jL40PtxGEDDMTdin+eJaHuilZjCGQ== "@sanity/client@^3.2.0": version "3.3.0" @@ -1712,39 +1650,6 @@ prop-types "^15.6.0" rxjs "^6.5.3" -"@sanity/desk-tool@^2.29.5": - version "2.30.0" - resolved "https://registry.npmjs.org/@sanity/desk-tool/-/desk-tool-2.30.0.tgz#fdea378985f8b6193d534b866af1871af7305fee" - integrity sha512-FxI17mB4UBtSPLwRb3N5eKJZtg1QnQUqsx6YfeMORVk/c8Hxb+KJ9YCNhStGBkfYHDRWJqt5d4udIKht6zHPog== - dependencies: - "@reach/auto-id" "^0.13.2" - "@sanity/client" "^3.2.0" - "@sanity/data-aspects" "2.29.3" - "@sanity/diff" "2.29.3" - "@sanity/field" "2.30.0" - "@sanity/form-builder" "2.30.0" - "@sanity/generate-help-url" "^3.0.0" - "@sanity/icons" "^1.2.6" - "@sanity/react-hooks" "2.30.0" - "@sanity/structure" "2.29.5" - "@sanity/types" "2.29.5" - "@sanity/ui" "^0.37.9" - "@sanity/util" "2.29.5" - "@sanity/uuid" "^3.0.1" - framer-motion "^5.3.3" - hashlru "^2.1.0" - is-hotkey "^0.1.6" - leven "^3.1.0" - lodash "^4.17.15" - mendoza "^2.1.1" - nanoid "^3.1.30" - react-copy-to-clipboard "^5.0.4" - react-is "^17.0.2" - react-json-inspector "^7.1.1" - react-rx "^1.0.0-beta.6" - rxjs "^6.5.3" - shallow-equals "^1.0.0" - "@sanity/desk-tool@^2.30.1": version "2.30.1" resolved "https://registry.npmjs.org/@sanity/desk-tool/-/desk-tool-2.30.1.tgz#c2f277c02788ff0adfc1b2d86d81c89cfef29d9c" @@ -1821,26 +1726,6 @@ p-queue "^2.3.0" split2 "^3.2.2" -"@sanity/field@2.30.0": - version "2.30.0" - resolved "https://registry.npmjs.org/@sanity/field/-/field-2.30.0.tgz#4f400a0f916b1503b04a865ba59e6f7ba0f96163" - integrity sha512-DQklxuYTd7dHmvcLkjTQ0546rzfRuZIiEr367CRsmwWTphoMeUwQxJdhPiSolCxKhPZMzX3shNUn/5ixPlME+Q== - dependencies: - "@sanity/asset-utils" "^1.2.0" - "@sanity/base" "2.30.0" - "@sanity/client" "^3.2.0" - "@sanity/color" "^2.1.8" - "@sanity/diff" "2.29.3" - "@sanity/icons" "^1.2.6" - "@sanity/image-url" "^1.0.1" - "@sanity/react-hooks" "2.30.0" - "@sanity/types" "2.29.5" - "@sanity/ui" "^0.37.9" - "@sanity/util" "2.29.5" - diff-match-patch "^1.0.4" - lodash "^4.17.15" - sanity-diff-patch "^1.0.9" - "@sanity/field@2.30.1": version "2.30.1" resolved "https://registry.npmjs.org/@sanity/field/-/field-2.30.1.tgz#d46e67d06cb7b51aac219f8f78b8ecebad1cfecb" @@ -1861,47 +1746,6 @@ lodash "^4.17.15" sanity-diff-patch "^1.0.9" -"@sanity/form-builder@2.30.0": - version "2.30.0" - resolved "https://registry.npmjs.org/@sanity/form-builder/-/form-builder-2.30.0.tgz#0be0ba69755ef0c03756eba094259a61b1f43d8c" - integrity sha512-YhJX5cqYGm4HVK5YOZDfVbTg+yfGH31Oia7M4xPDX47J5gZ7zf0r5Pg6z2cqNXXWi+obZ1wE9x4Pz2YwmsOuPg== - dependencies: - "@reach/auto-id" "^0.13.2" - "@sanity/base" "2.30.0" - "@sanity/block-tools" "2.29.3" - "@sanity/client" "^3.2.0" - "@sanity/color" "^2.1.8" - "@sanity/generate-help-url" "^3.0.0" - "@sanity/icons" "^1.2.6" - "@sanity/image-url" "^1.0.1" - "@sanity/imagetool" "2.29.8" - "@sanity/initial-value-templates" "2.29.5" - "@sanity/mutator" "2.29.3" - "@sanity/portable-text-editor" "2.29.8" - "@sanity/schema" "2.29.3" - "@sanity/types" "2.29.5" - "@sanity/ui" "^0.37.9" - "@sanity/util" "2.29.5" - "@sanity/uuid" "^3.0.1" - attr-accept "^1.1.0" - date-fns "^2.16.1" - debug "^3.2.7" - diff-match-patch "^1.0.4" - exif-component "^1.0.1" - get-random-values "^1.2.2" - lodash "^4.17.15" - nano-pubsub "^2.0.1" - pretty-bytes "^4.0.2" - react-fast-compare "^3.2.0" - react-focus-lock "^2.5.0" - react-is "^17.0.2" - react-rx "^1.0.0-beta.6" - react-sortable-hoc "^1.11.0" - rxjs "^6.5.3" - scroll-into-view-if-needed "^2.2.26" - shallow-equals "^1.0.0" - speakingurl "^13.0.0" - "@sanity/form-builder@2.30.1", "@sanity/form-builder@^2.30.1": version "2.30.1" resolved "https://registry.npmjs.org/@sanity/form-builder/-/form-builder-2.30.1.tgz#bf582e17a7859a03ff17b42915814c321093ab90" @@ -2064,15 +1908,6 @@ resolved "https://registry.yarnpkg.com/@sanity/production-preview/-/production-preview-2.29.3.tgz#6494ba268f31d934f4cb4a7b6dc15b6d7f616ea4" integrity sha512-qqCKdAGejxJ1HHElaJOan2EUx2YbHdmFp5UbvOJ1dZy1bPYl5Qrsh0ijqD800w/qo/M7MMt63dRbkftmIUozEA== -"@sanity/react-hooks@2.30.0": - version "2.30.0" - resolved "https://registry.npmjs.org/@sanity/react-hooks/-/react-hooks-2.30.0.tgz#7356e5143cf6812eb12b7d722d80e1a594a92cf5" - integrity sha512-DGYau1KbvFHHK+dqqIXhMGvm9Q0Q9MuU9anlzXlDpscx1Hn9QJJNxNmJChGRTO8z2NOeQAHEUzqPT6XgJh5aKA== - dependencies: - "@sanity/types" "2.29.5" - react-rx "^1.0.0-beta.6" - rxjs "^6.5.3" - "@sanity/react-hooks@2.30.1", "@sanity/react-hooks@^2.30.1": version "2.30.1" resolved "https://registry.npmjs.org/@sanity/react-hooks/-/react-hooks-2.30.1.tgz#a7ac114a65b7768eb363dadc9ff729481899d33b" @@ -2158,7 +1993,7 @@ scroll-into-view-if-needed "^2.2.20" tiny-invariant "1.0.6" -"@sanity/state-router@2.29.3", "@sanity/state-router@^2.29.3": +"@sanity/state-router@2.29.3": version "2.29.3" resolved "https://registry.yarnpkg.com/@sanity/state-router/-/state-router-2.29.3.tgz#849f070fdb013c810e97e9235810a87d0e694c78" integrity sha512-gSxOXUe2WtSbmM4s4LOVZWL/IFIK0QuyeJgxTMxJYB8AnqFeEYLU7gXFiQu0WBvUXBFgq5hRz9bed0rkRCGxxA== @@ -2203,7 +2038,7 @@ "@types/react" "^17.0.42" rxjs "^6.5.3" -"@sanity/ui@^0.34.4", "@sanity/ui@^0.34.6": +"@sanity/ui@^0.34.4": version "0.34.8" resolved "https://registry.yarnpkg.com/@sanity/ui/-/ui-0.34.8.tgz#75cb0b5dd3e52bf3e5adc4ee5928d85b9e98881d" integrity sha512-Dzu5bHc1DCbTGGKq0dL7mk8StqsbdFxbcQMNMDx7L4KZwPR4DpofeWvfPVupAdADF9eSLr84emPNFksnQYlS8w== @@ -2284,7 +2119,7 @@ react-popper "^2.2.5" react-refractor "^2.1.7" -"@sanity/util@2.29.5", "@sanity/util@^2.29.5": +"@sanity/util@2.29.5": version "2.29.5" resolved "https://registry.yarnpkg.com/@sanity/util/-/util-2.29.5.tgz#998b4f9a1d4dfeb449d7f9e1d260b1fc71118ff6" integrity sha512-DbXpOf25ujkZZFGGj+g+JRFOxRba1k9z+s1/48lQrJ6UQaY6HEg2vhJgA5N0a4atw2GbvA3vyNKypErIWNGrdQ== @@ -3190,11 +3025,6 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" -big-integer@^1.6.16: - version "1.6.51" - resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" - integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== - big.js@^3.1.3: version "3.2.0" resolved "https://registry.yarnpkg.com/big.js/-/big.js-3.2.0.tgz#a5fc298b81b9e0dca2e458824784b65c52ba588e" @@ -3333,20 +3163,6 @@ braces@^3.0.2, braces@~3.0.2: dependencies: fill-range "^7.0.1" -broadcast-channel@^3.4.1: - version "3.7.0" - resolved "https://registry.yarnpkg.com/broadcast-channel/-/broadcast-channel-3.7.0.tgz#2dfa5c7b4289547ac3f6705f9c00af8723889937" - integrity sha512-cIAKJXAxGJceNZGTZSBzMxzyOn72cVgPnKx4dc6LRjQgbaJUQqhy5rzL3zbMxkMWsGKkv2hSFkPRMEXfoMZ2Mg== - dependencies: - "@babel/runtime" "^7.7.2" - detect-node "^2.1.0" - js-sha3 "0.8.0" - microseconds "0.2.0" - nano-time "1.0.0" - oblivious-set "1.0.0" - rimraf "3.0.2" - unload "2.2.0" - brorand@^1.0.1, brorand@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" @@ -4578,11 +4394,6 @@ detect-node-es@^1.1.0: resolved "https://registry.yarnpkg.com/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== -detect-node@^2.0.4, detect-node@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" - integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== - diff-match-patch@^1.0.4, diff-match-patch@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/diff-match-patch/-/diff-match-patch-1.0.5.tgz#abb584d5f10cd1196dfc55aa03701592ae3f7b37" @@ -6566,11 +6377,6 @@ js-base64@^2.1.9: resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.6.4.tgz#f4e686c5de1ea1f867dbcad3d46d969428df98c4" integrity sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ== -js-sha3@0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" - integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== - "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" @@ -7154,14 +6960,6 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" -match-sorter@^6.0.2: - version "6.3.1" - resolved "https://registry.yarnpkg.com/match-sorter/-/match-sorter-6.3.1.tgz#98cc37fda756093424ddf3cbc62bfe9c75b92bda" - integrity sha512-mxybbo3pPNuA+ZuCUhm5bwNkXrJTbsk5VWbR5wiwz/GC6LIiegBGn2w3O08UG/jdbYLinw51fSQ5xNU1U3MgBw== - dependencies: - "@babel/runtime" "^7.12.5" - remove-accents "0.4.2" - math-expression-evaluator@^1.2.14: version "1.3.14" resolved "https://registry.yarnpkg.com/math-expression-evaluator/-/math-expression-evaluator-1.3.14.tgz#0ebeaccf65fea0f6f5a626f88df41814e5fcd9bf" @@ -7283,11 +7081,6 @@ micromatch@^4.0.4: braces "^3.0.2" picomatch "^2.3.1" -microseconds@0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/microseconds/-/microseconds-0.2.0.tgz#233b25f50c62a65d861f978a4a4f8ec18797dc39" - integrity sha512-n7DHHMjR1avBbSpsTBj6fmMGh2AGrifVV4e+WYc3Q9lO+xnSZ3NyhcBND3vzzatt05LFhoKFRxrIyklmLlUtyA== - miller-rabin@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" @@ -7433,13 +7226,6 @@ nano-pubsub@^2.0.1: resolved "https://registry.yarnpkg.com/nano-pubsub/-/nano-pubsub-2.0.1.tgz#59f3b7b6ed06868d879a10bdc9d082d9a27ee3ae" integrity sha512-RWgGP2TdeKZLx+guR5a7/BzYs85sj6yrXXyj0o/znbgzPlz/Ez9wQuKDpwUZ8q+u2RxXpqZ1iTkPXCIU+GHhpA== -nano-time@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/nano-time/-/nano-time-1.0.0.tgz#b0554f69ad89e22d0907f7a12b0993a5d96137ef" - integrity sha1-sFVPaa2J4i0JB/ehKwmTpdlhN+8= - dependencies: - big-integer "^1.6.16" - nanoclone@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/nanoclone/-/nanoclone-0.2.1.tgz#dd4090f8f1a110d26bb32c49ed2f5b9235209ed4" @@ -7672,11 +7458,6 @@ object.values@^1.1.0: define-properties "^1.1.3" es-abstract "^1.19.1" -oblivious-set@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/oblivious-set/-/oblivious-set-1.0.0.tgz#c8316f2c2fb6ff7b11b6158db3234c49f733c566" - integrity sha512-z+pI07qxo4c2CulUHCDf9lcqDlMSo72N/4rLUpRXf6fu+q8vjt8y0xS+Tlf8NTJDdTXHbdeO1n3MlbctwEoXZw== - observable-callback@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/observable-callback/-/observable-callback-1.0.1.tgz#048a27e14e73a8163a165ab77313523a8e6a96d9" @@ -7713,10 +7494,10 @@ onetime@^5.1.0: dependencies: mimic-fn "^2.1.0" -only-allow@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/only-allow/-/only-allow-1.1.0.tgz#73c4ea88f4b6d415a181791cc2c49ba0b4029138" - integrity sha512-HYiuMpRuy0d0DjoQZwhwO1Ueal0NXJ2I4mNxLv3aGw/1naRcAAzVC953WNpcbjlo+ak3WsoKDjHvoMd2cSZLpw== +only-allow@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/only-allow/-/only-allow-1.1.1.tgz#caa4b0f04d6abe2674631877cbfbcdfab537669c" + integrity sha512-WE01hpInLQUF3MKK7vhu4p1VZLKb4rL4d+CI3rwwwsToXELx6YawNFhZy3rVU3rpQpI9kF9zFMk4OjB3xwXdJA== dependencies: boxen "^4.2.0" which-pm-runs "^1.1.0" @@ -9254,15 +9035,6 @@ react-props-stream@^1.0.0: resolved "https://registry.yarnpkg.com/react-props-stream/-/react-props-stream-1.0.1.tgz#dac2198df19d27efe2d0f9bf7eb016e1ec22c4f9" integrity sha512-lBMW9S7OvqE8sYruPTpG8Dv7WVwHiDt4hJmhixoRNlHBtVMnMvMJal/tsH8F/YKMsObvSkY3PCWCPRLqnEaOaw== -react-query@^3.19.1: - version "3.34.19" - resolved "https://registry.yarnpkg.com/react-query/-/react-query-3.34.19.tgz#0ff049b6e0d2ed148e9abfdd346625d0e88dc229" - integrity sha512-JO0Ymi58WKmvnhgg6bGIrYIeKb64KsKaPWo8JcGnmK2jJxAs2XmMBzlP75ZepSU7CHzcsWtIIyhMrLbX3pb/3w== - dependencies: - "@babel/runtime" "^7.5.5" - broadcast-channel "^3.4.1" - match-sorter "^6.0.2" - react-redux@^7.2.2: version "7.2.8" resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-7.2.8.tgz#a894068315e65de5b1b68899f9c6ee0923dd28de" @@ -9586,11 +9358,6 @@ regjsparser@^0.8.2: dependencies: jsesc "~0.5.0" -remove-accents@0.4.2: - version "0.4.2" - resolved "https://registry.yarnpkg.com/remove-accents/-/remove-accents-0.4.2.tgz#0a43d3aaae1e80db919e07ae254b285d9e1c7bb5" - integrity sha1-CkPTqq4egNuRngeuJUsoXZ4ce7U= - remove-trailing-separator@^1.0.1: version "1.1.0" resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" @@ -9747,13 +9514,6 @@ right-align@^0.1.1: dependencies: align-text "^0.1.1" -rimraf@3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" - integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== - dependencies: - glob "^7.1.3" - rimraf@^2.7.1: version "2.7.1" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" @@ -9788,17 +9548,17 @@ rxjs-exhaustmap-with-trailing@^1.0.0: resolved "https://registry.yarnpkg.com/rxjs-exhaustmap-with-trailing/-/rxjs-exhaustmap-with-trailing-1.1.0.tgz#a1e7b6c742f322384bf4fb6417156158f5557ba3" integrity sha512-ZCqM4sj/+vt20n+EEImDIQurrQ0zc/m237T6wL5C4cgRArAHtnpdeMCmjXd/rogvz8Ak1G1V6g2t48t1OB2V4A== -rxjs@^6.0.0, rxjs@^6.4.0, rxjs@^6.5.3: +rxjs@^6.0.0, rxjs@^6.4.0, rxjs@^6.5.3, rxjs@^6.5.6: version "6.6.7" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== dependencies: tslib "^1.9.0" -rxjs@^7.5.5: - version "7.5.5" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.5.5.tgz#2ebad89af0f560f460ad5cc4213219e1f7dd4e9f" - integrity sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw== +rxjs@^7.5.6: + version "7.5.6" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.5.6.tgz#0446577557862afd6903517ce7cae79ecb9662bc" + integrity sha512-dnyv2/YsXhnm461G+R/Pe5bWP41Nm6LBXEYWI6eiFP4fiwx6WRI/CD0zbdVAudd9xwLEF2IDcKXLHit0FYjUzw== dependencies: tslib "^2.1.0" @@ -9847,19 +9607,15 @@ sanity-plugin-color-list@^2.0.3: lodash "^4.17.20" prop-types "^15.7.2" -sanity-plugin-documents-pane@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/sanity-plugin-documents-pane/-/sanity-plugin-documents-pane-1.0.8.tgz#0b9c3f4e4c009c776d4d38433d5e5b907520969d" - integrity sha512-or8GD8oHgXkoe42wnBIW8wvmycgtH+BA8OTwl2jSxS1cVavDGjs56u4dfoDO2F/dqwTbIzI/74/EZsETlqr2qA== - dependencies: - "@sanity/base" "^2.29.5" - "@sanity/desk-tool" "^2.29.5" - "@sanity/state-router" "^2.29.3" - "@sanity/ui" "^0.34.6" - "@sanity/util" "^2.29.5" +sanity-plugin-documents-pane@^1.0.9: + version "1.0.9" + resolved "https://registry.yarnpkg.com/sanity-plugin-documents-pane/-/sanity-plugin-documents-pane-1.0.9.tgz#298a86ac33b1855ad0dd5cbb40d1e1b0069fb17f" + integrity sha512-/vusxObvrzJZkXx5JpTyAYyGBEoTYHGyMtdJ+KptWP0URCY6TryrZYsOoJ/pqwyo5e5fGldl2A4/SK6xFkrGPA== + dependencies: + "@sanity/ui" "^0.37.12" dlv "^1.1.3" - husky "^7.0.1" - react-query "^3.19.1" + react-fast-compare "^3.2.0" + rxjs "^6.5.6" sanity-plugin-iframe-pane@^1.0.14: version "1.0.16" @@ -11037,14 +10793,6 @@ universalify@^0.1.0: resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== -unload@2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/unload/-/unload-2.2.0.tgz#ccc88fdcad345faa06a92039ec0f80b488880ef7" - integrity sha512-B60uB5TNBLtN6/LsgAf3udH9saB5p7gqJwcFfbOEZ8BcBHnGwCf6G/TGiEqkRAxX7zAFIUtzdrXQSdL3Q/wqNA== - dependencies: - "@babel/runtime" "^7.6.2" - detect-node "^2.0.4" - unpipe@1.0.0, unpipe@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" diff --git a/web/package.json b/web/package.json index e4a570a1b..99fd2a3cb 100644 --- a/web/package.json +++ b/web/package.json @@ -48,11 +48,11 @@ "ics": "^2.35.0", "instantsearch.js": "^4.40.5", "next": "^12.1.0", - "next-sanity": "^0.5.2", + "next-sanity": "^0.6.0", "next-sanity-image": "^3.2.1", "next-seo": "^5.1.0", "next-transpile-modules": "^9.0.0", - "only-allow": "^1.1.0", + "only-allow": "^1.1.1", "query-string": "^7.1.1", "raw-body": "^2.5.1", "react": "^18.1.0", diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml index a26ed16a3..5a138666a 100644 --- a/web/pnpm-lock.yaml +++ b/web/pnpm-lock.yaml @@ -52,11 +52,11 @@ specifiers: jest-environment-jsdom: ^28.1.0 jest-styled-components: ^7.0.8 next: ^12.1.0 - next-sanity: ^0.5.2 + next-sanity: ^0.6.0 next-sanity-image: ^3.2.1 next-seo: ^5.1.0 next-transpile-modules: ^9.0.0 - only-allow: ^1.1.0 + only-allow: ^1.1.1 prettier: 2.6.2 query-string: ^7.1.1 raw-body: ^2.5.1 @@ -111,11 +111,11 @@ dependencies: ics: 2.35.0 instantsearch.js: 4.40.5_algoliasearch@4.13.0 next: 12.1.5_aandee56mam3mbdnvxoybr464e - next-sanity: 0.5.2_react@18.1.0 + next-sanity: 0.6.12_react@18.1.0 next-sanity-image: 3.2.1_phsaitihabgo6obm25p365gjsi next-seo: 5.4.0_iw2ijl5yq2m4rs4sgxacncq4yu next-transpile-modules: 9.0.0 - only-allow: 1.1.0 + only-allow: 1.1.1 query-string: 7.1.1 raw-body: 2.5.1 react: 18.1.0 @@ -3852,6 +3852,20 @@ packages: - supports-color dev: false + /@sanity/client/3.3.3: + resolution: {integrity: sha512-2n4S/d49abreTa1hLehtrQ9lLR8KhnXdIb7kZajkGPGh2yWwbtMXpB7e1dxNvySmFehrJx5rtwdeO3l2IhnHBA==} + engines: {node: '>=12'} + dependencies: + '@sanity/eventsource': 4.0.0 + '@sanity/generate-help-url': 3.0.0 + get-it: 6.1.1 + make-error: 1.3.6 + object-assign: 4.1.1 + rxjs: 6.6.7 + transitivePeerDependencies: + - supports-color + dev: false + /@sanity/color/2.1.10: resolution: {integrity: sha512-t1rV2/WAECqyKziAhAxgpHh9oLQuIUGvHlV/jSboAG4K8/HeRPF8WWiGak/B32uiPl6lOpw3oM4BonYmPLb2+Q==} dev: false @@ -3863,12 +3877,19 @@ packages: eventsource: 1.1.0 dev: false + /@sanity/eventsource/4.0.0: + resolution: {integrity: sha512-W0AD141JILOySJ177j2+HTr5k4tWNyXjGsr0dDXJzpqlwZ09J/uPHI73hMe5XtoFumPa9Bj6jy8uu2qdZX84NQ==} + dependencies: + event-source-polyfill: 1.0.25 + eventsource: 2.0.2 + dev: false + /@sanity/generate-help-url/3.0.0: resolution: {integrity: sha512-wtMYcV5GIDIhVyF/jjmdwq1GdlK07dRL40XMns73VbrFI7FteRltxv48bhYVZPcLkRXb0SHjpDS/icj9/yzbVA==} dev: false - /@sanity/groq-store/0.3.1: - resolution: {integrity: sha512-MoCh5WkTGBz0PcoDQcVx/hkUWR2xYDTshDX9Awf5TegUccUAjSKfb0Vy8jPZx8HQjQG7z1BscaeWCHs5imnRUQ==} + /@sanity/groq-store/0.4.0: + resolution: {integrity: sha512-3mgnk8McWphY8ZCmMSAqbPw1rO+BgpMOTlk9+8Yu//p6aovFcX9S6jqx+3JejiyvNV2Zz2OwtPrfHXP7qLiVjg==} engines: {node: '>=10'} dependencies: '@sanity/types': 2.29.5 @@ -3878,8 +3899,8 @@ packages: groq-js: 0.4.0-beta.2 mendoza: 2.1.1 simple-get: 4.0.1 - split2: 3.2.2 - throttle-debounce: 3.0.1 + split2: 4.1.0 + throttle-debounce: 5.0.0 transitivePeerDependencies: - supports-color dev: false @@ -3902,7 +3923,7 @@ packages: /@sanity/types/2.29.5: resolution: {integrity: sha512-opsUt96xJy6j8LVw8L96HMCyF84Li9p4CNUZEUyKEa63nfG4IYD6fNY5ISiBthkw1os/J6E5EQfjkvME84seQA==} dependencies: - '@sanity/client': 3.3.0 + '@sanity/client': 3.3.3 '@sanity/color': 2.1.10 '@types/react': 17.0.47 rxjs: 6.6.7 @@ -6116,7 +6137,7 @@ packages: /axios/0.21.4: resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==} dependencies: - follow-redirects: 1.14.9 + follow-redirects: 1.14.9_debug@2.6.9 transitivePeerDependencies: - debug dev: false @@ -6124,7 +6145,7 @@ packages: /axios/0.26.1: resolution: {integrity: sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==} dependencies: - follow-redirects: 1.14.9 + follow-redirects: 1.14.9_debug@2.6.9 transitivePeerDependencies: - debug dev: false @@ -8022,6 +8043,11 @@ packages: original: 1.0.2 dev: false + /eventsource/2.0.2: + resolution: {integrity: sha512-IzUmBGPR3+oUG9dUeXynyNmf91/3zUSJg1lCktzKw47OXuhco54U3r9B7O4XX+Rb1Itm9OZ2b0RkTs10bICOxA==} + engines: {node: '>=12.0.0'} + dev: false + /evp_bytestokey/1.0.3: resolution: {integrity: sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==} dependencies: @@ -8373,7 +8399,7 @@ packages: resolution: {integrity: sha512-Rwix9pBtC1Nuy5wysTmKy+UjbDJpIfg8eHjw0rjZ1mX4GNLz1Bmd16uDpI3Gk1i70Fgcs8Csg2lPm8HULFg9DQ==} dev: false - /follow-redirects/1.14.9: + /follow-redirects/1.14.9_debug@2.6.9: resolution: {integrity: sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==} engines: {node: '>=4.0'} peerDependencies: @@ -8381,6 +8407,8 @@ packages: peerDependenciesMeta: debug: optional: true + dependencies: + debug: 2.6.9 dev: false /for-in/1.0.2: @@ -8641,7 +8669,33 @@ packages: create-error-class: 3.0.2 debug: 2.6.9 decompress-response: 6.0.0 - follow-redirects: 1.14.9 + follow-redirects: 1.14.9_debug@2.6.9 + form-urlencoded: 2.0.9 + into-stream: 3.1.0 + is-plain-object: 2.0.4 + is-retry-allowed: 1.2.0 + is-stream: 1.1.0 + nano-pubsub: 1.0.2 + object-assign: 4.1.1 + parse-headers: 2.0.5 + progress-stream: 2.0.0 + same-origin: 0.1.1 + simple-concat: 1.0.1 + tunnel-agent: 0.6.0 + url-parse: 1.5.10 + transitivePeerDependencies: + - supports-color + dev: false + + /get-it/6.1.1: + resolution: {integrity: sha512-2835L9lb4NAgjAbFOMMOm2XDSgj+lWmmCQv40A5rE7zZoIdM2+yk7Ie+sBD3T5lHW/Dw5IFFHyx16oQGpAo4hQ==} + engines: {node: '>=12.0.0'} + dependencies: + '@sanity/timed-out': 4.0.2 + create-error-class: 3.0.2 + debug: 2.6.9 + decompress-response: 6.0.0 + follow-redirects: 1.14.9_debug@2.6.9 form-urlencoded: 2.0.9 into-stream: 3.1.0 is-plain-object: 2.0.4 @@ -11055,14 +11109,14 @@ packages: react: 18.1.0 dev: false - /next-sanity/0.5.2_react@18.1.0: - resolution: {integrity: sha512-yw+1pIJvZPeokxZ7eorTHlY0KjYGGPSD6rVuGVjVTq8R94+m6tJTlxgNsoKAlxdDgNIdixYJxXXzhyZ6VE7VkA==} + /next-sanity/0.6.12_react@18.1.0: + resolution: {integrity: sha512-n9l2OH//OYSxkLOZaLqOwQD92gdHDH8ohdLymGV+IGX+BcBiFYp43CBlYII9IB0MdFnquvJ1zlRtcNvSvAQjbA==} engines: {node: '>=12'} peerDependencies: - react: '>=16.3.0' + react: ^16.3 || ^17 || ^18 dependencies: - '@sanity/client': 3.3.0 - '@sanity/groq-store': 0.3.1 + '@sanity/client': 3.3.3 + '@sanity/groq-store': 0.4.0 groq: 2.29.3 react: 18.1.0 transitivePeerDependencies: @@ -11380,8 +11434,8 @@ packages: mimic-fn: 2.1.0 dev: true - /only-allow/1.1.0: - resolution: {integrity: sha512-HYiuMpRuy0d0DjoQZwhwO1Ueal0NXJ2I4mNxLv3aGw/1naRcAAzVC953WNpcbjlo+ak3WsoKDjHvoMd2cSZLpw==} + /only-allow/1.1.1: + resolution: {integrity: sha512-WE01hpInLQUF3MKK7vhu4p1VZLKb4rL4d+CI3rwwwsToXELx6YawNFhZy3rVU3rpQpI9kF9zFMk4OjB3xwXdJA==} hasBin: true dependencies: boxen: 4.2.0 @@ -12530,6 +12584,7 @@ packages: inherits: 2.0.4 string_decoder: 1.3.0 util-deprecate: 1.0.2 + dev: true /readdirp/2.2.1: resolution: {integrity: sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==} @@ -13267,10 +13322,9 @@ packages: extend-shallow: 3.0.2 dev: true - /split2/3.2.2: - resolution: {integrity: sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==} - dependencies: - readable-stream: 3.6.0 + /split2/4.1.0: + resolution: {integrity: sha512-VBiJxFkxiXRlUIeyMQi8s4hgvKCSjtknJv/LVYbrgALPwf5zSKmEwV9Lst25AkvMDnvxODugjdl6KZgwKM1WYQ==} + engines: {node: '>= 10.x'} dev: false /sprintf-js/1.0.3: @@ -13435,6 +13489,7 @@ packages: resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} dependencies: safe-buffer: 5.2.1 + dev: true /strip-ansi/3.0.1: resolution: {integrity: sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==} @@ -13737,9 +13792,9 @@ packages: resolution: {integrity: sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w==} dev: true - /throttle-debounce/3.0.1: - resolution: {integrity: sha512-dTEWWNu6JmeVXY0ZYoPuH5cRIwc0MeGbJwah9KUNYSJwommQpCzTySTpEe8Gs1J23aeWEuAobe4Ag7EHVt/LOg==} - engines: {node: '>=10'} + /throttle-debounce/5.0.0: + resolution: {integrity: sha512-2iQTSgkkc1Zyk0MeVrt/3BvuOXYPl/R8Z0U2xxo9rjwNciaHDG3R+Lm6dh4EeUci49DanvBnuqI6jshoQQRGEg==} + engines: {node: '>=12.22'} dev: false /through2/2.0.5: