diff --git a/package.json b/package.json index 2e09a1f7..7bc55c67 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@mantine/prism": "4.2.7", "@mantine/spotlight": "4.2.7", "@rehooks/window-size": "1.0.2", - "@supabase/supabase-js": "1.35.4", + "@supabase/supabase-js": "2.45.5", "blurhash": "1.1.5", "buffer": "6.0.3", "commander": "9.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a0d3f90e..12f59922 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -42,8 +42,8 @@ importers: specifier: 1.0.2 version: 1.0.2 '@supabase/supabase-js': - specifier: 1.35.4 - version: 1.35.4 + specifier: 2.45.5 + version: 2.45.5(bufferutil@4.0.6)(utf-8-validate@5.0.9) blurhash: specifier: 1.1.5 version: 1.1.5 @@ -1359,23 +1359,27 @@ packages: '@sideway/pinpoint@2.0.0': resolution: {integrity: sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==} - '@supabase/functions-js@1.3.4': - resolution: {integrity: sha512-yYVgkECjv7IZEBKBI3EB5Q7R1p0FJ10g8Q9N7SWKIHUU6i6DnbEGHIMFLyQRm1hmiNWD8fL7bRVEYacmTRJhHw==} + '@supabase/auth-js@2.65.1': + resolution: {integrity: sha512-IA7i2Xq2SWNCNMKxwmPlHafBQda0qtnFr8QnyyBr+KaSxoXXqEzFCnQ1dGTy6bsZjVBgXu++o3qrDypTspaAPw==} - '@supabase/gotrue-js@1.22.18': - resolution: {integrity: sha512-vJzkUALC+taT1ddHsiUCby4c1GWERDnqkvsLLiUmBaJjR4/me4Dg9ZOlFz7cUfHa597fnEUDYBqjufgAjncQZw==} + '@supabase/functions-js@2.4.3': + resolution: {integrity: sha512-sOLXy+mWRyu4LLv1onYydq+10mNRQ4rzqQxNhbrKLTLTcdcmS9hbWif0bGz/NavmiQfPs4ZcmQJp4WqOXlR4AQ==} - '@supabase/postgrest-js@0.37.4': - resolution: {integrity: sha512-x+c2rk1fz9s6f1PrGxCJ0QTUgXPDI0G3ngIqD5sSiXhhCyfl8Q5V92mXl2EYtlDhkiUkjFNrOZFhXVbXOHgvDw==} + '@supabase/node-fetch@2.6.15': + resolution: {integrity: sha512-1ibVeYUacxWYi9i0cf5efil6adJ9WRyZBLivgjs+AUpewx1F3xPi7gLgaASI2SmIQxPoCEjAsLAzKPgMJVgOUQ==} + engines: {node: 4.x || >=6.0.0} + + '@supabase/postgrest-js@1.16.2': + resolution: {integrity: sha512-dA/CIrSO2YDQ6ABNpbvEg9DwBMMbuKfWaFuZAU9c66PenoLSoIoyXk1Yq/wC2XISgEIqaMHmTrDAAsO80kjHqg==} - '@supabase/realtime-js@1.7.2': - resolution: {integrity: sha512-DMUaFIKj7KszGtWTTQbhMmUzZf7UnwYqySsmY+G8HgYxvY3ZaVa+DZD0I6ofgr4OLNr0po/ODM2a4lf5m5GNBg==} + '@supabase/realtime-js@2.10.7': + resolution: {integrity: sha512-OLI0hiSAqQSqRpGMTUwoIWo51eUivSYlaNBgxsXZE7PSoWh12wPRdVt0psUMaUzEonSB85K21wGc7W5jHnT6uA==} - '@supabase/storage-js@1.7.2': - resolution: {integrity: sha512-HX4HAfLUJznVgAwiKVgdTe5QD0bpUcqgc0hpk/s5Uy8qoe1tHZAc5qE9kI+tqk7rQKyymFpiA7+bAHlzyZXxxQ==} + '@supabase/storage-js@2.7.1': + resolution: {integrity: sha512-asYHcyDR1fKqrMpytAS1zjyEfvxuOIp1CIXX7ji4lHHcJKqyk+sLl/Vxgm4sN6u8zvuUtae9e4kDxQP2qrwWBA==} - '@supabase/supabase-js@1.35.4': - resolution: {integrity: sha512-9krwmuG3hdoS7SfM1UmCIw88aW9V1WW2Zx91tofdnmQraWKfk5e2fIKfp+Wjb9owq7JIkuUIA/qziVs2qX0lLQ==} + '@supabase/supabase-js@2.45.5': + resolution: {integrity: sha512-xTPsv33Hcj6C38SXa4nKobwEwkNQuwcCKtcuBsDT6bvphl1VUAO3x2QoLOuuglJzk2Oaf3WcVsvRcxXNE8PG/g==} '@surma/rollup-plugin-off-main-thread@2.2.3': resolution: {integrity: sha512-lR8q/9W7hZpMWweNiAKU7NQerBnzQQLvi8qnTDU/fxItPhtZVMbPV3lbCwjhIlNBe9Bbr5V+KHshvWmVSG9cxQ==} @@ -1603,6 +1607,9 @@ packages: '@types/unist@2.0.6': resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} + '@types/ws@8.5.12': + resolution: {integrity: sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==} + '@types/yauzl@2.10.0': resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==} @@ -2364,9 +2371,6 @@ packages: resolution: {integrity: sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw==} engines: {node: '>= 10'} - d@1.0.1: - resolution: {integrity: sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==} - damerau-levenshtein@1.0.8: resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==} @@ -2600,19 +2604,9 @@ packages: resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} engines: {node: '>= 0.4'} - es5-ext@0.10.61: - resolution: {integrity: sha512-yFhIqQAzu2Ca2I4SE2Au3rxVfmohU9Y7wqGR+s7+H7krk26NXhIRAZDgqd6xqjCEFUomDEA3/Bo/7fKmIkW1kA==} - engines: {node: '>=0.10'} - es6-error@4.1.1: resolution: {integrity: sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==} - es6-iterator@2.0.3: - resolution: {integrity: sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==} - - es6-symbol@3.1.3: - resolution: {integrity: sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==} - esbuild-android-64@0.14.42: resolution: {integrity: sha512-P4Y36VUtRhK/zivqGVMqhptSrFILAGlYp0Z8r9UQqHJ3iWztRCNWnlBzD9HRx0DbueXikzOiwyOri+ojAFfW6A==} engines: {node: '>=12'} @@ -2880,6 +2874,7 @@ packages: eslint@8.16.0: resolution: {integrity: sha512-MBndsoXY/PeVTDJeWsYj7kLZ5hQpJOfMYLsF6LicLHQWbRDG19lK5jOix4DPl8yY4SUFcE3txy86OzFLWT+yoA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true espree@9.3.2: @@ -2951,9 +2946,6 @@ packages: resolution: {integrity: sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw==} engines: {node: '>=0.10.0'} - ext@1.6.0: - resolution: {integrity: sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==} - extend@3.0.2: resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} @@ -4104,9 +4096,6 @@ packages: neo-async@2.6.2: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} - next-tick@1.1.0: - resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==} - nice-try@1.0.5: resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==} @@ -5388,12 +5377,6 @@ packages: resolution: {integrity: sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==} engines: {node: '>=10'} - type@1.2.0: - resolution: {integrity: sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==} - - type@2.6.0: - resolution: {integrity: sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ==} - typedarray-to-buffer@3.1.5: resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==} @@ -5642,10 +5625,6 @@ packages: webpack-cli: optional: true - websocket@1.0.34: - resolution: {integrity: sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ==} - engines: {node: '>=4.0.0'} - whatwg-encoding@2.0.0: resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} engines: {node: '>=12'} @@ -5758,6 +5737,18 @@ packages: resolution: {integrity: sha512-nSKUxgAbyioruk6hU87QzVbY279oYT6uiwgDoujth2ju4mJ+TZau7SQBhtbTmUyuNYTuXnSyRn66FV0+eCgcrQ==} engines: {node: ^12.13.0 || ^14.15.0 || >=16} + ws@8.18.0: + resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + ws@8.7.0: resolution: {integrity: sha512-c2gsP0PRwcLFzUiA8Mkr37/MI7ilIlHQxaEAtd0uNMbVMoy8puJyafRlm0bV9MbGSabUPeLrRRaqIBcFcA2Pqg==} engines: {node: '>=10.0.0'} @@ -5788,10 +5779,6 @@ packages: resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} engines: {node: '>=10'} - yaeti@0.0.6: - resolution: {integrity: sha512-MvQa//+KcZCUkBTIC9blM+CU9J2GzuTytsOUwf2lidtvkx/6gnEp1QvJv34t9vdjhFmha/mUiNDbN0D0mJWdug==} - engines: {node: '>=0.10.32'} - yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} @@ -7160,47 +7147,47 @@ snapshots: '@sideway/pinpoint@2.0.0': {} - '@supabase/functions-js@1.3.4': + '@supabase/auth-js@2.65.1': dependencies: - cross-fetch: 3.1.5 - transitivePeerDependencies: - - encoding + '@supabase/node-fetch': 2.6.15 - '@supabase/gotrue-js@1.22.18': + '@supabase/functions-js@2.4.3': dependencies: - cross-fetch: 3.1.5 - transitivePeerDependencies: - - encoding + '@supabase/node-fetch': 2.6.15 - '@supabase/postgrest-js@0.37.4': + '@supabase/node-fetch@2.6.15': dependencies: - cross-fetch: 3.1.5 - transitivePeerDependencies: - - encoding + whatwg-url: 5.0.0 - '@supabase/realtime-js@1.7.2': + '@supabase/postgrest-js@1.16.2': dependencies: + '@supabase/node-fetch': 2.6.15 + + '@supabase/realtime-js@2.10.7(bufferutil@4.0.6)(utf-8-validate@5.0.9)': + dependencies: + '@supabase/node-fetch': 2.6.15 '@types/phoenix': 1.5.4 - websocket: 1.0.34 + '@types/ws': 8.5.12 + ws: 8.18.0(bufferutil@4.0.6)(utf-8-validate@5.0.9) transitivePeerDependencies: - - supports-color + - bufferutil + - utf-8-validate - '@supabase/storage-js@1.7.2': + '@supabase/storage-js@2.7.1': dependencies: - cross-fetch: 3.1.5 - transitivePeerDependencies: - - encoding + '@supabase/node-fetch': 2.6.15 - '@supabase/supabase-js@1.35.4': + '@supabase/supabase-js@2.45.5(bufferutil@4.0.6)(utf-8-validate@5.0.9)': dependencies: - '@supabase/functions-js': 1.3.4 - '@supabase/gotrue-js': 1.22.18 - '@supabase/postgrest-js': 0.37.4 - '@supabase/realtime-js': 1.7.2 - '@supabase/storage-js': 1.7.2 + '@supabase/auth-js': 2.65.1 + '@supabase/functions-js': 2.4.3 + '@supabase/node-fetch': 2.6.15 + '@supabase/postgrest-js': 1.16.2 + '@supabase/realtime-js': 2.10.7(bufferutil@4.0.6)(utf-8-validate@5.0.9) + '@supabase/storage-js': 2.7.1 transitivePeerDependencies: - - encoding - - supports-color + - bufferutil + - utf-8-validate '@surma/rollup-plugin-off-main-thread@2.2.3': dependencies: @@ -7443,6 +7430,10 @@ snapshots: '@types/unist@2.0.6': {} + '@types/ws@8.5.12': + dependencies: + '@types/node': 17.0.38 + '@types/yauzl@2.10.0': dependencies: '@types/node': 17.0.38 @@ -7957,6 +7948,7 @@ snapshots: bufferutil@4.0.6: dependencies: node-gyp-build: 4.4.0 + optional: true builtin-modules@3.3.0: {} @@ -8347,11 +8339,6 @@ snapshots: - '@swc/core' - '@swc/wasm' - d@1.0.1: - dependencies: - es5-ext: 0.10.61 - type: 1.2.0 - damerau-levenshtein@1.0.8: {} dashdash@1.14.1: @@ -8569,25 +8556,8 @@ snapshots: is-date-object: 1.0.5 is-symbol: 1.0.4 - es5-ext@0.10.61: - dependencies: - es6-iterator: 2.0.3 - es6-symbol: 3.1.3 - next-tick: 1.1.0 - es6-error@4.1.1: {} - es6-iterator@2.0.3: - dependencies: - d: 1.0.1 - es5-ext: 0.10.61 - es6-symbol: 3.1.3 - - es6-symbol@3.1.3: - dependencies: - d: 1.0.1 - ext: 1.6.0 - esbuild-android-64@0.14.42: optional: true @@ -8966,10 +8936,6 @@ snapshots: dependencies: homedir-polyfill: 1.0.3 - ext@1.6.0: - dependencies: - type: 2.6.0 - extend@3.0.2: {} external-editor@3.1.0: @@ -10267,8 +10233,6 @@ snapshots: neo-async@2.6.2: {} - next-tick@1.1.0: {} - nice-try@1.0.5: {} node-abi@3.22.0: @@ -10281,7 +10245,8 @@ snapshots: dependencies: whatwg-url: 5.0.0 - node-gyp-build@4.4.0: {} + node-gyp-build@4.4.0: + optional: true node-preload@0.2.1: dependencies: @@ -11677,10 +11642,6 @@ snapshots: type-fest@1.4.0: {} - type@1.2.0: {} - - type@2.6.0: {} - typedarray-to-buffer@3.1.5: dependencies: is-typedarray: 1.0.0 @@ -11794,6 +11755,7 @@ snapshots: utf-8-validate@5.0.9: dependencies: node-gyp-build: 4.4.0 + optional: true util-deprecate@1.0.2: {} @@ -11963,17 +11925,6 @@ snapshots: - esbuild - uglify-js - websocket@1.0.34: - dependencies: - bufferutil: 4.0.6 - debug: 2.6.9 - es5-ext: 0.10.61 - typedarray-to-buffer: 3.1.5 - utf-8-validate: 5.0.9 - yaeti: 0.0.6 - transitivePeerDependencies: - - supports-color - whatwg-encoding@2.0.0: dependencies: iconv-lite: 0.6.3 @@ -12162,6 +12113,11 @@ snapshots: imurmurhash: 0.1.4 signal-exit: 3.0.7 + ws@8.18.0(bufferutil@4.0.6)(utf-8-validate@5.0.9): + optionalDependencies: + bufferutil: 4.0.6 + utf-8-validate: 5.0.9 + ws@8.7.0(bufferutil@4.0.6)(utf-8-validate@5.0.9): optionalDependencies: bufferutil: 4.0.6 @@ -12177,8 +12133,6 @@ snapshots: y18n@5.0.8: {} - yaeti@0.0.6: {} - yallist@4.0.0: {} yaml-front-matter@4.1.1: