diff --git a/apps/www/_blog/2022-10-05-supabase-beta-update-september-2022.mdx b/apps/www/_blog/2022-10-05-supabase-beta-update-september-2022.mdx index 0c838e9d652..bcadf863f61 100644 --- a/apps/www/_blog/2022-10-05-supabase-beta-update-september-2022.mdx +++ b/apps/www/_blog/2022-10-05-supabase-beta-update-september-2022.mdx @@ -53,7 +53,7 @@ Visit the repo: [Snaplet](https://github.com/snaplet/postgres-wasm) | [Supaba We're making some changes to the way the Dashboard interacts with your database. These changes simplify the database permissions so that it's easier for you to migrate in and out of Supabase, and they reduce the security surface area considerably. The change will be applied automatically in November, or you can run it today via the Dashboard. -[See the PR](https://github.com/supabase/supabase/discussions/9314). +[Review the Security Notice](https://github.com/supabase/supabase/discussions/9314). ## Quick product updates diff --git a/package-lock.json b/package-lock.json index a6d1752fd15..86100782028 100644 --- a/package-lock.json +++ b/package-lock.json @@ -532,8 +532,7 @@ }, "apps/www/node_modules/@mdx-js/mdx": { "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-2.1.3.tgz", - "integrity": "sha512-ahbb47HJIJ4xnifaL06tDJiSyLEy1EhFAStO7RZIm3GTa7yGW3NGhZaj+GUCveFgl5oI54pY4BgiLmYm97y+zg==", + "license": "MIT", "dependencies": { "@types/estree-jsx": "^1.0.0", "@types/mdx": "^2.0.0", @@ -560,8 +559,7 @@ }, "apps/www/node_modules/@mdx-js/mdx/node_modules/remark-parse": { "version": "10.0.1", - "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-10.0.1.tgz", - "integrity": "sha512-1fUyHr2jLsVOkhbvPRBJ5zTKZZyD6yZzYaWCS6BPBdQ8vEMBCH+9zNCDA6tET/zHCi/jLqjCWtlJZUPk+DbnFw==", + "license": "MIT", "dependencies": { "@types/mdast": "^3.0.0", "mdast-util-from-markdown": "^1.0.0", @@ -574,8 +572,7 @@ }, "apps/www/node_modules/@mdx-js/mdx/node_modules/unified": { "version": "10.1.2", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", - "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", + "license": "MIT", "dependencies": { "@types/unist": "^2.0.0", "bail": "^2.0.0", @@ -592,8 +589,7 @@ }, "apps/www/node_modules/@mdx-js/mdx/node_modules/unist-util-visit": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.1.tgz", - "integrity": "sha512-n9KN3WV9k4h1DxYR1LoajgN93wpEi/7ZplVe02IoB4gH5ctI1AaF2670BLHQYbwj+pY83gFtyeySFiyMHJklrg==", + "license": "MIT", "dependencies": { "@types/unist": "^2.0.0", "unist-util-is": "^5.0.0", @@ -617,8 +613,7 @@ }, "apps/www/node_modules/@next/env": { "version": "12.3.1", - "resolved": "https://registry.npmjs.org/@next/env/-/env-12.3.1.tgz", - "integrity": "sha512-9P9THmRFVKGKt9DYqeC2aKIxm8rlvkK38V1P1sRE7qyoPBIs8l9oo79QoSdPtOWfzkbDAVUqvbQGgTMsb8BtJg==" + "license": "MIT" }, "apps/www/node_modules/@next/mdx": { "version": "10.2.3", @@ -630,11 +625,10 @@ }, "apps/www/node_modules/@next/swc-darwin-x64": { "version": "12.3.1", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.3.1.tgz", - "integrity": "sha512-9S6EVueCVCyGf2vuiLiGEHZCJcPAxglyckTZcEwLdJwozLqN0gtS0Eq0bQlGS3dH49Py/rQYpZ3KVWZ9BUf/WA==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "darwin" @@ -705,8 +699,7 @@ }, "apps/www/node_modules/bail": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", + "license": "MIT", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -714,8 +707,6 @@ }, "apps/www/node_modules/is-buffer": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", "funding": [ { "type": "github", @@ -730,14 +721,14 @@ "url": "https://feross.org/support" } ], + "license": "MIT", "engines": { "node": ">=4" } }, "apps/www/node_modules/is-plain-obj": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "license": "MIT", "engines": { "node": ">=12" }, @@ -799,8 +790,7 @@ }, "apps/www/node_modules/next-mdx-remote": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/next-mdx-remote/-/next-mdx-remote-4.1.0.tgz", - "integrity": "sha512-ZdL5AFJcEqvInGkYYRKda930D6AJt1GOLX/OXFE/vTwaqV/Mw+l3/njZ4kWqvYSAkl89Z6W7WZrTtN0fd0XwPg==", + "license": "MPL-2.0", "dependencies": { "@mdx-js/mdx": "^2.0.0", "@mdx-js/react": "^2.0.0", @@ -818,8 +808,7 @@ }, "apps/www/node_modules/next-mdx-remote/node_modules/@mdx-js/react": { "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-2.1.3.tgz", - "integrity": "sha512-11n4lTvvRyxq3OYbWJwEYM+7q6PE0GxKbk0AwYIIQmrRkxDeljIsjDQkKOgdr/orgRRbYy5zi+iERdnwe01CHQ==", + "license": "MIT", "dependencies": { "@types/mdx": "^2.0.0", "@types/react": ">=16" @@ -834,8 +823,6 @@ }, "apps/www/node_modules/next/node_modules/postcss": { "version": "8.4.14", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz", - "integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==", "funding": [ { "type": "opencollective", @@ -846,6 +833,7 @@ "url": "https://tidelift.com/funding/github/npm/postcss" } ], + "license": "MIT", "dependencies": { "nanoid": "^3.3.4", "picocolors": "^1.0.0", @@ -857,8 +845,7 @@ }, "apps/www/node_modules/next/node_modules/styled-jsx": { "version": "5.0.7", - "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.7.tgz", - "integrity": "sha512-b3sUzamS086YLRuvnaDigdAewz1/EFYlHpYBP5mZovKEdQQOIIYq8lApylub3HHZ6xFjV051kkGU7cudJmrXEA==", + "license": "MIT", "engines": { "node": ">= 12.0.0" }, @@ -876,8 +863,7 @@ }, "apps/www/node_modules/next/node_modules/use-sync-external-store": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", - "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==", + "license": "MIT", "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0" } @@ -921,8 +907,7 @@ }, "apps/www/node_modules/trough": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", - "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==", + "license": "MIT", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -930,8 +915,7 @@ }, "apps/www/node_modules/unist-util-visit-parents": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-5.1.1.tgz", - "integrity": "sha512-gks4baapT/kNRaWxuGkl5BIhoanZo7sC/cUT/JToSRNL1dYoXRFl75d++NkjYk4TAu2uv2Px+l8guMajogeuiw==", + "license": "MIT", "dependencies": { "@types/unist": "^2.0.0", "unist-util-is": "^5.0.0" @@ -7650,8 +7634,9 @@ } }, "node_modules/@supabase/shared-types": { - "version": "0.1.28", - "license": "Copyright Supabase" + "version": "0.1.29", + "resolved": "https://registry.npmjs.org/@supabase/shared-types/-/shared-types-0.1.29.tgz", + "integrity": "sha512-CQEr/dKLNt3+du3xhpqohO3fkVFCLL+v92Vgj51cECpAv3LIkkxGKNNc+SXsG+niDxMZp9EuyDLo7fGzsB8f6w==" }, "node_modules/@supabase/storage-js": { "version": "2.0.0-rc.2", @@ -7720,8 +7705,7 @@ }, "node_modules/@swc/helpers": { "version": "0.4.11", - "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.11.tgz", - "integrity": "sha512-rEUrBSGIoSFuYxwBYtlUFMlE2CwGhmW+w9355/5oduSw8e5h2+Tj4UrAGNNgP9915++wj5vkQo0UuOBqOAq4nw==", + "license": "MIT", "dependencies": { "tslib": "^2.4.0" } @@ -8066,8 +8050,7 @@ }, "node_modules/@types/js-yaml": { "version": "4.0.5", - "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.5.tgz", - "integrity": "sha512-FhpRzf927MNQdRZP0J5DLIdTXhjLYzeUTmLAu69mnVksLH9CJY3IuSeEgbKUki7GQZm0WqDkGzyxju2EZGD2wA==" + "license": "MIT" }, "node_modules/@types/json-logic-js": { "version": "1.2.1", @@ -9286,8 +9269,7 @@ }, "node_modules/astring": { "version": "1.8.3", - "resolved": "https://registry.npmjs.org/astring/-/astring-1.8.3.tgz", - "integrity": "sha512-sRpyiNrx2dEYIMmUXprS8nlpRg2Drs8m9ElX9vVEXaCB4XEAJhKfs7IcX0IwShjuOAjLR6wzIrgoptz1n19i1A==", + "license": "MIT", "bin": { "astring": "bin/astring" } @@ -13647,8 +13629,7 @@ }, "node_modules/estree-util-attach-comments": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/estree-util-attach-comments/-/estree-util-attach-comments-2.1.0.tgz", - "integrity": "sha512-rJz6I4L0GaXYtHpoMScgDIwM0/Vwbu5shbMeER596rB2D1EWF6+Gj0e0UKzJPZrpoOc87+Q2kgVFHfjAymIqmw==", + "license": "MIT", "dependencies": { "@types/estree": "^1.0.0" }, @@ -13659,13 +13640,11 @@ }, "node_modules/estree-util-attach-comments/node_modules/@types/estree": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", - "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" + "license": "MIT" }, "node_modules/estree-util-build-jsx": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/estree-util-build-jsx/-/estree-util-build-jsx-2.2.0.tgz", - "integrity": "sha512-apsfRxF9uLrqosApvHVtYZjISPvTJ+lBiIydpC+9wE6cF6ssbhnjyQLqaIjgzGxvC2Hbmec1M7g91PoBayYoQQ==", + "license": "MIT", "dependencies": { "@types/estree-jsx": "^1.0.0", "estree-util-is-identifier-name": "^2.0.0", @@ -13686,8 +13665,7 @@ }, "node_modules/estree-util-to-js": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/estree-util-to-js/-/estree-util-to-js-1.1.0.tgz", - "integrity": "sha512-490lbfCcpLk+ofK6HCgqDfYs4KAfq6QVvDw3+Bm1YoKRgiOjKiKYGAVQE1uwh7zVxBgWhqp4FDtp5SqunpUk1A==", + "license": "MIT", "dependencies": { "@types/estree-jsx": "^1.0.0", "astring": "^1.8.0", @@ -13700,8 +13678,7 @@ }, "node_modules/estree-util-to-js/node_modules/source-map": { "version": "0.7.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", - "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "license": "BSD-3-Clause", "engines": { "node": ">= 8" } @@ -13720,8 +13697,7 @@ }, "node_modules/estree-walker": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.1.tgz", - "integrity": "sha512-woY0RUD87WzMBUiZLx8NsYr23N5BKsOMZHhu2hoNRVh6NXGfoiT1KOL8G3UHlJAnEDGmfa5ubNA/AacfG+Kb0g==" + "license": "MIT" }, "node_modules/esutils": { "version": "2.0.3", @@ -15530,8 +15506,7 @@ }, "node_modules/hast-util-has-property": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hast-util-has-property/-/hast-util-has-property-2.0.0.tgz", - "integrity": "sha512-4Qf++8o5v14us4Muv3HRj+Er6wTNGA/N9uCaZMty4JWvyFKLdhULrv4KE1b65AthsSO9TXSZnjuxS8ecIyhb0w==", + "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" @@ -15539,8 +15514,7 @@ }, "node_modules/hast-util-heading-rank": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hast-util-heading-rank/-/hast-util-heading-rank-2.1.0.tgz", - "integrity": "sha512-w+Rw20Q/iWp2Bcnr6uTrYU6/ftZLbHKhvc8nM26VIWpDqDMlku2iXUVTeOlsdoih/UKQhY7PHQ+vZ0Aqq8bxtQ==", + "license": "MIT", "dependencies": { "@types/hast": "^2.0.0" }, @@ -15684,8 +15658,7 @@ }, "node_modules/hast-util-to-estree": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hast-util-to-estree/-/hast-util-to-estree-2.1.0.tgz", - "integrity": "sha512-Vwch1etMRmm89xGgz+voWXvVHba2iiMdGMKmaMfYt35rbVtFDq8JNwwAIvi8zHMkO6Gvqo9oTMwJTmzVRfXh4g==", + "license": "MIT", "dependencies": { "@types/estree": "^1.0.0", "@types/estree-jsx": "^1.0.0", @@ -15710,8 +15683,7 @@ }, "node_modules/hast-util-to-estree/node_modules/@types/estree": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", - "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" + "license": "MIT" }, "node_modules/hast-util-to-html": { "version": "8.0.3", @@ -15769,8 +15741,7 @@ }, "node_modules/hast-util-to-string": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-2.0.0.tgz", - "integrity": "sha512-02AQ3vLhuH3FisaMM+i/9sm4OXGSq1UhOOCpTLLQtHdL3tZt7qil69r8M8iDkZYyC0HCFylcYoP+8IO7ddta1A==", + "license": "MIT", "dependencies": { "@types/hast": "^2.0.0" }, @@ -16678,8 +16649,7 @@ }, "node_modules/is-reference": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.0.tgz", - "integrity": "sha512-Eo1W3wUoHWoCoVM4GVl/a+K0IgiqE5aIo4kJABFyMum1ZORlPkC+UC357sSQUL5w5QCE5kCC9upl75b7+7CY/Q==", + "license": "MIT", "dependencies": { "@types/estree": "*" } @@ -19397,8 +19367,7 @@ }, "node_modules/markdown-extensions": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/markdown-extensions/-/markdown-extensions-1.1.1.tgz", - "integrity": "sha512-WWC0ZuMzCyDHYCasEGs4IPvLyTGftYwh6wIEOULOF0HXcqZlhwRzrK0w2VUlxWA98xnvb/jszw4ZSkJ6ADpM6Q==", + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -19541,8 +19510,7 @@ }, "node_modules/mdast-util-find-and-replace": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-2.2.1.tgz", - "integrity": "sha512-SobxkQXFAdd4b5WmEakmkVoh18icjQRxGy5OWTCzgsLRm1Fu/KCtwD1HIQSsmq5ZRjVH0Ehwg6/Fn3xIUk+nKw==", + "license": "MIT", "dependencies": { "escape-string-regexp": "^5.0.0", "unist-util-is": "^5.0.0", @@ -19555,8 +19523,7 @@ }, "node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "license": "MIT", "engines": { "node": ">=12" }, @@ -19566,8 +19533,7 @@ }, "node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-5.1.1.tgz", - "integrity": "sha512-gks4baapT/kNRaWxuGkl5BIhoanZo7sC/cUT/JToSRNL1dYoXRFl75d++NkjYk4TAu2uv2Px+l8guMajogeuiw==", + "license": "MIT", "dependencies": { "@types/unist": "^2.0.0", "unist-util-is": "^5.0.0" @@ -19601,8 +19567,7 @@ }, "node_modules/mdast-util-gfm": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-2.0.1.tgz", - "integrity": "sha512-42yHBbfWIFisaAfV1eixlabbsa6q7vHeSPY+cg+BBjX51M8xhgMacqH9g6TftB/9+YkcI0ooV4ncfrJslzm/RQ==", + "license": "MIT", "dependencies": { "mdast-util-from-markdown": "^1.0.0", "mdast-util-gfm-autolink-literal": "^1.0.0", @@ -19619,8 +19584,7 @@ }, "node_modules/mdast-util-gfm-autolink-literal": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-1.0.2.tgz", - "integrity": "sha512-FzopkOd4xTTBeGXhXSBU0OCDDh5lUj2rd+HQqG92Ld+jL4lpUfgX2AT2OHAVP9aEeDKp7G92fuooSZcYJA3cRg==", + "license": "MIT", "dependencies": { "@types/mdast": "^3.0.0", "ccount": "^2.0.0", @@ -19634,8 +19598,7 @@ }, "node_modules/mdast-util-gfm-footnote": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-1.0.1.tgz", - "integrity": "sha512-p+PrYlkw9DeCRkTVw1duWqPRHX6Ywh2BNKJQcZbCwAuP/59B0Lk9kakuAd7KbQprVO4GzdW8eS5++A9PUSqIyw==", + "license": "MIT", "dependencies": { "@types/mdast": "^3.0.0", "mdast-util-to-markdown": "^1.3.0", @@ -19648,8 +19611,7 @@ }, "node_modules/mdast-util-gfm-strikethrough": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-1.0.1.tgz", - "integrity": "sha512-zKJbEPe+JP6EUv0mZ0tQUyLQOC+FADt0bARldONot/nefuISkaZFlmVK4tU6JgfyZGrky02m/I6PmehgAgZgqg==", + "license": "MIT", "dependencies": { "@types/mdast": "^3.0.0", "mdast-util-to-markdown": "^1.3.0" @@ -19661,8 +19623,7 @@ }, "node_modules/mdast-util-gfm-table": { "version": "1.0.6", - "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-1.0.6.tgz", - "integrity": "sha512-uHR+fqFq3IvB3Rd4+kzXW8dmpxUhvgCQZep6KdjsLK4O6meK5dYZEayLtIxNus1XO3gfjfcIFe8a7L0HZRGgag==", + "license": "MIT", "dependencies": { "@types/mdast": "^3.0.0", "markdown-table": "^3.0.0", @@ -19676,8 +19637,7 @@ }, "node_modules/mdast-util-gfm-table/node_modules/markdown-table": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.2.tgz", - "integrity": "sha512-y8j3a5/DkJCmS5x4dMCQL+OR0+2EAq3DOtio1COSHsmW2BGXnNCK3v12hJt1LrUz5iZH5g0LmuYOjDdI+czghA==", + "license": "MIT", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -19685,8 +19645,7 @@ }, "node_modules/mdast-util-gfm-task-list-item": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-1.0.1.tgz", - "integrity": "sha512-KZ4KLmPdABXOsfnM6JHUIjxEvcx2ulk656Z/4Balw071/5qgnhz+H1uGtf2zIGnrnvDC8xR4Fj9uKbjAFGNIeA==", + "license": "MIT", "dependencies": { "@types/mdast": "^3.0.0", "mdast-util-to-markdown": "^1.3.0" @@ -20172,8 +20131,7 @@ }, "node_modules/micromark-extension-gfm": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-2.0.1.tgz", - "integrity": "sha512-p2sGjajLa0iYiGQdT0oelahRYtMWvLjy8J9LOCxzIQsllMCGLbsLW+Nc+N4vi02jcRJvedVJ68cjelKIO6bpDA==", + "license": "MIT", "dependencies": { "micromark-extension-gfm-autolink-literal": "^1.0.0", "micromark-extension-gfm-footnote": "^1.0.0", @@ -20191,8 +20149,7 @@ }, "node_modules/micromark-extension-gfm-autolink-literal": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-1.0.3.tgz", - "integrity": "sha512-i3dmvU0htawfWED8aHMMAzAVp/F0Z+0bPh3YrbTPPL1v4YAlCZpy5rBO5p0LPYiZo0zFVkoYh7vDU7yQSiCMjg==", + "license": "MIT", "dependencies": { "micromark-util-character": "^1.0.0", "micromark-util-sanitize-uri": "^1.0.0", @@ -20207,8 +20164,7 @@ }, "node_modules/micromark-extension-gfm-footnote": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-1.0.4.tgz", - "integrity": "sha512-E/fmPmDqLiMUP8mLJ8NbJWJ4bTw6tS+FEQS8CcuDtZpILuOb2kjLqPEeAePF1djXROHXChM/wPJw0iS4kHCcIg==", + "license": "MIT", "dependencies": { "micromark-core-commonmark": "^1.0.0", "micromark-factory-space": "^1.0.0", @@ -20226,8 +20182,7 @@ }, "node_modules/micromark-extension-gfm-strikethrough": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-1.0.4.tgz", - "integrity": "sha512-/vjHU/lalmjZCT5xt7CcHVJGq8sYRm80z24qAKXzaHzem/xsDYb2yLL+NNVbYvmpLx3O7SYPuGL5pzusL9CLIQ==", + "license": "MIT", "dependencies": { "micromark-util-chunked": "^1.0.0", "micromark-util-classify-character": "^1.0.0", @@ -20243,8 +20198,7 @@ }, "node_modules/micromark-extension-gfm-table": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-1.0.5.tgz", - "integrity": "sha512-xAZ8J1X9W9K3JTJTUL7G6wSKhp2ZYHrFk5qJgY/4B33scJzE2kpfRL6oiw/veJTbt7jiM/1rngLlOKPWr1G+vg==", + "license": "MIT", "dependencies": { "micromark-factory-space": "^1.0.0", "micromark-util-character": "^1.0.0", @@ -20259,8 +20213,7 @@ }, "node_modules/micromark-extension-gfm-tagfilter": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-1.0.1.tgz", - "integrity": "sha512-Ty6psLAcAjboRa/UKUbbUcwjVAv5plxmpUTy2XC/3nJFL37eHej8jrHrRzkqcpipJliuBH30DTs7+3wqNcQUVA==", + "license": "MIT", "dependencies": { "micromark-util-types": "^1.0.0" }, @@ -20271,8 +20224,7 @@ }, "node_modules/micromark-extension-gfm-task-list-item": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-1.0.3.tgz", - "integrity": "sha512-PpysK2S1Q/5VXi72IIapbi/jliaiOFzv7THH4amwXeYXLq3l1uo8/2Be0Ac1rEwK20MQEsGH2ltAZLNY2KI/0Q==", + "license": "MIT", "dependencies": { "micromark-factory-space": "^1.0.0", "micromark-util-character": "^1.0.0", @@ -22370,8 +22322,7 @@ }, "node_modules/periscopic": { "version": "3.0.4", - "resolved": "https://registry.npmjs.org/periscopic/-/periscopic-3.0.4.tgz", - "integrity": "sha512-SFx68DxCv0Iyo6APZuw/AKewkkThGwssmU0QWtTlvov3VAtPX+QJ4CadwSaz8nrT5jPIuxdvJWB4PnD2KNDxQg==", + "license": "MIT", "dependencies": { "estree-walker": "^3.0.0", "is-reference": "^3.0.0" @@ -25558,8 +25509,7 @@ }, "node_modules/rehype-slug": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/rehype-slug/-/rehype-slug-5.0.1.tgz", - "integrity": "sha512-X5v3wV/meuOX9NFcGhJvUpEjIvQl2gDvjg3z40RVprYFt7q3th4qMmYLULiu3gXvbNX1ppx+oaa6JyY1W67pTA==", + "license": "MIT", "dependencies": { "@types/hast": "^2.0.0", "github-slugger": "^1.1.1", @@ -25576,8 +25526,7 @@ }, "node_modules/rehype-slug/node_modules/bail": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", + "license": "MIT", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -25585,8 +25534,6 @@ }, "node_modules/rehype-slug/node_modules/is-buffer": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", "funding": [ { "type": "github", @@ -25601,14 +25548,14 @@ "url": "https://feross.org/support" } ], + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/rehype-slug/node_modules/is-plain-obj": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "license": "MIT", "engines": { "node": ">=12" }, @@ -25618,8 +25565,7 @@ }, "node_modules/rehype-slug/node_modules/trough": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", - "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==", + "license": "MIT", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -25627,8 +25573,7 @@ }, "node_modules/rehype-slug/node_modules/unified": { "version": "10.1.2", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", - "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", + "license": "MIT", "dependencies": { "@types/unist": "^2.0.0", "bail": "^2.0.0", @@ -25645,8 +25590,7 @@ }, "node_modules/rehype-slug/node_modules/unist-util-visit": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.1.tgz", - "integrity": "sha512-n9KN3WV9k4h1DxYR1LoajgN93wpEi/7ZplVe02IoB4gH5ctI1AaF2670BLHQYbwj+pY83gFtyeySFiyMHJklrg==", + "license": "MIT", "dependencies": { "@types/unist": "^2.0.0", "unist-util-is": "^5.0.0", @@ -25659,8 +25603,7 @@ }, "node_modules/rehype-slug/node_modules/unist-util-visit-parents": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-5.1.1.tgz", - "integrity": "sha512-gks4baapT/kNRaWxuGkl5BIhoanZo7sC/cUT/JToSRNL1dYoXRFl75d++NkjYk4TAu2uv2Px+l8guMajogeuiw==", + "license": "MIT", "dependencies": { "@types/unist": "^2.0.0", "unist-util-is": "^5.0.0" @@ -25727,8 +25670,7 @@ }, "node_modules/remark-gfm": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-3.0.1.tgz", - "integrity": "sha512-lEFDoi2PICJyNrACFOfDD3JlLkuSbOa5Wd8EPt06HUdptv8Gn0bxYTdbU/XXQ3swAPkEaGxxPN9cbnMHvVu1Ig==", + "license": "MIT", "dependencies": { "@types/mdast": "^3.0.0", "mdast-util-gfm": "^2.0.0", @@ -25742,8 +25684,7 @@ }, "node_modules/remark-gfm/node_modules/bail": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", + "license": "MIT", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -25751,8 +25692,6 @@ }, "node_modules/remark-gfm/node_modules/is-buffer": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", "funding": [ { "type": "github", @@ -25767,14 +25706,14 @@ "url": "https://feross.org/support" } ], + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/remark-gfm/node_modules/is-plain-obj": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "license": "MIT", "engines": { "node": ">=12" }, @@ -25784,8 +25723,7 @@ }, "node_modules/remark-gfm/node_modules/trough": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", - "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==", + "license": "MIT", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -25793,8 +25731,7 @@ }, "node_modules/remark-gfm/node_modules/unified": { "version": "10.1.2", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", - "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", + "license": "MIT", "dependencies": { "@types/unist": "^2.0.0", "bail": "^2.0.0", @@ -29740,8 +29677,7 @@ }, "node_modules/vfile-matter": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/vfile-matter/-/vfile-matter-3.0.1.tgz", - "integrity": "sha512-CAAIDwnh6ZdtrqAuxdElUqQRQDQgbbIrYtDYI8gCjXS1qQ+1XdLoK8FIZWxJwn0/I+BkSSZpar3SOgjemQz4fg==", + "license": "MIT", "dependencies": { "@types/js-yaml": "^4.0.0", "is-buffer": "^2.0.0", @@ -29754,8 +29690,6 @@ }, "node_modules/vfile-matter/node_modules/is-buffer": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", "funding": [ { "type": "github", @@ -29770,6 +29704,7 @@ "url": "https://feross.org/support" } ], + "license": "MIT", "engines": { "node": ">=4" } @@ -31161,7 +31096,7 @@ "@stripe/stripe-js": "^1.25.0", "@supabase/postgres-meta": "^0.26.1", "@supabase/react-data-grid": "^7.1.0-beta.7", - "@supabase/shared-types": "^0.1.25", + "@supabase/shared-types": "^0.1.29", "@supabase/supabase-js": "^2.0.0-rc.2", "ajv": "^8.6.3", "analytics-node": "^3.5.0", @@ -36011,7 +35946,9 @@ } }, "@supabase/shared-types": { - "version": "0.1.28" + "version": "0.1.29", + "resolved": "https://registry.npmjs.org/@supabase/shared-types/-/shared-types-0.1.29.tgz", + "integrity": "sha512-CQEr/dKLNt3+du3xhpqohO3fkVFCLL+v92Vgj51cECpAv3LIkkxGKNNc+SXsG+niDxMZp9EuyDLo7fGzsB8f6w==" }, "@supabase/storage-js": { "version": "2.0.0-rc.2", @@ -36070,8 +36007,6 @@ }, "@swc/helpers": { "version": "0.4.11", - "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.11.tgz", - "integrity": "sha512-rEUrBSGIoSFuYxwBYtlUFMlE2CwGhmW+w9355/5oduSw8e5h2+Tj4UrAGNNgP9915++wj5vkQo0UuOBqOAq4nw==", "requires": { "tslib": "^2.4.0" } @@ -36338,9 +36273,7 @@ } }, "@types/js-yaml": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.5.tgz", - "integrity": "sha512-FhpRzf927MNQdRZP0J5DLIdTXhjLYzeUTmLAu69mnVksLH9CJY3IuSeEgbKUki7GQZm0WqDkGzyxju2EZGD2wA==" + "version": "4.0.5" }, "@types/json-logic-js": { "version": "1.2.1", @@ -37193,9 +37126,7 @@ "version": "2.0.0" }, "astring": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/astring/-/astring-1.8.3.tgz", - "integrity": "sha512-sRpyiNrx2dEYIMmUXprS8nlpRg2Drs8m9ElX9vVEXaCB4XEAJhKfs7IcX0IwShjuOAjLR6wzIrgoptz1n19i1A==" + "version": "1.8.3" }, "async-each": { "version": "1.0.3", @@ -40138,23 +40069,17 @@ }, "estree-util-attach-comments": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/estree-util-attach-comments/-/estree-util-attach-comments-2.1.0.tgz", - "integrity": "sha512-rJz6I4L0GaXYtHpoMScgDIwM0/Vwbu5shbMeER596rB2D1EWF6+Gj0e0UKzJPZrpoOc87+Q2kgVFHfjAymIqmw==", "requires": { "@types/estree": "^1.0.0" }, "dependencies": { "@types/estree": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", - "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" + "version": "1.0.0" } } }, "estree-util-build-jsx": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/estree-util-build-jsx/-/estree-util-build-jsx-2.2.0.tgz", - "integrity": "sha512-apsfRxF9uLrqosApvHVtYZjISPvTJ+lBiIydpC+9wE6cF6ssbhnjyQLqaIjgzGxvC2Hbmec1M7g91PoBayYoQQ==", "requires": { "@types/estree-jsx": "^1.0.0", "estree-util-is-identifier-name": "^2.0.0", @@ -40166,8 +40091,6 @@ }, "estree-util-to-js": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/estree-util-to-js/-/estree-util-to-js-1.1.0.tgz", - "integrity": "sha512-490lbfCcpLk+ofK6HCgqDfYs4KAfq6QVvDw3+Bm1YoKRgiOjKiKYGAVQE1uwh7zVxBgWhqp4FDtp5SqunpUk1A==", "requires": { "@types/estree-jsx": "^1.0.0", "astring": "^1.8.0", @@ -40175,9 +40098,7 @@ }, "dependencies": { "source-map": { - "version": "0.7.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", - "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==" + "version": "0.7.4" } } }, @@ -40189,9 +40110,7 @@ } }, "estree-walker": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.1.tgz", - "integrity": "sha512-woY0RUD87WzMBUiZLx8NsYr23N5BKsOMZHhu2hoNRVh6NXGfoiT1KOL8G3UHlJAnEDGmfa5ubNA/AacfG+Kb0g==" + "version": "3.0.1" }, "esutils": { "version": "2.0.3" @@ -41364,14 +41283,10 @@ } }, "hast-util-has-property": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hast-util-has-property/-/hast-util-has-property-2.0.0.tgz", - "integrity": "sha512-4Qf++8o5v14us4Muv3HRj+Er6wTNGA/N9uCaZMty4JWvyFKLdhULrv4KE1b65AthsSO9TXSZnjuxS8ecIyhb0w==" + "version": "2.0.0" }, "hast-util-heading-rank": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hast-util-heading-rank/-/hast-util-heading-rank-2.1.0.tgz", - "integrity": "sha512-w+Rw20Q/iWp2Bcnr6uTrYU6/ftZLbHKhvc8nM26VIWpDqDMlku2iXUVTeOlsdoih/UKQhY7PHQ+vZ0Aqq8bxtQ==", "requires": { "@types/hast": "^2.0.0" } @@ -41445,8 +41360,6 @@ }, "hast-util-to-estree": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hast-util-to-estree/-/hast-util-to-estree-2.1.0.tgz", - "integrity": "sha512-Vwch1etMRmm89xGgz+voWXvVHba2iiMdGMKmaMfYt35rbVtFDq8JNwwAIvi8zHMkO6Gvqo9oTMwJTmzVRfXh4g==", "requires": { "@types/estree": "^1.0.0", "@types/estree-jsx": "^1.0.0", @@ -41466,9 +41379,7 @@ }, "dependencies": { "@types/estree": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", - "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" + "version": "1.0.0" } } }, @@ -41510,8 +41421,6 @@ }, "hast-util-to-string": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-2.0.0.tgz", - "integrity": "sha512-02AQ3vLhuH3FisaMM+i/9sm4OXGSq1UhOOCpTLLQtHdL3tZt7qil69r8M8iDkZYyC0HCFylcYoP+8IO7ddta1A==", "requires": { "@types/hast": "^2.0.0" } @@ -42047,8 +41956,6 @@ }, "is-reference": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.0.tgz", - "integrity": "sha512-Eo1W3wUoHWoCoVM4GVl/a+K0IgiqE5aIo4kJABFyMum1ZORlPkC+UC357sSQUL5w5QCE5kCC9upl75b7+7CY/Q==", "requires": { "@types/estree": "*" } @@ -43928,9 +43835,7 @@ "version": "1.0.4" }, "markdown-extensions": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/markdown-extensions/-/markdown-extensions-1.1.1.tgz", - "integrity": "sha512-WWC0ZuMzCyDHYCasEGs4IPvLyTGftYwh6wIEOULOF0HXcqZlhwRzrK0w2VUlxWA98xnvb/jszw4ZSkJ6ADpM6Q==" + "version": "1.1.1" }, "markdown-link": { "version": "0.1.1" @@ -44026,8 +43931,6 @@ }, "mdast-util-find-and-replace": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-2.2.1.tgz", - "integrity": "sha512-SobxkQXFAdd4b5WmEakmkVoh18icjQRxGy5OWTCzgsLRm1Fu/KCtwD1HIQSsmq5ZRjVH0Ehwg6/Fn3xIUk+nKw==", "requires": { "escape-string-regexp": "^5.0.0", "unist-util-is": "^5.0.0", @@ -44035,14 +43938,10 @@ }, "dependencies": { "escape-string-regexp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==" + "version": "5.0.0" }, "unist-util-visit-parents": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-5.1.1.tgz", - "integrity": "sha512-gks4baapT/kNRaWxuGkl5BIhoanZo7sC/cUT/JToSRNL1dYoXRFl75d++NkjYk4TAu2uv2Px+l8guMajogeuiw==", "requires": { "@types/unist": "^2.0.0", "unist-util-is": "^5.0.0" @@ -44069,8 +43968,6 @@ }, "mdast-util-gfm": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-2.0.1.tgz", - "integrity": "sha512-42yHBbfWIFisaAfV1eixlabbsa6q7vHeSPY+cg+BBjX51M8xhgMacqH9g6TftB/9+YkcI0ooV4ncfrJslzm/RQ==", "requires": { "mdast-util-from-markdown": "^1.0.0", "mdast-util-gfm-autolink-literal": "^1.0.0", @@ -44083,8 +43980,6 @@ }, "mdast-util-gfm-autolink-literal": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-1.0.2.tgz", - "integrity": "sha512-FzopkOd4xTTBeGXhXSBU0OCDDh5lUj2rd+HQqG92Ld+jL4lpUfgX2AT2OHAVP9aEeDKp7G92fuooSZcYJA3cRg==", "requires": { "@types/mdast": "^3.0.0", "ccount": "^2.0.0", @@ -44094,8 +43989,6 @@ }, "mdast-util-gfm-footnote": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-1.0.1.tgz", - "integrity": "sha512-p+PrYlkw9DeCRkTVw1duWqPRHX6Ywh2BNKJQcZbCwAuP/59B0Lk9kakuAd7KbQprVO4GzdW8eS5++A9PUSqIyw==", "requires": { "@types/mdast": "^3.0.0", "mdast-util-to-markdown": "^1.3.0", @@ -44104,8 +43997,6 @@ }, "mdast-util-gfm-strikethrough": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-1.0.1.tgz", - "integrity": "sha512-zKJbEPe+JP6EUv0mZ0tQUyLQOC+FADt0bARldONot/nefuISkaZFlmVK4tU6JgfyZGrky02m/I6PmehgAgZgqg==", "requires": { "@types/mdast": "^3.0.0", "mdast-util-to-markdown": "^1.3.0" @@ -44113,8 +44004,6 @@ }, "mdast-util-gfm-table": { "version": "1.0.6", - "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-1.0.6.tgz", - "integrity": "sha512-uHR+fqFq3IvB3Rd4+kzXW8dmpxUhvgCQZep6KdjsLK4O6meK5dYZEayLtIxNus1XO3gfjfcIFe8a7L0HZRGgag==", "requires": { "@types/mdast": "^3.0.0", "markdown-table": "^3.0.0", @@ -44123,16 +44012,12 @@ }, "dependencies": { "markdown-table": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.2.tgz", - "integrity": "sha512-y8j3a5/DkJCmS5x4dMCQL+OR0+2EAq3DOtio1COSHsmW2BGXnNCK3v12hJt1LrUz5iZH5g0LmuYOjDdI+czghA==" + "version": "3.0.2" } } }, "mdast-util-gfm-task-list-item": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-1.0.1.tgz", - "integrity": "sha512-KZ4KLmPdABXOsfnM6JHUIjxEvcx2ulk656Z/4Balw071/5qgnhz+H1uGtf2zIGnrnvDC8xR4Fj9uKbjAFGNIeA==", "requires": { "@types/mdast": "^3.0.0", "mdast-util-to-markdown": "^1.3.0" @@ -44454,8 +44339,6 @@ }, "micromark-extension-gfm": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-2.0.1.tgz", - "integrity": "sha512-p2sGjajLa0iYiGQdT0oelahRYtMWvLjy8J9LOCxzIQsllMCGLbsLW+Nc+N4vi02jcRJvedVJ68cjelKIO6bpDA==", "requires": { "micromark-extension-gfm-autolink-literal": "^1.0.0", "micromark-extension-gfm-footnote": "^1.0.0", @@ -44469,8 +44352,6 @@ }, "micromark-extension-gfm-autolink-literal": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-1.0.3.tgz", - "integrity": "sha512-i3dmvU0htawfWED8aHMMAzAVp/F0Z+0bPh3YrbTPPL1v4YAlCZpy5rBO5p0LPYiZo0zFVkoYh7vDU7yQSiCMjg==", "requires": { "micromark-util-character": "^1.0.0", "micromark-util-sanitize-uri": "^1.0.0", @@ -44481,8 +44362,6 @@ }, "micromark-extension-gfm-footnote": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-1.0.4.tgz", - "integrity": "sha512-E/fmPmDqLiMUP8mLJ8NbJWJ4bTw6tS+FEQS8CcuDtZpILuOb2kjLqPEeAePF1djXROHXChM/wPJw0iS4kHCcIg==", "requires": { "micromark-core-commonmark": "^1.0.0", "micromark-factory-space": "^1.0.0", @@ -44496,8 +44375,6 @@ }, "micromark-extension-gfm-strikethrough": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-1.0.4.tgz", - "integrity": "sha512-/vjHU/lalmjZCT5xt7CcHVJGq8sYRm80z24qAKXzaHzem/xsDYb2yLL+NNVbYvmpLx3O7SYPuGL5pzusL9CLIQ==", "requires": { "micromark-util-chunked": "^1.0.0", "micromark-util-classify-character": "^1.0.0", @@ -44509,8 +44386,6 @@ }, "micromark-extension-gfm-table": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-1.0.5.tgz", - "integrity": "sha512-xAZ8J1X9W9K3JTJTUL7G6wSKhp2ZYHrFk5qJgY/4B33scJzE2kpfRL6oiw/veJTbt7jiM/1rngLlOKPWr1G+vg==", "requires": { "micromark-factory-space": "^1.0.0", "micromark-util-character": "^1.0.0", @@ -44521,16 +44396,12 @@ }, "micromark-extension-gfm-tagfilter": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-1.0.1.tgz", - "integrity": "sha512-Ty6psLAcAjboRa/UKUbbUcwjVAv5plxmpUTy2XC/3nJFL37eHej8jrHrRzkqcpipJliuBH30DTs7+3wqNcQUVA==", "requires": { "micromark-util-types": "^1.0.0" } }, "micromark-extension-gfm-task-list-item": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-1.0.3.tgz", - "integrity": "sha512-PpysK2S1Q/5VXi72IIapbi/jliaiOFzv7THH4amwXeYXLq3l1uo8/2Be0Ac1rEwK20MQEsGH2ltAZLNY2KI/0Q==", "requires": { "micromark-factory-space": "^1.0.0", "micromark-util-character": "^1.0.0", @@ -45741,8 +45612,6 @@ }, "periscopic": { "version": "3.0.4", - "resolved": "https://registry.npmjs.org/periscopic/-/periscopic-3.0.4.tgz", - "integrity": "sha512-SFx68DxCv0Iyo6APZuw/AKewkkThGwssmU0QWtTlvov3VAtPX+QJ4CadwSaz8nrT5jPIuxdvJWB4PnD2KNDxQg==", "requires": { "estree-walker": "^3.0.0", "is-reference": "^3.0.0" @@ -47746,8 +47615,6 @@ }, "rehype-slug": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/rehype-slug/-/rehype-slug-5.0.1.tgz", - "integrity": "sha512-X5v3wV/meuOX9NFcGhJvUpEjIvQl2gDvjg3z40RVprYFt7q3th4qMmYLULiu3gXvbNX1ppx+oaa6JyY1W67pTA==", "requires": { "@types/hast": "^2.0.0", "github-slugger": "^1.1.1", @@ -47759,29 +47626,19 @@ }, "dependencies": { "bail": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==" + "version": "2.0.2" }, "is-buffer": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==" + "version": "2.0.5" }, "is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==" + "version": "4.1.0" }, "trough": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", - "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==" + "version": "2.1.0" }, "unified": { "version": "10.1.2", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", - "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", "requires": { "@types/unist": "^2.0.0", "bail": "^2.0.0", @@ -47794,8 +47651,6 @@ }, "unist-util-visit": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.1.tgz", - "integrity": "sha512-n9KN3WV9k4h1DxYR1LoajgN93wpEi/7ZplVe02IoB4gH5ctI1AaF2670BLHQYbwj+pY83gFtyeySFiyMHJklrg==", "requires": { "@types/unist": "^2.0.0", "unist-util-is": "^5.0.0", @@ -47804,8 +47659,6 @@ }, "unist-util-visit-parents": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-5.1.1.tgz", - "integrity": "sha512-gks4baapT/kNRaWxuGkl5BIhoanZo7sC/cUT/JToSRNL1dYoXRFl75d++NkjYk4TAu2uv2Px+l8guMajogeuiw==", "requires": { "@types/unist": "^2.0.0", "unist-util-is": "^5.0.0" @@ -47890,8 +47743,6 @@ }, "remark-gfm": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-3.0.1.tgz", - "integrity": "sha512-lEFDoi2PICJyNrACFOfDD3JlLkuSbOa5Wd8EPt06HUdptv8Gn0bxYTdbU/XXQ3swAPkEaGxxPN9cbnMHvVu1Ig==", "requires": { "@types/mdast": "^3.0.0", "mdast-util-gfm": "^2.0.0", @@ -47900,29 +47751,19 @@ }, "dependencies": { "bail": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==" + "version": "2.0.2" }, "is-buffer": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==" + "version": "2.0.5" }, "is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==" + "version": "4.1.0" }, "trough": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", - "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==" + "version": "2.1.0" }, "unified": { "version": "10.1.2", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", - "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", "requires": { "@types/unist": "^2.0.0", "bail": "^2.0.0", @@ -49259,7 +49100,7 @@ "@stripe/stripe-js": "^1.25.0", "@supabase/postgres-meta": "^0.26.1", "@supabase/react-data-grid": "^7.1.0-beta.7", - "@supabase/shared-types": "^0.1.25", + "@supabase/shared-types": "^0.1.29", "@supabase/supabase-js": "^2.0.0-rc.2", "@tailwindcss/typography": "^0.5.2", "@testing-library/dom": "^8.11.1", @@ -50962,8 +50803,6 @@ }, "vfile-matter": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/vfile-matter/-/vfile-matter-3.0.1.tgz", - "integrity": "sha512-CAAIDwnh6ZdtrqAuxdElUqQRQDQgbbIrYtDYI8gCjXS1qQ+1XdLoK8FIZWxJwn0/I+BkSSZpar3SOgjemQz4fg==", "requires": { "@types/js-yaml": "^4.0.0", "is-buffer": "^2.0.0", @@ -50971,9 +50810,7 @@ }, "dependencies": { "is-buffer": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==" + "version": "2.0.5" } } }, @@ -51804,8 +51641,6 @@ "dependencies": { "@mdx-js/mdx": { "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-2.1.3.tgz", - "integrity": "sha512-ahbb47HJIJ4xnifaL06tDJiSyLEy1EhFAStO7RZIm3GTa7yGW3NGhZaj+GUCveFgl5oI54pY4BgiLmYm97y+zg==", "requires": { "@types/estree-jsx": "^1.0.0", "@types/mdx": "^2.0.0", @@ -51828,8 +51663,6 @@ "dependencies": { "remark-parse": { "version": "10.0.1", - "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-10.0.1.tgz", - "integrity": "sha512-1fUyHr2jLsVOkhbvPRBJ5zTKZZyD6yZzYaWCS6BPBdQ8vEMBCH+9zNCDA6tET/zHCi/jLqjCWtlJZUPk+DbnFw==", "requires": { "@types/mdast": "^3.0.0", "mdast-util-from-markdown": "^1.0.0", @@ -51838,8 +51671,6 @@ }, "unified": { "version": "10.1.2", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", - "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", "requires": { "@types/unist": "^2.0.0", "bail": "^2.0.0", @@ -51852,8 +51683,6 @@ }, "unist-util-visit": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.1.tgz", - "integrity": "sha512-n9KN3WV9k4h1DxYR1LoajgN93wpEi/7ZplVe02IoB4gH5ctI1AaF2670BLHQYbwj+pY83gFtyeySFiyMHJklrg==", "requires": { "@types/unist": "^2.0.0", "unist-util-is": "^5.0.0", @@ -51867,9 +51696,7 @@ "requires": {} }, "@next/env": { - "version": "12.3.1", - "resolved": "https://registry.npmjs.org/@next/env/-/env-12.3.1.tgz", - "integrity": "sha512-9P9THmRFVKGKt9DYqeC2aKIxm8rlvkK38V1P1sRE7qyoPBIs8l9oo79QoSdPtOWfzkbDAVUqvbQGgTMsb8BtJg==" + "version": "12.3.1" }, "@next/mdx": { "version": "10.2.3", @@ -51877,8 +51704,6 @@ }, "@next/swc-darwin-x64": { "version": "12.3.1", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.3.1.tgz", - "integrity": "sha512-9S6EVueCVCyGf2vuiLiGEHZCJcPAxglyckTZcEwLdJwozLqN0gtS0Eq0bQlGS3dH49Py/rQYpZ3KVWZ9BUf/WA==", "optional": true }, "@supabase/ui": { @@ -51930,19 +51755,13 @@ } }, "bail": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==" + "version": "2.0.2" }, "is-buffer": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==" + "version": "2.0.5" }, "is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==" + "version": "4.1.0" }, "next": { "version": "12.3.1", @@ -51972,8 +51791,6 @@ "dependencies": { "postcss": { "version": "8.4.14", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz", - "integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==", "requires": { "nanoid": "^3.3.4", "picocolors": "^1.0.0", @@ -51982,22 +51799,16 @@ }, "styled-jsx": { "version": "5.0.7", - "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.7.tgz", - "integrity": "sha512-b3sUzamS086YLRuvnaDigdAewz1/EFYlHpYBP5mZovKEdQQOIIYq8lApylub3HHZ6xFjV051kkGU7cudJmrXEA==", "requires": {} }, "use-sync-external-store": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", - "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==", "requires": {} } } }, "next-mdx-remote": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/next-mdx-remote/-/next-mdx-remote-4.1.0.tgz", - "integrity": "sha512-ZdL5AFJcEqvInGkYYRKda930D6AJt1GOLX/OXFE/vTwaqV/Mw+l3/njZ4kWqvYSAkl89Z6W7WZrTtN0fd0XwPg==", "requires": { "@mdx-js/mdx": "^2.0.0", "@mdx-js/react": "^2.0.0", @@ -52007,8 +51818,6 @@ "dependencies": { "@mdx-js/react": { "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-2.1.3.tgz", - "integrity": "sha512-11n4lTvvRyxq3OYbWJwEYM+7q6PE0GxKbk0AwYIIQmrRkxDeljIsjDQkKOgdr/orgRRbYy5zi+iERdnwe01CHQ==", "requires": { "@types/mdx": "^2.0.0", "@types/react": ">=16" @@ -52040,14 +51849,10 @@ } }, "trough": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", - "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==" + "version": "2.1.0" }, "unist-util-visit-parents": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-5.1.1.tgz", - "integrity": "sha512-gks4baapT/kNRaWxuGkl5BIhoanZo7sC/cUT/JToSRNL1dYoXRFl75d++NkjYk4TAu2uv2Px+l8guMajogeuiw==", "requires": { "@types/unist": "^2.0.0", "unist-util-is": "^5.0.0" diff --git a/studio/components/interfaces/Home/NewProjectPanel/GetStartedHero.tsx b/studio/components/interfaces/Home/NewProjectPanel/GetStartedHero.tsx index 7355de951cc..d4401fd7a21 100644 --- a/studio/components/interfaces/Home/NewProjectPanel/GetStartedHero.tsx +++ b/studio/components/interfaces/Home/NewProjectPanel/GetStartedHero.tsx @@ -57,7 +57,7 @@ const GetStartedHero = () => {
diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationActions.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationActions.tsx index 60ca17cd7c0..c7ee95701b4 100644 --- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationActions.tsx +++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationActions.tsx @@ -1,39 +1,102 @@ -import { FC } from 'react' +import { FC, Fragment } from 'react' import { useRouter } from 'next/router' -import { Button } from 'ui' +import { Button, IconExternalLink } from 'ui' +import { Action, ActionReason, ActionType } from '@supabase/shared-types/out/notifications' import { Project } from 'types' +import Link from 'next/link' + +// [Joshen TODO] Remove all things about "ownerReassignStatus" after 5th November +// double check with Qiao before we remove them. interface Props { project: Project - availableActions: any[] + changelogLink?: string + ownerReassignStatus?: any + availableActions: Action[] onSelectRestartProject: () => void + onSelectApplyMigration: () => void + onSelectRollbackMigration: () => void + onSelectFinalizeMigration: () => void } -const NotificationActions: FC = ({ project, availableActions, onSelectRestartProject }) => { +const NotificationActions: FC = ({ + project, + changelogLink, + ownerReassignStatus, + availableActions, + onSelectRestartProject, + onSelectApplyMigration, + onSelectRollbackMigration, + onSelectFinalizeMigration, +}) => { const router = useRouter() const onSelectUpgradeProject = () => { return router.push(`/project/${project.ref}/settings/billing/update/pro`) } - return ( -
- {availableActions.map((action: any) => { - if (action.action_type === 'project.upgrade') { + const renderActionButton = (action: Action) => { + switch (action.action_type) { + case ActionType.UpgradeProjectToPro: + return ( + + ) + case ActionType.SchedulePostgresRestart: + return ( + + ) + case ActionType.MigratePostgresSchema: + if (action.reason === ActionReason.Finalize) { return ( - + ownerReassignStatus?.desired !== 'migrated' && ( + + ) ) - } else if (action.action_type === 'postgresql.restart') { + } else if (action.reason === ActionReason.Rollback) { return ( - + ownerReassignStatus?.desired === 'temp_role' && ( + + ) + ) + } else { + return ( + ownerReassignStatus?.desired === 'unmigrated' && ( + + ) ) } + } + } + + return ( +
+ {availableActions.map((action) => { + return ( + + {renderActionButton(action)} + + ) })} + {changelogLink && ( + + + + + + )}
) } diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx index e49459afc78..d9f170f626c 100644 --- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx +++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx @@ -1,4 +1,5 @@ import dayjs from 'dayjs' +import useSWR from 'swr' import { FC } from 'react' import { Notification, NotificationStatus } from '@supabase/shared-types/out/notifications' @@ -6,38 +7,65 @@ import { useStore } from 'hooks' import { Project } from 'types' import { formatNotificationCTAText, formatNotificationText } from './NotificationRows.utils' import NotificationActions from './NotificationActions' +import { get } from 'lib/common/fetch' +import { API_URL } from 'lib/constants' interface Props { notification: Notification onSelectRestartProject: (project: Project, notification: Notification) => void + onSelectApplyMigration: (project: Project, notification: Notification) => void + onSelectRollbackMigration: (project: Project, notification: Notification) => void + onSelectFinalizeMigration: (project: Project, notification: Notification) => void } -const NotificationRow: FC = ({ notification, onSelectRestartProject }) => { +const NotificationRow: FC = ({ + notification, + onSelectRestartProject, + onSelectApplyMigration, + onSelectRollbackMigration, + onSelectFinalizeMigration, +}) => { const { app } = useStore() const [project] = app.projects.list((project: Project) => project.id === notification.project_id) const insertedAt = dayjs(notification.inserted_at).format('DD MMM YYYY, HH:mma') + const changelogLink = (notification.data as any).changelog_link const availableActions = notification.meta?.actions_available ?? [] + // [Joshen TODO] This should be removed after 5th November when the migration notifications + // have been removed, double check with Qiao before removing. + // Relevant PR: https://github.com/supabase/supabase/pull/9229 + const { data: ownerReassignStatus } = useSWR( + (notification.data as any).upgrade_type === 'schema-migration' + ? `${API_URL}/database/${project.ref}/owner-reassign` + : null, + get + ) + return (
-
+
{notification.notification_status !== NotificationStatus.Seen && (
)}
-
-
- {formatNotificationText(project, notification)} -

{formatNotificationCTAText(availableActions)}

+
+
+ {formatNotificationText(project, notification, ownerReassignStatus)} + {formatNotificationCTAText(availableActions, ownerReassignStatus)}

{insertedAt}

-
+
{availableActions.length > 0 && ( onSelectRestartProject(project, notification)} + onSelectApplyMigration={() => onSelectApplyMigration(project, notification)} + onSelectRollbackMigration={() => onSelectRollbackMigration(project, notification)} + onSelectFinalizeMigration={() => onSelectFinalizeMigration(project, notification)} /> )}
diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx index cd46b4fa8e6..5acfa19eaa5 100644 --- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx +++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx @@ -1,6 +1,8 @@ +import dayjs from 'dayjs' import { Project } from 'types' import { Action, + ActionReason, ActionType, ExtensionsUpgrade, Notification, @@ -12,7 +14,11 @@ import { import { IconArrowRight, IconExternalLink } from 'ui' import Link from 'next/link' -export const formatNotificationText = (project: Project, notification: Notification) => { +export const formatNotificationText = ( + project: Project, + notification: Notification, + ownerReassignStatus?: any +) => { const projectName = project.name if (notification.data.name === NotificationName.ProjectExceedingTierLimit) { @@ -44,6 +50,22 @@ export const formatNotificationText = (project: Project, notification: Notificat New version of "{name}" ({version_to}) is now available for project "{projectName}".

) + } else if (upgrade_type === 'schema-migration') { + const { name, version_to } = additional as ExtensionsUpgrade + return ( +
+

A new schema migration is available for your project "{projectName}".

+
    +
  1. +
    +

    {name}

    + +

    {version_to}

    +
    +
  2. +
+
+ ) } return '' } else if (notification.data.name === NotificationName.PostgresqlUpgradeCompleted) { @@ -65,15 +87,33 @@ export const formatNotificationText = (project: Project, notification: Notificat {projectName}".

) + } else if (upgrade_type === 'schema-migration') { + const { version_to } = additional + if (ownerReassignStatus?.desired === 'unmigrated') { + return ( +

+ The schema migration "{version_to}" will be applied for project "{projectName}" within a + few days. You may opt to apply the changes now, or it'll be done so automatically. +

+ ) + } else if (ownerReassignStatus?.desired === 'temp_role') { + return ( +

+ The schema migration "{version_to}" will be finalized for project "{projectName}" within + a few days. You may opt to finalize the changes now, or it'll be done so automatically. +

+ ) + } else { + return ( +

+ The schema migration "{version_to}" has been successfully applied for project " + {projectName}". +

+ ) + } } } else if (notification.data.name === NotificationName.ProjectUpdateCompleted) { const { upgrades } = notification.data - const upgradesText = upgrades - .map( - (upgrade: ServiceUpgrade) => - `${upgrade.name}: ${upgrade.version_to} ${upgrade.changelog_link}` - ) - .reduce((a: string, b: string) => `${a}\n${b}`) return (

@@ -117,17 +157,57 @@ export const formatNotificationText = (project: Project, notification: Notificat } } -export const formatNotificationCTAText = (availableActions: Action[]) => { +export const formatNotificationCTAText = ( + availableActions: Action[], + ownerReassignStatus?: any +) => { const [action] = availableActions - if (!action) return '' + if (!action) return

switch (action.action_type) { case ActionType.SchedulePostgresRestart: - return 'Restart your project to get the latest updates.' + return

Restart your project to get the latest updates.

case ActionType.UpgradeProjectToPro: - return 'Upgrade your project to ensure continued availability.' + return

Upgrade your project to ensure continued availability.

case ActionType.PgBouncerRestart: - return 'Restart your connection pooler to get the latest updates.' + return

Restart your connection pooler to get the latest updates.

+ case ActionType.MigratePostgresSchema: + if (action.deadline) { + if (ownerReassignStatus?.desired === 'migrated') { + return ( +

+ This patch was applied on{' '} + {dayjs(new Date(ownerReassignStatus.migrated_at ?? action.deadline)).format('DD MMM YYYY, HH:mma')} +

+ ) + } else if (ownerReassignStatus?.desired === 'temp_role') { + if (action.reason === ActionReason.Finalize) { + return ( +

+ This patch will be automatically applied after{' '} + {dayjs(new Date(action.deadline)).format('DD MMM YYYY, HH:mma')} +

+ ) + } else { + return ( +

+ This patch was applied on{' '} + {dayjs(new Date(ownerReassignStatus.modified_at)).format('DD MMM YYYY, HH:mma')} +

+ ) + } + } else { + return ( +

+ This patch will be automatically applied after{' '} + {dayjs(new Date(action.deadline)).format('DD MMM YYYY, HH:mma')} +

+ ) + } + } else { + return '' + } + default: return '' } diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx index 3d0826e568f..bfa2f82db7b 100644 --- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx +++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx @@ -1,6 +1,7 @@ +import dayjs from 'dayjs' import { FC, Fragment, useState } from 'react' import { useRouter } from 'next/router' -import { Button, IconBell, Popover } from 'ui' +import { Alert, Button, IconBell, Popover, IconArrowRight } from 'ui' import { Notification, NotificationStatus, @@ -9,7 +10,7 @@ import { import { Project } from 'types' import { useNotifications, useStore } from 'hooks' -import { patch, post } from 'lib/common/fetch' +import { delete_, patch, post } from 'lib/common/fetch' import { API_URL } from 'lib/constants' import NotificationRow from './NotificationRow' import ConfirmModal from 'components/ui/Dialogs/ConfirmDialog' @@ -22,6 +23,10 @@ const NotificationsPopover: FC = () => { const { notifications, refresh } = useNotifications() const [projectToRestart, setProjectToRestart] = useState() + const [projectToApplyMigration, setProjectToApplyMigration] = useState() + const [projectToRollbackMigration, setProjectToRollbackMigration] = useState() + const [projectToFinalizeMigration, setProjectToFinalizeMigration] = useState() + const [targetNotification, setTargetNotification] = useState() if (!notifications) return <> @@ -53,6 +58,7 @@ const NotificationsPopover: FC = () => { const serviceNamesByActionName: Record = { [ActionType.PgBouncerRestart]: 'pgbouncer', [ActionType.SchedulePostgresRestart]: 'postgresql', + [ActionType.MigratePostgresSchema]: 'postgresql', } const services: string[] = targetNotification.meta.actions_available .map((action) => action.action_type) @@ -82,6 +88,76 @@ const NotificationsPopover: FC = () => { setTargetNotification(undefined) } + // [Joshen/Qiao] These are all very specific to the upcoming security patch + // https://github.com/supabase/supabase/discussions/9314 + // We probably need to revisit this again when we're planning to push out the next wave of + // notifications. Ideally, we should allow these to be more flexible and configurable + // Perhaps the URLs could come from the notification themselves if the actions + // require an external API call, then we just need one method instead of individual ones like this + + const onConfirmProjectApplyMigration = async () => { + if (!projectToApplyMigration) return + const res = await post(`${API_URL}/database/${projectToApplyMigration.ref}/owner-reassign`, {}) + if (!res.error) { + app.projects.fetchDetail(projectToApplyMigration.ref) + ui.setNotification({ + category: 'success', + message: `Succesfully applied migration for project "${projectToApplyMigration.name}"`, + }) + } else { + ui.setNotification({ + error: res.error, + category: 'error', + message: `Failed to apply migration: ${res.error.message}`, + }) + } + setProjectToApplyMigration(undefined) + } + + const onConfirmProjectRollbackMigration = async () => { + if (!projectToRollbackMigration) return + const res = await delete_( + `${API_URL}/database/${projectToRollbackMigration.ref}/owner-reassign`, + {} + ) + if (!res.error) { + app.projects.fetchDetail(projectToRollbackMigration.ref) + ui.setNotification({ + category: 'success', + message: `Succesfully rolled back migration for project "${projectToRollbackMigration.name}"`, + }) + } else { + ui.setNotification({ + error: res.error, + category: 'error', + message: `Failed to roll back migration: ${res.error.message}`, + }) + } + setProjectToRollbackMigration(undefined) + } + + const onConfirmProjectFinalizeMigration = async () => { + if (!projectToFinalizeMigration) return + const res = await patch( + `${API_URL}/database/${projectToFinalizeMigration.ref}/owner-reassign`, + {} + ) + if (!res.error) { + app.projects.fetchDetail(projectToFinalizeMigration.ref) + ui.setNotification({ + category: 'success', + message: `Succesfully finalized migration for project "${projectToFinalizeMigration.name}"`, + }) + } else { + ui.setNotification({ + error: res.error, + category: 'error', + message: `Failed to finalize migration: ${res.error.message}`, + }) + } + setProjectToFinalizeMigration(undefined) + } + return ( <> = () => { sideOffset={8} onOpenChange={onOpenChange} overlay={ -
+

Notifications

{/* Area for improvement: Paginate notifications and show in a side panel */} @@ -115,6 +191,18 @@ const NotificationsPopover: FC = () => { setProjectToRestart(project) setTargetNotification(notification) }} + onSelectApplyMigration={(project, notification) => { + setProjectToApplyMigration(project) + setTargetNotification(notification) + }} + onSelectRollbackMigration={(project, notification) => { + setProjectToRollbackMigration(project) + setTargetNotification(notification) + }} + onSelectFinalizeMigration={(project, notification) => { + setProjectToFinalizeMigration(project) + setTargetNotification(notification) + }} /> {i !== notifications.length - 1 && } @@ -151,6 +239,100 @@ const NotificationsPopover: FC = () => { onSelectCancel={() => setProjectToRestart(undefined)} onSelectConfirm={onConfirmProjectRestart} /> + +
+

The following schema migration will be applied to the project

+
    +
  1. +
    +

    {(targetNotification?.data as any)?.additional?.name}

    + +

    {(targetNotification?.data as any)?.additional?.version_to}

    +
    +
  2. +
+
+

+ This change can be rolled back anytime up till{' '} + {dayjs( + new Date(targetNotification?.meta.actions_available?.[0]?.deadline ?? 0) + ).format('DD MMM YYYY, HH:mma ZZ')} + , after which the changes will be finalized and can no longer be undone. +

+
+ } + buttonLabel="Confirm" + buttonLoadingLabel="Confirm" + onSelectCancel={() => setProjectToApplyMigration(undefined)} + onSelectConfirm={onConfirmProjectApplyMigration} + /> + +
+

The following schema migration will be rolled back for the project

+
    +
  1. +
    +

    {(targetNotification?.data as any)?.additional?.name}

    + +

    {(targetNotification?.data as any)?.additional?.version_to}

    +
    +
  2. +
+
+

+ This migration however will still be applied and finalized after{' '} + {dayjs( + new Date(targetNotification?.meta.actions_available?.[0]?.deadline ?? 0) + ).format('DD MMM YYYY, HH:mma ZZ')} + , after which the changes can no longer be undone. +

+
+ } + buttonLabel="Confirm" + buttonLoadingLabel="Confirm" + onSelectCancel={() => setProjectToRollbackMigration(undefined)} + onSelectConfirm={onConfirmProjectRollbackMigration} + /> + + +
+

The following schema migration will be finalized for the project

+
    +
  1. +
    +

    {(targetNotification?.data as any)?.additional?.name}

    + +

    {(targetNotification?.data as any)?.additional?.version_to}

    +
    +
  2. +
+
+
+ } + buttonLabel="Confirm" + buttonLoadingLabel="Confirm" + onSelectCancel={() => setProjectToFinalizeMigration(undefined)} + onSelectConfirm={onConfirmProjectFinalizeMigration} + /> ) } diff --git a/studio/package.json b/studio/package.json index 620628d2c64..d0b20f6ba49 100644 --- a/studio/package.json +++ b/studio/package.json @@ -27,7 +27,7 @@ "@stripe/stripe-js": "^1.25.0", "@supabase/postgres-meta": "^0.26.1", "@supabase/react-data-grid": "^7.1.0-beta.7", - "@supabase/shared-types": "^0.1.25", + "@supabase/shared-types": "^0.1.29", "@supabase/supabase-js": "^2.0.0-rc.2", "ajv": "^8.6.3", "analytics-node": "^3.5.0",