Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: updated to use MDX

Jonathan Summers-Muir92dd9694159d
diff --git a/www/_blog/2020-05-01-supabase-alpha-april-2020.md b/www/_blog/2020-05-01-supabase-alpha-april-2020.mdx
similarity index 90%
rename from www/_blog/2020-05-01-supabase-alpha-april-2020.md
rename to www/_blog/2020-05-01-supabase-alpha-april-2020.mdx
index 12b26b8ca2e..1410cf9d5fa 100644
--- a/www/_blog/2020-05-01-supabase-alpha-april-2020.md
+++ b/www/_blog/2020-05-01-supabase-alpha-april-2020.mdx
@@ -8,7 +8,7 @@ author_image_url: https://avatars2.githubusercontent.com/u/10214025?s=400&u=c677
authorURL: https://github.com/kiwicopple
tags:
- supabase
-date: '01-06-2020'
+date: '06-01-2020'
---
Now in [Supabase](https://app.supabase.io):
@@ -18,7 +18,15 @@ Now in [Supabase](https://app.supabase.io):
- Query your database directly from the dashboard
- Analyze your queries and make them faster :rocket:
-<iframe className="w-full" width="700" height="350" src="https://www.youtube-nocookie.com/embed/ck5MM_PD4Co" frameBorder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
+<iframe
+ className="w-full"
+ width="700"
+ height="350"
+ src="https://www.youtube-nocookie.com/embed/ck5MM_PD4Co"
+ frameBorder="0"
+ allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
+ allowfullscreen
+></iframe>
## Important Notes
diff --git a/www/_blog/2020-06-01-supabase-alpha-may-2020.md b/www/_blog/2020-06-01-supabase-alpha-may-2020.mdx
similarity index 90%
rename from www/_blog/2020-06-01-supabase-alpha-may-2020.md
rename to www/_blog/2020-06-01-supabase-alpha-may-2020.mdx
index 939411aae7a..77713d239ac 100644
--- a/www/_blog/2020-06-01-supabase-alpha-may-2020.md
+++ b/www/_blog/2020-06-01-supabase-alpha-may-2020.mdx
@@ -8,14 +8,22 @@ author_image_url: https://avatars2.githubusercontent.com/u/10214025?s=400&u=c677
authorURL: https://github.com/kiwicopple
tags:
- supabase
-date: '01-06-2020'
+date: '06-01-2020'
---
It has been a monster month at [Supabase](https://supabase.io) and we're back with a video update. It's a longer video this month because we have a couple of housekeeping items.
<!--truncate-->
-<iframe className="w-full" width="700" height="350" src="https://www.youtube-nocookie.com/embed/e4qXmcEFaUs" frameBorder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
+<iframe
+ className="w-full"
+ width="700"
+ height="350"
+ src="https://www.youtube-nocookie.com/embed/e4qXmcEFaUs"
+ frameBorder="0"
+ allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
+ allowfullscreen
+></iframe>
## Housekeeping
diff --git a/www/_blog/2020-06-15-supabase-steve-chavez.md b/www/_blog/2020-06-15-supabase-steve-chavez.mdx
similarity index 98%
rename from www/_blog/2020-06-15-supabase-steve-chavez.md
rename to www/_blog/2020-06-15-supabase-steve-chavez.mdx
index 4b3ba157225..99188683c3f 100644
--- a/www/_blog/2020-06-15-supabase-steve-chavez.md
+++ b/www/_blog/2020-06-15-supabase-steve-chavez.mdx
@@ -9,7 +9,7 @@ authorURL: https://github.com/kiwicopple
tags:
- supabase
- hiring
-date: '15-06-2020'
+date: '06-15-2020'
---
This month we welcome [Steve Chavez](https://github.com/steve-chavez) to the team. Steve is a maintainer of PostgREST, one of the core tools which makes Supabase possible.
diff --git a/www/_blog/2020-07-01-supabase-alpha-june-2020.md b/www/_blog/2020-07-01-supabase-alpha-june-2020.mdx
similarity index 75%
rename from www/_blog/2020-07-01-supabase-alpha-june-2020.md
rename to www/_blog/2020-07-01-supabase-alpha-june-2020.mdx
index d49e42d18b6..ea97d5dc926 100644
--- a/www/_blog/2020-07-01-supabase-alpha-june-2020.md
+++ b/www/_blog/2020-07-01-supabase-alpha-june-2020.mdx
@@ -8,7 +8,7 @@ author_image_url: https://avatars2.githubusercontent.com/u/10214025?s=400&u=c677
authorURL: https://github.com/kiwicopple
tags:
- supabase
-date: '01-07-2020'
+date: '07-01-2020'
---
We're now 4 months into building [Supabase](https://supabase.io), which means another major update. Here's a few things we think you'll love in this release.
@@ -19,31 +19,66 @@ We're now 4 months into building [Supabase](https://supabase.io), which means an
Watch a full demo:
-<iframe className="w-full" width="640" height="385" src="https://www.loom.com/embed/b3ba79c1633d464ea758e0796bbb39da" frameBorder="0" allowFullScreen></iframe>
+<iframe
+ className="w-full"
+ width="640"
+ height="385"
+ src="https://www.loom.com/embed/b3ba79c1633d464ea758e0796bbb39da"
+ frameBorder="0"
+ allowFullScreen
+></iframe>
### View relational data
We're sometimes asked how we will make Postgres as simple as Firebase, since Postgres is a relational database. This month we're making our first steps to prove that relational databases can be even easier to use than document stores. We're releasing an excel-like editing interface which can drill down into your relational data.
-<iframe className="w-full" width="640" height="385" src="https://www.loom.com/embed/c6d504bb0a1c43e9bf65cb2aef2949d5" frameBorder="0" allowFullScreen></iframe>
+<iframe
+ className="w-full"
+ width="640"
+ height="385"
+ src="https://www.loom.com/embed/c6d504bb0a1c43e9bf65cb2aef2949d5"
+ frameBorder="0"
+ allowFullScreen
+></iframe>
### Manage JSON data
Postgres is an amazing database, giving the flexibility of a document store with the power of a RDBMS. If you use `JSON` data in Postgres, then we want to make that easy too. Supabase detects when your column is `JSON` or `JSONB`, and provides an easy way to edit and view your data. More improvements coming soon for this feature!
-<iframe className="w-full" width="640" height="385" src="https://www.loom.com/embed/0b03ac2858324cfabdc6a202c93673f3" frameBorder="0" allowFullScreen></iframe>
+<iframe
+ className="w-full"
+ width="640"
+ height="385"
+ src="https://www.loom.com/embed/0b03ac2858324cfabdc6a202c93673f3"
+ frameBorder="0"
+ allowFullScreen
+></iframe>
### Choose your region
If you noticed a bit of latency on Supabase, it's because your projects were previously set up in Singapore. It was always our intention that you'd be able to choose your database region, and this month we've delivered it. In the next releases we'll even allow you to go multi-region, instantly replicating your database close to your customers.
-<iframe className="w-full" width="640" height="385" src="https://www.loom.com/embed/1dcc1bca2ebc45e296e732a66a462c61" frameBorder="0" allowFullScreen></iframe>
+<iframe
+ className="w-full"
+ width="640"
+ height="385"
+ src="https://www.loom.com/embed/1dcc1bca2ebc45e296e732a66a462c61"
+ frameBorder="0"
+ allowFullScreen
+></iframe>
### Backups
A guiding principle at Supabase is zero lock-in. So this month we are exposing your daily database backups on the dashboard, giving you a simple way to migrate off Supabase. We have a lot more to build in this space (`WAL-G!`), so watch this space.
-<iframe className="w-full" width="640" height="385" src="https://www.loom.com/embed/fc1cb9b395eb4c408c7137bf8e6e1963" frameBorder="0" allowFullScreen></iframe>
+<iframe
+ className="w-full"
+ width="640"
+ height="385"
+ src="https://www.loom.com/embed/fc1cb9b395eb4c408c7137bf8e6e1963"
+ frameBorder="0"
+ allowFullScreen
+></iframe>
### Kaizen
diff --git a/www/_blog/2020-07-09-postgresql-templates.md b/www/_blog/2020-07-09-postgresql-templates.mdx
similarity index 99%
rename from www/_blog/2020-07-09-postgresql-templates.md
rename to www/_blog/2020-07-09-postgresql-templates.mdx
index f5b06769019..5c9b89db869 100644
--- a/www/_blog/2020-07-09-postgresql-templates.md
+++ b/www/_blog/2020-07-09-postgresql-templates.mdx
@@ -8,7 +8,7 @@ author_image_url: https://avatars0.githubusercontent.com/u/26374889?s=400&u=f5e3
authorURL: https://github.com/dragarcia
tags:
- postgres
-date: '09-07-2020'
+date: '07-09-2020'
---
Whenever you create a new database in Postgres, you are actually [basing it off an already present database](https://www.postgresql.org/docs/current/manage-ag-templatedbs.html) in your cluster.
diff --git a/www/_blog/2020-07-10-alpha-launch-postmortem.mdx b/www/_blog/2020-07-10-alpha-launch-postmortem.mdx
index ad4e5466151..d33f3922f8b 100644
--- a/www/_blog/2020-07-10-alpha-launch-postmortem.mdx
+++ b/www/_blog/2020-07-10-alpha-launch-postmortem.mdx
@@ -8,7 +8,7 @@ author_image_url: https://avatars2.githubusercontent.com/u/10214025?s=400&u=c677
authorURL: https://github.com/kiwicopple
tags:
- supabase
-date: '10-07-2020'
+date: '07-10-2020'
---
On May 27 Supabase hit the [top of Hacker News](https://news.ycombinator.com/item?id=23319901) and stayed on the front page for more than 24 hours.
@@ -25,15 +25,15 @@ Before we get into the details, here are some high-level numbers for the week fo
We had 30,000 new website visitors to [supabase.io](http://supabase.io):
-![This graph shows the traffic to our website, that peaks at 15,000 the first day and tails off throughout the week. We had a total of 30,000 visitors to our site. That's according to Google Analytics though, and everyone on HN blocks GA so who knows what the real number is.](/img/supabase-traffic-may.png)
+![This graph shows the traffic to our website, that peaks at 15,000 the first day and tails off throughout the week. We had a total of 30,000 visitors to our site. That's according to Google Analytics though, and everyone on HN blocks GA so who knows what the real number is.](/new/images/blog/supabase-traffic-may.png)
<br />
We had over 1400 signups in 7 days:
-![This graph shows our signups. Before the launch we had around 100 signups. After the launch it sky-rocketed to 600 in the first day, 900 by the second, and 1000 by the third day. By the end of the week we had over 1400 signups.](/img/hn-launch.png)
+![This graph shows our signups. Before the launch we had around 100 signups. After the launch it sky-rocketed to 600 in the first day, 900 by the second, and 1000 by the third day. By the end of the week we had over 1400 signups.](/new/images/blog/hn-launch.png)
Github stars rocketed for our two main repos, [supabase](https://github.com/supabase/supabase) and [realtime](https://github.com/supabase/realtime).
-![This graph shows our github stars. It's basically a vertical line. Our main repo went from 300 stars to 1300 overnight.](/img/supabase-github-stars-june.png)
+![This graph shows our github stars. It's basically a vertical line. Our main repo went from 300 stars to 1300 overnight.](/new/images/blog/supabase-github-stars-june.png)
## The good
@@ -43,7 +43,7 @@ Here are the things that survived well.
This was the most surprising survivor. Our middleware was served from a single Ubuntu server with 4 CPUs and 8GB of RAM. This server was running our middleware using `docker-compose up`:
-![This image shows in middleware architecture. We used docker-compose to pull up 5 open source tools: Kong, Realtime, PostgREST, PG-API, and PG-BOSS.](/img/supabase-middleware-docker.png)
+![This image shows in middleware architecture. We used docker-compose to pull up 5 open source tools: Kong, Realtime, PostgREST, PG-API, and PG-BOSS.](/new/images/blog/supabase-middleware-docker.png)
In case you're wondering why any sane company would use that in production, it's because we weren't planning to launch - the HackerNews post was created by an early GitHub follower, while we were alpha testing, and it was too scary to migrate the middleware while it was servicing the thundering herd. All Supabase projects use the same middleware stack (sans docker-compose), so I guess this counts as as a successful load test.
@@ -77,7 +77,7 @@ Let me start by saying that Digital Ocean have been great for getting up and run
The first sign of problems were the frequent production errors. This is a screenshot of emails from Digital ocean for the month of June.
-![This image shows all the emails I was receiving from Digital Ocean. I was receiving an email every other day about servers which needed to be migrated.](/img/digital-ocean-emails-errors.png)
+![This image shows all the emails I was receiving from Digital Ocean. I was receiving an email every other day about servers which needed to be migrated.](/new/images/blog/digital-ocean-emails-errors.png)
Each of these emails represents one or more servers that has a critical issue:
diff --git a/www/_blog/2020-07-17-postgresql-physical-logical-backups.md b/www/_blog/2020-07-17-postgresql-physical-logical-backups.mdx
similarity index 100%
rename from www/_blog/2020-07-17-postgresql-physical-logical-backups.md
rename to www/_blog/2020-07-17-postgresql-physical-logical-backups.mdx
diff --git a/www/_blog/2020-08-02-continuous-postgresql-backup-walg.md b/www/_blog/2020-08-02-continuous-postgresql-backup-walg.mdx
similarity index 99%
rename from www/_blog/2020-08-02-continuous-postgresql-backup-walg.md
rename to www/_blog/2020-08-02-continuous-postgresql-backup-walg.mdx
index ef71021e3f6..36ff7c884ae 100644
--- a/www/_blog/2020-08-02-continuous-postgresql-backup-walg.md
+++ b/www/_blog/2020-08-02-continuous-postgresql-backup-walg.mdx
@@ -8,7 +8,7 @@ author_image_url: https://avatars0.githubusercontent.com/u/26374889?s=400&u=f5e3
authorURL: https://github.com/dragarcia
tags:
- postgres
-date: '02-08-2021'
+date: '08-02-2020'
---
Have you ever wanted to restore your database's state to a particular moment in time? This post explains how, using WAL-G.
diff --git a/www/_blog/2020-08-02-supabase-alpha-july-2020.md b/www/_blog/2020-08-02-supabase-alpha-july-2020.mdx
similarity index 90%
rename from www/_blog/2020-08-02-supabase-alpha-july-2020.md
rename to www/_blog/2020-08-02-supabase-alpha-july-2020.mdx
index cf979c128d4..0cd5f9c30e9 100644
--- a/www/_blog/2020-08-02-supabase-alpha-july-2020.md
+++ b/www/_blog/2020-08-02-supabase-alpha-july-2020.mdx
@@ -8,7 +8,7 @@ author_image_url: https://avatars2.githubusercontent.com/u/10214025?s=400&u=c677
authorURL: https://github.com/kiwicopple
tags:
- supabase
-date: '02-08-2021'
+date: '08-02-2020'
---
After 5 months of building, we're releasing one of our most anticipated features: Supabase Auth.
@@ -19,7 +19,14 @@ After 5 months of building, we're releasing one of our most anticipated features
Watch a full demo:
-<iframe className="w-full" width="640" height="385" src="https://www.loom.com/embed/17fbbc3bc9b2459eb0efbbb174b2ce7b" frameBorder="0" allowFullScreen></iframe>
+<iframe
+ className="w-full"
+ width="640"
+ height="385"
+ src="https://www.loom.com/embed/17fbbc3bc9b2459eb0efbbb174b2ce7b"
+ frameBorder="0"
+ allowFullScreen
+></iframe>
### Auth
@@ -36,7 +43,7 @@ We've made some massive improvements to our Table Editor that we're excited to s
Last month we made it easy to drill into your table relationships. This month, we make it possible to drill multiple levels deep.
<video width="99%" autoPlay="" loop="" muted="" playsInline="" controls="true">
-<source src="/videos/relational-drilldown-zoom.mp4" type="video/mp4" />
+ <source src="/videos/relational-drilldown-zoom.mp4" type="video/mp4" />
</video>
#### Add, delete, and download rows
@@ -44,7 +51,7 @@ Last month we made it easy to drill into your table relationships. This month, w
We're making it easier to manipulate your data. Next month, you'll be able to add and remove columns directly from the Table view.
<video width="99%" autoPlay="" loop="" muted="" playsInline="" controls="true">
-<source src="/videos/csv-download-zoom.mp4" type="video/mp4" />
+ <source src="/videos/csv-download-zoom.mp4" type="video/mp4" />
</video>
### New Postgres Extensions
diff --git a/www/_blog/2020-08-05-supabase-auth.mdx b/www/_blog/2020-08-05-supabase-auth.mdx
index 6721d0f2ef9..d307cb4de50 100644
--- a/www/_blog/2020-08-05-supabase-auth.mdx
+++ b/www/_blog/2020-08-05-supabase-auth.mdx
@@ -9,7 +9,7 @@ authorURL: https://github.com/kiwicopple
image: supabase-auth-cover.png
tags:
- supabase
-date: '05-08-2021'
+date: '08-05-2020'
---
Supabase is an open source Firebase alternative. We are building the features of Firebase using scalable, open source products.
@@ -18,7 +18,7 @@ Two months ago a developer discovered Supabase and (unexpectedly) [launched us o
<!--truncate-->
-![This image shows all of the top dev tool launches on Hacker news. The most popular is Stripe, with 1249 upvotes, the next popular is Supabase with 1120 upvotes, and third is Fly.io with 626 upvotes.](/img/supabase-hn-launch.png)
+![This image shows all of the top dev tool launches on Hacker news. The most popular is Stripe, with 1249 upvotes, the next popular is Supabase with 1120 upvotes, and third is Fly.io with 626 upvotes.](/new/images/blog/supabase-hn-launch.png)
Developers were obviously excited about the prospect of an open source Firebase alternative, but the comments were dominated by one emphatic feature request: Auth.
diff --git a/www/_blog/2020-09-03-supabase-alpha-august-2020.md b/www/_blog/2020-09-03-supabase-alpha-august-2020.mdx
similarity index 86%
rename from www/_blog/2020-09-03-supabase-alpha-august-2020.md
rename to www/_blog/2020-09-03-supabase-alpha-august-2020.mdx
index f7eb61350a2..503a2468f35 100644
--- a/www/_blog/2020-09-03-supabase-alpha-august-2020.md
+++ b/www/_blog/2020-09-03-supabase-alpha-august-2020.mdx
@@ -8,7 +8,7 @@ author_image_url: https://avatars2.githubusercontent.com/u/10214025?s=400&u=c677
authorURL: https://github.com/kiwicopple
tags:
- supabase
-date: '03-09-2021'
+date: '09-03-2020'
---
We're 6 months into building our hosted database platform and we've made some major improvements to our auth system and table view.
@@ -19,14 +19,21 @@ We're 6 months into building our hosted database platform and we've made some ma
Watch a full demo:
-<iframe className="w-full" width="640" height="385" src="https://www.loom.com/embed/a43084629c7e47828e3a292b60719393" frameBorder="0" allowFullScreen></iframe>
+<iframe
+ className="w-full"
+ width="640"
+ height="385"
+ src="https://www.loom.com/embed/a43084629c7e47828e3a292b60719393"
+ frameBorder="0"
+ allowFullScreen
+></iframe>
### Easily create tables
Set up tables and columns directly from the table view.
<video width="99%" autoPlay="autoplay" loop muted playsInline controls="true">
-<source src="/videos/new-tables.mp4" type="video/mp4" loop muted playsInline />
+ <source src="/videos/new-tables.mp4" type="video/mp4" loop muted playsInline />
</video>
### Invite your team
@@ -34,7 +41,7 @@ Set up tables and columns directly from the table view.
You can now invite team members to your organisation.
<video width="99%" autoPlay="autoplay" loop muted playsInline controls="true">
-<source src="/videos/invite-team.mp4" type="video/mp4" loop muted playsInline />
+ <source src="/videos/invite-team.mp4" type="video/mp4" loop muted playsInline />
</video>
### Auth: Email Confirmations
@@ -42,14 +49,14 @@ You can now invite team members to your organisation.
You can now enable Email Confirmations for new users. This can be toggled on or off and the template for this email can be edited via the dashboard.
<video width="99%" autoPlay="autoplay" loop muted playsInline controls="true">
-<source src="/videos/confirm-email.mp4" type="video/mp4" loop muted playsInline />
+ <source src="/videos/confirm-email.mp4" type="video/mp4" loop muted playsInline />
</video>
### TypeScript support
The biggest communty contribution to date, [@thorwebdev](https://twitter.com/thorwebdev) added TypeScript support to Supabase. He even [live streamed the process](https://twitter.com/thorwebdev/status/1292722189788016641).
-![This git shows how TypeScript makes it even easier to use Supabase, through VSCode's intellisense.](/img/typescript-support.gif)
+![This git shows how TypeScript makes it even easier to use Supabase, through VSCode's intellisense.](/new/images/blog/typescript-support.gif)
### Kaizen
@@ -63,7 +70,7 @@ We have a number of small improvements:
The release of Auth last month accelerated our community growth, based on [Orbit Levels.](https://github.com/orbit-love/orbit-model)
-![This image shows our community growth. In August we had about 250 active members across GitHub and Twitter.](/img/community-august.png)
+![This image shows our community growth. In August we had about 250 active members across GitHub and Twitter.](/new/images/blog/community-august.png)
- We received our first enterprise sponsor. Thanks to [@briannekimmel](https://twitter.com/briannekimmel) from [@WorkLifeVC](https://twitter.com/WorkLifeVC) for becoming an [Enterprise Sponsor](https://github.com/sponsors/supabase).
- [@amorriscode](https://github.com/amorriscode) added Redwood support! [[Pull Request](https://github.com/redwoodjs/redwood/pull/1033)]
diff --git a/www/_blog/2020-09-11-supabase-hacktoberfest-2020.md b/www/_blog/2020-09-11-supabase-hacktoberfest-2020.mdx
similarity index 99%
rename from www/_blog/2020-09-11-supabase-hacktoberfest-2020.md
rename to www/_blog/2020-09-11-supabase-hacktoberfest-2020.mdx
index cdd58b5f55d..45b5861da3e 100644
--- a/www/_blog/2020-09-11-supabase-hacktoberfest-2020.md
+++ b/www/_blog/2020-09-11-supabase-hacktoberfest-2020.mdx
@@ -9,7 +9,7 @@ image: hacktoberfest.png
tags:
- supabase
- hacktoberfest
-date: '11-09-2021'
+date: '09-11-2020'
---
October is looming, and for open source communities and contributors this means one thing: [Hacktoberfest](https://hacktoberfest.digitalocean.com/).
diff --git a/www/_blog/2020-10-03-supabase-alpha-september-2020.md b/www/_blog/2020-10-03-supabase-alpha-september-2020.mdx
similarity index 87%
rename from www/_blog/2020-10-03-supabase-alpha-september-2020.md
rename to www/_blog/2020-10-03-supabase-alpha-september-2020.mdx
index a666972a732..cf024b08cdf 100644
--- a/www/_blog/2020-10-03-supabase-alpha-september-2020.md
+++ b/www/_blog/2020-10-03-supabase-alpha-september-2020.mdx
@@ -9,7 +9,7 @@ authorURL: https://github.com/kiwicopple
image: supabase-september-2020.png
tags:
- supabase
-date: '03-10-2021'
+date: '10-03-2020'
---
We're now 7 months into building Supabase. This update is a big one!
@@ -20,20 +20,27 @@ We're now 7 months into building Supabase. This update is a big one!
Watch a full demo:
-<iframe className="w-full" width="640" height="385" src="https://www.loom.com/embed/c7d66ae1f4c1458d964147c5c58aad59" frameBorder="0" allowFullScreen></iframe>
+<iframe
+ className="w-full"
+ width="640"
+ height="385"
+ src="https://www.loom.com/embed/c7d66ae1f4c1458d964147c5c58aad59"
+ frameBorder="0"
+ allowFullScreen
+></iframe>
### Third-party logins
We've released OAuth logins! You can now enable third-party logins on your app for Bitbucket, GitHub, GitLab, or Google.
-![This is a picture of the supabase dashboard with OAuth logins](/img/supabase-oauth-logins.png)
+![This is a picture of the supabase dashboard with OAuth logins](/new/images/blog/supabase-oauth-logins.png)
### Clone tables
You can duplicate your tables, just like you would inside a spreadsheet.
<video width="99%" autoPlay="autoplay" muted playsInline controls={true}>
-<source src="/videos/duplicate-tables.mp4" type="video/mp4" muted playsInline />
+ <source src="/videos/duplicate-tables.mp4" type="video/mp4" muted playsInline />
</video>
### Enable and disable extensions
@@ -41,7 +48,7 @@ You can duplicate your tables, just like you would inside a spreadsheet.
Extensions are easier to use. You can enable Postgres extensions with the click of a button.
<video width="99%" autoPlay="autoplay" muted playsInline controls={true}>
-<source src="/videos/toggle-extensions.mp4" type="video/mp4" muted playsInline />
+ <source src="/videos/toggle-extensions.mp4" type="video/mp4" muted playsInline />
</video>
### Save your favorite queries
@@ -49,14 +56,14 @@ Extensions are easier to use. You can enable Postgres extensions with the click
The SQL editor now stores your query history in your browser. You can also save your favorite queries to run later!
<video width="99%" autoPlay="autoplay" muted playsInline controls={true}>
-<source src="/videos/favourites.mp4" type="video/mp4" muted playsInline />
+ <source src="/videos/favourites.mp4" type="video/mp4" muted playsInline />
</video>
### GitHub Discussions
Supabase was given access to [GitHub Discussions](https://github.com/supabase/supabase/discussions)! This is the place for you to ask questions or show off what you've built with Supabase.
-![This is a screenshot of our GitHub Discussions, a new feature by GitHub.](/img/supabase-github-discussions.png)
+![This is a screenshot of our GitHub Discussions, a new feature by GitHub.](/new/images/blog/supabase-github-discussions.png)
### Kaizen
@@ -77,7 +84,7 @@ Supabase was given access to [GitHub Discussions](https://github.com/supabase/su
There's been [plenty of drama](https://hacktoberfest.digitalocean.com/hacktoberfest-update) during Hacktoberfest, but Supabase is committed to helping new contributors get started with open source. We've already seen a lot of issues closed by new members to our community and first-time contributors. If you're looking for ways to get involved, read our Hacktoberfest [blog post](https://supabase.io/blog/2020/09/11/supabase-hacktoberfest-2020), check our our [live stream](https://www.youtube.com/watch?v=3_xRLTjvEiE&t=60s), and then dive into our [project board](https://github.com/orgs/supabase/projects/5).
-![This is an image of our hacktoberfest project board on GitHub.](/img/supabase-hacktoberfest-board.png)
+![This is an image of our hacktoberfest project board on GitHub.](/new/images/blog/supabase-hacktoberfest-board.png)
### Coming next
diff --git a/www/_blog/2020-10-30-improved-dx.md b/www/_blog/2020-10-30-improved-dx.mdx
similarity index 86%
rename from www/_blog/2020-10-30-improved-dx.md
rename to www/_blog/2020-10-30-improved-dx.mdx
index 88d93d5ef17..114251c6e96 100644
--- a/www/_blog/2020-10-30-improved-dx.md
+++ b/www/_blog/2020-10-30-improved-dx.mdx
@@ -9,7 +9,7 @@ authorURL: https://github.com/kiwicopple
image: supabase-js-1-0.png
tags:
- supabase
-date: '30-10-2021'
+date: '10-30-2020'
---
Today we're releasing [supabase-js](https://github.com/supabase/supabase-js) version 1.0, and it comes with some major Developer Experience improvements.
@@ -26,24 +26,28 @@ Before digging into the improvements, we're excited to point out our new [develo
### Errors are returned, not thrown
-We attribute this improvement to community feedback. This has significantly improved the developer experience. Previously we would throw errors:
+We attribute this improvement to community feedback. This has significantly improved the developer experience.
-```js
-try {
+Previously we would throw errors:
+
+<CodeBlock
+ code={`try {
const { body } = supabase.from('todos').select('*')
} catch (error) {
console.log(error)
-}
-```
+}`}
+ lang="js"
+ hideCopy
+/>
And now we simply return them:
-```js
-const { data, error } = supabase.from('todos').select('*')
-if (error) console.log(error)
-
-// else, carry on ..
-```
+<CodeBlock
+ code={`const { data, error } = supabase.from('todos').select('*')
+if (error) console.log(error)\n
+// else, carry on ..`}
+ lang="js"
+/>
After testing this for a while we're very happy with this pattern. Errors are handled next to the offending function. Of course you can always rethrow the error if that's your preference.
@@ -55,20 +59,23 @@ To maintain this philosophy, we created [`gotrue-js`](https://github.com/supabas
Previously:
-```js
-const {
+<CodeBlock
+ code={`const {
body: { user },
-} = await supabase.auth.signup('[email protected]', 'password')
-```
+} = await supabase.auth.signup('[email protected]', 'password')`}
+ lang="js"
+ hideCopy
+/>
Now:
-```js
-const { user, error } = await supabase.auth.signUp({
+<CodeBlock
+ code={`const { user, error } = await supabase.auth.signUp({
password: 'password',
-})
-```
+})`}
+ lang="js"
+/>
### Enhancements and fixes
@@ -90,15 +97,11 @@ We've bumped the major version because there are a number of breaking changes. W
Previously:
-```js
-const { body } = supabase.from('todos').select('*')
-```
+<CodeBlock code={`const {body} = supabase.from('todos').select('*')`} lang="js" hideCopy />
Now:
-```js
-const { data } = supabase.from('todos').select()
-```
+<CodeBlock code={`const {data} = supabase.from('todos').select()`} lang="js" />
### Upgrading
diff --git a/www/_blog/2020-11-02-supabase-alpha-october-2020.md b/www/_blog/2020-11-02-supabase-alpha-october-2020.mdx
similarity index 90%
rename from www/_blog/2020-11-02-supabase-alpha-october-2020.md
rename to www/_blog/2020-11-02-supabase-alpha-october-2020.mdx
index 27510d0fbcd..b47e57a0713 100644
--- a/www/_blog/2020-11-02-supabase-alpha-october-2020.md
+++ b/www/_blog/2020-11-02-supabase-alpha-october-2020.mdx
@@ -9,7 +9,7 @@ authorURL: https://github.com/kiwicopple
image: supabase-october-2020.png
tags:
- supabase
-date: '02-11-2021'
+date: '11-02-2020'
---
We're now 8 months into building Supabase. We're focused on performance, stability, and reliability but that hasn't prevented us from shipping some great features.
@@ -20,7 +20,15 @@ We're now 8 months into building Supabase. We're focused on performance, stabili
Watch a full demo:
-<iframe className="w-full video-with-border" width="640" height="385" src="https://www.youtube-nocookie.com/embed/1gNDMMsUPI0" frameBorder="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
+<iframe
+ className="w-full video-with-border"
+ width="640"
+ height="385"
+ src="https://www.youtube-nocookie.com/embed/1gNDMMsUPI0"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+></iframe>
### Supabase.js 1.0
@@ -32,19 +40,19 @@ Check out the [blog post](https://supabase.io/blog/2020/10/30/improved-dx) to le
Although it was only intended to be a temporary feature, the SQL Editor has become one of the most useful features of Supabase. This month we decided to make give it some attention, adding Tabs and making it full-screen. This is the first of many updates, we've got some exciting things planned for the SQL Editor.
-![This image shows a SQL Editor with tabs. Originally our SQL editor was very basic, but we're moving towards something very powerful.](/img/sql-editor.png)
+![This image shows a SQL Editor with tabs. Originally our SQL editor was very basic, but we're moving towards something very powerful.](/new/images/blog/sql-editor.png)
### Key commands for Power Users
For the heavy table editor users, we've gone ahead and added a bunch of key commands and keyboard shortcuts so you can zip around and manipulate your tables faster than ever.
-![This image shows some of the keyboard shortcuts we introduced on the table editor.](/img/keyboard-shortcuts.png)
+![This image shows some of the keyboard shortcuts we introduced on the table editor.](/new/images/blog/keyboard-shortcuts.png)
### Magic Links
One of the most requested Auth features was the ability to send magic links that your users can use to log in. You can use this with new or existing users, and alongside passwords or stand alone.
-![This image shows a template where developers can edit the magic links email which is sent to their users on sign up.](/img/magic-links.png)
+![This image shows a template where developers can edit the magic links email which is sent to their users on sign up.](/new/images/blog/magic-links.png)
### Kaizen
diff --git a/www/_blog/2020-11-18-postgresql-views.md b/www/_blog/2020-11-18-postgresql-views.mdx
similarity index 99%
rename from www/_blog/2020-11-18-postgresql-views.md
rename to www/_blog/2020-11-18-postgresql-views.mdx
index f0fa11953b0..ce121b70a1d 100644
--- a/www/_blog/2020-11-18-postgresql-views.md
+++ b/www/_blog/2020-11-18-postgresql-views.mdx
@@ -9,7 +9,7 @@ authorURL: https://github.com/dragarcia
image: postgres-views.png
tags:
- postgres
-date: '18-11-2021'
+date: '11-18-2020'
---
A quick summary of Postgres views, materialized views, and why you should use them.
diff --git a/www/_blog/2020-12-01-supabase-alpha-november-2020.md b/www/_blog/2020-12-01-supabase-alpha-november-2020.mdx
similarity index 84%
rename from www/_blog/2020-12-01-supabase-alpha-november-2020.md
rename to www/_blog/2020-12-01-supabase-alpha-november-2020.mdx
index 030446a5c1f..4e2499b37bc 100644
--- a/www/_blog/2020-12-01-supabase-alpha-november-2020.md
+++ b/www/_blog/2020-12-01-supabase-alpha-november-2020.mdx
@@ -9,7 +9,7 @@ authorURL: https://github.com/kiwicopple
image: supabase-november-2020.png
tags:
- supabase
-date: '01-12-2021'
+date: '12-01-2020'
---
We've been building for 9 months now, and we're getting even closer to Beta.
@@ -20,31 +20,39 @@ We've been building for 9 months now, and we're getting even closer to Beta.
Watch a full demo:
-<iframe className="w-full video-with-border" width="640" height="385" src="https://www.youtube-nocookie.com/embed/unC_de7iytA" frameBorder="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
+<iframe
+ className="w-full video-with-border"
+ width="640"
+ height="385"
+ src="https://www.youtube-nocookie.com/embed/unC_de7iytA"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+></iframe>
### Add users
You can now add users manually from your dashboard.
-![This image shows how to invite a new user directly from the dashboard.](/img/invite-users.gif)
+![This image shows how to invite a new user directly from the dashboard.](/new/images/blog/invite-users.gif)
### User admin
You can also perform admin functions on existing users - send password reset emails, magic links, and delete users.
-![This image shows how to delete a user directly from the dashboard.](/img/delete-users.gif)
+![This image shows how to delete a user directly from the dashboard.](/new/images/blog/delete-users.gif)
### Even more powerful SQL Editor
Last month we [announced](/blog/2020/11/02/supabase-alpha-october-2020#more-powerful-sql-editor) an improved SQL Editor, and this month we've taken it even further. The SQL Editor is now a full Monaco editor, like you'd find in VS Code. Build your database directly from the browser.
-![This image shows our improved SQL Editor.](/img/supabase-monaco-editor.png)
+![This image shows our improved SQL Editor.](/new/images/blog/supabase-monaco-editor.png)
### Status page
We added a [Status Page](https://status.supabase.io/) which tracks the uptime and latency of the Supabase platform.
-![This image shows our new status page.](/img/status-page.png)
+![This image shows our new status page.](/new/images/blog/status-page.png)
### Kaizen
diff --git a/www/_blog/2020-12-02-case-study-monitoro.md b/www/_blog/2020-12-02-case-study-monitoro.mdx
similarity index 87%
rename from www/_blog/2020-12-02-case-study-monitoro.md
rename to www/_blog/2020-12-02-case-study-monitoro.mdx
index 7e9ec47a1eb..be2ee738639 100644
--- a/www/_blog/2020-12-02-case-study-monitoro.md
+++ b/www/_blog/2020-12-02-case-study-monitoro.mdx
@@ -10,7 +10,7 @@ image: supabase-monitoro.png
tags:
- case-study
- nocode
-date: '02-12-2021'
+date: '12-02-2020'
---
Omar Kamali is the founder of [Monitoro](https://www.monitoro.xyz/), a service for scraping countless websites 24/7 to notify customers when these websites change. To create this product, Monitoro's team needed to handle massive data throughput whilst ensuring the product was reliable and resilient to satisfy a rapidly growing user base.
@@ -23,7 +23,7 @@ Learn how Monitoro was able to build fast, ensure reliability, and keep scaling
In one month, Monitoro scaled from nothing to nearly one million API requests per day.
-![This image Monitoro's API requests every day for a month. They went from zero to 800 thousand daily requests.](/img/monitoro-requests.png)
+![This image Monitoro's API requests every day for a month. They went from zero to 800 thousand daily requests.](/new/images/blog/monitoro-requests.png)
### Customer discovery to development
@@ -39,7 +39,7 @@ Within a couple of days, the team had a version ready they could deploy. Monitor
Fast forward to today, and Monitoro's user base has been ramping up, as they use Monitoro to monitor changes to websites all over the world. Despite how fast their user base has grown, the Monitoro team have peace of mind as they scale because they used Supabase, knowing it will just work without worrying about DevOps.
-![Quote from Omar - Supabase was exactly the solution I needed so when I saw it on Hacker News I was instantly excited. Supabase allowed us to go further, faster, with our product functionality. We had a fast-growing user base which would have been challenging to support without being able to depend on Supabase.](/img/omar-monitoro.png)
+![Quote from Omar - Supabase was exactly the solution I needed so when I saw it on Hacker News I was instantly excited. Supabase allowed us to go further, faster, with our product functionality. We had a fast-growing user base which would have been challenging to support without being able to depend on Supabase.](/new/images/blog/omar-monitoro.png)
### Prototype fast, and keep going
@@ -47,4 +47,12 @@ Thanks to Supabase, Monitoro could deliver the features required needed faster t
Learn more about Monitoro:
-<iframe className="w-full video-with-border" width="640" height="385" src="https://www.youtube-nocookie.com/embed/8A6_pg41M2s" frameBorder="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
+<iframe
+ className="w-full video-with-border"
+ width="640"
+ height="385"
+ src="https://www.youtube-nocookie.com/embed/8A6_pg41M2s"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+></iframe>
diff --git a/www/_blog/2020-12-02-case-study-tayfa.md b/www/_blog/2020-12-02-case-study-tayfa.mdx
similarity index 94%
rename from www/_blog/2020-12-02-case-study-tayfa.md
rename to www/_blog/2020-12-02-case-study-tayfa.mdx
index 6aedfacaa23..c86a82b3070 100644
--- a/www/_blog/2020-12-02-case-study-tayfa.md
+++ b/www/_blog/2020-12-02-case-study-tayfa.mdx
@@ -10,7 +10,7 @@ image: supabase-tayfa.png
tags:
- case-study
- no-code
-date: '02-12-2021'
+date: '12-02-2020'
---
[**TAYFA**](https://usetayfa.com) is the fastest no-code approach to create and iterate on bespoke frontends. Learn how its solo founder, [Sarup Banskota](https://twitter.com/sarupbanskota?lang=en), was able to launch quickly with [Supabase](https://supabase.io), Next.js, and Vercel.
@@ -21,7 +21,7 @@ date: '02-12-2021'
Sarup's background is in open-source, web frontends, and devtools. In the summer of 2020, he was rapidly building MVPs as he explored different problem spaces. Sarup found that reusing his frontend work across projects, wasn't as simple as he'd have liked.
-![This image shows a quote from Sarup - Frontends should be as simple as: Sign-up, drag & drop, publish.](/img/sarup-tayfa.png)
+![This image shows a quote from Sarup - Frontends should be as simple as: Sign-up, drag & drop, publish.](/new/images/blog/sarup-tayfa.png)
- Zero to MVP: **7 Days**
- Idea to 1st Payment: **30 Days**
@@ -39,7 +39,7 @@ One option was to do it the "old-school" way: Postgres on a custom server, or Mo
Luckily, Sarup discovered Supabase through the Vercel community. Open-source and built on top of Postgres, it was perfect for his future self-hosting needs and also offered him an API out of the box. The current version of TAYFA is the third iteration, and also takes advantage of Supabase Auth, an out of the box auth layer.
-![This image shows a quote from his customers - The speed at which TAYFA is evolving is crazy. I've seen ideas translate into live features 10 minutes after speaking on the phone.](/img/tanmai-tayfa.png)
+![This image shows a quote from his customers - The speed at which TAYFA is evolving is crazy. I've seen ideas translate into live features 10 minutes after speaking on the phone.](/new/images/blog/tanmai-tayfa.png)
> _"If my product helps customers move fast, then I need to move fast._
>
diff --git a/www/_blog/2020-12-02-case-study-xendit.md b/www/_blog/2020-12-02-case-study-xendit.mdx
similarity index 99%
rename from www/_blog/2020-12-02-case-study-xendit.md
rename to www/_blog/2020-12-02-case-study-xendit.mdx
index 20093582e75..d95679850a3 100644
--- a/www/_blog/2020-12-02-case-study-xendit.md
+++ b/www/_blog/2020-12-02-case-study-xendit.mdx
@@ -11,7 +11,7 @@ thumb: supabase-xendit-thumb.jpg
tags:
- case-study
- fintech
-date: '02-12-2021'
+date: '12-02-2020'
---
[Xendit](https://www.xendit.co/) is one of South East Asia's largest payment processors. They use Supabase to run automated checks against international sanctions lists.
diff --git a/www/_blog/2020-12-02-supabase-striveschool.md b/www/_blog/2020-12-02-supabase-striveschool.mdx
similarity index 97%
rename from www/_blog/2020-12-02-supabase-striveschool.md
rename to www/_blog/2020-12-02-supabase-striveschool.mdx
index 14658ebe88b..fbff6842b91 100644
--- a/www/_blog/2020-12-02-supabase-striveschool.md
+++ b/www/_blog/2020-12-02-supabase-striveschool.mdx
@@ -10,7 +10,7 @@ image: supabase-strive-school.png
tags:
- supabase
- Striveschool
-date: '02-12-2021'
+date: '12-02-2020'
---
<!--truncate-->
@@ -19,7 +19,7 @@ date: '02-12-2021'
We are proud to announce we are teaming up with fellow YC Summer 20 Alumni [Strive School](https://strive.school/), to help teach the next generation of software developers about open source software development.
-![Supabase and Strive are partnering up to teach OSS.](/img/strive-supabase.png)
+![Supabase and Strive are partnering up to teach OSS.](/new/images/blog/strive-supabase.png)
Strive School is on a mission to train the next generation of Computer Engineers, starting from Europe.
diff --git a/www/_blog/2020-12-13-supabase-dashboard-performance.md b/www/_blog/2020-12-13-supabase-dashboard-performance.mdx
similarity index 96%
rename from www/_blog/2020-12-13-supabase-dashboard-performance.md
rename to www/_blog/2020-12-13-supabase-dashboard-performance.mdx
index d5bd75549b7..6b4fa906f1e 100644
--- a/www/_blog/2020-12-13-supabase-dashboard-performance.md
+++ b/www/_blog/2020-12-13-supabase-dashboard-performance.mdx
@@ -8,7 +8,7 @@ author_image_url: https://avatars3.githubusercontent.com/u/2155545
authorURL: https://github.com/inian
tags:
- supabase
-date: '13-12-2021'
+date: '12-13-2020'
---
<!--truncate-->
@@ -27,11 +27,11 @@ There was some low-hanging fruit to improve performance, but we had one importan
Our dashboard is JavaScript heavy, so we started by setting up analytics to track our bundle sizes. [Next-bundle-analyzer](https://www.npmjs.com/package/@next/bundle-analyzer) (or [webpack-bundle-analyzer](https://www.npmjs.com/package/webpack-bundle-analyzer)) provides an interactive treemap of your generated JavaScript bundles. This is our treemap when we started. It gave us a clear indication what changes we needed to achieve the most impact.
-![Nextjs tree analyzer](/img/blog/nextjs-tree-analyzer.png)
+![Nextjs tree analyzer](/new/images/blog/blog/nextjs-tree-analyzer.png)
There are some great tools when it comes to Real User Monitoring (RUM). We chose the newly-launched [Sentry performance monitoring](https://sentry.io/for/performance/) product since we already use Sentry for error tracking and we wanted to minimize new tools in our stack. It also supports reporting [Core Web Vitals](https://web.dev/vitals/), the performance metrics created by Google to track initial loading performance, responsiveness and visual stability. Core Web Vitals come with recommended target values, giving us clear goals to hit.
-![Core Web Vitals](/img/blog/core-web-vitals.png)
+![Core Web Vitals](/new/images/blog/blog/core-web-vitals.png)
## Improving our JavaScript bundle size
@@ -45,7 +45,7 @@ We used [Bundlephobia](https://bundlephobia.com/) on our largest modules. This i
We migrated from `Joi` to `ajv` for our schema validation which was 32% smaller. `ajv` was already bundled as a transitive dependency of other modules, making it a no-brainer.
-![NPM dependencies](/img/blog/npm-dependencies.png)
+![NPM dependencies](/new/images/blog/blog/npm-dependencies.png)
We reverted our [crypto-js](https://github.com/brix/crypto-js) module from version 4.0 to 3.3.0. Version 4.0 [injects more than 400kb code](https://github.com/brix/crypto-js/issues/276) when used in a browser context. The newer version replaces `Math.random` with node's implementation, injecting the entire node crypto module into the browser context. We use `crypto-js` for decrypting user's API keys and so we're not reliant on the randomness of the PRNG. We might move to a dedicated module like [aes-js](https://www.npmjs.com/package/aes-js) in the future since it has a much smaller surface area than `crypto-js` (in terms of security and performance).
@@ -78,7 +78,7 @@ Thanks to some skilled haxors (well, weak passwords mainly) we had crypto miners
The spreadsheet import is triggered when the user is creating a new table. However the code was previously loaded every time the page was visited - even when a new table was not being created. This made it a good candidate for lazy loading. Using [Next.js dynamic imports](https://nextjs.org/docs/advanced-features/dynamic-import) we are able to load this component (313 kb brotlied) dynamically, whenever the user clicks the "Add content" button.
<video width="99%" muted playsInline controls="true">
-<source src="/videos/lazy_loading.mov" type="video/mp4" muted playsInline />
+ <source src="/videos/lazy_loading.mov" type="video/mp4" muted playsInline />
</video>
We use the same technique to lazy load some Lottie animations which are relatively large.
@@ -113,7 +113,7 @@ During our transition from Alpha to Beta, performance was one of the important f
With these changes, we have a respectable Core Web Vitals score. This is a snapshot from Sentry with RUM data from the last week. We are within the recommended threshold for all the 3 Web Vitals.
-![Sentry results](/img/blog/sentry-results.png)
+![Sentry results](/new/images/blog/blog/sentry-results.png)
Our Next.js build output also shows that users download < 200 kb of JavaScript between any two page transitions. We're still improving too - even though we provide a lot of functionality in our dashboard, we will continue to reduce our bundle sizes.
diff --git a/www/_blog/2021-01-02-supabase-beta-december-2020.md b/www/_blog/2021-01-02-supabase-beta-december-2020.mdx
similarity index 83%
rename from www/_blog/2021-01-02-supabase-beta-december-2020.md
rename to www/_blog/2021-01-02-supabase-beta-december-2020.mdx
index f1c736fe57e..f32cec50fbc 100644
--- a/www/_blog/2021-01-02-supabase-beta-december-2020.md
+++ b/www/_blog/2021-01-02-supabase-beta-december-2020.mdx
@@ -9,7 +9,7 @@ authorURL: https://github.com/kiwicopple
image: supabase-december-2020.png
tags:
- supabase
-date: '02-01-2021'
+date: '01-02-2020'
---
After 10 hectic months of building, Supabase is now in Beta.
@@ -20,20 +20,28 @@ After 10 hectic months of building, Supabase is now in Beta.
Watch a full demo:
-<iframe className="w-full video-with-border" width="640" height="385" src="https://www.youtube-nocookie.com/embed/ofSm4BJkZ1g" frameBorder="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
+<iframe
+ className="w-full video-with-border"
+ width="640"
+ height="385"
+ src="https://www.youtube-nocookie.com/embed/ofSm4BJkZ1g"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+></iframe>
### Supabase is now in Beta
We spent months working on Performance, Security, and Reliability. Read more on our [Beta Page](https://supabase.io/beta).
-![This image shows our Beta Page.](/img/blog/dec-beta.png)
+![This image shows our Beta Page.](/new/images/blog/blog/dec-beta.png)
### Improve your docs inline
Add comments and descriptions to your Tables directly from our auto-generated docs. Descriptions are stored as PostgreSQL comments (https://postgresql.org/docs/current/sql-comment.html), and are exposed over your OpenAPI spec.
<video width="99%" autoPlay="autoplay" muted playsInline controls={true}>
-<source src="/videos/update-docs.mp4" type="video/mp4" muted playsInline />
+ <source src="/videos/update-docs.mp4" type="video/mp4" muted playsInline />
</video>
### Table View now has realtime changes
@@ -41,7 +49,7 @@ Add comments and descriptions to your Tables directly from our auto-generated do
Any updates that happen to your database are reflected in the Table View immediately.
<video width="99%" autoPlay="autoplay" muted playsInline controls={true}>
-<source src="/videos/realtime-updates.mp4" type="video/mp4" muted playsInline />
+ <source src="/videos/realtime-updates.mp4" type="video/mp4" muted playsInline />
</video>
### Table Pagination
@@ -49,7 +57,7 @@ Any updates that happen to your database are reflected in the Table View immedia
Our table view now has pagination - better for working with large data sets.
<video width="99%" autoPlay="autoplay" muted playsInline controls={true}>
-<source src="/videos/table-pagination.mp4" type="video/mp4" muted playsInline />
+ <source src="/videos/table-pagination.mp4" type="video/mp4" muted playsInline />
</video>
### Supabase raised a Seed Round
@@ -73,7 +81,7 @@ We raised $6M from Y Combinator, Mozilla, and Coatue. You can read more on [Tech
- [@ffbass](https://github.com/ffabss) started working on gotrue-java. [Link](https://github.com/supabase/gotrue-java).
- We've grown more than 50% (GitHub star count) since moving into Beta. [Link](https://twitter.com/supabase_io/status/1345410714836594693)
-![This image shows GitHub star growth.](/img/blog/dec-starcount.png)
+![This image shows GitHub star growth.](/new/images/blog/blog/dec-starcount.png)
If you want to keep up to date, make sure you [subscribe to our YouTube channel](https://www.youtube.com/channel/UCNTVzV1InxHV-YR0fSajqPQ) or [follow us on Twitter](https://twitter.com/supabase_io).
diff --git a/www/_blog/2021-02-02-supabase-beta-january-2021.md b/www/_blog/2021-02-02-supabase-beta-january-2021.mdx
similarity index 79%
rename from www/_blog/2021-02-02-supabase-beta-january-2021.md
rename to www/_blog/2021-02-02-supabase-beta-january-2021.mdx
index c76ac2dc426..c27727c4a54 100644
--- a/www/_blog/2021-02-02-supabase-beta-january-2021.md
+++ b/www/_blog/2021-02-02-supabase-beta-january-2021.mdx
@@ -20,55 +20,63 @@ New year, new features. We've been busy at Supabase during January and our commu
Watch a full demo:
-<iframe className="w-full video-with-border" width="640" height="385" src="https://www.youtube-nocookie.com/embed/DlybOLANG4s" frameBorder="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
+<iframe
+ className="w-full video-with-border"
+ width="640"
+ height="385"
+ src="https://www.youtube-nocookie.com/embed/DlybOLANG4s"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+></iframe>
### Count functionality
Anyone who has worked with Firebase long enough has become frustrated over the [lack](https://stackoverflow.com/questions/49979714/how-to-get-count-of-documents-in-a-collection) of `count` functionality. This isn't a problem with PostgreSQL! Our libraries now have support for PostgREST's [exact](https://postgrest.org/en/v7.0.0/api.html?highlight=count#exact-count), [planned](https://postgrest.org/en/v7.0.0/api.html?highlight=count#planned-count), and [estimated](https://postgrest.org/en/v7.0.0/api.html?highlight=count#estimated-count) counts. A massive thanks to [@dshukertjr](https://github.com/supabase/postgrest-js/issues/94#event-4210564301) for this adding support to our client library.
-![Supabase now supports count functionality](/img/blog/postgres-count.png)
+![Supabase now supports count functionality](/new/images/blog/blog/postgres-count.png)
### New Auth Providers
We enabled 2 new Auth providers - Facebook and Azure. Thanks to [@Levet](https://github.com/supabase/gotrue/pull/54) for the Azure plugin, and once again to [Netlify's amazing work](https://github.com/netlify/gotrue/issues/107) with GoTrue to implement Facebook.
-![Supabase now supports Azure and Facebook Oauth providers](/img/blog/auth-azure-and-facebook.png)
+![Supabase now supports Azure and Facebook Oauth providers](/new/images/blog/blog/auth-azure-and-facebook.png)
### Auth Audit Trail
We have exposed the audit trail directly in the dashboard, as well as the GoTrue logs. Great for security and debugging.
-![Supabase exposes the Auth Audit trail on the dashboard](/img/blog/auth-audit.png)
+![Supabase exposes the Auth Audit trail on the dashboard](/new/images/blog/blog/auth-audit.png)
### Auth UI widget
In case our Auth endpoints aren't easy enough already, we've built a React [Auth Widget](http://ui.supabase.com/?path=/story/auth-auth--default) for you to drop into your app and to get up-and-running in minutes.
-![Supabase has released a React Auth widget](/img/blog/auth-widget.png)
+![Supabase has released a React Auth widget](/new/images/blog/blog/auth-widget.png)
### New `auth.email()` function
We added a helper function for extracting the logged in user's email address.
-![Supabase added an email function for using with Policies](/img/blog/policies-email.png)
+![Supabase added an email function for using with Policies](/new/images/blog/blog/policies-email.png)
### New Regions
Launch your database in London or Sydney!
-![Launch your database in London or Sydney](/img/blog/regions-london-sydney.png)
+![Launch your database in London or Sydney](/new/images/blog/blog/regions-london-sydney.png)
### Copy rows as Markdown
You can now copy SQL results as Markdown - super useful for adding to blogs and issues.
-![Copy query results as markdown](/img/blog/countries.gif)
+![Copy query results as markdown](/new/images/blog/blog/countries.gif)
### React server components
If you're excited by React Server components then check out the Supabase + Server Components experimental repo. [https://github.com/supabase/next-server-components](https://github.com/supabase/next-server-components)
-![Use supabase with React Server components](/img/blog/react-server-components-supabase.png)
+![Use supabase with React Server components](/new/images/blog/blog/react-server-components-supabase.png)
### Learn
@@ -78,7 +86,7 @@ We know that Auth can be a bit daunting when you're just starting out, so we hav
- [Supabase Auth Deep Dive Part 2: Restrict Table Access](https://youtu.be/qY_iQ10IUhs)
- [Supabase Auth Deep Dive Part 3: User Based Access Policies](https://youtu.be/0LvCOlELs5U)
-![We released a Auth Video Series](/img/blog/supabase-auth-series.png)
+![We released a Auth Video Series](/new/images/blog/blog/supabase-auth-series.png)
### Kaizen
@@ -103,9 +111,11 @@ We know that Auth can be a bit daunting when you're just starting out, so we hav
- The community has made some serious advances on the [Dart](https://github.com/supabase?q=dart&type=&language=), [C#](https://github.com/supabase?q=csharp&type=&language=), [Python](https://github.com/supabase?q=python&type=&language=), and [Kotlin](https://github.com/supabase?q=kotlin&type=&language=) libraries.
- We were one of the fastest growing open source startups in Q4 last year: [Link](https://twitter.com/RunaCapital/status/1351122231791910916)
-![This image shows the Supabase GitHub star growth.](/img/blog/jan-21-starcount.png)
+![This image shows the Supabase GitHub star growth.](/new/images/blog/blog/jan-21-starcount.png)
-<small>Source: <a href="https://repository.surf/supabase">repository.surf/supabase</a></small>
+<small>
+ Source: <a href="https://repository.surf/supabase">repository.surf/supabase</a>
+</small>
### Coming next
diff --git a/www/_blog/2021-02-09-case-study-roboflow.md b/www/_blog/2021-02-09-case-study-roboflow.mdx
similarity index 99%
rename from www/_blog/2021-02-09-case-study-roboflow.md
rename to www/_blog/2021-02-09-case-study-roboflow.mdx
index 53b88f27d1e..3ed4255ea26 100644
--- a/www/_blog/2021-02-09-case-study-roboflow.md
+++ b/www/_blog/2021-02-09-case-study-roboflow.mdx
@@ -11,7 +11,7 @@ thumb: roboflow-website.png
tags:
- case-study
- AI
-date: '09-02-2021'
+date: '02-09-2021'
---
Brad Dwyer is the founder of [Roboflow](https://roboflow.com/?ref=supabase), a startup helping developers build computer vision into their applications. Their solution allows developers, with zero computer vision experience, to go from images to a trained computer vision model in minutes.
diff --git a/www/components/CodeBlock/CodeBlock.module.css b/www/components/CodeBlock/CodeBlock.module.css
new file mode 100644
index 00000000000..8a61c32e225
--- /dev/null
+++ b/www/components/CodeBlock/CodeBlock.module.css
@@ -0,0 +1,25 @@
+.code-block {
+ @apply rounded-b-lg;
+ /* padding-top: 8px !important; */
+ @apply border border-gray-600;
+}
+
+.code-block::before {
+ content: '';
+ background: #1e1e1e;
+ height: 10px;
+ width: 48px;
+ display: block;
+}
+
+.code-block::after {
+ content: '';
+ background: #1e1e1e;
+ height: 12px;
+ width: 48px;
+ display: block;
+}
+
+.code-block code .linenumber {
+ margin-right: 4px;
+}
diff --git a/www/components/CodeBlock/CodeBlock.tsx b/www/components/CodeBlock/CodeBlock.tsx
new file mode 100644
index 00000000000..534783cbfa4
--- /dev/null
+++ b/www/components/CodeBlock/CodeBlock.tsx
@@ -0,0 +1,68 @@
+import { Light as SyntaxHighlighter } from 'react-syntax-highlighter'
+import js from 'react-syntax-highlighter/dist/cjs/languages/hljs/javascript'
+import monokaiCustomTheme from 'data/CodeEditorTheme'
+import CodeBlockStyles from './CodeBlock.module.css'
+import { Button, IconCopy } from '@supabase/ui'
+import CopyToClipboard from 'react-copy-to-clipboard'
+
+interface Props {
+ lang: 'js'
+ code: 'string'
+ startingLineNumber?: number
+ hideCopy?: boolean
+}
+function CodeBlock(props: Props) {
+ // const {
+ // lang = 'js',
+ // code,
+ // startingLineNumber = 1
+ // } = props
+
+ SyntaxHighlighter.registerLanguage('javascript', js)
+
+ return (
+ <div className="relative">
+ <SyntaxHighlighter
+ // startingLineNumber={startingLineNumber}
+ language="javascript"
+ style={monokaiCustomTheme}
+ className={CodeBlockStyles['code-block']}
+ customStyle={{
+ padding: 0,
+ // paddingTop: '32px',
+ fontSize: 12,
+ lineHeight: 1.2,
+ borderTop: '1px solid #393939',
+ background: '#181818',
+ }}
+ showLineNumbers
+ lineNumberContainerStyle={{
+ paddingTop: '128px',
+ }}
+ lineNumberStyle={{
+ minWidth: '48px',
+ background: '#1e1e1e',
+ paddingLeft: '21px',
+ marginRight: '12px',
+ color: '#828282',
+ fontSize: 12,
+ paddingTop: '4px',
+ paddingBottom: '4px',
+ }}
+ >
+ {props.code}
+ </SyntaxHighlighter>
+ {!props.hideCopy && (
+ <div className="absolute right-2 top-2 dark">
+ <CopyToClipboard text={props.code}>
+ <Button type="outline" icon={<IconCopy />}>
+ Copy
+ </Button>
+ </CopyToClipboard>
+ </div>
+ )}
+ </div>
+ )
+}
+
+export default CodeBlock
diff --git a/www/lib/posts.tsx b/www/lib/posts.tsx
new file mode 100644
index 00000000000..2a8df12905c
--- /dev/null
+++ b/www/lib/posts.tsx
@@ -0,0 +1,102 @@
+// ./lib/posts.js
+
+import fs from 'fs'
+import path from 'path'
+import matter from 'gray-matter'
+
+//Finding directory named "blog" from the current working directory of Node.
+const postDirectory = path.join(process.cwd(), '_blog')
+
+export const getSortedPosts = (limit?: number, tags?: any) => {
+ console.log(tags)
+ //Reads all the files in the post directory
+ const fileNames = fs.readdirSync(postDirectory)
+
+ // categories stored in this array
+
+ let allPostsData = fileNames.map((filename) => {
+ const slug = filename.replace('.mdx', '')
+
+ const fullPath = path.join(postDirectory, filename)
+ //Extracts contents of the MDX file
+ const fileContents = fs.readFileSync(fullPath, 'utf8')
+ const { data } = matter(fileContents)
+
+ const options = { month: 'long', day: 'numeric', year: 'numeric' }
+ const formattedDate = new Date(data.date).toLocaleDateString('en-IN', options)
+
+ // // add tags into categories array
+ // data.tags.map((tag: string) => {
+ // if (!categories.includes(tag)) return categories.push(tag)
+ // })
+
+ // if(this.items.indexOf(item) === -1) {
+ // this.items.push(item);
+ // console.log(this.items);
+ // }
+
+ const frontmatter = {
+ ...data,
+ date: formattedDate,
+ }
+ return {
+ slug,
+ ...frontmatter,
+ }
+ })
+
+ allPostsData = allPostsData.sort((a, b) => {
+ if (new Date(a.date) < new Date(b.date)) {
+ return 1
+ } else {
+ return -1
+ }
+ })
+
+ if (tags) {
+ allPostsData = allPostsData.filter((post: any) => {
+ console.log(post)
+ const found = tags.some((tag: any) => post.tags.includes(tag))
+ return found
+ })
+ }
+
+ if (limit) allPostsData = allPostsData.slice(0, limit)
+
+ return allPostsData
+}
+
+//Get Slugs
+export const getAllPostSlugs = () => {
+ const fileNames = fs.readdirSync(postDirectory)
+
+ return fileNames.map((filename) => {
+ return {
+ params: {
+ slug: filename.replace('.mdx', ''),
+ },
+ }
+ })
+}
+
+//Get Post based on Slug
+export const getPostdata = async (slug: string) => {
+ const fullPath = path.join(postDirectory, `${slug}.mdx`)
+ const postContent = fs.readFileSync(fullPath, 'utf8')
+
+ return postContent
+}
+
+export const getAllCategories = () => {
+ const posts = getSortedPosts()
+ let categories: any = []
+
+ posts.map((post: any) => {
+ // add tags into categories array
+ post.tags.map((tag: string) => {
+ if (!categories.includes(tag)) return categories.push(tag)
+ })
+ })
+
+ return categories
+}
diff --git a/www/next.config.js b/www/next.config.js
index 4a7a82ba6db..2d43973a990 100644
--- a/www/next.config.js
+++ b/www/next.config.js
@@ -1,8 +1,6 @@
-const withMDX = require('@next/mdx')({
- extension: /\.mdx?$/,
-})
+const withMDX = require('@next/mdx')()
-module.exports = {
+module.exports = withMDX({
basePath: '/new',
pageExtensions: ['js', 'jsx', 'tsx', 'md', 'mdx'],
-}
+})
diff --git a/www/package-lock.json b/www/package-lock.json
index 46381bcb3d3..388556bbab1 100644
--- a/www/package-lock.json
+++ b/www/package-lock.json
@@ -12,6 +12,11 @@
"@babel/highlight": "^7.10.4"
}
},
+ "@babel/compat-data": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.12.13.tgz",
+ "integrity": "sha512-U/hshG5R+SIoW7HVWIdmy1cB7s3ki+r3FpyEZiCgpi4tFgPnX/vynY80ZGSASOIrUM6O7VxOgCZgdt7h97bUGg=="
+ },
"@babel/core": {
"version": "7.12.9",
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.9.tgz",
@@ -84,6 +89,126 @@
}
}
},
+ "@babel/helper-annotate-as-pure": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.12.13.tgz",
+ "integrity": "sha512-7YXfX5wQ5aYM/BOlbSccHDbuXXFPxeoUmfWtz8le2yTkTZc+BxsiEnENFoi2SlmA8ewDkG2LgIMIVzzn2h8kfw==",
+ "requires": {
+ "@babel/types": "^7.12.13"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.17.tgz",
+ "integrity": "sha512-tNMDjcv/4DIcHxErTgwB9q2ZcYyN0sUfgGKUK/mm1FJK7Wz+KstoEekxrl/tBiNDgLK1HGi+sppj1An/1DR4fQ==",
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "lodash": "^4.17.19",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-builder-binary-assignment-operator-visitor": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.12.13.tgz",
+ "integrity": "sha512-CZOv9tGphhDRlVjVkAgm8Nhklm9RzSmWpX2my+t7Ua/KT616pEzXsQCjinzvkRvHWJ9itO4f296efroX23XCMA==",
+ "requires": {
+ "@babel/helper-explode-assignable-expression": "^7.12.13",
+ "@babel/types": "^7.12.13"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.17.tgz",
+ "integrity": "sha512-tNMDjcv/4DIcHxErTgwB9q2ZcYyN0sUfgGKUK/mm1FJK7Wz+KstoEekxrl/tBiNDgLK1HGi+sppj1An/1DR4fQ==",
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "lodash": "^4.17.19",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-compilation-targets": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.12.17.tgz",
+ "integrity": "sha512-5EkibqLVYOuZ89BSg2lv+GG8feywLuvMXNYgf0Im4MssE0mFWPztSpJbildNnUgw0bLI2EsIN4MpSHC2iUJkQA==",
+ "requires": {
+ "@babel/compat-data": "^7.12.13",
+ "@babel/helper-validator-option": "^7.12.17",
+ "browserslist": "^4.14.5",
+ "semver": "^5.5.0"
+ },
+ "dependencies": {
+ "semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
+ }
+ }
+ },
+ "@babel/helper-create-class-features-plugin": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.12.17.tgz",
+ "integrity": "sha512-I/nurmTxIxHV0M+rIpfQBF1oN342+yvl2kwZUrQuOClMamHF1w5tknfZubgNOLRoA73SzBFAdFcpb4M9HwOeWQ==",
+ "requires": {
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/helper-member-expression-to-functions": "^7.12.17",
+ "@babel/helper-optimise-call-expression": "^7.12.13",
+ "@babel/helper-replace-supers": "^7.12.13",
+ "@babel/helper-split-export-declaration": "^7.12.13"
+ },
+ "dependencies": {
+ "@babel/helper-member-expression-to-functions": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.12.17.tgz",
+ "integrity": "sha512-Bzv4p3ODgS/qpBE0DiJ9qf5WxSmrQ8gVTe8ClMfwwsY2x/rhykxxy3bXzG7AGTnPB2ij37zGJ/Q/6FruxHxsxg==",
+ "requires": {
+ "@babel/types": "^7.12.17"
+ }
+ },
+ "@babel/types": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.17.tgz",
+ "integrity": "sha512-tNMDjcv/4DIcHxErTgwB9q2ZcYyN0sUfgGKUK/mm1FJK7Wz+KstoEekxrl/tBiNDgLK1HGi+sppj1An/1DR4fQ==",
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "lodash": "^4.17.19",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-create-regexp-features-plugin": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.12.17.tgz",
+ "integrity": "sha512-p2VGmBu9oefLZ2nQpgnEnG0ZlRPvL8gAGvPUMQwUdaE8k49rOMuZpOwdQoy5qJf6K8jL3bcAMhVUlHAjIgJHUg==",
+ "requires": {
+ "@babel/helper-annotate-as-pure": "^7.12.13",
+ "regexpu-core": "^4.7.1"
+ }
+ },
+ "@babel/helper-explode-assignable-expression": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.12.13.tgz",
+ "integrity": "sha512-5loeRNvMo9mx1dA/d6yNi+YiKziJZFylZnCo1nmFF4qPU4yJ14abhWESuSMQSlQxWdxdOFzxXjk/PpfudTtYyw==",
+ "requires": {
+ "@babel/types": "^7.12.13"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.17.tgz",
+ "integrity": "sha512-tNMDjcv/4DIcHxErTgwB9q2ZcYyN0sUfgGKUK/mm1FJK7Wz+KstoEekxrl/tBiNDgLK1HGi+sppj1An/1DR4fQ==",
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "lodash": "^4.17.19",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
"@babel/helper-function-name": {
"version": "7.12.13",
"resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.12.13.tgz",
@@ -126,6 +251,26 @@
}
}
},
+ "@babel/helper-hoist-variables": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.12.13.tgz",
+ "integrity": "sha512-KSC5XSj5HreRhYQtZ3cnSnQwDzgnbdUDEFsxkN0m6Q3WrCRt72xrnZ8+h+pX7YxM7hr87zIO3a/v5p/H3TrnVw==",
+ "requires": {
+ "@babel/types": "^7.12.13"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.17.tgz",
+ "integrity": "sha512-tNMDjcv/4DIcHxErTgwB9q2ZcYyN0sUfgGKUK/mm1FJK7Wz+KstoEekxrl/tBiNDgLK1HGi+sppj1An/1DR4fQ==",
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "lodash": "^4.17.19",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
"@babel/helper-member-expression-to-functions": {
"version": "7.12.16",
"resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.12.16.tgz",
@@ -219,6 +364,28 @@
"resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.12.13.tgz",
"integrity": "sha512-C+10MXCXJLiR6IeG9+Wiejt9jmtFpxUc3MQqCmPY8hfCjyUGl9kT+B2okzEZrtykiwrc4dbCPdDoz0A/HQbDaA=="
},
+ "@babel/helper-remap-async-to-generator": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.12.13.tgz",
+ "integrity": "sha512-Qa6PU9vNcj1NZacZZI1Mvwt+gXDH6CTfgAkSjeRMLE8HxtDK76+YDId6NQR+z7Rgd5arhD2cIbS74r0SxD6PDA==",
+ "requires": {
+ "@babel/helper-annotate-as-pure": "^7.12.13",
+ "@babel/helper-wrap-function": "^7.12.13",
+ "@babel/types": "^7.12.13"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.17.tgz",
+ "integrity": "sha512-tNMDjcv/4DIcHxErTgwB9q2ZcYyN0sUfgGKUK/mm1FJK7Wz+KstoEekxrl/tBiNDgLK1HGi+sppj1An/1DR4fQ==",
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "lodash": "^4.17.19",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
"@babel/helper-replace-supers": {
"version": "7.12.13",
"resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.12.13.tgz",
@@ -262,6 +429,26 @@
}
}
},
+ "@babel/helper-skip-transparent-expression-wrappers": {
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.12.1.tgz",
+ "integrity": "sha512-Mf5AUuhG1/OCChOJ/HcADmvcHM42WJockombn8ATJG3OnyiSxBK/Mm5x78BQWvmtXZKHgbjdGL2kin/HOLlZGA==",
+ "requires": {
+ "@babel/types": "^7.12.1"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.17.tgz",
+ "integrity": "sha512-tNMDjcv/4DIcHxErTgwB9q2ZcYyN0sUfgGKUK/mm1FJK7Wz+KstoEekxrl/tBiNDgLK1HGi+sppj1An/1DR4fQ==",
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "lodash": "^4.17.19",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
"@babel/helper-split-export-declaration": {
"version": "7.12.13",
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz",
@@ -287,6 +474,34 @@
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz",
"integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw=="
},
+ "@babel/helper-validator-option": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.12.17.tgz",
+ "integrity": "sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw=="
+ },
+ "@babel/helper-wrap-function": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.12.13.tgz",
+ "integrity": "sha512-t0aZFEmBJ1LojdtJnhOaQEVejnzYhyjWHSsNSNo8vOYRbAJNh6r6GQF7pd36SqG7OKGbn+AewVQ/0IfYfIuGdw==",
+ "requires": {
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/template": "^7.12.13",
+ "@babel/traverse": "^7.12.13",
+ "@babel/types": "^7.12.13"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.17.tgz",
+ "integrity": "sha512-tNMDjcv/4DIcHxErTgwB9q2ZcYyN0sUfgGKUK/mm1FJK7Wz+KstoEekxrl/tBiNDgLK1HGi+sppj1An/1DR4fQ==",
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "lodash": "^4.17.19",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
"@babel/helpers": {
"version": "7.12.13",
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.12.13.tgz",
@@ -324,38 +539,717 @@
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.16.tgz",
"integrity": "sha512-c/+u9cqV6F0+4Hpq01jnJO+GLp2DdT63ppz9Xa+6cHaajM9VFzK/iDXiKK65YtpeVwu+ctfS6iqlMqRgQRzeCw=="
},
+ "@babel/plugin-proposal-async-generator-functions": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.12.13.tgz",
+ "integrity": "sha512-1KH46Hx4WqP77f978+5Ye/VUbuwQld2hph70yaw2hXS2v7ER2f3nlpNMu909HO2rbvP0NKLlMVDPh9KXklVMhA==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/helper-remap-async-to-generator": "^7.12.13",
+ "@babel/plugin-syntax-async-generators": "^7.8.0"
+ }
+ },
+ "@babel/plugin-proposal-class-properties": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.12.13.tgz",
+ "integrity": "sha512-8SCJ0Ddrpwv4T7Gwb33EmW1V9PY5lggTO+A8WjyIwxrSHDUyBw4MtF96ifn1n8H806YlxbVCoKXbbmzD6RD+cA==",
+ "requires": {
+ "@babel/helper-create-class-features-plugin": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-proposal-dynamic-import": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.12.17.tgz",
+ "integrity": "sha512-ZNGoFZqrnuy9H2izB2jLlnNDAfVPlGl5NhFEiFe4D84ix9GQGygF+CWMGHKuE+bpyS/AOuDQCnkiRNqW2IzS1Q==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/plugin-syntax-dynamic-import": "^7.8.0"
+ }
+ },
+ "@babel/plugin-proposal-export-namespace-from": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.12.13.tgz",
+ "integrity": "sha512-INAgtFo4OnLN3Y/j0VwAgw3HDXcDtX+C/erMvWzuV9v71r7urb6iyMXu7eM9IgLr1ElLlOkaHjJ0SbCmdOQ3Iw==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/plugin-syntax-export-namespace-from": "^7.8.3"
+ }
+ },
+ "@babel/plugin-proposal-json-strings": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.12.13.tgz",
+ "integrity": "sha512-v9eEi4GiORDg8x+Dmi5r8ibOe0VXoKDeNPYcTTxdGN4eOWikrJfDJCJrr1l5gKGvsNyGJbrfMftC2dTL6oz7pg==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/plugin-syntax-json-strings": "^7.8.0"
+ }
+ },
+ "@babel/plugin-proposal-logical-assignment-operators": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.12.13.tgz",
+ "integrity": "sha512-fqmiD3Lz7jVdK6kabeSr1PZlWSUVqSitmHEe3Z00dtGTKieWnX9beafvavc32kjORa5Bai4QNHgFDwWJP+WtSQ==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4"
+ }
+ },
+ "@babel/plugin-proposal-nullish-coalescing-operator": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.12.13.tgz",
+ "integrity": "sha512-Qoxpy+OxhDBI5kRqliJFAl4uWXk3Bn24WeFstPH0iLymFehSAUR8MHpqU7njyXv/qbo7oN6yTy5bfCmXdKpo1Q==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.0"
+ }
+ },
+ "@babel/plugin-proposal-numeric-separator": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.12.13.tgz",
+ "integrity": "sha512-O1jFia9R8BUCl3ZGB7eitaAPu62TXJRHn7rh+ojNERCFyqRwJMTmhz+tJ+k0CwI6CLjX/ee4qW74FSqlq9I35w==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/plugin-syntax-numeric-separator": "^7.10.4"
+ }
+ },
"@babel/plugin-proposal-object-rest-spread": {
"version": "7.12.1",
"resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.12.1.tgz",
"integrity": "sha512-s6SowJIjzlhx8o7lsFx5zmY4At6CTtDvgNQDdPzkBQucle58A6b/TTeEBYtyDgmcXjUTM+vE8YOGHZzzbc/ioA==",
"requires": {
- "@babel/helper-plugin-utils": "^7.10.4",
+ "@babel/helper-plugin-utils": "^7.10.4",
+ "@babel/plugin-syntax-object-rest-spread": "^7.8.0",
+ "@babel/plugin-transform-parameters": "^7.12.1"
+ }
+ },
+ "@babel/plugin-proposal-optional-catch-binding": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.12.13.tgz",
+ "integrity": "sha512-9+MIm6msl9sHWg58NvqpNpLtuFbmpFYk37x8kgnGzAHvX35E1FyAwSUt5hIkSoWJFSAH+iwU8bJ4fcD1zKXOzg==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/plugin-syntax-optional-catch-binding": "^7.8.0"
+ }
+ },
+ "@babel/plugin-proposal-optional-chaining": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.12.17.tgz",
+ "integrity": "sha512-TvxwI80pWftrGPKHNfkvX/HnoeSTR7gC4ezWnAL39PuktYUe6r8kEpOLTYnkBTsaoeazXm2jHJ22EQ81sdgfcA==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.12.1",
+ "@babel/plugin-syntax-optional-chaining": "^7.8.0"
+ }
+ },
+ "@babel/plugin-proposal-private-methods": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.12.13.tgz",
+ "integrity": "sha512-sV0V57uUwpauixvR7s2o75LmwJI6JECwm5oPUY5beZB1nBl2i37hc7CJGqB5G+58fur5Y6ugvl3LRONk5x34rg==",
+ "requires": {
+ "@babel/helper-create-class-features-plugin": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-proposal-unicode-property-regex": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.12.13.tgz",
+ "integrity": "sha512-XyJmZidNfofEkqFV5VC/bLabGmO5QzenPO/YOfGuEbgU+2sSwMmio3YLb4WtBgcmmdwZHyVyv8on77IUjQ5Gvg==",
+ "requires": {
+ "@babel/helper-create-regexp-features-plugin": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-syntax-async-generators": {
+ "version": "7.8.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz",
+ "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ }
+ },
+ "@babel/plugin-syntax-class-properties": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz",
+ "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-syntax-dynamic-import": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz",
+ "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ }
+ },
+ "@babel/plugin-syntax-export-namespace-from": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz",
+ "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.8.3"
+ }
+ },
+ "@babel/plugin-syntax-json-strings": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz",
+ "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ }
+ },
+ "@babel/plugin-syntax-jsx": {
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.1.tgz",
+ "integrity": "sha512-1yRi7yAtB0ETgxdY9ti/p2TivUxJkTdhu/ZbF9MshVGqOx1TdB3b7xCXs49Fupgg50N45KcAsRP/ZqWjs9SRjg==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.10.4"
+ }
+ },
+ "@babel/plugin-syntax-logical-assignment-operators": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz",
+ "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.10.4"
+ }
+ },
+ "@babel/plugin-syntax-nullish-coalescing-operator": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz",
+ "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ }
+ },
+ "@babel/plugin-syntax-numeric-separator": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz",
+ "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.10.4"
+ }
+ },
+ "@babel/plugin-syntax-object-rest-spread": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz",
+ "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ }
+ },
+ "@babel/plugin-syntax-optional-catch-binding": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz",
+ "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ }
+ },
+ "@babel/plugin-syntax-optional-chaining": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz",
+ "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ }
+ },
+ "@babel/plugin-syntax-top-level-await": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.12.13.tgz",
+ "integrity": "sha512-A81F9pDwyS7yM//KwbCSDqy3Uj4NMIurtplxphWxoYtNPov7cJsDkAFNNyVlIZ3jwGycVsurZ+LtOA8gZ376iQ==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-syntax-typescript": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.12.13.tgz",
+ "integrity": "sha512-cHP3u1JiUiG2LFDKbXnwVad81GvfyIOmCD6HIEId6ojrY0Drfy2q1jw7BwN7dE84+kTnBjLkXoL3IEy/3JPu2w==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-arrow-functions": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.12.13.tgz",
+ "integrity": "sha512-tBtuN6qtCTd+iHzVZVOMNp+L04iIJBpqkdY42tWbmjIT5wvR2kx7gxMBsyhQtFzHwBbyGi9h8J8r9HgnOpQHxg==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-async-to-generator": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.12.13.tgz",
+ "integrity": "sha512-psM9QHcHaDr+HZpRuJcE1PXESuGWSCcbiGFFhhwfzdbTxaGDVzuVtdNYliAwcRo3GFg0Bc8MmI+AvIGYIJG04A==",
+ "requires": {
+ "@babel/helper-module-imports": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/helper-remap-async-to-generator": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-block-scoped-functions": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.12.13.tgz",
+ "integrity": "sha512-zNyFqbc3kI/fVpqwfqkg6RvBgFpC4J18aKKMmv7KdQ/1GgREapSJAykLMVNwfRGO3BtHj3YQZl8kxCXPcVMVeg==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-block-scoping": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.12.13.tgz",
+ "integrity": "sha512-Pxwe0iqWJX4fOOM2kEZeUuAxHMWb9nK+9oh5d11bsLoB0xMg+mkDpt0eYuDZB7ETrY9bbcVlKUGTOGWy7BHsMQ==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-classes": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.12.13.tgz",
+ "integrity": "sha512-cqZlMlhCC1rVnxE5ZGMtIb896ijL90xppMiuWXcwcOAuFczynpd3KYemb91XFFPi3wJSe/OcrX9lXoowatkkxA==",
+ "requires": {
+ "@babel/helper-annotate-as-pure": "^7.12.13",
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/helper-optimise-call-expression": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/helper-replace-supers": "^7.12.13",
+ "@babel/helper-split-export-declaration": "^7.12.13",
+ "globals": "^11.1.0"
+ }
+ },
+ "@babel/plugin-transform-computed-properties": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.12.13.tgz",
+ "integrity": "sha512-dDfuROUPGK1mTtLKyDPUavmj2b6kFu82SmgpztBFEO974KMjJT+Ytj3/oWsTUMBmgPcp9J5Pc1SlcAYRpJ2hRA==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-destructuring": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.12.13.tgz",
+ "integrity": "sha512-Dn83KykIFzjhA3FDPA1z4N+yfF3btDGhjnJwxIj0T43tP0flCujnU8fKgEkf0C1biIpSv9NZegPBQ1J6jYkwvQ==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-dotall-regex": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.12.13.tgz",
+ "integrity": "sha512-foDrozE65ZFdUC2OfgeOCrEPTxdB3yjqxpXh8CH+ipd9CHd4s/iq81kcUpyH8ACGNEPdFqbtzfgzbT/ZGlbDeQ==",
+ "requires": {
+ "@babel/helper-create-regexp-features-plugin": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-duplicate-keys": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.12.13.tgz",
+ "integrity": "sha512-NfADJiiHdhLBW3pulJlJI2NB0t4cci4WTZ8FtdIuNc2+8pslXdPtRRAEWqUY+m9kNOk2eRYbTAOipAxlrOcwwQ==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-exponentiation-operator": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.12.13.tgz",
+ "integrity": "sha512-fbUelkM1apvqez/yYx1/oICVnGo2KM5s63mhGylrmXUxK/IAXSIf87QIxVfZldWf4QsOafY6vV3bX8aMHSvNrA==",
+ "requires": {
+ "@babel/helper-builder-binary-assignment-operator-visitor": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-for-of": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.12.13.tgz",
+ "integrity": "sha512-xCbdgSzXYmHGyVX3+BsQjcd4hv4vA/FDy7Kc8eOpzKmBBPEOTurt0w5fCRQaGl+GSBORKgJdstQ1rHl4jbNseQ==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-function-name": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.12.13.tgz",
+ "integrity": "sha512-6K7gZycG0cmIwwF7uMK/ZqeCikCGVBdyP2J5SKNCXO5EOHcqi+z7Jwf8AmyDNcBgxET8DrEtCt/mPKPyAzXyqQ==",
+ "requires": {
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-literals": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.12.13.tgz",
+ "integrity": "sha512-FW+WPjSR7hiUxMcKqyNjP05tQ2kmBCdpEpZHY1ARm96tGQCCBvXKnpjILtDplUnJ/eHZ0lALLM+d2lMFSpYJrQ==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-member-expression-literals": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.12.13.tgz",
+ "integrity": "sha512-kxLkOsg8yir4YeEPHLuO2tXP9R/gTjpuTOjshqSpELUN3ZAg2jfDnKUvzzJxObun38sw3wm4Uu69sX/zA7iRvg==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-modules-amd": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.12.13.tgz",
+ "integrity": "sha512-JHLOU0o81m5UqG0Ulz/fPC68/v+UTuGTWaZBUwpEk1fYQ1D9LfKV6MPn4ttJKqRo5Lm460fkzjLTL4EHvCprvA==",
+ "requires": {
+ "@babel/helper-module-transforms": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "babel-plugin-dynamic-import-node": "^2.3.3"
+ }
+ },
+ "@babel/plugin-transform-modules-commonjs": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.12.13.tgz",
+ "integrity": "sha512-OGQoeVXVi1259HjuoDnsQMlMkT9UkZT9TpXAsqWplS/M0N1g3TJAn/ByOCeQu7mfjc5WpSsRU+jV1Hd89ts0kQ==",
+ "requires": {
+ "@babel/helper-module-transforms": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/helper-simple-access": "^7.12.13",
+ "babel-plugin-dynamic-import-node": "^2.3.3"
+ }
+ },
+ "@babel/plugin-transform-modules-systemjs": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.12.13.tgz",
+ "integrity": "sha512-aHfVjhZ8QekaNF/5aNdStCGzwTbU7SI5hUybBKlMzqIMC7w7Ho8hx5a4R/DkTHfRfLwHGGxSpFt9BfxKCoXKoA==",
+ "requires": {
+ "@babel/helper-hoist-variables": "^7.12.13",
+ "@babel/helper-module-transforms": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "babel-plugin-dynamic-import-node": "^2.3.3"
+ }
+ },
+ "@babel/plugin-transform-modules-umd": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.12.13.tgz",
+ "integrity": "sha512-BgZndyABRML4z6ibpi7Z98m4EVLFI9tVsZDADC14AElFaNHHBcJIovflJ6wtCqFxwy2YJ1tJhGRsr0yLPKoN+w==",
+ "requires": {
+ "@babel/helper-module-transforms": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-named-capturing-groups-regex": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.12.13.tgz",
+ "integrity": "sha512-Xsm8P2hr5hAxyYblrfACXpQKdQbx4m2df9/ZZSQ8MAhsadw06+jW7s9zsSw6he+mJZXRlVMyEnVktJo4zjk1WA==",
+ "requires": {
+ "@babel/helper-create-regexp-features-plugin": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-new-target": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.12.13.tgz",
+ "integrity": "sha512-/KY2hbLxrG5GTQ9zzZSc3xWiOy379pIETEhbtzwZcw9rvuaVV4Fqy7BYGYOWZnaoXIQYbbJ0ziXLa/sKcGCYEQ==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-object-super": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.12.13.tgz",
+ "integrity": "sha512-JzYIcj3XtYspZDV8j9ulnoMPZZnF/Cj0LUxPOjR89BdBVx+zYJI9MdMIlUZjbXDX+6YVeS6I3e8op+qQ3BYBoQ==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/helper-replace-supers": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-parameters": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.12.13.tgz",
+ "integrity": "sha512-e7QqwZalNiBRHCpJg/P8s/VJeSRYgmtWySs1JwvfwPqhBbiWfOcHDKdeAi6oAyIimoKWBlwc8oTgbZHdhCoVZA==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-property-literals": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.12.13.tgz",
+ "integrity": "sha512-nqVigwVan+lR+g8Fj8Exl0UQX2kymtjcWfMOYM1vTYEKujeyv2SkMgazf2qNcK7l4SDiKyTA/nHCPqL4e2zo1A==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-react-display-name": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.12.13.tgz",
+ "integrity": "sha512-MprESJzI9O5VnJZrL7gg1MpdqmiFcUv41Jc7SahxYsNP2kDkFqClxxTZq+1Qv4AFCamm+GXMRDQINNn+qrxmiA==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-react-jsx": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.12.17.tgz",
+ "integrity": "sha512-mwaVNcXV+l6qJOuRhpdTEj8sT/Z0owAVWf9QujTZ0d2ye9X/K+MTOTSizcgKOj18PGnTc/7g1I4+cIUjsKhBcw==",
+ "requires": {
+ "@babel/helper-annotate-as-pure": "^7.12.13",
+ "@babel/helper-module-imports": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/plugin-syntax-jsx": "^7.12.13",
+ "@babel/types": "^7.12.17"
+ },
+ "dependencies": {
+ "@babel/plugin-syntax-jsx": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.13.tgz",
+ "integrity": "sha512-d4HM23Q1K7oq/SLNmG6mRt85l2csmQ0cHRaxRXjKW0YFdEXqlZ5kzFQKH5Uc3rDJECgu+yCRgPkG04Mm98R/1g==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/types": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.17.tgz",
+ "integrity": "sha512-tNMDjcv/4DIcHxErTgwB9q2ZcYyN0sUfgGKUK/mm1FJK7Wz+KstoEekxrl/tBiNDgLK1HGi+sppj1An/1DR4fQ==",
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "lodash": "^4.17.19",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/plugin-transform-react-jsx-development": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.12.17.tgz",
+ "integrity": "sha512-BPjYV86SVuOaudFhsJR1zjgxxOhJDt6JHNoD48DxWEIxUCAMjV1ys6DYw4SDYZh0b1QsS2vfIA9t/ZsQGsDOUQ==",
+ "requires": {
+ "@babel/plugin-transform-react-jsx": "^7.12.17"
+ }
+ },
+ "@babel/plugin-transform-react-pure-annotations": {
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.12.1.tgz",
+ "integrity": "sha512-RqeaHiwZtphSIUZ5I85PEH19LOSzxfuEazoY7/pWASCAIBuATQzpSVD+eT6MebeeZT2F4eSL0u4vw6n4Nm0Mjg==",
+ "requires": {
+ "@babel/helper-annotate-as-pure": "^7.10.4",
+ "@babel/helper-plugin-utils": "^7.10.4"
+ }
+ },
+ "@babel/plugin-transform-regenerator": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.12.13.tgz",
+ "integrity": "sha512-lxb2ZAvSLyJ2PEe47hoGWPmW22v7CtSl9jW8mingV4H2sEX/JOcrAj2nPuGWi56ERUm2bUpjKzONAuT6HCn2EA==",
+ "requires": {
+ "regenerator-transform": "^0.14.2"
+ }
+ },
+ "@babel/plugin-transform-reserved-words": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.12.13.tgz",
+ "integrity": "sha512-xhUPzDXxZN1QfiOy/I5tyye+TRz6lA7z6xaT4CLOjPRMVg1ldRf0LHw0TDBpYL4vG78556WuHdyO9oi5UmzZBg==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-shorthand-properties": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.12.13.tgz",
+ "integrity": "sha512-xpL49pqPnLtf0tVluuqvzWIgLEhuPpZzvs2yabUHSKRNlN7ScYU7aMlmavOeyXJZKgZKQRBlh8rHbKiJDraTSw==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-spread": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.12.13.tgz",
+ "integrity": "sha512-dUCrqPIowjqk5pXsx1zPftSq4sT0aCeZVAxhdgs3AMgyaDmoUT0G+5h3Dzja27t76aUEIJWlFgPJqJ/d4dbTtg==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.12.1"
+ }
+ },
+ "@babel/plugin-transform-sticky-regex": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.12.13.tgz",
+ "integrity": "sha512-Jc3JSaaWT8+fr7GRvQP02fKDsYk4K/lYwWq38r/UGfaxo89ajud321NH28KRQ7xy1Ybc0VUE5Pz8psjNNDUglg==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-template-literals": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.12.13.tgz",
+ "integrity": "sha512-arIKlWYUgmNsF28EyfmiQHJLJFlAJNYkuQO10jL46ggjBpeb2re1P9K9YGxNJB45BqTbaslVysXDYm/g3sN/Qg==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-typeof-symbol": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.12.13.tgz",
+ "integrity": "sha512-eKv/LmUJpMnu4npgfvs3LiHhJua5fo/CysENxa45YCQXZwKnGCQKAg87bvoqSW1fFT+HA32l03Qxsm8ouTY3ZQ==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-typescript": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.12.17.tgz",
+ "integrity": "sha512-1bIYwnhRoetxkFonuZRtDZPFEjl1l5r+3ITkxLC3mlMaFja+GQFo94b/WHEPjqWLU9Bc+W4oFZbvCGe9eYMu1g==",
+ "requires": {
+ "@babel/helper-create-class-features-plugin": "^7.12.17",
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/plugin-syntax-typescript": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-unicode-escapes": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.12.13.tgz",
+ "integrity": "sha512-0bHEkdwJ/sN/ikBHfSmOXPypN/beiGqjo+o4/5K+vxEFNPRPdImhviPakMKG4x96l85emoa0Z6cDflsdBusZbw==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/plugin-transform-unicode-regex": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.12.13.tgz",
+ "integrity": "sha512-mDRzSNY7/zopwisPZ5kM9XKCfhchqIYwAKRERtEnhYscZB79VRekuRSoYbN0+KVe3y8+q1h6A4svXtP7N+UoCA==",
+ "requires": {
+ "@babel/helper-create-regexp-features-plugin": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13"
+ }
+ },
+ "@babel/preset-env": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.12.17.tgz",
+ "integrity": "sha512-9PMijx8zFbCwTHrd2P4PJR5nWGH3zWebx2OcpTjqQrHhCiL2ssSR2Sc9ko2BsI2VmVBfoaQmPrlMTCui4LmXQg==",
+ "requires": {
+ "@babel/compat-data": "^7.12.13",
+ "@babel/helper-compilation-targets": "^7.12.17",
+ "@babel/helper-module-imports": "^7.12.13",
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/helper-validator-option": "^7.12.17",
+ "@babel/plugin-proposal-async-generator-functions": "^7.12.13",
+ "@babel/plugin-proposal-class-properties": "^7.12.13",
+ "@babel/plugin-proposal-dynamic-import": "^7.12.17",
+ "@babel/plugin-proposal-export-namespace-from": "^7.12.13",
+ "@babel/plugin-proposal-json-strings": "^7.12.13",
+ "@babel/plugin-proposal-logical-assignment-operators": "^7.12.13",
+ "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.13",
+ "@babel/plugin-proposal-numeric-separator": "^7.12.13",
+ "@babel/plugin-proposal-object-rest-spread": "^7.12.13",
+ "@babel/plugin-proposal-optional-catch-binding": "^7.12.13",
+ "@babel/plugin-proposal-optional-chaining": "^7.12.17",
+ "@babel/plugin-proposal-private-methods": "^7.12.13",
+ "@babel/plugin-proposal-unicode-property-regex": "^7.12.13",
+ "@babel/plugin-syntax-async-generators": "^7.8.0",
+ "@babel/plugin-syntax-class-properties": "^7.12.13",
+ "@babel/plugin-syntax-dynamic-import": "^7.8.0",
+ "@babel/plugin-syntax-export-namespace-from": "^7.8.3",
+ "@babel/plugin-syntax-json-strings": "^7.8.0",
+ "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4",
+ "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.0",
+ "@babel/plugin-syntax-numeric-separator": "^7.10.4",
"@babel/plugin-syntax-object-rest-spread": "^7.8.0",
- "@babel/plugin-transform-parameters": "^7.12.1"
+ "@babel/plugin-syntax-optional-catch-binding": "^7.8.0",
+ "@babel/plugin-syntax-optional-chaining": "^7.8.0",
+ "@babel/plugin-syntax-top-level-await": "^7.12.13",
+ "@babel/plugin-transform-arrow-functions": "^7.12.13",
+ "@babel/plugin-transform-async-to-generator": "^7.12.13",
+ "@babel/plugin-transform-block-scoped-functions": "^7.12.13",
+ "@babel/plugin-transform-block-scoping": "^7.12.13",
+ "@babel/plugin-transform-classes": "^7.12.13",
+ "@babel/plugin-transform-computed-properties": "^7.12.13",
+ "@babel/plugin-transform-destructuring": "^7.12.13",
+ "@babel/plugin-transform-dotall-regex": "^7.12.13",
+ "@babel/plugin-transform-duplicate-keys": "^7.12.13",
+ "@babel/plugin-transform-exponentiation-operator": "^7.12.13",
+ "@babel/plugin-transform-for-of": "^7.12.13",
+ "@babel/plugin-transform-function-name": "^7.12.13",
+ "@babel/plugin-transform-literals": "^7.12.13",
+ "@babel/plugin-transform-member-expression-literals": "^7.12.13",
+ "@babel/plugin-transform-modules-amd": "^7.12.13",
+ "@babel/plugin-transform-modules-commonjs": "^7.12.13",
+ "@babel/plugin-transform-modules-systemjs": "^7.12.13",
+ "@babel/plugin-transform-modules-umd": "^7.12.13",
+ "@babel/plugin-transform-named-capturing-groups-regex": "^7.12.13",
+ "@babel/plugin-transform-new-target": "^7.12.13",
+ "@babel/plugin-transform-object-super": "^7.12.13",
+ "@babel/plugin-transform-parameters": "^7.12.13",
+ "@babel/plugin-transform-property-literals": "^7.12.13",
+ "@babel/plugin-transform-regenerator": "^7.12.13",
+ "@babel/plugin-transform-reserved-words": "^7.12.13",
+ "@babel/plugin-transform-shorthand-properties": "^7.12.13",
+ "@babel/plugin-transform-spread": "^7.12.13",
+ "@babel/plugin-transform-sticky-regex": "^7.12.13",
+ "@babel/plugin-transform-template-literals": "^7.12.13",
+ "@babel/plugin-transform-typeof-symbol": "^7.12.13",
+ "@babel/plugin-transform-unicode-escapes": "^7.12.13",
+ "@babel/plugin-transform-unicode-regex": "^7.12.13",
+ "@babel/preset-modules": "^0.1.3",
+ "@babel/types": "^7.12.17",
+ "core-js-compat": "^3.8.0",
+ "semver": "^5.5.0"
+ },
+ "dependencies": {
+ "@babel/plugin-proposal-object-rest-spread": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.12.13.tgz",
+ "integrity": "sha512-WvA1okB/0OS/N3Ldb3sziSrXg6sRphsBgqiccfcQq7woEn5wQLNX82Oc4PlaFcdwcWHuQXAtb8ftbS8Fbsg/sg==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/plugin-syntax-object-rest-spread": "^7.8.0",
+ "@babel/plugin-transform-parameters": "^7.12.13"
+ }
+ },
+ "@babel/types": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.17.tgz",
+ "integrity": "sha512-tNMDjcv/4DIcHxErTgwB9q2ZcYyN0sUfgGKUK/mm1FJK7Wz+KstoEekxrl/tBiNDgLK1HGi+sppj1An/1DR4fQ==",
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "lodash": "^4.17.19",
+ "to-fast-properties": "^2.0.0"
+ }
+ },
+ "semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
+ }
}
},
- "@babel/plugin-syntax-jsx": {
- "version": "7.12.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.1.tgz",
- "integrity": "sha512-1yRi7yAtB0ETgxdY9ti/p2TivUxJkTdhu/ZbF9MshVGqOx1TdB3b7xCXs49Fupgg50N45KcAsRP/ZqWjs9SRjg==",
+ "@babel/preset-modules": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.4.tgz",
+ "integrity": "sha512-J36NhwnfdzpmH41M1DrnkkgAqhZaqr/NBdPfQ677mLzlaXo+oDiv1deyCDtgAhz8p328otdob0Du7+xgHGZbKg==",
"requires": {
- "@babel/helper-plugin-utils": "^7.10.4"
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-proposal-unicode-property-regex": "^7.4.4",
+ "@babel/plugin-transform-dotall-regex": "^7.4.4",
+ "@babel/types": "^7.4.4",
+ "esutils": "^2.0.2"
}
},
- "@babel/plugin-syntax-object-rest-spread": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz",
- "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==",
+ "@babel/preset-react": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.12.13.tgz",
+ "integrity": "sha512-TYM0V9z6Abb6dj1K7i5NrEhA13oS5ujUYQYDfqIBXYHOc2c2VkFgc+q9kyssIyUfy4/hEwqrgSlJ/Qgv8zJLsA==",
"requires": {
- "@babel/helper-plugin-utils": "^7.8.0"
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/plugin-transform-react-display-name": "^7.12.13",
+ "@babel/plugin-transform-react-jsx": "^7.12.13",
+ "@babel/plugin-transform-react-jsx-development": "^7.12.12",
+ "@babel/plugin-transform-react-pure-annotations": "^7.12.1"
}
},
- "@babel/plugin-transform-parameters": {
- "version": "7.12.13",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.12.13.tgz",
- "integrity": "sha512-e7QqwZalNiBRHCpJg/P8s/VJeSRYgmtWySs1JwvfwPqhBbiWfOcHDKdeAi6oAyIimoKWBlwc8oTgbZHdhCoVZA==",
+ "@babel/preset-typescript": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.12.17.tgz",
+ "integrity": "sha512-T513uT4VSThRcmWeqcLkITKJ1oGQho9wfWuhQm10paClQkp1qyd0Wf8mvC8Se7UYssMyRSj4tZYpVTkCmAK/mA==",
"requires": {
- "@babel/helper-plugin-utils": "^7.12.13"
+ "@babel/helper-plugin-utils": "^7.12.13",
+ "@babel/helper-validator-option": "^7.12.17",
+ "@babel/plugin-transform-typescript": "^7.12.17"
}
},
"@babel/runtime": {
@@ -1218,6 +2112,14 @@
}
}
},
+ "babel-plugin-dynamic-import-node": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz",
+ "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==",
+ "requires": {
+ "object.assign": "^4.1.0"
+ }
+ },
"babel-plugin-extract-import-names": {
"version": "1.6.22",
"resolved": "https://registry.npmjs.org/babel-plugin-extract-import-names/-/babel-plugin-extract-import-names-1.6.22.tgz",
@@ -1374,7 +2276,6 @@
"version": "4.14.6",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.14.6.tgz",
"integrity": "sha512-zeFYcUo85ENhc/zxHbiIp0LGzzTrE2Pv2JhxvS7kpUb9Q9D38kUX6Bie7pGutJ/5iF5rOxE7CepAuWD56xJ33A==",
- "dev": true,
"requires": {
"caniuse-lite": "^1.0.30001154",
"electron-to-chromium": "^1.3.585",
@@ -1411,6 +2312,15 @@
"resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
"integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg=="
},
+ "call-bind": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
+ "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
+ "requires": {
+ "function-bind": "^1.1.1",
+ "get-intrinsic": "^1.0.2"
+ }
+ },
"camelcase-css": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
@@ -1419,8 +2329,7 @@
"caniuse-lite": {
"version": "1.0.30001159",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001159.tgz",
- "integrity": "sha512-w9Ph56jOsS8RL20K9cLND3u/+5WASWdhC/PPrf+V3/HsM3uHOavWOR1Xzakbv4Puo/srmPHudkmCRWM7Aq+/UA==",
- "dev": true
+ "integrity": "sha512-w9Ph56jOsS8RL20K9cLND3u/+5WASWdhC/PPrf+V3/HsM3uHOavWOR1Xzakbv4Puo/srmPHudkmCRWM7Aq+/UA=="
},
"ccount": {
"version": "1.1.0",
@@ -1668,6 +2577,49 @@
"toggle-selection": "^1.0.6"
}
},
+ "core-js-compat": {
+ "version": "3.9.0",
+ "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.9.0.tgz",
+ "integrity": "sha512-YK6fwFjCOKWwGnjFUR3c544YsnA/7DoLL0ysncuOJ4pwbriAtOpvM2bygdlcXbvQCQZ7bBU9CL4t7tGl7ETRpQ==",
+ "requires": {
+ "browserslist": "^4.16.3",
+ "semver": "7.0.0"
+ },
+ "dependencies": {
+ "browserslist": {
+ "version": "4.16.3",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz",
+ "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==",
+ "requires": {
+ "caniuse-lite": "^1.0.30001181",
+ "colorette": "^1.2.1",
+ "electron-to-chromium": "^1.3.649",
+ "escalade": "^3.1.1",
+ "node-releases": "^1.1.70"
+ }
+ },
+ "caniuse-lite": {
+ "version": "1.0.30001187",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001187.tgz",
+ "integrity": "sha512-w7/EP1JRZ9552CyrThUnay2RkZ1DXxKe/Q2swTC4+LElLh9RRYrL1Z+27LlakB8kzY0fSmHw9mc7XYDUKAKWMA=="
+ },
+ "electron-to-chromium": {
+ "version": "1.3.669",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.669.tgz",
+ "integrity": "sha512-VNj10fmGC6SbE7s4tKG7y2OopVXYoTIfjE1MetflPd77KmeRuHtkl+HYsfF00BGg5hyaorTUn6lTToEHaciOSw=="
+ },
+ "node-releases": {
+ "version": "1.1.70",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.70.tgz",
+ "integrity": "sha512-Slf2s69+2/uAD79pVVQo8uSiC34+g8GWY8UH2Qtqv34ZfhYrxpYpfzs9Js9d6O0mbDmALuxaTlplnBTnSELcrw=="
+ },
+ "semver": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz",
+ "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A=="
+ }
+ }
+ },
"core-util-is": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
@@ -1924,6 +2876,14 @@
"integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",
"optional": true
},
+ "define-properties": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
+ "requires": {
+ "object-keys": "^1.0.12"
+ }
+ },
"defined": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
@@ -2055,8 +3015,7 @@
"electron-to-chromium": {
"version": "1.3.603",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.603.tgz",
- "integrity": "sha512-J8OHxOeJkoSLgBXfV9BHgKccgfLMHh+CoeRo6wJsi6m0k3otaxS/5vrHpMNSEYY4MISwewqanPOuhAtuE8riQQ==",
- "dev": true
+ "integrity": "sha512-J8OHxOeJkoSLgBXfV9BHgKccgfLMHh+CoeRo6wJsi6m0k3otaxS/5vrHpMNSEYY4MISwewqanPOuhAtuE8riQQ=="
},
"elliptic": {
"version": "6.5.4",
@@ -2358,6 +3317,16 @@
"resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
"integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg=="
},
+ "get-intrinsic": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz",
+ "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==",
+ "requires": {
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1"
+ }
+ },
"github-from-package": {
"version": "0.0.0",
"resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz",
@@ -2444,6 +3413,11 @@
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
"integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
},
+ "has-symbols": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
+ "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg=="
+ },
"has-unicode": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
@@ -3265,6 +4239,37 @@
"unist-util-visit": "^1.0.0"
}
},
+ "mdast-util-find-and-replace": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-1.1.1.tgz",
+ "integrity": "sha512-9cKl33Y21lyckGzpSmEQnIDjEfeeWelN5s1kUW1LwdB0Fkuq2u+4GdqcGEygYxJE8GVqCl0741bYXHgamfWAZA==",
+ "requires": {
+ "escape-string-regexp": "^4.0.0",
+ "unist-util-is": "^4.0.0",
+ "unist-util-visit-parents": "^3.0.0"
+ },
+ "dependencies": {
+ "escape-string-regexp": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="
+ },
+ "unist-util-is": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-4.0.4.tgz",
+ "integrity": "sha512-3dF39j/u423v4BBQrk1AQ2Ve1FxY5W3JKwXxVFzBODQ6WEvccguhgp802qQLKSnxPODE6WuRZtV+ohlUg4meBA=="
+ },
+ "unist-util-visit-parents": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-3.1.1.tgz",
+ "integrity": "sha512-1KROIZWo6bcMrZEwiH2UrXDyalAa0uqzWCxCJj6lPOvTve2WkfgCytoDTPaMnodXh1WrXOq0haVYHj99ynJlsg==",
+ "requires": {
+ "@types/unist": "^2.0.0",
+ "unist-util-is": "^4.0.0"
+ }
+ }
+ }
+ },
"mdast-util-from-markdown": {
"version": "0.8.5",
"resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.5.tgz",
@@ -3292,6 +4297,63 @@
}
}
},
+ "mdast-util-gfm": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-0.1.2.tgz",
+ "integrity": "sha512-NNkhDx/qYcuOWB7xHUGWZYVXvjPFFd6afg6/e2g+SV4r9q5XUcCbV4Wfa3DLYIiD+xAEZc6K4MGaE/m0KDcPwQ==",
+ "requires": {
+ "mdast-util-gfm-autolink-literal": "^0.1.0",
+ "mdast-util-gfm-strikethrough": "^0.2.0",
+ "mdast-util-gfm-table": "^0.1.0",
+ "mdast-util-gfm-task-list-item": "^0.1.0",
+ "mdast-util-to-markdown": "^0.6.1"
+ }
+ },
+ "mdast-util-gfm-autolink-literal": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-0.1.3.tgz",
+ "integrity": "sha512-GjmLjWrXg1wqMIO9+ZsRik/s7PLwTaeCHVB7vRxUwLntZc8mzmTsLVr6HW1yLokcnhfURsn5zmSVdi3/xWWu1A==",
+ "requires": {
+ "ccount": "^1.0.0",
+ "mdast-util-find-and-replace": "^1.1.0",
+ "micromark": "^2.11.3"
+ }
+ },
+ "mdast-util-gfm-strikethrough": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-0.2.3.tgz",
+ "integrity": "sha512-5OQLXpt6qdbttcDG/UxYY7Yjj3e8P7X16LzvpX8pIQPYJ/C2Z1qFGMmcw+1PZMUM3Z8wt8NRfYTvCni93mgsgA==",
+ "requires": {
+ "mdast-util-to-markdown": "^0.6.0"
+ }
+ },
+ "mdast-util-gfm-table": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-0.1.6.tgz",
+ "integrity": "sha512-j4yDxQ66AJSBwGkbpFEp9uG/LS1tZV3P33fN1gkyRB2LoRL+RR3f76m0HPHaby6F4Z5xr9Fv1URmATlRRUIpRQ==",
+ "requires": {
+ "markdown-table": "^2.0.0",
+ "mdast-util-to-markdown": "~0.6.0"
+ },
+ "dependencies": {
+ "markdown-table": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-2.0.0.tgz",
+ "integrity": "sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A==",
+ "requires": {
+ "repeat-string": "^1.0.0"
+ }
+ }
+ }
+ },
+ "mdast-util-gfm-task-list-item": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-0.1.6.tgz",
+ "integrity": "sha512-/d51FFIfPsSmCIRNp7E6pozM9z1GYPIkSy1urQ8s/o4TC22BZ7DqfHFWiqBD23bc7J3vV1Fc9O4QIHBlfuit8A==",
+ "requires": {
+ "mdast-util-to-markdown": "~0.6.0"
+ }
+ },
"mdast-util-to-hast": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-6.0.2.tgz",
@@ -3310,6 +4372,34 @@
"xtend": "^4.0.1"
}
},
+ "mdast-util-to-markdown": {
+ "version": "0.6.5",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-0.6.5.tgz",
+ "integrity": "sha512-XeV9sDE7ZlOQvs45C9UKMtfTcctcaj/pGwH8YLbMHoMOXNNCn2LsqVQOqrF1+/NU8lKDAqozme9SCXWyo9oAcQ==",
+ "requires": {
+ "@types/unist": "^2.0.0",
+ "longest-streak": "^2.0.0",
+ "mdast-util-to-string": "^2.0.0",
+ "parse-entities": "^2.0.0",
+ "repeat-string": "^1.0.0",
+ "zwitch": "^1.0.0"
+ },
+ "dependencies": {
+ "parse-entities": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz",
+ "integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==",
+ "requires": {
+ "character-entities": "^1.0.0",
+ "character-entities-legacy": "^1.0.0",
+ "character-reference-invalid": "^1.0.0",
+ "is-alphanumerical": "^1.0.0",
+ "is-decimal": "^1.0.0",
+ "is-hexadecimal": "^1.0.0"
+ }
+ }
+ }
+ },
"mdast-util-to-string": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-2.0.0.tgz",
@@ -3349,6 +4439,56 @@
}
}
},
+ "micromark-extension-gfm": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-0.3.2.tgz",
+ "integrity": "sha512-ToQEpLkRgg7Tp8D3GM/SjZFPV0cCwWNxZmoEVIOQivOswRtPg7gg2WlCrtHhUWFNX+DgDjbq0iLOPGp4Y15oug==",
+ "requires": {
+ "micromark": "~2.11.0",
+ "micromark-extension-gfm-autolink-literal": "~0.5.0",
+ "micromark-extension-gfm-strikethrough": "~0.6.0",
+ "micromark-extension-gfm-table": "~0.4.0",
+ "micromark-extension-gfm-tagfilter": "~0.3.0",
+ "micromark-extension-gfm-task-list-item": "~0.3.0"
+ }
+ },
+ "micromark-extension-gfm-autolink-literal": {
+ "version": "0.5.6",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-0.5.6.tgz",
+ "integrity": "sha512-nHbR1NUOVhmlZNsnhE5B7WJzL7Xd8lc888z4AF27IpHMtO3NstclZmbrMI+AcdTPpO1wuGVwlK1Cnq+n8Sxlrw==",
+ "requires": {
+ "micromark": "~2.11.3"
+ }
+ },
+ "micromark-extension-gfm-strikethrough": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-0.6.3.tgz",
+ "integrity": "sha512-MKMoP9x2dsr1aeX46ibBwVf4Q6nJsi5aaUFTOMOID5VOLSxwl4CrqUV4OGFQd6AqhtzBJAxaV+N2trlTBtZDNQ==",
+ "requires": {
+ "micromark": "~2.11.0"
+ }
+ },
+ "micromark-extension-gfm-table": {
+ "version": "0.4.2",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-0.4.2.tgz",
+ "integrity": "sha512-AAzmj85XO1ydHYX0Lz52HGhcH2sZLm2AVvkwzELXWgZF6vGdq5yZ3CTByFRsqNUPyQBSIYFKLDAtc6KlnO42aw==",
+ "requires": {
+ "micromark": "~2.11.0"
+ }
+ },
+ "micromark-extension-gfm-tagfilter": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-0.3.0.tgz",
+ "integrity": "sha512-9GU0xBatryXifL//FJH+tAZ6i240xQuFrSL7mYi8f4oZSbc+NvXjkrHemeYP0+L4ZUT+Ptz3b95zhUZnMtoi/Q=="
+ },
+ "micromark-extension-gfm-task-list-item": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-0.3.3.tgz",
+ "integrity": "sha512-0zvM5iSLKrc/NQl84pZSjGo66aTGd57C1idmlWmE87lkMcXrTxg1uXa/nXomxJytoje9trP0NDLvw4bZ/Z/XCQ==",
+ "requires": {
+ "micromark": "~2.11.0"
+ }
+ },
"miller-rabin": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz",
@@ -3523,6 +4663,128 @@
}
}
},
+ "next-mdx-remote": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/next-mdx-remote/-/next-mdx-remote-2.1.3.tgz",
+ "integrity": "sha512-wDI1KepnqG3FDu1wQJAJGGXAoyasjzbehcIhC+felDxGEbEEG8tYOkvMttXvMs4zaXPG4NeWnx0Ev0KdF0ZX1w==",
+ "requires": {
+ "@babel/core": "^7.12.10",
+ "@babel/preset-env": "^7.12.11",
+ "@babel/preset-react": "^7.12.10",
+ "@babel/preset-typescript": "^7.12.7",
+ "@mdx-js/mdx": "^1.6.22",
+ "@mdx-js/react": "^1.6.22"
+ },
+ "dependencies": {
+ "@babel/code-frame": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz",
+ "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==",
+ "requires": {
+ "@babel/highlight": "^7.12.13"
+ }
+ },
+ "@babel/core": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.17.tgz",
+ "integrity": "sha512-V3CuX1aBywbJvV2yzJScRxeiiw0v2KZZYYE3giywxzFJL13RiyPjaaDwhDnxmgFTTS7FgvM2ijr4QmKNIu0AtQ==",
+ "requires": {
+ "@babel/code-frame": "^7.12.13",
+ "@babel/generator": "^7.12.17",
+ "@babel/helper-module-transforms": "^7.12.17",
+ "@babel/helpers": "^7.12.17",
+ "@babel/parser": "^7.12.17",
+ "@babel/template": "^7.12.13",
+ "@babel/traverse": "^7.12.17",
+ "@babel/types": "^7.12.17",
+ "convert-source-map": "^1.7.0",
+ "debug": "^4.1.0",
+ "gensync": "^1.0.0-beta.1",
+ "json5": "^2.1.2",
+ "lodash": "^4.17.19",
+ "semver": "^5.4.1",
+ "source-map": "^0.5.0"
+ }
+ },
+ "@babel/generator": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.12.17.tgz",
+ "integrity": "sha512-DSA7ruZrY4WI8VxuS1jWSRezFnghEoYEFrZcw9BizQRmOZiUsiHl59+qEARGPqPikwA/GPTyRCi7isuCK/oyqg==",
+ "requires": {
+ "@babel/types": "^7.12.17",
+ "jsesc": "^2.5.1",
+ "source-map": "^0.5.0"
+ }
+ },
+ "@babel/helper-module-transforms": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.12.17.tgz",
+ "integrity": "sha512-sFL+p6zOCQMm9vilo06M4VHuTxUAwa6IxgL56Tq1DVtA0ziAGTH1ThmJq7xwPqdQlgAbKX3fb0oZNbtRIyA5KQ==",
+ "requires": {
+ "@babel/helper-module-imports": "^7.12.13",
+ "@babel/helper-replace-supers": "^7.12.13",
+ "@babel/helper-simple-access": "^7.12.13",
+ "@babel/helper-split-export-declaration": "^7.12.13",
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "@babel/template": "^7.12.13",
+ "@babel/traverse": "^7.12.17",
+ "@babel/types": "^7.12.17",
+ "lodash": "^4.17.19"
+ }
+ },
+ "@babel/helpers": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.12.17.tgz",
+ "integrity": "sha512-tEpjqSBGt/SFEsFikKds1sLNChKKGGR17flIgQKXH4fG6m9gTgl3gnOC1giHNyaBCSKuTfxaSzHi7UnvqiVKxg==",
+ "requires": {
+ "@babel/template": "^7.12.13",
+ "@babel/traverse": "^7.12.17",
+ "@babel/types": "^7.12.17"
+ }
+ },
+ "@babel/parser": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.17.tgz",
+ "integrity": "sha512-r1yKkiUTYMQ8LiEI0UcQx5ETw5dpTLn9wijn9hk6KkTtOK95FndDN10M+8/s6k/Ymlbivw0Av9q4SlgF80PtHg=="
+ },
+ "@babel/traverse": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.12.17.tgz",
+ "integrity": "sha512-LGkTqDqdiwC6Q7fWSwQoas/oyiEYw6Hqjve5KOSykXkmFJFqzvGMb9niaUEag3Rlve492Mkye3gLw9FTv94fdQ==",
+ "requires": {
+ "@babel/code-frame": "^7.12.13",
+ "@babel/generator": "^7.12.17",
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/helper-split-export-declaration": "^7.12.13",
+ "@babel/parser": "^7.12.17",
+ "@babel/types": "^7.12.17",
+ "debug": "^4.1.0",
+ "globals": "^11.1.0",
+ "lodash": "^4.17.19"
+ }
+ },
+ "@babel/types": {
+ "version": "7.12.17",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.17.tgz",
+ "integrity": "sha512-tNMDjcv/4DIcHxErTgwB9q2ZcYyN0sUfgGKUK/mm1FJK7Wz+KstoEekxrl/tBiNDgLK1HGi+sppj1An/1DR4fQ==",
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "lodash": "^4.17.19",
+ "to-fast-properties": "^2.0.0"
+ }
+ },
+ "semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
+ }
+ }
+ },
"node-abi": {
"version": "2.19.3",
"resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.19.3.tgz",
@@ -3661,8 +4923,7 @@
"node-releases": {
"version": "1.1.67",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.67.tgz",
- "integrity": "sha512-V5QF9noGFl3EymEwUYzO+3NTDpGfQB4ve6Qfnzf3UNydMhjQRVPR1DZTuvWiLzaFJYw2fmDwAfnRNEVb64hSIg==",
- "dev": true
+ "integrity": "sha512-V5QF9noGFl3EymEwUYzO+3NTDpGfQB4ve6Qfnzf3UNydMhjQRVPR1DZTuvWiLzaFJYw2fmDwAfnRNEVb64hSIg=="
},
"noop-logger": {
"version": "0.1.1",
@@ -3716,6 +4977,22 @@
"integrity": "sha512-JPKn0GMu+Fa3zt3Bmr66JhokJU5BaNBIh4ZeTlaCBzrBsOeXzwcKKAK1tbLiPKgvwmPXsDvvLHoWh5Bm7ofIYg==",
"dev": true
},
+ "object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="
+ },
+ "object.assign": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz",
+ "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==",
+ "requires": {
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3",
+ "has-symbols": "^1.0.1",
+ "object-keys": "^1.1.1"
+ }
+ },
"object.pick": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
@@ -5194,11 +6471,65 @@
}
}
},
+ "regenerate": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz",
+ "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A=="
+ },
+ "regenerate-unicode-properties": {
+ "version": "8.2.0",
+ "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.2.0.tgz",
+ "integrity": "sha512-F9DjY1vKLo/tPePDycuH3dn9H1OTPIkVD9Kz4LODu+F2C75mgjAJ7x/gwy6ZcSNRAAkhNlJSOHRe8k3p+K9WhA==",
+ "requires": {
+ "regenerate": "^1.4.0"
+ }
+ },
"regenerator-runtime": {
"version": "0.13.7",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz",
"integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew=="
},
+ "regenerator-transform": {
+ "version": "0.14.5",
+ "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.5.tgz",
+ "integrity": "sha512-eOf6vka5IO151Jfsw2NO9WpGX58W6wWmefK3I1zEGr0lOD0u8rwPaNqQL1aRxUaxLeKO3ArNh3VYg1KbaD+FFw==",
+ "requires": {
+ "@babel/runtime": "^7.8.4"
+ }
+ },
+ "regexpu-core": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.7.1.tgz",
+ "integrity": "sha512-ywH2VUraA44DZQuRKzARmw6S66mr48pQVva4LBeRhcOltJ6hExvWly5ZjFLYo67xbIxb6W1q4bAGtgfEl20zfQ==",
+ "requires": {
+ "regenerate": "^1.4.0",
+ "regenerate-unicode-properties": "^8.2.0",
+ "regjsgen": "^0.5.1",
+ "regjsparser": "^0.6.4",
+ "unicode-match-property-ecmascript": "^1.0.4",
+ "unicode-match-property-value-ecmascript": "^1.2.0"
+ }
+ },
+ "regjsgen": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.2.tgz",
+ "integrity": "sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A=="
+ },
+ "regjsparser": {
+ "version": "0.6.7",
+ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.7.tgz",
+ "integrity": "sha512-ib77G0uxsA2ovgiYbCVGx4Pv3PSttAx2vIwidqQzbL2U5S4Q+j00HdSAneSBuyVcMvEnTXMjiGgB+DlXozVhpQ==",
+ "requires": {
+ "jsesc": "~0.5.0"
+ },
+ "dependencies": {
+ "jsesc": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
+ "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0="
+ }
+ }
+ },
"remark": {
"version": "11.0.2",
"resolved": "https://registry.npmjs.org/remark/-/remark-11.0.2.tgz",
@@ -5214,6 +6545,15 @@
"resolved": "https://registry.npmjs.org/remark-footnotes/-/remark-footnotes-2.0.0.tgz",
"integrity": "sha512-3Clt8ZMH75Ayjp9q4CorNeyjwIxHFcTkaektplKGl2A1jNGEUey8cKL0ZC5vJwfcD5GFGsNLImLG/NGzWIzoMQ=="
},
+ "remark-gfm": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-1.0.0.tgz",
+ "integrity": "sha512-KfexHJCiqvrdBZVbQ6RopMZGwaXz6wFJEfByIuEwGf0arvITHjiKKZ1dpXujjH9KZdm1//XJQwgfnJ3lmXaDPA==",
+ "requires": {
+ "mdast-util-gfm": "^0.1.0",
+ "micromark-extension-gfm": "^0.3.0"
+ }
+ },
"remark-html": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/remark-html/-/remark-html-10.0.0.tgz",
@@ -6094,6 +7434,30 @@
"xtend": "^4.0.0"
}
},
+ "unicode-canonical-property-names-ecmascript": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz",
+ "integrity": "sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ=="
+ },
+ "unicode-match-property-ecmascript": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz",
+ "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==",
+ "requires": {
+ "unicode-canonical-property-names-ecmascript": "^1.0.4",
+ "unicode-property-aliases-ecmascript": "^1.0.4"
+ }
+ },
+ "unicode-match-property-value-ecmascript": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.2.0.tgz",
+ "integrity": "sha512-wjuQHGQVofmSJv1uVISKLE5zO2rNGzM/KCYZch/QQvez7C1hUhBIuZ701fYXExuufJFMPhv2SyL8CyoIfMLbIQ=="
+ },
+ "unicode-property-aliases-ecmascript": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.1.0.tgz",
+ "integrity": "sha512-PqSoPh/pWetQ2phoj5RLiaqIk4kCNwoV3CI+LfGmWLKI3rE3kl1h59XpX2BjgDrmbxD9ARtQobPGU1SguCYuQg=="
+ },
"unified": {
"version": "8.4.2",
"resolved": "https://registry.npmjs.org/unified/-/unified-8.4.2.tgz",
diff --git a/www/package.json b/www/package.json
index 2e605525fcf..158b67b9e89 100644
--- a/www/package.json
+++ b/www/package.json
@@ -13,6 +13,7 @@
},
"dependencies": {
"@mdx-js/loader": "^1.6.22",
+ "@mdx-js/react": "^1.6.22",
"@next/mdx": "^10.0.7",
"@supabase/ui": "^0.13.3",
"classnames": "2.2.6",
@@ -20,6 +21,7 @@
"gray-matter": "^4.0.2",
"markdown-toc": "^1.2.0",
"next": "latest",
+ "next-mdx-remote": "^2.1.3",
"react": "^16.13.0",
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "^16.13.0",
diff --git a/www/pages/blog.tsx b/www/pages/blog.tsx
index 4bfa0c04c8f..39a5f367459 100644
--- a/www/pages/blog.tsx
+++ b/www/pages/blog.tsx
@@ -1,47 +1,39 @@
import DefaultLayout from '~/components/Layouts/Default'
import Link from 'next/link'
-import { Typography, Card, Badge, Space } from '@supabase/ui'
+import { Typography, Badge, Space, Button } from '@supabase/ui'
import authors from 'lib/authors.json'
-import ReactMarkdown from 'react-markdown'
+import { getSortedPosts, getAllCategories } from '~/lib/posts'
+import { useEffect, useState } from 'react'
-// function Blog(props: any) {
-// return (
-// <DefaultLayout>
-// <h1>Blog</h1>
-// </DefaultLayout>
-// )
-// }
-
-// This function gets called at build time on server-side.
export async function getStaticProps() {
- const fs = require('fs')
- const matter = require('gray-matter')
- const { v4: uuid } = require('uuid')
-
- const files = fs.readdirSync(`${process.cwd()}/_blog`, 'utf-8')
-
- const blogs = files
- .filter((fn: any) => fn.endsWith('.md'))
- .map((fn: any) => {
- const path = `${process.cwd()}/_blog/${fn}`
- const rawContent = fs.readFileSync(path, {
- encoding: 'utf-8',
- })
- const { data, content } = matter(rawContent)
-
- data.path = fn.replace('.md', '').replace('.mdx', '')
- return { ...data, content: content, id: uuid() }
- })
- .reverse()
-
- // By returning { props: blogs }, the IndexPage component
- // will receive `blogs` as a prop at build time
+ const allPostsData = getSortedPosts()
+ const categories = getAllCategories()
+
+ console.log(categories)
return {
- props: { blogs },
+ props: {
+ blogs: allPostsData,
+ categories,
+ },
}
}
function Blog(props: any) {
+ const [category, setCategory] = useState('')
+ const [blogs, setBlogs] = useState(props.blogs)
+
+ useEffect(() => {
+ // Update the document title using the browser API
+ setBlogs(
+ category
+ ? props.blogs.filter((post: any) => {
+ const found = post.tags.includes(category)
+ return found
+ })
+ : blogs
+ )
+ }, [category])
+
return (
<DefaultLayout>
<div className="bg-white dark:bg-dark-700 overflow-hidden py-12">
@@ -66,10 +58,32 @@ function Blog(props: any) {
</div>
<div className="container mx-auto px-8 sm:px-16 xl:px-20 mt-32">
<div className=" mx-auto max-w-7xl">
- <Typography.Title level={2}>More posts from the team</Typography.Title>
+ <div className="grid grid-cols-12">
+ <div className="col-span-8">
+ <Typography.Title level={2}>More posts from the team</Typography.Title>
+ </div>
+ {/* <Select className="sbui-border-fix col-span-4">
+ <Select.Option value="" selected>
+ Choose a category
+ </Select.Option>
+ <Select.Option value="case-study">Case study</Select.Option>
+ <Select.Option value="supabase">Supabase</Select.Option>
+ </Select> */}
+ </div>
+ <Space className="mt-6">
+ {props.categories.map((categoryId: string) => (
+ <Button
+ type={category === categoryId ? 'primary' : 'outline'}
+ key={categoryId}
+ onClick={() => setCategory(categoryId)}
+ >
+ {categoryId}
+ </Button>
+ ))}
+ </Space>
<div className="mt-12 max-w-lg mx-auto grid lg:grid-cols-1 lg:max-w-none">
{/* <ul> */}
- {props.blogs.slice(2).map((blog: any, idx: any) => {
+ {blogs.map((blog: any, idx: any) => {
return BlogListItem(blog)
})}
{/* </ul> */}
@@ -84,9 +98,10 @@ function Blog(props: any) {
function FeaturedThumb(blog: any) {
// @ts-ignore
const author = blog.author ? authors[blog.author] : authors['supabase']
+
return (
<div key={blog.id} className="my-6">
- <Link href={`/blog/${blog.path}`}>
+ <Link href={`/blog/${blog.slug}`} as={`/blog/${blog.slug}`}>
<div>
<img
className="h-96 w-full object-cover"
@@ -137,11 +152,11 @@ function BlogListItem(blog: any) {
// @ts-ignore
const author = blog.author ? authors[blog.author] : authors['supabase']
- console.log(blog.content.substring(0, 120))
+ // console.log(blog.content.substring(0, 120))
return (
<div key={blog.id} className="py-4 border-b border-gray-100 dark:border-gray-600 mb-8">
<div className=" mx-auto max-w-7xl">
- <Link href={`/blog/${blog.path}`}>
+ <Link href={`/blog/${blog.slug}`} as={`/blog/${blog.slug}`}>
<div>
<Space direction="vertical" size={5} className="">
<div>
diff --git a/www/pages/blog/[slug].tsx b/www/pages/blog/[slug].tsx
index 0d66123f28d..ea57b86b094 100644
--- a/www/pages/blog/[slug].tsx
+++ b/www/pages/blog/[slug].tsx
@@ -1,79 +1,108 @@
// file: pages/blog/[slug].js
import React from 'react'
-import { IconHash, IconLink, Space, Typography } from '@supabase/ui'
+import { IconFile, IconLink, Space, Typography } from '@supabase/ui'
import ReactMarkdown from 'react-markdown'
import DefaultLayout from '~/components/Layouts/Default'
import authors from 'lib/authors.json'
import blogStyles from './[slug].module.css'
+
+import CodeBlock from '~/components/CodeBlock/CodeBlock'
+import { getAllPostSlugs, getPostdata, getSortedPosts } from '~/lib/posts'
+
+import matter from 'gray-matter'
+
+import renderToString from 'next-mdx-remote/render-to-string'
+import hydrate from 'next-mdx-remote/hydrate'
+import Badge from '~/components/Badge'
+
+const components = { CodeBlock }
+
const toc = require('markdown-toc')
const gfm = require('remark-gfm')
function BlogPostPage(props: any) {
// @ts-ignore
const author = props.blog.author ? authors[props.blog.author] : authors['supabase']
+ const content = hydrate(props.blog.content, { components })
return (
<DefaultLayout>
<div className="bg-white dark:bg-dark-700 overflow-hidden py-12">
- <div className="container mx-auto px-8 sm:px-16 xl:px-20 mt-16">
- <div className="max-w-3xl">
- <Space className="mb-4">
- <Typography.Text type="secondary">{props.blog.date}</Typography.Text>
- <Typography.Text type="secondary">•</Typography.Text>
- <Typography.Text type="secondary">5 min read</Typography.Text>
- </Space>
- <Typography.Title>{props.blog.title}</Typography.Title>
- {author && (
- <div className="mt-6">
- <Space size={4}>
- {author.author_image_url && (
- <img src={author.author_image_url} className="rounded-full w-10" />
- )}
- <Space direction="vertical" size={0}>
- <Typography.Text>{author.author}</Typography.Text>
- <Typography.Text type="secondary" small>
- {author.position}
- </Typography.Text>
- </Space>
+ <div className="container px-8 sm:px-16 xl:px-20 mt-16 mx-auto">
+ <div className="max-w-6xl mx-auto">
+ <div className="py-12 grid grid-cols-12 gap-16">
+ <div className="col-span-10">
+ <Space className="mb-4">
+ <Typography.Text type="secondary">{props.blog.date}</Typography.Text>
+ <Typography.Text type="secondary">•</Typography.Text>
+ <Typography.Text type="secondary">5 min read</Typography.Text>
</Space>
+ <Typography.Title>{props.blog.title}</Typography.Title>
+ {author && (
+ <div className="mt-6">
+ <Space size={4}>
+ {author.author_image_url && (
+ <img src={author.author_image_url} className="rounded-full w-10" />
+ )}
+ <Space direction="vertical" size={0}>
+ <Typography.Text>{author.author}</Typography.Text>
+ <Typography.Text type="secondary" small>
+ {author.position}
+ </Typography.Text>
+ </Space>
+ </Space>
+ </div>
+ )}
</div>
- )}
+ </div>
</div>
</div>
</div>
- <div className="py-12">
- <div className="container mx-auto px-8 sm:px-16 xl:px-10 mb-16 -mt-16">
- <div className="max-w-4xl">
- <img
- src={'/new/images/blog/' + props.blog.thumb}
- className="object-cover"
- style={{ maxHeight: '520px', width: '100%' }}
- />
- </div>
- </div>
- <div className="container mx-auto px-8 sm:px-16 xl:px-20 mb-16">
- {/* <div className="max-w-7xl">
- <Typography.Text className=" block mb-4">Table of contents</Typography.Text>
- <ol>
- {props.blog.toc.json.map((item: any) => {
- return <li className="underline mb-2">{item.content}</li>
- })}
- </ol>
- </div> */}
- <Typography.Text className="block mb-4 underline">Table of contents</Typography.Text>
- <Typography>
- <div className={blogStyles['toc']}>
- <ReactMarkdown plugins={[gfm]}>{props.blog.toc.content}</ReactMarkdown>
+ <div className="container px-8 sm:px-16 xl:px-20 mt-16 mx-auto">
+ <div className="max-w-6xl mx-auto">
+ <div className="py-4 grid grid-cols-12 gap-16">
+ <div className="col-span-8">
+ {props.blog.thumb && (
+ <img
+ src={'/new/images/blog/' + props.blog.thumb}
+ className="object-cover -mt-32 mb-8"
+ style={{ maxHeight: '520px', width: '100%' }}
+ />
+ )}
+ <Typography>{content}</Typography>
+ </div>
+ <div className="col-span-4">
+ <Space direction="vertical" size={8}>
+ <Space>
+ {props.blog.tags.map((tag: string) => {
+ return <Badge>{tag}</Badge>
+ })}
+ </Space>
+ <div>
+ <Typography.Title level={5}>Table of contents</Typography.Title>
+ <Typography>
+ <div className={blogStyles['toc']}>
+ <ReactMarkdown plugins={[gfm]}>{props.blog.toc.content}</ReactMarkdown>
+ </div>
+ </Typography>
+ </div>
+ <div>
+ <Typography.Title className="mb-4" level={5}>
+ Related articles
+ </Typography.Title>
+ <Space direction="vertical">
+ {props.relatedPosts.map((post: any) => (
+ <Typography.Text>
+ <Space>
+ <IconFile size={'small'} style={{ minWidth: '1.2rem' }} />
+ <span>{post.title}</span>
+ </Space>
+ </Typography.Text>
+ ))}
+ </Space>
+ </div>
+ </Space>
</div>
- </Typography>
- </div>
- <div className="container mx-auto px-8 sm:px-16 xl:px-20">
- <div className="max-w-7xl">
- <Typography>
- <ReactMarkdown plugins={[gfm]} renderers={{ heading: HeadingRenderer }}>
- {props.blog.content}
- </ReactMarkdown>
- </Typography>
</div>
</div>
</div>
@@ -81,65 +110,115 @@ function BlogPostPage(props: any) {
)
}
-// pass props to BlogPostPage component
-export async function getStaticProps(context: any) {
- const fs = require('fs')
- // const html = require('remark-html')
- // const highlight = require('remark-highlight.js')
- // const unified = require('unified')
- // const markdown = require('remark-parse')
- const matter = require('gray-matter')
-
- const slug = context.params.slug // get slug from params
- const path = `${process.cwd()}/_blog/${slug}.md`
-
- // read file content and store into rawContent variable
- const rawContent = fs.readFileSync(path, {
- encoding: 'utf-8',
- })
+export async function getStaticPaths() {
+ const paths = getAllPostSlugs()
+ return {
+ paths,
+ fallback: false,
+ }
+}
+// export async function getStaticProps({ params }: any) {
+// const postContent = await getPostdata(params.slug)
+// const { data, content } = matter(postContent)
- const { data, content } = matter(rawContent) // pass rawContent to gray-matter to get data and content
+// return {
+// props: {
+// blog: {
+// content: content,
+// ...data,
+// toc: toc(content),
+// },
+// },
+// }
+// }
- // const result = await unified()
- // .use(markdown)
- // .use(highlight) // highlight code block
- // .use(html)
- // .process(content) // pass content to process)
+export async function getStaticProps({ params }: any) {
+ const postContent = await getPostdata(params.slug)
+ const { data, content } = matter(postContent)
+
+ console.log(content)
+
+ const mdxSource: any = await renderToString(content, {
+ components,
+ scope: data,
+ mdxOptions: {
+ remarkPlugins: [gfm],
+ },
+ })
+
+ const relatedPosts = getSortedPosts(5, mdxSource.tags)
return {
props: {
+ relatedPosts,
blog: {
- toc: toc(content),
+ content: mdxSource,
...data,
- // content: result.toString(),
- content: content,
+ toc: toc(content),
},
},
}
}
-// generate HTML paths at build time
-export async function getStaticPaths(context: any) {
- const fs = require('fs')
+// // pass props to BlogPostPage component
+// export async function getStaticProps(context: any) {
+// const fs = require('fs')
+// // const html = require('remark-html')
+// // const highlight = require('remark-highlight.js')
+// // const unified = require('unified')
+// // const markdown = require('remark-parse')
+// const matter = require('gray-matter')
- const path = `${process.cwd()}/_blog`
- const files = fs.readdirSync(path, 'utf-8')
+// const slug = context.params.slug // get slug from params
+// const path = `${process.cwd()}/_blog/${slug}.mdx`
- const markdownFileNames = files
- .filter((fn: any) => fn.endsWith('.md'))
- .map((fn: any) => fn.replace('.md', ''))
+// // read file content and store into rawContent variable
+// const rawContent = fs.readFileSync(path, {
+// encoding: 'utf-8',
+// })
- return {
- paths: markdownFileNames.map((fileName: any) => {
- return {
- params: {
- slug: fileName,
- },
- }
- }),
- fallback: false,
- }
-}
+// const { data, content } = matter(rawContent) // pass rawContent to gray-matter to get data and content
+
+// // const result = await unified()
+// // .use(markdown)
+// // .use(highlight) // highlight code block
+// // .use(html)
+// // .process(content) // pass content to process)
+
+// return {
+// props: {
+// blog: {
+// toc: toc(content),
+// ...data,
+// // content: result.toString(),
+// content: content,
+// },
+// },
+// }
+// }
+
+// // generate HTML paths at build time
+// export async function getStaticPaths(context: any) {
+// const fs = require('fs')
+
+// const path = `${process.cwd()}/_blog`
+// const files = fs.readdirSync(path, 'utf-8')
+
+// const markdownFileNames = files
+// .filter((fn: any) => fn.endsWith('.mdx'))
+// .map((fn: any) => fn.replace('.mdx', ''))
+
+// return {
+// paths: markdownFileNames.map((fileName: any) => {
+// return {
+// params: {
+// slug: fileName,
+// },
+// }
+// }),
+// fallback: false,
+// }
+// }
// Heading renderer solution
// https://github.com/remarkjs/react-markdown/issues/404
diff --git a/www/styles/index.css b/www/styles/index.css
index d0fcc60fac6..10a18e70198 100644
--- a/www/styles/index.css
+++ b/www/styles/index.css
@@ -1,4 +1,3 @@
-
@tailwind base;
/* Write your own custom base styles here */
@@ -15,13 +14,10 @@
/* Your own custom utilities */
-
@font-face {
- font-family: "custom-font";
- src: url(/new/fonts/custom/CustomFont-Book.woff2)
- format('woff2'),
- url(/new/fonts/custom/CustomFont-Book.woff)
- format('woff');
+ font-family: 'custom-font';
+ src: url(/new/fonts/custom/CustomFont-Book.woff2) format('woff2'),
+ url(/new/fonts/custom/CustomFont-Book.woff) format('woff');
font-weight: 400;
font-style: normal;
}
@@ -35,11 +31,9 @@
font-style: italic;
} */
@font-face {
- font-family: "custom-font";
- src: url(/new/fonts/custom/CustomFont-Medium.woff2)
- format('woff2'),
- url(/new/fonts/custom/CustomFont-Medium.woff)
- format('woff');
+ font-family: 'custom-font';
+ src: url(/new/fonts/custom/CustomFont-Medium.woff2) format('woff2'),
+ url(/new/fonts/custom/CustomFont-Medium.woff) format('woff');
font-weight: 500;
font-style: normal;
}
@@ -88,3 +82,13 @@
font-weight: 800;
font-style: italic;
} */
+
+.sbui-border-fix select {
+ @apply border-solid;
+ border-width: 1px;
+}
+
+body {
+ -moz-osx-font-smoothing: grayscale;
+ -webkit-font-smoothing: antialiased;
+}