From 25fc97f5ccf272d9fe39d3be68f905ac9a34d401 Mon Sep 17 00:00:00 2001 From: vighnesh153 Date: Sun, 8 Dec 2024 22:09:36 +0530 Subject: [PATCH] chore: add firebase seed data and update firebase version --- tools-nodejs/vighnesh153-astro/.gitignore | 2 + .../firebase-seed/auth_export/accounts.json | 1 + .../firebase-seed/auth_export/config.json | 1 + .../firebase-export-metadata.json | 16 ++ .../all_namespaces_all_kinds.export_metadata | Bin 0 -> 52 bytes .../all_namespaces/all_kinds/output-0 | Bin 0 -> 4409 bytes .../firestore_export.overall_export_metadata | Bin 0 -> 95 bytes .../firebase-seed/storage_export/buckets.json | 7 + .../vighnesh153-astro/firebase-storage.rules | 11 -- .../functions/package-lock.json | 174 +++++++++--------- .../vighnesh153-astro/functions/package.json | 8 +- .../vighnesh153-astro/package-lock.json | 39 +++- tools-nodejs/vighnesh153-astro/package.json | 4 +- 13 files changed, 151 insertions(+), 112 deletions(-) create mode 100644 tools-nodejs/vighnesh153-astro/firebase-seed/auth_export/accounts.json create mode 100644 tools-nodejs/vighnesh153-astro/firebase-seed/auth_export/config.json create mode 100644 tools-nodejs/vighnesh153-astro/firebase-seed/firebase-export-metadata.json create mode 100644 tools-nodejs/vighnesh153-astro/firebase-seed/firestore_export/all_namespaces/all_kinds/all_namespaces_all_kinds.export_metadata create mode 100644 tools-nodejs/vighnesh153-astro/firebase-seed/firestore_export/all_namespaces/all_kinds/output-0 create mode 100644 tools-nodejs/vighnesh153-astro/firebase-seed/firestore_export/firestore_export.overall_export_metadata create mode 100644 tools-nodejs/vighnesh153-astro/firebase-seed/storage_export/buckets.json diff --git a/tools-nodejs/vighnesh153-astro/.gitignore b/tools-nodejs/vighnesh153-astro/.gitignore index e5bb0ba2..eb0b8a6f 100644 --- a/tools-nodejs/vighnesh153-astro/.gitignore +++ b/tools-nodejs/vighnesh153-astro/.gitignore @@ -41,4 +41,6 @@ deno.json # firebase .firebase +*.log +firebase-debug.log firestore-debug.log diff --git a/tools-nodejs/vighnesh153-astro/firebase-seed/auth_export/accounts.json b/tools-nodejs/vighnesh153-astro/firebase-seed/auth_export/accounts.json new file mode 100644 index 00000000..864bbbbf --- /dev/null +++ b/tools-nodejs/vighnesh153-astro/firebase-seed/auth_export/accounts.json @@ -0,0 +1 @@ +{"kind":"identitytoolkit#DownloadAccountResponse","users":[{"localId":"AALhxw5qFm2OAvRT1ArWRTyWtNxM","displayName":"Lucario","photoUrl":"https://i.imgur.com/fqJ9VDOb.jpg","screenName":"lucario","email":"lucario@pokemon.com","emailVerified":true,"createdAt":"1733675468626","lastLoginAt":"1733675468715","providerUserInfo":[{"providerId":"google.com","rawId":"1784037720492188328843026862111808661906","federatedId":"1784037720492188328843026862111808661906","displayName":"Lucario","photoUrl":"https://i.imgur.com/fqJ9VDOb.jpg","email":"lucario@pokemon.com","screenName":"lucario"}],"lastRefreshAt":"2024-12-08T16:31:08.715Z"},{"localId":"BZE1wsPicqczk72RW15K3nUseAOF","displayName":"Infernape","photoUrl":"https://i.imgur.com/pfUJZUxb.jpg","screenName":"infernape","email":"infernape@pokemon.com","emailVerified":true,"createdAt":"1733675615956","lastLoginAt":"1733675615997","providerUserInfo":[{"providerId":"google.com","rawId":"2681528385717998934259381523920499067195","federatedId":"2681528385717998934259381523920499067195","displayName":"Infernape","photoUrl":"https://i.imgur.com/pfUJZUxb.jpg","email":"infernape@pokemon.com","screenName":"infernape"}],"lastRefreshAt":"2024-12-08T16:33:35.997Z"},{"localId":"ERDW2Wlzr7SBeaumI8yxlAVDmR2K","displayName":"Sceptile","photoUrl":"https://i.imgur.com/yvrSMA0b.jpg","screenName":"sceptile","email":"sceptile@pokemon.com","emailVerified":true,"createdAt":"1733675562630","lastLoginAt":"1733675562716","providerUserInfo":[{"providerId":"google.com","rawId":"2432275663967822094806391444213572415847","federatedId":"2432275663967822094806391444213572415847","displayName":"Sceptile","photoUrl":"https://i.imgur.com/yvrSMA0b.jpg","email":"sceptile@pokemon.com","screenName":"sceptile"}],"lastRefreshAt":"2024-12-08T16:32:42.716Z"},{"localId":"GjQo2gi0wMLPTgNEXCtdSSPXFNqj","displayName":"Charizard","photoUrl":"https://i.imgur.com/8C3dqNy.jpeg","screenName":"charizard","email":"charizard@pokemon.com","emailVerified":true,"createdAt":"1733675723713","lastLoginAt":"1733675723805","providerUserInfo":[{"providerId":"google.com","rawId":"9881232261519498709306577829914547729924","federatedId":"9881232261519498709306577829914547729924","displayName":"Charizard","photoUrl":"https://i.imgur.com/8C3dqNy.jpeg","email":"charizard@pokemon.com","screenName":"charizard"}],"lastRefreshAt":"2024-12-08T16:35:23.805Z"},{"localId":"Oely1clA4QU1PXehS4SzzdUSo2C8","displayName":"Greninja","photoUrl":"https://i.imgur.com/zu8AHYyb.jpg","screenName":"greninja","email":"greninja@pokemon.com","emailVerified":true,"createdAt":"1733675342289","lastLoginAt":"1733675342380","providerUserInfo":[{"providerId":"google.com","rawId":"9415564284134336684636260036851375411419","federatedId":"9415564284134336684636260036851375411419","displayName":"Greninja","photoUrl":"https://i.imgur.com/zu8AHYyb.jpg","email":"greninja@pokemon.com","screenName":"greninja"}],"lastRefreshAt":"2024-12-08T16:29:02.380Z"},{"localId":"Q5z5WGK7ILaXtTLzgELSpb1uF8Z2","displayName":"Vighnesh Raut","photoUrl":"https://i.imgur.com/26kNfXC_d.png?maxwidth=520&shape=thumb&fidelity=high","screenName":"Vighnesh Raut","email":"vighnesh.raut13@gmail.com","emailVerified":true,"createdAt":"1733675172536","lastLoginAt":"1733675174749","providerUserInfo":[{"providerId":"google.com","rawId":"5778005892484825909431274533680105981068","federatedId":"5778005892484825909431274533680105981068","displayName":"Vighnesh Raut","photoUrl":"https://i.imgur.com/26kNfXC_d.png?maxwidth=520&shape=thumb&fidelity=high","email":"vighnesh.raut13@gmail.com","screenName":"Vighnesh Raut"}],"lastRefreshAt":"2024-12-08T16:26:14.749Z"},{"localId":"VPxblrt8AEfDxTsJbwvwM6uvgpvH","displayName":"Torchic","photoUrl":"https://i.imgur.com/yX5Nfz0b.jpg","screenName":"torchic","email":"torchic@pokemon.com","emailVerified":true,"createdAt":"1733675276383","lastLoginAt":"1733675276451","providerUserInfo":[{"providerId":"google.com","rawId":"0799748599725978694981425014152070063869","federatedId":"0799748599725978694981425014152070063869","displayName":"Torchic","photoUrl":"https://i.imgur.com/yX5Nfz0b.jpg","email":"torchic@pokemon.com","screenName":"torchic"}],"lastRefreshAt":"2024-12-08T16:27:56.452Z"},{"localId":"p8HESEG5Ej67iiIsmZVL8ISQJ6cX","displayName":"Pikachu","photoUrl":"https://i.imgur.com/Jt7HTtEb.jpg","screenName":"pikachu","email":"pikachu@pokemon.com","emailVerified":true,"createdAt":"1733675813686","lastLoginAt":"1733675813807","providerUserInfo":[{"providerId":"google.com","rawId":"4209933955642427021962074958524410964169","federatedId":"4209933955642427021962074958524410964169","displayName":"Pikachu","photoUrl":"https://i.imgur.com/Jt7HTtEb.jpg","email":"pikachu@pokemon.com","screenName":"pikachu"}],"lastRefreshAt":"2024-12-08T16:36:53.807Z"}]} \ No newline at end of file diff --git a/tools-nodejs/vighnesh153-astro/firebase-seed/auth_export/config.json b/tools-nodejs/vighnesh153-astro/firebase-seed/auth_export/config.json new file mode 100644 index 00000000..6f240f7e --- /dev/null +++ b/tools-nodejs/vighnesh153-astro/firebase-seed/auth_export/config.json @@ -0,0 +1 @@ +{"signIn":{"allowDuplicateEmails":false},"emailPrivacyConfig":{"enableImprovedEmailPrivacy":false}} \ No newline at end of file diff --git a/tools-nodejs/vighnesh153-astro/firebase-seed/firebase-export-metadata.json b/tools-nodejs/vighnesh153-astro/firebase-seed/firebase-export-metadata.json new file mode 100644 index 00000000..61ed87a9 --- /dev/null +++ b/tools-nodejs/vighnesh153-astro/firebase-seed/firebase-export-metadata.json @@ -0,0 +1,16 @@ +{ + "version": "13.27.0", + "firestore": { + "version": "1.19.8", + "path": "firestore_export", + "metadata_file": "firestore_export/firestore_export.overall_export_metadata" + }, + "auth": { + "version": "13.27.0", + "path": "auth_export" + }, + "storage": { + "version": "13.27.0", + "path": "storage_export" + } +} \ No newline at end of file diff --git a/tools-nodejs/vighnesh153-astro/firebase-seed/firestore_export/all_namespaces/all_kinds/all_namespaces_all_kinds.export_metadata b/tools-nodejs/vighnesh153-astro/firebase-seed/firestore_export/all_namespaces/all_kinds/all_namespaces_all_kinds.export_metadata new file mode 100644 index 0000000000000000000000000000000000000000..3499db8be0a32b09c9ca1242434801b25aa0944b GIT binary patch literal 52 zcmd;5;Sxy8EJ`gd$uCNcPpv4(FDemu*7oc6*%@8T5`Q*97(zT;3_=|Fr6mQWCAtOx DH3Ahq literal 0 HcmV?d00001 diff --git a/tools-nodejs/vighnesh153-astro/firebase-seed/firestore_export/all_namespaces/all_kinds/output-0 b/tools-nodejs/vighnesh153-astro/firebase-seed/firestore_export/all_namespaces/all_kinds/output-0 new file mode 100644 index 0000000000000000000000000000000000000000..6c0981b385d9518f8ee1be4d019862c36058a697 GIT binary patch literal 4409 zcmbtXU2NM_6ka4?9nGlLt$$uOl>$ZDa2ngOogh`rYttra(xmxmLV2hh`zCg3C$3}X z$4F=j(j+995D$Cd0g#5!1P@39#P&YmbrL@hJRl~J00|@}!~-f44oxzpwy)IWEwawJ z`R;eW^PO`(`Dyy=_m8uAnusD3n1}z(@jR6-9k+bbMT|0yWI<|Yhk-np}1Vjb)=*Jed_zWADUR#Ay^mfu}+EQLL0UMP%mp@rCD#D!+FXA_wsfSt5*{u zx5pW~G@i_2Yemkg+bK8Fj1jVC-+umJkHdT zX^c^`$#gTTZ8TyQb-;p+XZqAJg-l2~XHro?c>2Q?IY3Zm@3`SE*9@AI-+h!RK@(&kxKMQ_fA`e55qxQ%rw2I0JB8Tz; z8mB0p$ouk?74uf2k(X4>&jbrAjdV4Vuh;4^O0N}_TBzkZ+S&JBl5uH}B7}K?g=JW< z@oZla&LC3`hG9(fTzV8avE216WB#E}n-$zk9-NBu9v+xZIw)Pp@LhtW0=>sn~)Mq-0Ly+CfksAfW3nlx( z$3Huh4ZEqkb@i_Y?+zkvm=RmZh6NiJ`^0??f%OAprl;^RLRZROC;`Hs0!vn zv7`yQoL?x2Jdi}Kxg?mFoTkNJUjM=QnP42bpSbt!?LnKA?Tlo3BG@$I+@$Q!{?v2s z&OnX{+h#0?VZm0%wBM)t9W&M0xehsIH+7gIuBoXQ125w1zyIy54%lVgZ{Ocf4>T0O v)?EwVuwd&@;IMJ`4+Y`wT7GCK=p_$9xl+hPwlfW=Z{C07A7{#8_jUgVbWE4o literal 0 HcmV?d00001 diff --git a/tools-nodejs/vighnesh153-astro/firebase-seed/firestore_export/firestore_export.overall_export_metadata b/tools-nodejs/vighnesh153-astro/firebase-seed/firestore_export/firestore_export.overall_export_metadata new file mode 100644 index 0000000000000000000000000000000000000000..de9aabb70fa0103d75346fcb78f27879b0fcc019 GIT binary patch literal 95 zcmdmy>*B}Az-W9a{oI@Y21YJFE*1_Z31%V3#GIV?yu{qp;)2BF)M9-QH#;*g1;Ro| d#KR@@QY#Abi%Q~iQ%e$45=#;#1Qd2E0RYNpAmIQ2 literal 0 HcmV?d00001 diff --git a/tools-nodejs/vighnesh153-astro/firebase-seed/storage_export/buckets.json b/tools-nodejs/vighnesh153-astro/firebase-seed/storage_export/buckets.json new file mode 100644 index 00000000..ac12348a --- /dev/null +++ b/tools-nodejs/vighnesh153-astro/firebase-seed/storage_export/buckets.json @@ -0,0 +1,7 @@ +{ + "buckets": [ + { + "id": "demo-vighnesh153-app.appspot.com" + } + ] +} \ No newline at end of file diff --git a/tools-nodejs/vighnesh153-astro/firebase-storage.rules b/tools-nodejs/vighnesh153-astro/firebase-storage.rules index 3467e0c0..f08744f0 100644 --- a/tools-nodejs/vighnesh153-astro/firebase-storage.rules +++ b/tools-nodejs/vighnesh153-astro/firebase-storage.rules @@ -9,15 +9,4 @@ service firebase.storage { allow read, write: if false; } } - match /b/public-vighnesh153/o { - match /{allPaths=**} { - allow read: if true; - allow write: if false; - } - } - match /b/private-vighnesh153/o { - match /{allPaths=**} { - allow read, write: if false; - } - } } diff --git a/tools-nodejs/vighnesh153-astro/functions/package-lock.json b/tools-nodejs/vighnesh153-astro/functions/package-lock.json index a85eb31c..302be90b 100644 --- a/tools-nodejs/vighnesh153-astro/functions/package-lock.json +++ b/tools-nodejs/vighnesh153-astro/functions/package-lock.json @@ -6,12 +6,12 @@ "": { "name": "functions", "dependencies": { - "firebase-admin": "^12.6.0", - "firebase-functions": "^6.0.1" + "firebase-admin": "^13.0.1", + "firebase-functions": "^6.1.1" }, "devDependencies": { - "firebase-functions-test": "^3.1.0", - "typescript": "^4.9.0" + "firebase-functions-test": "^3.3.0", + "typescript": "^5.7.2" }, "engines": { "node": "18" @@ -613,88 +613,103 @@ "license": "MIT" }, "node_modules/@firebase/app-check-interop-types": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@firebase/app-check-interop-types/-/app-check-interop-types-0.3.2.tgz", - "integrity": "sha512-LMs47Vinv2HBMZi49C09dJxp0QT5LwDzFaVGf/+ITHe3BlIhUiLNttkATSXplc89A2lAaeTqjgqVkiRfUGyQiQ==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@firebase/app-check-interop-types/-/app-check-interop-types-0.3.3.tgz", + "integrity": "sha512-gAlxfPLT2j8bTI/qfe3ahl2I2YcBQ8cFIBdhAQA4I2f3TndcO+22YizyGYuttLHPQEpWkhmpFW60VCFEPg4g5A==", "license": "Apache-2.0" }, "node_modules/@firebase/app-types": { - "version": "0.9.2", - "resolved": "https://registry.npmjs.org/@firebase/app-types/-/app-types-0.9.2.tgz", - "integrity": "sha512-oMEZ1TDlBz479lmABwWsWjzHwheQKiAgnuKxE0pz0IXCVx7/rtlkx1fQ6GfgK24WCrxDKMplZrT50Kh04iMbXQ==", + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/@firebase/app-types/-/app-types-0.9.3.tgz", + "integrity": "sha512-kRVpIl4vVGJ4baogMDINbyrIOtOxqhkZQg4jTq3l8Lw6WSk0xfpEYzezFu+Kl4ve4fbPl79dvwRtaFqAC/ucCw==", "license": "Apache-2.0" }, "node_modules/@firebase/auth-interop-types": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@firebase/auth-interop-types/-/auth-interop-types-0.2.3.tgz", - "integrity": "sha512-Fc9wuJGgxoxQeavybiuwgyi+0rssr76b+nHpj+eGhXFYAdudMWyfBHvFL/I5fEHniUM/UQdFzi9VXJK2iZF7FQ==", + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@firebase/auth-interop-types/-/auth-interop-types-0.2.4.tgz", + "integrity": "sha512-JPgcXKCuO+CWqGDnigBtvo09HeBs5u/Ktc2GaFj2m01hLarbxthLNm7Fk8iOP1aqAtXV+fnnGj7U28xmk7IwVA==", "license": "Apache-2.0" }, "node_modules/@firebase/component": { - "version": "0.6.9", - "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.6.9.tgz", - "integrity": "sha512-gm8EUEJE/fEac86AvHn8Z/QW8BvR56TBw3hMW0O838J/1mThYQXAIQBgUv75EqlCZfdawpWLrKt1uXvp9ciK3Q==", + "version": "0.6.11", + "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.6.11.tgz", + "integrity": "sha512-eQbeCgPukLgsKD0Kw5wQgsMDX5LeoI1MIrziNDjmc6XDq5ZQnuUymANQgAb2wp1tSF9zDSXyxJmIUXaKgN58Ug==", "license": "Apache-2.0", "dependencies": { - "@firebase/util": "1.10.0", + "@firebase/util": "1.10.2", "tslib": "^2.1.0" + }, + "engines": { + "node": ">=18.0.0" } }, "node_modules/@firebase/database": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@firebase/database/-/database-1.0.8.tgz", - "integrity": "sha512-dzXALZeBI1U5TXt6619cv0+tgEhJiwlUtQ55WNZY7vGAjv7Q1QioV969iYwt1AQQ0ovHnEW0YW9TiBfefLvErg==", + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/@firebase/database/-/database-1.0.10.tgz", + "integrity": "sha512-sWp2g92u7xT4BojGbTXZ80iaSIaL6GAL0pwvM0CO/hb0nHSnABAqsH7AhnWGsGvXuEvbPr7blZylPaR9J+GSuQ==", "license": "Apache-2.0", "dependencies": { - "@firebase/app-check-interop-types": "0.3.2", - "@firebase/auth-interop-types": "0.2.3", - "@firebase/component": "0.6.9", - "@firebase/logger": "0.4.2", - "@firebase/util": "1.10.0", + "@firebase/app-check-interop-types": "0.3.3", + "@firebase/auth-interop-types": "0.2.4", + "@firebase/component": "0.6.11", + "@firebase/logger": "0.4.4", + "@firebase/util": "1.10.2", "faye-websocket": "0.11.4", "tslib": "^2.1.0" + }, + "engines": { + "node": ">=18.0.0" } }, "node_modules/@firebase/database-compat": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@firebase/database-compat/-/database-compat-1.0.8.tgz", - "integrity": "sha512-OpeWZoPE3sGIRPBKYnW9wLad25RaWbGyk7fFQe4xnJQKRzlynWeFBSRRAoLE2Old01WXwskUiucNqUUVlFsceg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@firebase/database-compat/-/database-compat-2.0.1.tgz", + "integrity": "sha512-IsFivOjdE1GrjTeKoBU/ZMenESKDXidFDzZzHBPQ/4P20ptGdrl3oLlWrV/QJqJ9lND4IidE3z4Xr5JyfUW1vg==", "license": "Apache-2.0", "dependencies": { - "@firebase/component": "0.6.9", - "@firebase/database": "1.0.8", - "@firebase/database-types": "1.0.5", - "@firebase/logger": "0.4.2", - "@firebase/util": "1.10.0", + "@firebase/component": "0.6.11", + "@firebase/database": "1.0.10", + "@firebase/database-types": "1.0.7", + "@firebase/logger": "0.4.4", + "@firebase/util": "1.10.2", "tslib": "^2.1.0" + }, + "engines": { + "node": ">=18.0.0" } }, "node_modules/@firebase/database-types": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@firebase/database-types/-/database-types-1.0.5.tgz", - "integrity": "sha512-fTlqCNwFYyq/C6W7AJ5OCuq5CeZuBEsEwptnVxlNPkWCo5cTTyukzAHRSO/jaQcItz33FfYrrFk1SJofcu2AaQ==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/@firebase/database-types/-/database-types-1.0.7.tgz", + "integrity": "sha512-I7zcLfJXrM0WM+ksFmFdAMdlq/DFmpeMNa+/GNsLyFo5u/lX5zzkPzGe3srVWqaBQBY5KprylDGxOsP6ETfL0A==", "license": "Apache-2.0", "dependencies": { - "@firebase/app-types": "0.9.2", - "@firebase/util": "1.10.0" + "@firebase/app-types": "0.9.3", + "@firebase/util": "1.10.2" } }, "node_modules/@firebase/logger": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/@firebase/logger/-/logger-0.4.2.tgz", - "integrity": "sha512-Q1VuA5M1Gjqrwom6I6NUU4lQXdo9IAQieXlujeHZWvRt1b7qQ0KwBaNAjgxG27jgF9/mUwsNmO8ptBCGVYhB0A==", + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/@firebase/logger/-/logger-0.4.4.tgz", + "integrity": "sha512-mH0PEh1zoXGnaR8gD1DeGeNZtWFKbnz9hDO91dIml3iou1gpOnLqXQ2dJfB71dj6dpmUjcQ6phY3ZZJbjErr9g==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.1.0" + }, + "engines": { + "node": ">=18.0.0" } }, "node_modules/@firebase/util": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@firebase/util/-/util-1.10.0.tgz", - "integrity": "sha512-xKtx4A668icQqoANRxyDLBLz51TAbDP9KRfpbKGxiCAW346d0BeJe5vN6/hKxxmWwnZ0mautyv39JxviwwQMOQ==", + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/@firebase/util/-/util-1.10.2.tgz", + "integrity": "sha512-qnSHIoE9FK+HYnNhTI8q14evyqbc/vHRivfB4TgCIUOl4tosmKSQlp7ltymOlMP4xVIJTg5wrkfcZ60X4nUf7Q==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.1.0" + }, + "engines": { + "node": ">=18.0.0" } }, "node_modules/@google-cloud/firestore": { @@ -1640,7 +1655,6 @@ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", "license": "MIT", - "optional": true, "dependencies": { "debug": "^4.3.4" }, @@ -1653,7 +1667,6 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "license": "MIT", - "optional": true, "dependencies": { "ms": "^2.1.3" }, @@ -1670,8 +1683,7 @@ "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -1923,15 +1935,13 @@ "url": "https://feross.org/support" } ], - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/bignumber.js": { "version": "9.1.2", "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.2.tgz", "integrity": "sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==", "license": "MIT", - "optional": true, "engines": { "node": "*" } @@ -2715,8 +2725,7 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/farmhash-modern": { "version": "1.1.0", @@ -2836,27 +2845,28 @@ } }, "node_modules/firebase-admin": { - "version": "12.7.0", - "resolved": "https://registry.npmjs.org/firebase-admin/-/firebase-admin-12.7.0.tgz", - "integrity": "sha512-raFIrOyTqREbyXsNkSHyciQLfv8AUZazehPaQS1lZBSCDYW74FYXU0nQZa3qHI4K+hawohlDbywZ4+qce9YNxA==", + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/firebase-admin/-/firebase-admin-13.0.1.tgz", + "integrity": "sha512-sKQ/Yw8o/WdC9qTKvuLMBjTbdcBISIXW4+M9PXk0bNjxEbZf1Er7EVq47eRb5+bnKof10xlns6zAIbj4tmSexg==", "license": "Apache-2.0", "dependencies": { "@fastify/busboy": "^3.0.0", - "@firebase/database-compat": "1.0.8", - "@firebase/database-types": "1.0.5", - "@types/node": "^22.0.1", + "@firebase/database-compat": "^2.0.0", + "@firebase/database-types": "^1.0.6", + "@types/node": "^22.8.7", "farmhash-modern": "^1.1.0", + "google-auth-library": "^9.14.2", "jsonwebtoken": "^9.0.0", "jwks-rsa": "^3.1.0", "node-forge": "^1.3.1", - "uuid": "^10.0.0" + "uuid": "^11.0.2" }, "engines": { - "node": ">=14" + "node": ">=18" }, "optionalDependencies": { - "@google-cloud/firestore": "^7.7.0", - "@google-cloud/storage": "^7.7.0" + "@google-cloud/firestore": "^7.10.0", + "@google-cloud/storage": "^7.14.0" } }, "node_modules/firebase-functions": { @@ -2980,7 +2990,6 @@ "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-6.7.1.tgz", "integrity": "sha512-LDODD4TMYx7XXdpwxAVRAIAuB0bzv0s+ywFonY46k126qzQHT9ygyoa9tncmOiQmmDrik65UYsEkv3lbfqQ3yQ==", "license": "Apache-2.0", - "optional": true, "dependencies": { "extend": "^3.0.2", "https-proxy-agent": "^7.0.1", @@ -3001,7 +3010,6 @@ "https://github.com/sponsors/ctavan" ], "license": "MIT", - "optional": true, "bin": { "uuid": "dist/bin/uuid" } @@ -3011,7 +3019,6 @@ "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-6.1.0.tgz", "integrity": "sha512-Jh/AIwwgaxan+7ZUUmRLCjtchyDiqh4KjBJ5tW3plBZb5iL/BPcso8A5DlzeD9qlw0duCamnNdpFjxwaT0KyKg==", "license": "Apache-2.0", - "optional": true, "dependencies": { "gaxios": "^6.0.0", "json-bigint": "^1.0.0" @@ -3124,7 +3131,6 @@ "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-9.15.0.tgz", "integrity": "sha512-7ccSEJFDFO7exFbO6NRyC+xH8/mZ1GZGG2xxx9iHxZWcjUjJpjWxIMw3cofAKcueZ6DATiukmmprD7yavQHOyQ==", "license": "Apache-2.0", - "optional": true, "dependencies": { "base64-js": "^1.3.0", "ecdsa-sig-formatter": "^1.0.11", @@ -3203,7 +3209,6 @@ "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-7.1.0.tgz", "integrity": "sha512-pCcEwRi+TKpMlxAQObHDQ56KawURgyAf6jtIY046fJ5tIv3zDe/LEIubckAO8fj6JnAxLdmWkUfNyulQ2iKdEw==", "license": "MIT", - "optional": true, "dependencies": { "gaxios": "^6.0.0", "jws": "^4.0.0" @@ -3376,7 +3381,6 @@ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", "license": "MIT", - "optional": true, "dependencies": { "agent-base": "^7.0.2", "debug": "4" @@ -3390,7 +3394,6 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "license": "MIT", - "optional": true, "dependencies": { "ms": "^2.1.3" }, @@ -3407,8 +3410,7 @@ "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/human-signals": { "version": "2.1.0", @@ -3554,7 +3556,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "devOptional": true, "license": "MIT", "engines": { "node": ">=8" @@ -4364,7 +4365,6 @@ "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", "license": "MIT", - "optional": true, "dependencies": { "bignumber.js": "^9.0.0" } @@ -4457,7 +4457,6 @@ "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", "license": "MIT", - "optional": true, "dependencies": { "buffer-equal-constant-time": "1.0.1", "ecdsa-sig-formatter": "1.0.11", @@ -4509,7 +4508,6 @@ "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", "license": "MIT", - "optional": true, "dependencies": { "jwa": "^2.0.0", "safe-buffer": "^5.0.1" @@ -4850,7 +4848,6 @@ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", "license": "MIT", - "optional": true, "dependencies": { "whatwg-url": "^5.0.0" }, @@ -5964,8 +5961,7 @@ "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/ts-deepmerge": { "version": "2.0.7", @@ -6019,9 +6015,9 @@ } }, "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "dev": true, "license": "Apache-2.0", "bin": { @@ -6029,7 +6025,7 @@ "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/undici-types": { @@ -6096,16 +6092,16 @@ } }, "node_modules/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.3.tgz", + "integrity": "sha512-d0z310fCWv5dJwnX1Y/MncBAqGMKEzlBb1AOf7z9K8ALnd0utBX/msg/fA0+sbyN1ihbMsLhrBlnl1ak7Wa0rg==", "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], "license": "MIT", "bin": { - "uuid": "dist/bin/uuid" + "uuid": "dist/esm/bin/uuid" } }, "node_modules/v8-to-istanbul": { @@ -6148,8 +6144,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "license": "BSD-2-Clause", - "optional": true + "license": "BSD-2-Clause" }, "node_modules/websocket-driver": { "version": "0.7.4", @@ -6179,7 +6174,6 @@ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", "license": "MIT", - "optional": true, "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" diff --git a/tools-nodejs/vighnesh153-astro/functions/package.json b/tools-nodejs/vighnesh153-astro/functions/package.json index 88cafeb6..0757ca5b 100644 --- a/tools-nodejs/vighnesh153-astro/functions/package.json +++ b/tools-nodejs/vighnesh153-astro/functions/package.json @@ -14,12 +14,12 @@ }, "main": "lib/functions/src/index.js", "dependencies": { - "firebase-admin": "^12.6.0", - "firebase-functions": "^6.0.1" + "firebase-admin": "^13.0.1", + "firebase-functions": "^6.1.1" }, "devDependencies": { - "firebase-functions-test": "^3.1.0", - "typescript": "^4.9.0" + "firebase-functions-test": "^3.3.0", + "typescript": "^5.7.2" }, "private": true } diff --git a/tools-nodejs/vighnesh153-astro/package-lock.json b/tools-nodejs/vighnesh153-astro/package-lock.json index 20e38983..9557649d 100644 --- a/tools-nodejs/vighnesh153-astro/package-lock.json +++ b/tools-nodejs/vighnesh153-astro/package-lock.json @@ -6,7 +6,7 @@ "": { "dependencies": { "firebase-functions": "^6.1.1", - "firebase-tools": "^13.27.0" + "firebase-tools": "^13.28.0" } }, "node_modules/@apidevtools/json-schema-ref-parser": { @@ -3066,9 +3066,9 @@ } }, "node_modules/firebase-tools": { - "version": "13.27.0", - "resolved": "https://registry.npmjs.org/firebase-tools/-/firebase-tools-13.27.0.tgz", - "integrity": "sha512-/G6Ga+vEByYV2NnEBwfg2jvh7IgQiwy00fxxkZzXRvMAsx/2CpxoDByYVXsA/Q95k3VuUwi02nrm8qEgJaJrMA==", + "version": "13.28.0", + "resolved": "https://registry.npmjs.org/firebase-tools/-/firebase-tools-13.28.0.tgz", + "integrity": "sha512-5s5G54tTQADw4Wf+OwIbcUmCubHbHJjM6MmfnEyDYQLYkWW5YwFTGiLkeFKAy/6WYkIR5YYPlPyFKoNAy1E/5g==", "license": "MIT", "dependencies": { "@electric-sql/pglite": "^0.2.0", @@ -3102,6 +3102,7 @@ "google-auth-library": "^9.11.0", "inquirer": "^8.2.6", "inquirer-autocomplete-prompt": "^2.0.1", + "js-yaml": "^3.14.1", "jsonwebtoken": "^9.0.0", "leven": "^3.1.0", "libsodium-wrappers": "^0.7.10", @@ -3125,7 +3126,7 @@ "sql-formatter": "^15.3.0", "stream-chain": "^2.2.4", "stream-json": "^1.7.3", - "superstatic": "^9.0.3", + "superstatic": "^9.1.0", "tar": "^6.1.11", "tcp-port-used": "^1.0.2", "tmp": "^0.2.3", @@ -3145,6 +3146,28 @@ "node": ">=18.0.0 || >=20.0.0" } }, + "node_modules/firebase-tools/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/firebase-tools/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, "node_modules/firebase-tools/node_modules/mime": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", @@ -3157,6 +3180,12 @@ "node": ">=4.0.0" } }, + "node_modules/firebase-tools/node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "license": "BSD-3-Clause" + }, "node_modules/firebase-tools/node_modules/uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", diff --git a/tools-nodejs/vighnesh153-astro/package.json b/tools-nodejs/vighnesh153-astro/package.json index 53895599..332c65ca 100644 --- a/tools-nodejs/vighnesh153-astro/package.json +++ b/tools-nodejs/vighnesh153-astro/package.json @@ -1,12 +1,12 @@ { "scripts": { - "start": "npx firebase emulators:start --project demo-vighnesh153-app", + "start": "npx firebase emulators:start --project demo-vighnesh153-app --import ./firebase-seed --export-on-exit ./firebase-seed", "deploy": "npx firebase deploy", "deploy:hosting": "npx firebase deploy --only hosting", "deploy:functions": "npx firebase deploy --only functions" }, "dependencies": { "firebase-functions": "^6.1.1", - "firebase-tools": "^13.27.0" + "firebase-tools": "^13.28.0" } }