Skip to content
Snippets Groups Projects
Commit 394662ce authored by Tarje Lavik's avatar Tarje Lavik
Browse files

Update next to 10.2.0

parent 1a85e492
No related branches found
No related tags found
No related merge requests found
......@@ -322,7 +322,8 @@ export const contactCopyQuery = groq`{
name,
"images": *[references(^._id)]{
...,
"count": count(*[references(^._id)])
"isThumbnail": defined(*[_type == "HumanMadeObject" && references(^._id)]),
"countAssetUsage": count(*[_type != "HumanMadeObject" && references(^._id)])
}
},
${siteSettings}
......
......@@ -25,8 +25,7 @@
"jsonld": "^3.2.0",
"mirador": "^3.1.1",
"mirador-image-tools": "^0.10.0",
"next": "^10.1.3",
"next-google-fonts": "^1.2.1",
"next": "^10.2.0",
"next-images": "^1.7.0",
"next-sanity": "^0.1.12",
"react": "^17.0.1",
......
......@@ -48,7 +48,8 @@ export default function ContactCopy({data, preview}) {
{image.source?.name && (
<ListItem fontSize="xs">Importert fra {image.source.name ?? 'Illustrasjon'}</ListItem>
)}
<ListItem fontSize="xs"><strong>{image.count} referanse(r)</strong></ListItem>
<ListItem fontSize="xs"><strong>{image.isThumbnail ? "Brukt som objekt thumbnail" : ''}</strong></ListItem>
<ListItem fontSize="xs"><strong>{image.countAssetUsage > 0 ? `Brukt som ill. ${image.countAssetUsage} gang(er)` : 'Ikke benyttet som ill. i nettutstilling'}</strong></ListItem>
</List>
</Box>
))}
......
......@@ -2134,20 +2134,20 @@
call-me-maybe "^1.0.1"
glob-to-regexp "^0.3.0"
 
"@next/env@10.1.3":
version "10.1.3"
resolved "https://registry.yarnpkg.com/@next/env/-/env-10.1.3.tgz#29e5d62919b4a7b1859f8d36169848dc3f5ddebe"
integrity sha512-q7z7NvmRs66lCQmVJtKjDxVtMTjSwP6ExVzaH46pbTH60MHgzEJ9H4jXrFLTihPmCIvpAv6Ai04jbS8dcg1ZMQ==
"@next/env@10.2.0":
version "10.2.0"
resolved "https://registry.yarnpkg.com/@next/env/-/env-10.2.0.tgz#154dbce2efa3ad067ebd20b7d0aa9aed775e7c97"
integrity sha512-tsWBsn1Rb6hXRaHc/pWMCpZ4Ipkf3OCbZ54ef5ukgIyEvzzGdGFXQshPP2AF7yb+8yMpunWs7vOMZW3e8oPF6A==
 
"@next/polyfill-module@10.1.3":
version "10.1.3"
resolved "https://registry.yarnpkg.com/@next/polyfill-module/-/polyfill-module-10.1.3.tgz#beafe89bc4235d436fa0ed02c9d2a5d311fb0238"
integrity sha512-1DtUVcuoBJAn5IrxIZQjUG1KTPkiXMYloykPSkRxawimgvG9dRj2kscU+4KGNSFxHoxW9c68VRCb+7MDz5aGGw==
"@next/polyfill-module@10.2.0":
version "10.2.0"
resolved "https://registry.yarnpkg.com/@next/polyfill-module/-/polyfill-module-10.2.0.tgz#61f41110c4b465cc26d113e2054e205df61c3594"
integrity sha512-Nl3GexIUXsmuggkUqrRFyE/2k7UI44JaVzSywtXEyHzxpZm2a5bdMaWuC89pgLiFDDOqmbqyLAbtwm5lNxa7Eg==
 
"@next/react-dev-overlay@10.1.3":
version "10.1.3"
resolved "https://registry.yarnpkg.com/@next/react-dev-overlay/-/react-dev-overlay-10.1.3.tgz#ee1c6033b29be9b383e061bd9705021d131ea445"
integrity sha512-vIgUah3bR9+MKzwU1Ni5ONfYM0VdI42i7jZ+Ei1c0wjwkG9anVnDqhSQ3mVg62GP2nt7ExaaFyf9THbsw5KYXg==
"@next/react-dev-overlay@10.2.0":
version "10.2.0"
resolved "https://registry.yarnpkg.com/@next/react-dev-overlay/-/react-dev-overlay-10.2.0.tgz#4220121abac7e3404cbaf467784aeecca8be46cf"
integrity sha512-PRIAoWog41hLN4iJ8dChKp4ysOX0Q8yiNQ/cwzyqEd3EjugkDV5OiKl3mumGKaApJaIra1MX6j1wgQRuLhuWMA==
dependencies:
"@babel/code-frame" "7.12.11"
anser "1.4.9"
......@@ -2161,10 +2161,10 @@
stacktrace-parser "0.1.10"
strip-ansi "6.0.0"
 
"@next/react-refresh-utils@10.1.3":
version "10.1.3"
resolved "https://registry.yarnpkg.com/@next/react-refresh-utils/-/react-refresh-utils-10.1.3.tgz#65b3e1b9846c02452787fde1d54ad9c54b506dbd"
integrity sha512-P4GJZuLKfD/o42JvGZ/xP4Hxg68vd3NeZxOLqIuQKFjjaYgC2IrO+lE5PTwGmRkytjfprJC+9j7Jss/xQAS6QA==
"@next/react-refresh-utils@10.2.0":
version "10.2.0"
resolved "https://registry.yarnpkg.com/@next/react-refresh-utils/-/react-refresh-utils-10.2.0.tgz#55953b697769c6647f371bc6bcd865a24e1a22e9"
integrity sha512-3I31K9B4hEQRl7yQ44Umyz+szHtuMJrNdwsgJGhoEnUCXSBRHp5wv5Zv8eDa2NewSbe53b2C0oOpivrzmdBakw==
 
"@nodelib/fs.scandir@2.1.4":
version "2.1.4"
......@@ -4677,6 +4677,11 @@ caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.300011
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001216.tgz#47418a082a4f952d14d8964ae739e25efb2060a9"
integrity sha512-1uU+ww/n5WCJRwUcc9UH/W6925Se5aNnem/G5QaSDga2HzvjYMs8vRbekGUN/PnTZ7ezTHcxxTEb9fgiMYwH6Q==
 
caniuse-lite@^1.0.30001202:
version "1.0.30001222"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001222.tgz#2789b8487282cbbe1700924f53951303d28086a9"
integrity sha512-rPmwUK0YMjfMlZVmH6nVB5U3YJ5Wnx3vmT5lnRO3nIKO8bJ+TRWMbGuuiSugDJqESy/lz+1hSrlQEagCtoOAWQ==
canonicalize@^1.0.1:
version "1.0.5"
resolved "https://registry.yarnpkg.com/canonicalize/-/canonicalize-1.0.5.tgz#b43b390ce981d397908bb847c3a8d9614323a47b"
......@@ -5372,21 +5377,19 @@ cssesc@^3.0.0:
resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee"
integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==
 
cssnano-preset-simple@1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/cssnano-preset-simple/-/cssnano-preset-simple-1.2.2.tgz#c631bf79ffec7fdfc4069e2f2da3ca67d99d8413"
integrity sha512-gtvrcRSGtP3hA/wS8mFVinFnQdEsEpm3v4I/s/KmNjpdWaThV/4E5EojAzFXxyT5OCSRPLlHR9iQexAqKHlhGQ==
cssnano-preset-simple@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/cssnano-preset-simple/-/cssnano-preset-simple-2.0.0.tgz#b55e72cb970713f425560a0e141b0335249e2f96"
integrity sha512-HkufSLkaBJbKBFx/7aj5HmCK9Ni/JedRQm0mT2qBzMG/dEuJOLnMt2lK6K1rwOOyV4j9aSY+knbW9WoS7BYpzg==
dependencies:
caniuse-lite "^1.0.30001179"
postcss "^7.0.32"
caniuse-lite "^1.0.30001202"
 
cssnano-simple@1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/cssnano-simple/-/cssnano-simple-1.2.2.tgz#72c2c3970e67123c3b4130894a30dc1050267007"
integrity sha512-4slyYc1w4JhSbhVX5xi9G0aQ42JnRyPg+7l7cqoNyoIDzfWx40Rq3JQZnoAWDu60A4AvKVp9ln/YSUOdhDX68g==
cssnano-simple@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/cssnano-simple/-/cssnano-simple-2.0.0.tgz#930d9dcd8ba105c5a62ce719cb00854da58b5c05"
integrity sha512-0G3TXaFxlh/szPEG/o3VcmCwl0N3E60XNb9YZZijew5eIs6fLjJuOPxQd9yEBaX2p/YfJtt49i4vYi38iH6/6w==
dependencies:
cssnano-preset-simple "1.2.2"
postcss "^7.0.32"
cssnano-preset-simple "^2.0.0"
 
csso@^4.0.2:
version "4.2.0"
......@@ -8407,14 +8410,6 @@ levn@~0.3.0:
prelude-ls "~1.1.2"
type-check "~0.3.2"
 
line-column@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/line-column/-/line-column-1.0.2.tgz#d25af2936b6f4849172b312e4792d1d987bc34a2"
integrity sha1-0lryk2tvSEkXKzEuR5LR2Ye8NKI=
dependencies:
isarray "^1.0.0"
isobject "^2.0.0"
lines-and-columns@^1.1.6:
version "1.1.6"
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00"
......@@ -9065,7 +9060,7 @@ nano-pubsub@^1.0.2:
resolved "https://registry.yarnpkg.com/nano-pubsub/-/nano-pubsub-1.0.2.tgz#34ce776f7af959915b8f7acfe8dd6b9c66f3bde9"
integrity sha1-NM53b3r5WZFbj3rP6N1rnGbzvek=
 
nanoid@^3.1.16:
nanoid@^3.1.22:
version "3.1.22"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.22.tgz#b35f8fb7d151990a8aebd5aa5015c03cf726f844"
integrity sha512-/2ZUaJX2ANuLtTvqTlgqBQNJoQO398KyJgZloL0PZkC0dpysjncRUPsFe3DUPzz/y3h+u7C46np8RMuvF3jsSQ==
......@@ -9121,10 +9116,10 @@ nested-error-stacks@^2.0.0, nested-error-stacks@^2.1.0:
resolved "https://registry.yarnpkg.com/nested-error-stacks/-/nested-error-stacks-2.1.0.tgz#0fbdcf3e13fe4994781280524f8b96b0cdff9c61"
integrity sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug==
 
next-google-fonts@^1.2.1:
version "1.3.0"
resolved "https://registry.yarnpkg.com/next-google-fonts/-/next-google-fonts-1.3.0.tgz#61d3c5c94e3fea3a8a15b979a299f75c8bd059c1"
integrity sha512-aoSCjg4ccV+n9M47971lRkpvx8K61FkWaT/U+PQAt6G15HVOC5d8gsHuEGo3Y9sbdakI5HJUNX0GBTXssLYUtA==
next-google-fonts@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/next-google-fonts/-/next-google-fonts-2.2.0.tgz#b7ef8d1ba880a81ddf4303c4615b51a17e16ee6f"
integrity sha512-TCtNp+uu0vof2X8Xfptfw96Unc3zsUekBY2l4g2mGAX+U8QO/yfAaEioGhFCwU05M8NbMgwP5C8V40Vtwp87iQ==
 
next-images@^1.7.0:
version "1.7.0"
......@@ -9146,17 +9141,17 @@ next-sanity@^0.1.12:
picosanity "^2.3.0"
use-deep-compare-effect "^1.6.1"
 
next@^10.1.3:
version "10.1.3"
resolved "https://registry.yarnpkg.com/next/-/next-10.1.3.tgz#e26e8371343a42bc2ba9be5cb253a7d324d03673"
integrity sha512-8Jf38F+s0YcXXkJGF5iUxOqSmbHrey0fX5Epc43L0uwDKmN2jK9vhc2ihCwXC1pmu8d2m/8wfTiXRJKGti55yw==
next@^10.2.0:
version "10.2.0"
resolved "https://registry.yarnpkg.com/next/-/next-10.2.0.tgz#6654cc925d8abcb15474fa062fc6b3ee527dd6dc"
integrity sha512-PKDKCSF7s82xudu3kQhOEaokxggpbLEWouEUtzP6OqV0YqKYHF+Ff+BFLycEem8ixtTM2M6ElN0VRJcskJfxPQ==
dependencies:
"@babel/runtime" "7.12.5"
"@hapi/accept" "5.0.1"
"@next/env" "10.1.3"
"@next/polyfill-module" "10.1.3"
"@next/react-dev-overlay" "10.1.3"
"@next/react-refresh-utils" "10.1.3"
"@next/env" "10.2.0"
"@next/polyfill-module" "10.2.0"
"@next/react-dev-overlay" "10.2.0"
"@next/react-refresh-utils" "10.2.0"
"@opentelemetry/api" "0.14.0"
assert "2.0.0"
ast-types "0.13.2"
......@@ -9168,7 +9163,7 @@ next@^10.1.3:
chokidar "3.5.1"
constants-browserify "1.0.0"
crypto-browserify "3.12.0"
cssnano-simple "1.2.2"
cssnano-simple "2.0.0"
domain-browser "4.19.0"
encoding "0.1.13"
etag "1.8.1"
......@@ -9184,7 +9179,7 @@ next@^10.1.3:
p-limit "3.1.0"
path-browserify "1.0.1"
pnp-webpack-plugin "1.6.4"
postcss "8.1.7"
postcss "8.2.13"
process "0.11.10"
prop-types "15.7.2"
querystring-es3 "0.2.1"
......@@ -10253,14 +10248,13 @@ postcss@7.0.32:
source-map "^0.6.1"
supports-color "^6.1.0"
 
postcss@8.1.7:
version "8.1.7"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.1.7.tgz#ff6a82691bd861f3354fd9b17b2332f88171233f"
integrity sha512-llCQW1Pz4MOPwbZLmOddGM9eIJ8Bh7SZ2Oj5sxZva77uVaotYDsYTch1WBTNu7fUY0fpWp0fdt7uW40D4sRiiQ==
postcss@8.2.13:
version "8.2.13"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.2.13.tgz#dbe043e26e3c068e45113b1ed6375d2d37e2129f"
integrity sha512-FCE5xLH+hjbzRdpbRb1IMCvPv9yZx2QnDarBEYSN0N0HYk+TcXsEhwdFcFb+SRWOKzKGErhIEbBK2ogyLdTtfQ==
dependencies:
colorette "^1.2.1"
line-column "^1.0.2"
nanoid "^3.1.16"
colorette "^1.2.2"
nanoid "^3.1.22"
source-map "^0.6.1"
 
postcss@^7.0.14, postcss@^7.0.17, postcss@^7.0.2, postcss@^7.0.26, postcss@^7.0.32, postcss@^7.0.35, postcss@^7.0.5, postcss@^7.0.6:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment