The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
examples(slack-clone): Sync changes with next.js repo. (#139)
Thorsten Schaefffed822f48c5e
diff --git a/examples/slack-clone/.env.local.example b/examples/slack-clone/.env.local.examplenew file mode 100644index 00000000000..b6fedec92e3--- /dev/null+++ b/examples/slack-clone/.env.local.example@@ -0,0 +1,2 @@+NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co+NEXT_PUBLIC_SUPABASE_KEY=your-anon-key\ No newline at end of filediff --git a/examples/slack-clone/.gitignore b/examples/slack-clone/.gitignoreindex 922d92a5745..141ec63810c 100644--- a/examples/slack-clone/.gitignore+++ b/examples/slack-clone/.gitignore@@ -18,6 +18,7 @@# misc.DS_Store.env*+!.env.local.example# debugnpm-debug.log*diff --git a/examples/slack-clone/README.md b/examples/slack-clone/README.mdindex 61bed00fd55..6bca2129c1e 100644--- a/examples/slack-clone/README.md+++ b/examples/slack-clone/README.md@@ -1,50 +1,106 @@-# Slack Clone+# Realtime chat example using Supabase-Deploy a simple, real-time Slack clone using Supabase (Postgres) and Vercel (Next.js).+This is a full-stack Slack clone example using:-<p>-<kbd>-<img src="https://media.giphy.com/media/J07U8iblJhlKDqZOxV/giphy.gif" alt="Demo"/>-</kbd>-</p>+- Frontend:+ - Next.js.+ - [Supabase.js](https://supabase.io/docs/library/getting-started) for user management and realtime data syncing.+- Backend:+ - [app.supabase.io/](https://app.supabase.io/): hosted Postgres database with restful API for usage with Supabase.js.+## Demo-## How to use+- Live demo: http://supabase-slack-clone.supabase.vercel.app/+- CodeSandbox: https://codesandbox.io/s/github/supabase/supabase/tree/master/examples/slack-clone+- Video tutorial: https://www.loom.com/share/31eec9b656e44b8d87c88bde8a465676++-<a href="https://www.loom.com/share/31eec9b656e44b8d87c88bde8a465676"> <p>Watch Video: how to use this repo</p> <img style="max-width:300px;" src="https://cdn.loom.com/sessions/thumbnails/31eec9b656e44b8d87c88bde8a465676-with-play.gif"> </a>+## Deploy your own-**1. Create new project**+### 1. Create new projectSign up to Supabase - [https://app.supabase.io](https://app.supabase.io) and create a new project. Wait for your database to start.-**2. Run "Slack Clone" Quickstart**+### 2. Run "Slack Clone" QuickstartOnce your database has started, run the "Slack Clone" quickstart.-**3. Get the URL and Key**+### 3. Get the URL and KeyGo to the Project Settings (the cog icon), open the API tab, and find your API URL and `anon` key, you'll need these in the next step.+The `anon` key is your client-side API key. It allows "anonymous access" to your database, until the user has logged in. Once they have logged in, the keys will switch to the user's own login token. This enables row level security for your data. Read more about this [below](#postgres-row-level-security).+-**4. Deploy the front end**+**_NOTE_**: The `service_role` key has full access to your data, bypassing any security policies. These keys have to be kept secret and are meant to be used in server environments and never on a client or browser.-Deploy!+### 4. Deploy the Next.js client[](https://vercel.com/import/git?s=https%3A%2F%2Fgithub.com%2Fsupabase%2Fsupabase%2Ftree%2Fmaster%2Fexamples%2Fslack-clone&env=NEXT_PUBLIC_SUPABASE_URL,NEXT_PUBLIC_SUPABASE_KEY&envDescription=Find%20the%20Supabase%20URL%20and%20key%20in%20the%20your%20auto-generated%20docs%20at%20app.supabase.io&project-name=supabase-slack-clone&repo-name=supabase-slack-clone)-You will be asked for a `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_KEY`. This is the API URL and `anon` key from step 3.+You will be asked for a `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_KEY`. Use the API URL and `anon` key from [step 3](#3.-get-the-url-and-key).++## How to use++### Using `create-next-app`++Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example locally:++```bash+npx create-next-app --example with-supabase-auth-realtime-db realtime-chat-app+# or+yarn create next-app --example with-supabase-auth-realtime-db realtime-chat-app+```++### Download manually++Download the example:++```bash+curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-supabase-auth-realtime-db+cd with-supabase-auth-realtime-db+```++### Required configuration++Copy the `.env.local.example` file into a file named `.env.local` in the root directory of the example:++```bash+cp .env.local.example .env.local+```++Set your Supabase details from from [step 3](#3.-get-the-url-and-key) above:++```bash+NEXT_PUBLIC_SUPABASE_URL=<replace-with-your-API-url>+NEXT_PUBLIC_SUPABASE_KEY=<replace-with-your-anon-key>+```+### Run the development server-## For developers+Now install the dependencies and start the development server.++```bash+npm install+npm run dev+# or+yarn+yarn dev+```++Visit http://localhost:3000 and start chatting! Open a channel across two browser tabs to see everything getting updated in realtime 🥳++## Supabase details### Postgres Row level security-This project uses very high-level Authorization using Postgres' Role Level Security.+This project uses very high-level Authorization using Postgres' Role Level Security.When you start a Postgres database on Supabase, we populate it with an `auth` schema, and some helper functions.-When a user logs in, they are issued a JWT with the role `authenticated` and thier UUID.+When a user logs in, they are issued a JWT with the role `authenticated` and thier UUID.We can use these details to provide fine-grained control over what each user can and cannot do.This is a trimmed-down schema, with the policies:@@ -85,31 +141,8 @@ CREATE POLICY "Allow individual insert access" on public.messages FOR INSERT WITCREATE POLICY "Allow individual update access" on public.messages FOR UPDATE USING ( auth.uid() = user_id );```+## Authors-### Run locally--If you want to run this without deploying:--**Clone this folder**--```sh-# Copy the repo to your machine-git clone --no-checkout https://github.com/supabase/supabase-cd supabase--# Checkout this-git sparse-checkout init --cone-git sparse-checkout set examples/slack-clone-basic-cd examples/slack-clone-basic-```--**Start the frontend**--```sh-npm install # install npm dependencies-npm run dev # start Next.js-```--Visit http://localhost:3000 and start slacking! Open in two tabs to see everything getting updated in realtime-+- [Supabase](https://supabase.io)+Supabase is open source, we'd love for you to follow along and get involved at https://github.com/supabase/supabasediff --git a/examples/slack-clone/components/Layout.js b/examples/slack-clone/components/Layout.jsindex 9d30ddaacf3..1b94dea575a 100644--- a/examples/slack-clone/components/Layout.js+++ b/examples/slack-clone/components/Layout.js@@ -6,13 +6,13 @@ import { addChannel } from '~/lib/Store'export default function Layout(props) {const { signOut } = useContext(UserContext)- const slugify = text => {+ const slugify = (text) => {return text.toString().toLowerCase().replace(/\s+/g, '-') // Replace spaces with -- .replace(/[^\w\-]+/g, '') // Remove all non-word chars- .replace(/\-\-+/g, '-') // Replace multiple - with single -+ .replace(/[^\w-]+/g, '') // Remove all non-word chars+ .replace(/--+/g, '-') // Replace multiple - with single -.replace(/^-+/, '') // Trim - from start of text.replace(/-+$/, '') // Trim - from end of text}@@ -20,9 +20,7 @@ export default function Layout(props) {const newChannel = async () => {const slug = prompt('Please enter your name')if (slug) {- // let { body } = awaitaddChannel(slugify(slug))- // console.log('body', body)}}@@ -37,7 +35,11 @@ export default function Layout(props) {<h4 className="font-bold">Channels</h4><ul className="channel-list">{props.channels.map((x) => (- <SidebarItem channel={x} key={x.id} isActiveChannel={x.id == props.activeChannelId} />+ <SidebarItem+ channel={x}+ key={x.id}+ isActiveChannel={x.id === props.activeChannelId}+ />))}</ul></div>diff --git a/examples/slack-clone/components/MessageInput.js b/examples/slack-clone/components/MessageInput.jsindex 864f3a80042..1c0e3501beb 100644--- a/examples/slack-clone/components/MessageInput.js+++ b/examples/slack-clone/components/MessageInput.js@@ -1,27 +1,28 @@import { useState } from 'react'-const MessageInput = ({onSubmit}) => {+const MessageInput = ({ onSubmit }) => {const [messageText, setMessageText] = useState('')-- const submitOnEnter = event => {++ const submitOnEnter = (event) => {// Watch for enter keyif (event.keyCode === 13) {onSubmit(messageText)setMessageText('')}}-+return (<>- <input- className="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"- type="text"- placeholder="Send a message"- value={messageText}- onChange={e => setMessageText(e.target.value)}- onKeyDown={e => submitOnEnter(e)}- />+ <input+ className="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"+ type="text"+ placeholder="Send a message"+ value={messageText}+ onChange={(e) => setMessageText(e.target.value)}+ onKeyDown={(e) => submitOnEnter(e)}+ /></>- )}+ )+}export default MessageInputdiff --git a/examples/slack-clone/jsconfig.json b/examples/slack-clone/jsconfig.jsonindex bc6b788193a..7af8f6e0edd 100644--- a/examples/slack-clone/jsconfig.json+++ b/examples/slack-clone/jsconfig.json@@ -5,4 +5,4 @@"~/*": ["./*"]}}-}\ No newline at end of file+}diff --git a/examples/slack-clone/lib/Store.js b/examples/slack-clone/lib/Store.jsindex 7ebd097c0b8..99240789627 100644--- a/examples/slack-clone/lib/Store.js+++ b/examples/slack-clone/lib/Store.js@@ -9,9 +9,9 @@ const supabase = createClient(/*** @param {number} channelId the currently selected Channel*/-export const useStore = props => {- const [channels, setChannels] = useState(new Array())- const [messages, setMessages] = useState(new Array())+export const useStore = (props) => {+ const [channels, setChannels] = useState([])+ const [messages, setMessages] = useState([])const [users] = useState(new Map())const [newMessage, handleNewMessage] = useState(null)const [newChannel, handleNewChannel] = useState(null)@@ -24,17 +24,17 @@ export const useStore = props => {// Listen for new messagesconst messageListener = supabase.from('messages')- .on('INSERT', payload => handleNewMessage(payload.new))+ .on('INSERT', (payload) => handleNewMessage(payload.new)).subscribe()// Listen for changes to our usersconst userListener = supabase.from('users')- .on('*', payload => handleNewOrUpdatedUser(payload.new))+ .on('*', (payload) => handleNewOrUpdatedUser(payload.new)).subscribe()// Listen for new channelsconst channelListener = supabase.from('channels')- .on('INSERT', payload => handleNewChannel(payload.new))+ .on('INSERT', (payload) => handleNewChannel(payload.new)).subscribe()// Cleanup on unmountreturn () => {@@ -47,38 +47,42 @@ export const useStore = props => {// Update when the route changesuseEffect(() => {if (props?.channelId > 0) {- fetchMessages(props.channelId, messages => {- messages.forEach(x => users.set(x.user_id, x.author))+ fetchMessages(props.channelId, (messages) => {+ messages.forEach((x) => users.set(x.user_id, x.author))setMessages(messages)})}+ // eslint-disable-next-line react-hooks/exhaustive-deps}, [props.channelId])// New message recieved from PostgresuseEffect(() => {- if (newMessage && newMessage.channel_id == props.channelId) {+ if (newMessage && newMessage.channel_id === Number(props.channelId)) {const handleAsync = async () => {let authorId = newMessage.user_id- if (!users.get(authorId)) await fetchUser(authorId, user => handleNewOrUpdatedUser(user))+ if (!users.get(authorId)) await fetchUser(authorId, (user) => handleNewOrUpdatedUser(user))setMessages(messages.concat(newMessage))}handleAsync()}+ // eslint-disable-next-line react-hooks/exhaustive-deps}, [newMessage])// New channel recieved from PostgresuseEffect(() => {if (newChannel) setChannels(channels.concat(newChannel))+ // eslint-disable-next-line react-hooks/exhaustive-deps}, [newChannel])// New or updated user recieved from PostgresuseEffect(() => {if (newOrUpdatedUser) users.set(newOrUpdatedUser.id, newOrUpdatedUser)+ // eslint-disable-next-line react-hooks/exhaustive-deps}, [newOrUpdatedUser])return {// We can export computed values here to map the authors to each message- messages: messages.map(x => ({ ...x, author: users.get(x.user_id) })),+ messages: messages.map((x) => ({ ...x, author: users.get(x.user_id) })),channels: channels.sort((a, b) => a.slug.localeCompare(b.slug)),users,}@@ -88,7 +92,7 @@ export const useStore = props => {* Fetch all channels* @param {function} setState Optionally pass in a hook or callback to set the state*/-export const fetchChannels = async setState => {+export const fetchChannels = async (setState) => {try {let { body } = await supabase.from('channels').select('*')if (setState) setState(body)@@ -105,10 +109,7 @@ export const fetchChannels = async setState => {*/export const fetchUser = async (userId, setState) => {try {- let { body } = await supabase- .from('users')- .eq('id', userId)- .select(`*`)+ let { body } = await supabase.from('users').eq('id', userId).select(`*`)let user = body[0]if (setState) setState(user)return user@@ -140,7 +141,7 @@ export const fetchMessages = async (channelId, setState) => {* Insert a new channel into the DB* @param {string} slug The channel name*/-export const addChannel = async slug => {+export const addChannel = async (slug) => {try {let { body } = await supabase.from('channels').insert([{ slug }])return bodydiff --git a/examples/slack-clone/package-lock.json b/examples/slack-clone/package-lock.jsonindex 6516ca46706..fa831fb46f7 100644--- a/examples/slack-clone/package-lock.json+++ b/examples/slack-clone/package-lock.json@@ -11,29 +11,19 @@"requires": {"cross-fetch": "3.0.5","lru-cache": "5.1.1"- },- "dependencies": {- "cross-fetch": {- "version": "3.0.5",- "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.5.tgz",- "integrity": "sha512-FFLcLtraisj5eteosnX1gf01qYDCOc4fDy0+euOt8Kn9YBY2NtXL/pCoYPavw24NIQkQqm5ZOLsGD5Zzj0gyew==",- "requires": {- "node-fetch": "2.6.0"- }- }}},"@ampproject/toolbox-optimizer": {- "version": "2.5.3",- "resolved": "https://registry.npmjs.org/@ampproject/toolbox-optimizer/-/toolbox-optimizer-2.5.3.tgz",- "integrity": "sha512-D6j7nU02sLRaW+ZKd1UNyUESu9GVLhVrtGHQ/rORj87ZJS5s0DCpoIDbq1slKQDCDHl7RknQ3A6CVm14ihXV2A==",- "requires": {- "@ampproject/toolbox-core": "^2.5.1",- "@ampproject/toolbox-runtime-version": "^2.5.1",- "@ampproject/toolbox-script-csp": "^2.3.0",- "@ampproject/toolbox-validator-rules": "^2.3.0",+ "version": "2.5.14",+ "resolved": "https://registry.npmjs.org/@ampproject/toolbox-optimizer/-/toolbox-optimizer-2.5.14.tgz",+ "integrity": "sha512-UTXKVwDKn/xsNOHYroFUtQRxnukdZuiYj7iM1rCAvRmDT9MqrtMTVG8boGjxt5aHLgCnrUZEMz+8d61iBYZeDQ==",+ "requires": {+ "@ampproject/toolbox-core": "^2.5.4",+ "@ampproject/toolbox-runtime-version": "^2.5.4",+ "@ampproject/toolbox-script-csp": "^2.5.4",+ "@ampproject/toolbox-validator-rules": "^2.5.4","abort-controller": "3.0.0",- "cross-fetch": "3.0.4",+ "cross-fetch": "3.0.5","cssnano": "4.1.10","dom-serializer": "1.0.1","domhandler": "3.0.0",@@ -44,7 +34,7 @@"normalize-html-whitespace": "1.0.0","postcss": "7.0.32","postcss-safe-parser": "4.0.2",- "terser": "4.7.0"+ "terser": "4.8.0"},"dependencies": {"ansi-styles": {@@ -137,16 +127,6 @@"integrity": "sha512-bS7uF+h0s5aiklc/iRaujiSsiladOsZBLrJ6QImJDXvubCAQtvE7om7ShlGSXixkMAO0OVMDWyuwLlEy8V1Ing==","requires": {"cross-fetch": "3.0.5"- },- "dependencies": {- "cross-fetch": {- "version": "3.0.5",- "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.5.tgz",- "integrity": "sha512-FFLcLtraisj5eteosnX1gf01qYDCOc4fDy0+euOt8Kn9YBY2NtXL/pCoYPavw24NIQkQqm5ZOLsGD5Zzj0gyew==",- "requires": {- "node-fetch": "2.6.0"- }- }}},"@babel/code-frame": {@@ -158,9 +138,9 @@}},"@babel/compat-data": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.10.5.tgz",- "integrity": "sha512-mPVoWNzIpYJHbWje0if7Ck36bpbtTvIxOi9+6WSK9wjGEXearAqlwBoTQvVjsAY2VIwgcs8V940geY3okzRCEw==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.11.0.tgz",+ "integrity": "sha512-TPSvJfv73ng0pfnEOh17bYMPQbI95+nGWc71Ss4vZdRBHTDqmM9Z8ZV4rYz8Ks7sfzc95n30k6ODIq5UGnXcYQ==","requires": {"browserslist": "^4.12.0","invariant": "^2.2.4",@@ -421,9 +401,9 @@"integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw=="},"@babel/types": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.5.tgz",- "integrity": "sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",+ "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==","requires": {"@babel/helper-validator-identifier": "^7.10.4","lodash": "^4.17.19",@@ -452,9 +432,9 @@"integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw=="},"@babel/types": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.5.tgz",- "integrity": "sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",+ "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==","requires": {"@babel/helper-validator-identifier": "^7.10.4","lodash": "^4.17.19",@@ -483,9 +463,9 @@"integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw=="},"@babel/types": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.5.tgz",- "integrity": "sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",+ "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==","requires": {"@babel/helper-validator-identifier": "^7.10.4","lodash": "^4.17.19",@@ -515,9 +495,9 @@"integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw=="},"@babel/types": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.5.tgz",- "integrity": "sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",+ "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==","requires": {"@babel/helper-validator-identifier": "^7.10.4","lodash": "^4.17.19",@@ -595,11 +575,11 @@"integrity": "sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg=="},"@babel/helper-split-export-declaration": {- "version": "7.10.4",- "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.4.tgz",- "integrity": "sha512-pySBTeoUff56fL5CBU2hWm9TesA4r/rOkI9DyJLvvgz09MB9YtfIYe3iBriVaYNaPe+Alua0vBIOVOLs2buWhg==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.11.0.tgz",+ "integrity": "sha512-74Vejvp6mHkGE+m+k5vHY93FX2cAtrw1zXrZXRlG4l410Nm9PxfEiVTn1PjDPV5SnmieiueY4AFg2xqhNFuuZg==","requires": {- "@babel/types": "^7.10.4"+ "@babel/types": "^7.11.0"}},"@babel/helper-validator-identifier": {@@ -618,9 +598,9 @@}},"@babel/parser": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.10.5.tgz",- "integrity": "sha512-wfryxy4bE1UivvQKSQDU4/X6dr+i8bctjUjj8Zyt3DQy7NtPizJXT8M52nqpNKL+nq2PW8lxk4ZqLj0fD4B4hQ=="+ "version": "7.11.3",+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.3.tgz",+ "integrity": "sha512-REo8xv7+sDxkKvoxEywIdsNFiZLybwdI7hcT5uEPyQrSMB4YQ973BfC9OOrD/81MaIjh6UxdulIQXkjmiH3PcA=="},"@babel/template": {"version": "7.10.4",@@ -633,9 +613,9 @@}},"@babel/types": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.5.tgz",- "integrity": "sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",+ "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==","requires": {"@babel/helper-validator-identifier": "^7.10.4","lodash": "^4.17.19",@@ -760,9 +740,9 @@}},"@babel/parser": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.10.5.tgz",- "integrity": "sha512-wfryxy4bE1UivvQKSQDU4/X6dr+i8bctjUjj8Zyt3DQy7NtPizJXT8M52nqpNKL+nq2PW8lxk4ZqLj0fD4B4hQ=="+ "version": "7.11.3",+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.3.tgz",+ "integrity": "sha512-REo8xv7+sDxkKvoxEywIdsNFiZLybwdI7hcT5uEPyQrSMB4YQ973BfC9OOrD/81MaIjh6UxdulIQXkjmiH3PcA=="},"@babel/template": {"version": "7.10.4",@@ -775,9 +755,9 @@}},"@babel/types": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.5.tgz",- "integrity": "sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",+ "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==","requires": {"@babel/helper-validator-identifier": "^7.10.4","lodash": "^4.17.19",@@ -858,11 +838,11 @@}},"@babel/generator": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.10.5.tgz",- "integrity": "sha512-3vXxr3FEW7E7lJZiWQ3bM4+v/Vyr9C+hpolQ8BGFr9Y8Ri2tFLWTixmwKBafDujO1WVah4fhZBeU1bieKdghig==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.11.0.tgz",+ "integrity": "sha512-fEm3Uzw7Mc9Xi//qU20cBKatTfs2aOtKqmvy/Vm7RkJEGFQ4xc9myCfbXxqK//ZS8MR/ciOHw6meGASJuKmDfQ==","requires": {- "@babel/types": "^7.10.5",+ "@babel/types": "^7.11.0","jsesc": "^2.5.1","source-map": "^0.5.0"}@@ -886,11 +866,11 @@}},"@babel/helper-split-export-declaration": {- "version": "7.10.4",- "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.4.tgz",- "integrity": "sha512-pySBTeoUff56fL5CBU2hWm9TesA4r/rOkI9DyJLvvgz09MB9YtfIYe3iBriVaYNaPe+Alua0vBIOVOLs2buWhg==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.11.0.tgz",+ "integrity": "sha512-74Vejvp6mHkGE+m+k5vHY93FX2cAtrw1zXrZXRlG4l410Nm9PxfEiVTn1PjDPV5SnmieiueY4AFg2xqhNFuuZg==","requires": {- "@babel/types": "^7.10.4"+ "@babel/types": "^7.11.0"}},"@babel/helper-validator-identifier": {@@ -909,9 +889,9 @@}},"@babel/parser": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.10.5.tgz",- "integrity": "sha512-wfryxy4bE1UivvQKSQDU4/X6dr+i8bctjUjj8Zyt3DQy7NtPizJXT8M52nqpNKL+nq2PW8lxk4ZqLj0fD4B4hQ=="+ "version": "7.11.3",+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.3.tgz",+ "integrity": "sha512-REo8xv7+sDxkKvoxEywIdsNFiZLybwdI7hcT5uEPyQrSMB4YQ973BfC9OOrD/81MaIjh6UxdulIQXkjmiH3PcA=="},"@babel/template": {"version": "7.10.4",@@ -924,25 +904,25 @@}},"@babel/traverse": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.10.5.tgz",- "integrity": "sha512-yc/fyv2gUjPqzTz0WHeRJH2pv7jA9kA7mBX2tXl/x5iOE81uaVPuGPtaYk7wmkx4b67mQ7NqI8rmT2pF47KYKQ==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.0.tgz",+ "integrity": "sha512-ZB2V+LskoWKNpMq6E5UUCrjtDUh5IOTAyIl0dTjIEoXum/iKWkoIEKIRDnUucO6f+2FzNkE0oD4RLKoPIufDtg==","requires": {"@babel/code-frame": "^7.10.4",- "@babel/generator": "^7.10.5",+ "@babel/generator": "^7.11.0","@babel/helper-function-name": "^7.10.4",- "@babel/helper-split-export-declaration": "^7.10.4",- "@babel/parser": "^7.10.5",- "@babel/types": "^7.10.5",+ "@babel/helper-split-export-declaration": "^7.11.0",+ "@babel/parser": "^7.11.0",+ "@babel/types": "^7.11.0","debug": "^4.1.0","globals": "^11.1.0","lodash": "^4.17.19"}},"@babel/types": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.5.tgz",- "integrity": "sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",+ "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==","requires": {"@babel/helper-validator-identifier": "^7.10.4","lodash": "^4.17.19",@@ -1060,9 +1040,9 @@"integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw=="},"@babel/types": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.5.tgz",- "integrity": "sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",+ "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==","requires": {"@babel/helper-validator-identifier": "^7.10.4","lodash": "^4.17.19",@@ -1326,11 +1306,11 @@}},"@babel/generator": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.10.5.tgz",- "integrity": "sha512-3vXxr3FEW7E7lJZiWQ3bM4+v/Vyr9C+hpolQ8BGFr9Y8Ri2tFLWTixmwKBafDujO1WVah4fhZBeU1bieKdghig==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.11.0.tgz",+ "integrity": "sha512-fEm3Uzw7Mc9Xi//qU20cBKatTfs2aOtKqmvy/Vm7RkJEGFQ4xc9myCfbXxqK//ZS8MR/ciOHw6meGASJuKmDfQ==","requires": {- "@babel/types": "^7.10.5",+ "@babel/types": "^7.11.0","jsesc": "^2.5.1","source-map": "^0.5.0"}@@ -1354,11 +1334,11 @@}},"@babel/helper-split-export-declaration": {- "version": "7.10.4",- "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.4.tgz",- "integrity": "sha512-pySBTeoUff56fL5CBU2hWm9TesA4r/rOkI9DyJLvvgz09MB9YtfIYe3iBriVaYNaPe+Alua0vBIOVOLs2buWhg==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.11.0.tgz",+ "integrity": "sha512-74Vejvp6mHkGE+m+k5vHY93FX2cAtrw1zXrZXRlG4l410Nm9PxfEiVTn1PjDPV5SnmieiueY4AFg2xqhNFuuZg==","requires": {- "@babel/types": "^7.10.4"+ "@babel/types": "^7.11.0"}},"@babel/helper-validator-identifier": {@@ -1377,9 +1357,9 @@}},"@babel/parser": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.10.5.tgz",- "integrity": "sha512-wfryxy4bE1UivvQKSQDU4/X6dr+i8bctjUjj8Zyt3DQy7NtPizJXT8M52nqpNKL+nq2PW8lxk4ZqLj0fD4B4hQ=="+ "version": "7.11.3",+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.3.tgz",+ "integrity": "sha512-REo8xv7+sDxkKvoxEywIdsNFiZLybwdI7hcT5uEPyQrSMB4YQ973BfC9OOrD/81MaIjh6UxdulIQXkjmiH3PcA=="},"@babel/template": {"version": "7.10.4",@@ -1392,25 +1372,25 @@}},"@babel/traverse": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.10.5.tgz",- "integrity": "sha512-yc/fyv2gUjPqzTz0WHeRJH2pv7jA9kA7mBX2tXl/x5iOE81uaVPuGPtaYk7wmkx4b67mQ7NqI8rmT2pF47KYKQ==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.0.tgz",+ "integrity": "sha512-ZB2V+LskoWKNpMq6E5UUCrjtDUh5IOTAyIl0dTjIEoXum/iKWkoIEKIRDnUucO6f+2FzNkE0oD4RLKoPIufDtg==","requires": {"@babel/code-frame": "^7.10.4",- "@babel/generator": "^7.10.5",+ "@babel/generator": "^7.11.0","@babel/helper-function-name": "^7.10.4",- "@babel/helper-split-export-declaration": "^7.10.4",- "@babel/parser": "^7.10.5",- "@babel/types": "^7.10.5",+ "@babel/helper-split-export-declaration": "^7.11.0",+ "@babel/parser": "^7.11.0",+ "@babel/types": "^7.11.0","debug": "^4.1.0","globals": "^11.1.0","lodash": "^4.17.19"}},"@babel/types": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.5.tgz",- "integrity": "sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",+ "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==","requires": {"@babel/helper-validator-identifier": "^7.10.4","lodash": "^4.17.19",@@ -1799,6 +1779,36 @@}}},+ "@babel/helper-skip-transparent-expression-wrappers": {+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.11.0.tgz",+ "integrity": "sha512-0XIdiQln4Elglgjbwo9wuJpL/K7AGCY26kmEt0+pRP0TAj4jjyNq1MjoRvikrTVqKcx4Gysxt4cXvVFXP/JO2Q==",+ "requires": {+ "@babel/types": "^7.11.0"+ },+ "dependencies": {+ "@babel/helper-validator-identifier": {+ "version": "7.10.4",+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz",+ "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw=="+ },+ "@babel/types": {+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",+ "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",+ "requires": {+ "@babel/helper-validator-identifier": "^7.10.4",+ "lodash": "^4.17.19",+ "to-fast-properties": "^2.0.0"+ }+ },+ "to-fast-properties": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",+ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4="+ }+ }+ },"@babel/helper-split-export-declaration": {"version": "7.8.3","resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz",@@ -1832,11 +1842,11 @@}},"@babel/generator": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.10.5.tgz",- "integrity": "sha512-3vXxr3FEW7E7lJZiWQ3bM4+v/Vyr9C+hpolQ8BGFr9Y8Ri2tFLWTixmwKBafDujO1WVah4fhZBeU1bieKdghig==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.11.0.tgz",+ "integrity": "sha512-fEm3Uzw7Mc9Xi//qU20cBKatTfs2aOtKqmvy/Vm7RkJEGFQ4xc9myCfbXxqK//ZS8MR/ciOHw6meGASJuKmDfQ==","requires": {- "@babel/types": "^7.10.5",+ "@babel/types": "^7.11.0","jsesc": "^2.5.1","source-map": "^0.5.0"}@@ -1860,11 +1870,11 @@}},"@babel/helper-split-export-declaration": {- "version": "7.10.4",- "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.4.tgz",- "integrity": "sha512-pySBTeoUff56fL5CBU2hWm9TesA4r/rOkI9DyJLvvgz09MB9YtfIYe3iBriVaYNaPe+Alua0vBIOVOLs2buWhg==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.11.0.tgz",+ "integrity": "sha512-74Vejvp6mHkGE+m+k5vHY93FX2cAtrw1zXrZXRlG4l410Nm9PxfEiVTn1PjDPV5SnmieiueY4AFg2xqhNFuuZg==","requires": {- "@babel/types": "^7.10.4"+ "@babel/types": "^7.11.0"}},"@babel/helper-validator-identifier": {@@ -1883,9 +1893,9 @@}},"@babel/parser": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.10.5.tgz",- "integrity": "sha512-wfryxy4bE1UivvQKSQDU4/X6dr+i8bctjUjj8Zyt3DQy7NtPizJXT8M52nqpNKL+nq2PW8lxk4ZqLj0fD4B4hQ=="+ "version": "7.11.3",+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.3.tgz",+ "integrity": "sha512-REo8xv7+sDxkKvoxEywIdsNFiZLybwdI7hcT5uEPyQrSMB4YQ973BfC9OOrD/81MaIjh6UxdulIQXkjmiH3PcA=="},"@babel/template": {"version": "7.10.4",@@ -1898,25 +1908,25 @@}},"@babel/traverse": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.10.5.tgz",- "integrity": "sha512-yc/fyv2gUjPqzTz0WHeRJH2pv7jA9kA7mBX2tXl/x5iOE81uaVPuGPtaYk7wmkx4b67mQ7NqI8rmT2pF47KYKQ==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.0.tgz",+ "integrity": "sha512-ZB2V+LskoWKNpMq6E5UUCrjtDUh5IOTAyIl0dTjIEoXum/iKWkoIEKIRDnUucO6f+2FzNkE0oD4RLKoPIufDtg==","requires": {"@babel/code-frame": "^7.10.4",- "@babel/generator": "^7.10.5",+ "@babel/generator": "^7.11.0","@babel/helper-function-name": "^7.10.4",- "@babel/helper-split-export-declaration": "^7.10.4",- "@babel/parser": "^7.10.5",- "@babel/types": "^7.10.5",+ "@babel/helper-split-export-declaration": "^7.11.0",+ "@babel/parser": "^7.11.0",+ "@babel/types": "^7.11.0","debug": "^4.1.0","globals": "^11.1.0","lodash": "^4.17.19"}},"@babel/types": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.5.tgz",- "integrity": "sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",+ "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==","requires": {"@babel/helper-validator-identifier": "^7.10.4","lodash": "^4.17.19",@@ -2594,9 +2604,9 @@}},"@babel/plugin-transform-block-scoping": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.10.5.tgz",- "integrity": "sha512-6Ycw3hjpQti0qssQcA6AMSFDHeNJ++R6dIMnpRqUjFeBBTmTDPa8zgF90OVfTvAo11mXZTlVUViY1g8ffrURLg==",+ "version": "7.11.1",+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.11.1.tgz",+ "integrity": "sha512-00dYeDE0EVEHuuM+26+0w/SCL0BH2Qy7LwHuI4Hi4MH5gkC8/AqMN5uWFJIsoXZrAphiMm1iXzBw6L2T+eA0ew==","requires": {"@babel/helper-plugin-utils": "^7.10.4"},@@ -2655,11 +2665,11 @@"integrity": "sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg=="},"@babel/helper-split-export-declaration": {- "version": "7.10.4",- "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.4.tgz",- "integrity": "sha512-pySBTeoUff56fL5CBU2hWm9TesA4r/rOkI9DyJLvvgz09MB9YtfIYe3iBriVaYNaPe+Alua0vBIOVOLs2buWhg==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.11.0.tgz",+ "integrity": "sha512-74Vejvp6mHkGE+m+k5vHY93FX2cAtrw1zXrZXRlG4l410Nm9PxfEiVTn1PjDPV5SnmieiueY4AFg2xqhNFuuZg==","requires": {- "@babel/types": "^7.10.4"+ "@babel/types": "^7.11.0"}},"@babel/helper-validator-identifier": {@@ -2678,9 +2688,9 @@}},"@babel/parser": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.10.5.tgz",- "integrity": "sha512-wfryxy4bE1UivvQKSQDU4/X6dr+i8bctjUjj8Zyt3DQy7NtPizJXT8M52nqpNKL+nq2PW8lxk4ZqLj0fD4B4hQ=="+ "version": "7.11.3",+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.3.tgz",+ "integrity": "sha512-REo8xv7+sDxkKvoxEywIdsNFiZLybwdI7hcT5uEPyQrSMB4YQ973BfC9OOrD/81MaIjh6UxdulIQXkjmiH3PcA=="},"@babel/template": {"version": "7.10.4",@@ -2693,9 +2703,9 @@}},"@babel/types": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.5.tgz",- "integrity": "sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",+ "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==","requires": {"@babel/helper-validator-identifier": "^7.10.4","lodash": "^4.17.19",@@ -2911,9 +2921,9 @@}},"@babel/parser": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.10.5.tgz",- "integrity": "sha512-wfryxy4bE1UivvQKSQDU4/X6dr+i8bctjUjj8Zyt3DQy7NtPizJXT8M52nqpNKL+nq2PW8lxk4ZqLj0fD4B4hQ=="+ "version": "7.11.3",+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.3.tgz",+ "integrity": "sha512-REo8xv7+sDxkKvoxEywIdsNFiZLybwdI7hcT5uEPyQrSMB4YQ973BfC9OOrD/81MaIjh6UxdulIQXkjmiH3PcA=="},"@babel/template": {"version": "7.10.4",@@ -2926,9 +2936,9 @@}},"@babel/types": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.5.tgz",- "integrity": "sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",+ "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==","requires": {"@babel/helper-validator-identifier": "^7.10.4","lodash": "^4.17.19",@@ -3150,9 +3160,9 @@"integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw=="},"@babel/types": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.5.tgz",- "integrity": "sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",+ "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==","requires": {"@babel/helper-validator-identifier": "^7.10.4","lodash": "^4.17.19",@@ -3320,11 +3330,12 @@}},"@babel/plugin-transform-spread": {- "version": "7.10.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.10.4.tgz",- "integrity": "sha512-1e/51G/Ni+7uH5gktbWv+eCED9pP8ZpRhZB3jOaI3mmzfvJTWHkuyYTv0Z5PYtyM+Tr2Ccr9kUdQxn60fI5WuQ==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.11.0.tgz",+ "integrity": "sha512-UwQYGOqIdQJe4aWNyS7noqAnN2VbaczPLiEtln+zPowRNlD+79w3oi2TWfYe0eZgd+gjZCbsydN7lzWysDt+gw==","requires": {- "@babel/helper-plugin-utils": "^7.10.4"+ "@babel/helper-plugin-utils": "^7.10.4",+ "@babel/helper-skip-transparent-expression-wrappers": "^7.11.0"},"dependencies": {"@babel/helper-plugin-utils": {@@ -3382,9 +3393,9 @@}},"@babel/plugin-transform-typescript": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.10.5.tgz",- "integrity": "sha512-YCyYsFrrRMZ3qR7wRwtSSJovPG5vGyG4ZdcSAivGwTfoasMp3VOB/AKhohu3dFtmB4cCDcsndCSxGtrdliCsZQ==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.11.0.tgz",+ "integrity": "sha512-edJsNzTtvb3MaXQwj8403B7mZoGu9ElDJQZOKjGUnvilquxBA3IQoEIOvkX/1O8xfAsnHS/oQhe2w/IXrr+w0w==","requires": {"@babel/helper-create-class-features-plugin": "^7.10.5","@babel/helper-plugin-utils": "^7.10.4",@@ -3487,9 +3498,9 @@"integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw=="},"@babel/types": {- "version": "7.10.5",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.5.tgz",- "integrity": "sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q==",+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",+ "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==","requires": {"@babel/helper-validator-identifier": "^7.10.4","lodash": "^4.17.19",@@ -4047,9 +4058,9 @@}},"@next/react-dev-overlay": {- "version": "9.5.0",- "resolved": "https://registry.npmjs.org/@next/react-dev-overlay/-/react-dev-overlay-9.5.0.tgz",- "integrity": "sha512-Ds+sQnyeYWq07QIJ7bbYE6WI6ZdPSa+3S+cysvdy0zLLaHemp/Ew8OteXvgNtZYo9OGYBbngxHVUORDcQHaCng==",+ "version": "9.5.1",+ "resolved": "https://registry.npmjs.org/@next/react-dev-overlay/-/react-dev-overlay-9.5.1.tgz",+ "integrity": "sha512-0zQlUocdPWBCFHbfuXL+dg7Rn9YWKrnlJjodNGQsI6CLzXRVa1W72H8Fh6bh8F9pO7ERMiQpnpstMSXPbvFR1Q==","requires": {"@babel/code-frame": "7.8.3","ally.js": "1.4.1",@@ -4113,9 +4124,9 @@}},"@next/react-refresh-utils": {- "version": "9.5.0",- "resolved": "https://registry.npmjs.org/@next/react-refresh-utils/-/react-refresh-utils-9.5.0.tgz",- "integrity": "sha512-YaLBsyAQuEDTyzEuTzg/VwwSqpfNkJ5fiQNIBSGY+UmSpg1+1OHIyMRURzLKO1K7ad3w6kZ+ykgGcMLToR33EQ=="+ "version": "9.5.1",+ "resolved": "https://registry.npmjs.org/@next/react-refresh-utils/-/react-refresh-utils-9.5.1.tgz",+ "integrity": "sha512-A19z/E6f08RXfBRc2STQ+5qo7iSPif7mNcww9dZAVli3Idu4umGP5dbpL71Hz1vyRs1eMUEylXTpXsY2WzY07g=="},"@sinonjs/commons": {"version": "1.8.1",@@ -4750,6 +4761,11 @@"resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz","integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c="},+ "ast-types": {+ "version": "0.13.2",+ "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.2.tgz",+ "integrity": "sha512-uWMHxJxtfj/1oZClOxDEV1sQ1HCDkA4MG8Gr69KKeBjEVH0R84WlejZ0y2DcwyBlpAEMltmVYkVgqfLFb2oyiA=="+ },"astral-regex": {"version": "1.0.0","resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz",@@ -5310,15 +5326,15 @@}},"browserify-sign": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.0.tgz",- "integrity": "sha512-hEZC1KEeYuoHRqhGhTy6gWrpJA3ZDjFWv0DE61643ZnOXAKJb3u7yWcrU0mMc9SwAqK1n7myPGndkp0dFG7NFA==",+ "version": "4.2.1",+ "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz",+ "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==","requires": {"bn.js": "^5.1.1","browserify-rsa": "^4.0.1","create-hash": "^1.2.0","create-hmac": "^1.1.7",- "elliptic": "^6.5.2",+ "elliptic": "^6.5.3","inherits": "^2.0.4","parse-asn1": "^5.1.5","readable-stream": "^3.6.0",@@ -5352,14 +5368,14 @@},"dependencies": {"caniuse-lite": {- "version": "1.0.30001107",- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001107.tgz",- "integrity": "sha512-86rCH+G8onCmdN4VZzJet5uPELII59cUzDphko3thQFgAQG1RNa+sVLDoALIhRYmflo5iSIzWY3vu1XTWtNMQQ=="+ "version": "1.0.30001112",+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001112.tgz",+ "integrity": "sha512-J05RTQlqsatidif/38aN3PGULCLrg8OYQOlJUKbeYVzC2mGZkZLIztwRlB3MtrfLmawUmjFlNJvy/uhwniIe1Q=="},"electron-to-chromium": {- "version": "1.3.510",- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.510.tgz",- "integrity": "sha512-sLtGB0znXdmo6lM8hy5wTVo+fLqvIuO8hEpgc0DvPmFZqvBu/WB7AarEwhxVKjf3rVbws/rC8Xf+AlsOb36lJQ=="+ "version": "1.3.526",+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.526.tgz",+ "integrity": "sha512-HiroW5ZbGwgT8kCnoEO8qnGjoTPzJxduvV/Vv/wH63eo2N6Zj3xT5fmmaSPAPUM05iN9/5fIEkIg3owTtV6QZg=="},"node-releases": {"version": "1.1.60",@@ -5377,13 +5393,12 @@}},"buffer": {- "version": "4.9.2",- "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz",- "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==",+ "version": "5.6.0",+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz",+ "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==","requires": {"base64-js": "^1.0.2",- "ieee754": "^1.1.4",- "isarray": "^1.0.0"+ "ieee754": "^1.1.4"}},"buffer-from": {@@ -5967,12 +5982,12 @@}},"create-ecdh": {- "version": "4.0.3",- "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz",- "integrity": "sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw==",+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz",+ "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==","requires": {"bn.js": "^4.1.0",- "elliptic": "^6.0.0"+ "elliptic": "^6.5.3"},"dependencies": {"bn.js": {@@ -6008,12 +6023,11 @@}},"cross-fetch": {- "version": "3.0.4",- "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.4.tgz",- "integrity": "sha512-MSHgpjQqgbT/94D4CyADeNoYh52zMkCX4pcJvPP5WqPsLFMKjr2TCMg381ox5qI0ii2dPwaLx/00477knXqXVw==",+ "version": "3.0.5",+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.5.tgz",+ "integrity": "sha512-FFLcLtraisj5eteosnX1gf01qYDCOc4fDy0+euOt8Kn9YBY2NtXL/pCoYPavw24NIQkQqm5ZOLsGD5Zzj0gyew==","requires": {- "node-fetch": "2.6.0",- "whatwg-fetch": "3.0.0"+ "node-fetch": "2.6.0"}},"cross-spawn": {@@ -7673,6 +7687,11 @@"minimalistic-assert": "^1.0.1"}},+ "he": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz",+ "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0="+ },"hex-color-regex": {"version": "1.1.0","resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz",@@ -8041,9 +8060,9 @@}},"is-regex": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.0.tgz",- "integrity": "sha512-iI97M8KTWID2la5uYXlkbSDQIg4F6o1sYboZKKTDpnDQMLtUL86zxhgDet3Q2SriaYsyGqZ6Mn2SjbRKeLHdqw==",+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz",+ "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==","requires": {"has-symbols": "^1.0.1"}@@ -9684,9 +9703,9 @@}},"minipass-pipeline": {- "version": "1.2.3",- "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.3.tgz",- "integrity": "sha512-cFOknTvng5vqnwOpDsZTWhNll6Jf8o2x+/diplafmxpuIymAjzoOolZG0VvQf3V2HgqzJNhnuKHYp2BqDgz8IQ==",+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz",+ "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==","requires": {"minipass": "^3.0.0"}@@ -9805,11 +9824,11 @@"integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw=="},"next": {- "version": "9.5.0",- "resolved": "https://registry.npmjs.org/next/-/next-9.5.0.tgz",- "integrity": "sha512-kb6QnrbMyS/h4bvryZSQKgRqLtFVL2NZQed4jxrFZ15yxtwdsSCf5+LNfS7bcpVxh7HeD5Ddwh55l9+nOGkEBQ==",+ "version": "9.5.1",+ "resolved": "https://registry.npmjs.org/next/-/next-9.5.1.tgz",+ "integrity": "sha512-rPjeK8wd5sH/NHdL6Rhi3Mft4onB2+BvnXzS0vhGqdo1IXp26/6Hlpqb1pP+qqwI/HMJ4ms2pSEJQWp+BnyeWw==","requires": {- "@ampproject/toolbox-optimizer": "2.5.3",+ "@ampproject/toolbox-optimizer": "2.5.14","@babel/code-frame": "7.8.3","@babel/core": "7.7.7","@babel/plugin-proposal-class-properties": "7.8.3",@@ -9827,12 +9846,14 @@"@babel/preset-typescript": "7.9.0","@babel/runtime": "7.9.6","@babel/types": "7.9.6",- "@next/react-dev-overlay": "9.5.0",- "@next/react-refresh-utils": "9.5.0",+ "@next/react-dev-overlay": "9.5.1",+ "@next/react-refresh-utils": "9.5.1",+ "ast-types": "0.13.2","babel-plugin-syntax-jsx": "6.18.0","babel-plugin-transform-define": "2.0.0","babel-plugin-transform-react-remove-prop-types": "0.4.24","browserslist": "4.13.0",+ "buffer": "5.6.0","cacache": "13.0.1","chokidar": "2.1.8","css-loader": "3.5.3",@@ -9844,8 +9865,10 @@"mkdirp": "0.5.3","native-url": "0.3.4","neo-async": "2.6.1",+ "node-html-parser": "^1.2.19","pnp-webpack-plugin": "1.6.4","postcss": "7.0.32",+ "process": "0.11.10","prop-types": "15.7.2","prop-types-exact": "1.2.0","react-is": "16.13.1",@@ -10249,6 +10272,14 @@"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz","integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA=="},+ "node-html-parser": {+ "version": "1.2.20",+ "resolved": "https://registry.npmjs.org/node-html-parser/-/node-html-parser-1.2.20.tgz",+ "integrity": "sha512-1fUpYjAducDrrBSE0etRUV1tM+wSFTudmrslMXuk35wL/L29E7e1CLQn4CNzFLnqtYpmDlWhkD6VUloyHA0dwA==",+ "requires": {+ "he": "1.1.1"+ }+ },"node-int64": {"version": "0.4.0","resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",@@ -10284,6 +10315,16 @@"vm-browserify": "^1.0.1"},"dependencies": {+ "buffer": {+ "version": "4.9.2",+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz",+ "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==",+ "requires": {+ "base64-js": "^1.0.2",+ "ieee754": "^1.1.4",+ "isarray": "^1.0.0"+ }+ },"punycode": {"version": "1.4.1","resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",@@ -10924,9 +10965,9 @@}},"postcss-calc": {- "version": "7.0.2",- "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.2.tgz",- "integrity": "sha512-rofZFHUg6ZIrvRwPeFktv06GdbDYLcGqh9EwiMutZg+a0oePCCw1zHOEiji6LCpyRcjTREtPASuUqeAvYlEVvQ==",+ "version": "7.0.3",+ "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.3.tgz",+ "integrity": "sha512-IB/EAEmZhIMEIhG7Ov4x+l47UaXOS1n2f4FBUk/aKllQhtSCxWhTzn0nJgkqN7fo/jcWySvWTSB6Syk9L+31bA==","requires": {"postcss": "^7.0.27","postcss-selector-parser": "^6.0.2",@@ -13359,9 +13400,9 @@}},"terser": {- "version": "4.7.0",- "resolved": "https://registry.npmjs.org/terser/-/terser-4.7.0.tgz",- "integrity": "sha512-Lfb0RiZcjRDXCC3OSHJpEkxJ9Qeqs6mp2v4jf2MHfy8vGERmVDuvjXdd/EnP5Deme5F2yBRBymKmKHCBg2echw==",+ "version": "4.8.0",+ "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz",+ "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==","requires": {"commander": "^2.20.0","source-map": "~0.6.1",@@ -14043,6 +14084,7 @@"version": "2.3.2","resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz","integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",+ "optional": true,"requires": {"arr-flatten": "^1.1.0","array-unique": "^0.3.2",@@ -14060,6 +14102,7 @@"version": "2.0.1","resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz","integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",+ "optional": true,"requires": {"is-extendable": "^0.1.0"}@@ -14090,6 +14133,7 @@"version": "4.0.0","resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz","integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",+ "optional": true,"requires": {"extend-shallow": "^2.0.1","is-number": "^3.0.0",@@ -14101,6 +14145,7 @@"version": "2.0.1","resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz","integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",+ "optional": true,"requires": {"is-extendable": "^0.1.0"}@@ -14151,6 +14196,7 @@"version": "3.0.0","resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz","integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",+ "optional": true,"requires": {"kind-of": "^3.0.2"},@@ -14159,6 +14205,7 @@"version": "3.2.2","resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz","integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",+ "optional": true,"requires": {"is-buffer": "^1.1.5"}@@ -14169,6 +14216,7 @@"version": "3.1.10","resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz","integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",+ "optional": true,"requires": {"arr-diff": "^4.0.0","array-unique": "^0.3.2",@@ -14224,6 +14272,7 @@"version": "2.1.1","resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz","integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",+ "optional": true,"requires": {"is-number": "^3.0.0","repeat-string": "^1.6.1"@@ -14304,9 +14353,9 @@}},"chokidar": {- "version": "3.4.1",- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.1.tgz",- "integrity": "sha512-TQTJyr2stihpC4Sya9hs2Xh+O2wf+igjL36Y75xx2WdHuiICcn/XJza46Jwt0eT5hVpQOzo3FpY3cj3RVYLX0g==",+ "version": "3.4.2",+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.2.tgz",+ "integrity": "sha512-IZHaDeBeI+sZJRX7lGcXsdzgvZqKv6sECqsbErJA4mHWfpRrD8B97kSFN4cQz6nGBGiuFia1MKR4d6c1o8Cv7A==","optional": true,"requires": {"anymatch": "~3.1.1",@@ -14508,11 +14557,6 @@"iconv-lite": "0.4.24"}},- "whatwg-fetch": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz",- "integrity": "sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q=="- },"whatwg-mimetype": {"version": "2.3.0","resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz",diff --git a/examples/slack-clone/package.json b/examples/slack-clone/package.jsonindex 07ff327f85d..14d186d7026 100644--- a/examples/slack-clone/package.json+++ b/examples/slack-clone/package.json@@ -10,7 +10,7 @@},"dependencies": {"@supabase/supabase-js": "^0.35.9",- "next": "^9.5.0",+ "next": "latest","react": "^16.7.0","react-dom": "^16.7.0","sass": "^1.26.2",diff --git a/examples/slack-clone/pages/channels/[id].js b/examples/slack-clone/pages/channels/[id].jsindex 955fa45682d..75f2bfe14b1 100644--- a/examples/slack-clone/pages/channels/[id].js+++ b/examples/slack-clone/pages/channels/[id].js@@ -6,7 +6,7 @@ import { useStore, addMessage } from '~/lib/Store'import { useContext, useEffect, useRef } from 'react'import UserContext from '~/lib/UserContext'-const ChannelsPage = props => {+const ChannelsPage = (props) => {const router = useRouter()const { user, authLoaded, signOut } = useContext(UserContext)const messagesEndRef = useRef(null)@@ -14,6 +14,7 @@ const ChannelsPage = props => {// Redirect if not signed in.useEffect(() => {if (authLoaded && !user) signOut()+ // eslint-disable-next-line react-hooks/exhaustive-deps}, [user, router])// Else load up the page@@ -21,7 +22,10 @@ const ChannelsPage = props => {const { messages, channels } = useStore({ channelId })useEffect(() => {- messagesEndRef.current.scrollIntoView({ block: 'start', behavior: 'smooth' })+ messagesEndRef.current.scrollIntoView({+ block: 'start',+ behavior: 'smooth',+ })}, [messages])// Render the channels and messages@@ -30,14 +34,14 @@ const ChannelsPage = props => {<div className="relative h-screen"><div className="Messages h-full pb-16"><div className="p-2 overflow-y-auto">- {messages.map(x => (+ {messages.map((x) => (<Message key={x.id} message={x} />))}<div ref={messagesEndRef} style={{ height: 0 }} /></div></div><div className="p-2 absolute bottom-0 left-0 w-full">- <MessageInput onSubmit={async text => addMessage(text, channelId, user)} />+ <MessageInput onSubmit={async (text) => addMessage(text, channelId, user)} /></div></div></Layout>diff --git a/examples/slack-clone/pages/index.js b/examples/slack-clone/pages/index.jsindex 8b8bbcf0ead..fe97c278958 100644--- a/examples/slack-clone/pages/index.js+++ b/examples/slack-clone/pages/index.js@@ -1,7 +1,6 @@import { useState, useContext } from 'react'import UserContext from 'lib/UserContext'import { createClient } from '@supabase/supabase-js'-import { useRouter } from 'next/router'const supabase = createClient(process.env.NEXT_PUBLIC_SUPABASE_URL,@@ -12,16 +11,15 @@ const Home = () => {const { signIn } = useContext(UserContext)const [username, setUsername] = useState('')const [password, setPassword] = useState('')- const router = useRouter()const handleLogin = async (type, username, password) => {try {- const { body } =- type == 'LOGIN'+ const {+ body: { user },+ } =+ type === 'LOGIN'? await supabase.auth.login(username, password): await supabase.auth.signup(username, password)-- const user = await supabase.auth.user()if (!!user) signIn(user.id, user.email)} catch (error) {console.log('error', error)diff --git a/examples/slack-clone/public/slack-clone-demo.gif b/examples/slack-clone/public/slack-clone-demo.gifnew file mode 100644index 00000000000..8dff9b017beBinary files /dev/null and b/examples/slack-clone/public/slack-clone-demo.gif differ