diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..98fd434 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,23 @@ +.DS_Store +.git +cloudbuild.yaml +.travis.yml +Dockerfile + +npm-debug.log + +dist/ +node_modules/ + +.vscode/* +reactfire/**/*.js +!reactfire/babel.config.js + +reactfire/**/*.jsx +reactfire/**/*.js.map +reactfire/**/*.jsx.map +reactfire/**/*.d.ts +reactfire/pub/* +reactfire/docs/reactfire-metadata.json +.cache +sample-complex/src/firebase-key.json diff --git a/.nvmrc b/.nvmrc index 1a2f5bd..e72d9a2 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -lts/* \ No newline at end of file +12.11.1 \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 88a5304..b203c88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,15 @@ language: node_js sudo: false -node_js: -- 'lts/*' addons: chrome: stable + apt: + update: true + packages: + - default-jre + - default-jdk + - build-essential + - python2.7 cache: yarn: true @@ -37,6 +42,8 @@ install: yarn install --frozen-lockfile fi fi + - yarn global add firebase-tools + - firebase setup:emulators:firestore script: - cd reactfire diff --git a/Dockerfile b/Dockerfile index 327a202..abf3f3f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,35 @@ FROM debian:latest +SHELL ["/bin/bash", "-l", "-c"] + +ENV CI true + # Installing Java (and curl) -RUN apt-get update && apt-get install -y curl default-jre default-jdk -RUN apt-get install -y build-essential -RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash +RUN DEBIAN_FRONTEND=noninteractive apt-get update -qq < /dev/null > /dev/null +RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq curl default-jre < /dev/null > /dev/null + +RUN curl --silent -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash +COPY .nvmrc / RUN nvm install . -RUN nvm use . - RUN npm install -g yarn firebase-tools - RUN firebase setup:emulators:firestore +ENV PYTHON /usr/bin/python2.7 + +COPY package.json / +COPY yarn.lock / +COPY reactfire/package.json reactfire/ +COPY sample-complex/package.json sample-complex/ +COPY sample-simple/package.json sample-simple/ +RUN yarn install --frozen-lockfile + COPY . / -CMD yarn \ No newline at end of file +RUN cd reactfire && yarn build +RUN cd reactfire && yarn test + +ARG SHORT_SHA="" +ARG NPM_TOKEN="" +ARG TAG_NAME="" + +RUN ./publish.sh diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 632d08e..3060886 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -3,34 +3,17 @@ # @canary `gcloud builds submit --substitutions=SHORT_SHA="9b0a0b0"` # @next `gcloud builds submit --substitutions=TAG_NAME="v1.2.3-rc.1"` # @latest `gcloud builds submit --substitutions=TAG_NAME="v1.2.3"` + +# Not caching with kaniko due to https://github.com/GoogleContainerTools/kaniko/issues/713 steps: -- name: 'gcr.io/cloud-builders/docker' - args: ['pull', 'gcr.io/reactfire/docker'] -- name: 'gcr.io/cloud-builders/docker' - args: ['build', '-t', 'gcr.io/reactfire/docker', '--cache-from', 'gcr.io/reactfire/docker'] -- name: 'gcr.io/cloud-builders/docker' - args: ['push', 'gcr.io/reactfire/firebase'] -- name: 'gcr.io/reactfire/docker' - args: ['install', '--frozen-lockfile'] -- name: 'gcr.io/reactfire/docker' - dir: 'reactfire' - args: ['build'] -- name: 'gcr.io/reactfire/docker' - dir: 'reactfire' - args: ['test'] -- name: 'gcr.io/reactfire/docker' - dir: 'reactfire/pub/reactfire' +- name: gcr.io/cloud-builders/docker entrypoint: 'bash' - env: - - 'SHORT_SHA=$SHORT_SHA' - - 'TAG_NAME=$TAG_NAME' - args: ["../../../publish.sh"] + args: + - -c + - 'docker pull gcr.io/$PROJECT_ID/publish:latest; docker build -t gcr.io/$PROJECT_ID/publish:latest --cache-from gcr.io/$PROJECT_ID/publish:latest --build-arg SHORT_SHA=$SHORT_SHA --build-arg TAG_NAME=$TAG_NAME --build-arg NPM_TOKEN=$(echo $$NPM_TOKEN) . && docker push gcr.io/$PROJECT_ID/publish:latest' secretEnv: ['NPM_TOKEN'] secrets: - kmsKeyName: projects/reactfire/locations/global/keyRings/cloud-build/cryptoKeys/cloud-build secretEnv: - NPM_TOKEN: CiQADamFn5XzbeNQgzTGST9r3Tp5skWlDbBiWaZljffgEm0yIxYSTQC1QbtmDtScXx1BPE+d3CP9rXvOY+n5J0XRuLTTqN7RaqyipCEqTi7+z1kI6mKyBo2ilsMtOtngNzbOZ8kZeUDA80ISLWrNs0hF8k78 - -images: -- gcr.io/reactfire/docker \ No newline at end of file + NPM_TOKEN: CiQADamFn5XzbeNQgzTGST9r3Tp5skWlDbBiWaZljffgEm0yIxYSTQC1QbtmDtScXx1BPE+d3CP9rXvOY+n5J0XRuLTTqN7RaqyipCEqTi7+z1kI6mKyBo2ilsMtOtngNzbOZ8kZeUDA80ISLWrNs0hF8k78 \ No newline at end of file diff --git a/publish.sh b/publish.sh index 272eda6..dd16543 100755 --- a/publish.sh +++ b/publish.sh @@ -1,14 +1,25 @@ -echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc +cd reactfire/pub/reactfire -cp ../README.md . -cp ../LICENSE . +if test $NPM_TOKEN; then + + echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc + + cp ../../../README.md . + cp -r ../../../docs . + cp ../../../LICENSE . + + if test $TAG_NAME; then + npm version $(echo $TAG_NAME | sed 's/^v\(.*\)$/\1/') + npm publish . --tag next + ret=$? + else + npm version $(npm version | sed -n "s/^ reactfire: '\(.*\)',/\1/p")-canary.$SHORT_SHA + npm publish . --tag canary + ret=$? + fi + + rm -f .npmrc -if test $TAG_NAME; then - npm version $(echo $TAG_NAME | sed 's/^v\(.*\)$/\1/') - npm publish . --tag next -else - npm version $(npm version | head -n 1 | sed "s/^.*: '\([^']*\).*/\1/")-canary.$SHORT_SHA - npm publish . --tag canary fi -rm -f .npmrc \ No newline at end of file +exit $ret \ No newline at end of file diff --git a/reactfire/package.json b/reactfire/package.json index ab009b7..fcb3dbd 100644 --- a/reactfire/package.json +++ b/reactfire/package.json @@ -26,17 +26,13 @@ "rxfire": "^3.6.3", "rxjs": "^6.4.0" }, - "peerDependencies": { - "firebase": "^6.0.0", - "react": "^16.9.0" - }, "devDependencies": { + "firebase": "^7.0.0", + "react": "^16.9.0", "@babel/core": "^7.4.3", "@babel/preset-env": "^7.4.3", "@babel/preset-react": "^7.0.0", "@babel/preset-typescript": "^7.3.3", - "@firebase/app": "^0.4.8", - "@firebase/app-types": "^0.4.0", "@testing-library/jest-dom": "^4.1.1", "@testing-library/react": "^9.3.0", "@testing-library/react-hooks": "^2.0.3", diff --git a/reactfire/package.pub.json b/reactfire/package.pub.json index 47b0778..170a43c 100644 --- a/reactfire/package.pub.json +++ b/reactfire/package.pub.json @@ -23,7 +23,7 @@ "rxjs": "^6.4.0" }, "peerDependencies": { - "firebase": "^6.0.0", + "firebase": "^7.0.0", "react": "^16.9.0" } } diff --git a/sample-complex/package.json b/sample-complex/package.json index c343024..c4ace65 100644 --- a/sample-complex/package.json +++ b/sample-complex/package.json @@ -22,7 +22,7 @@ "@types/react": "^16.8.14", "@types/react-dom": "^16.8.4", "express": "^4.16.4", - "firebase": "^5.10.0", + "firebase": "^7.0.0", "firebase-admin": "^7.3.0", "react": "^16.8.6", "react-dom": "^16.8.6", diff --git a/yarn.lock b/yarn.lock index 6d38c06..eb74a55 100644 --- a/yarn.lock +++ b/yarn.lock @@ -963,23 +963,12 @@ resolved "https://registry.yarnpkg.com/@firebase/app-types/-/app-types-0.3.10.tgz#8f6d24d80bf833622b53ed26eaa04cfa9dd0f2f3" integrity sha512-l+5BJtSQopalBXiY/YuSaB9KF9PnDj37FLV0Sx3qJjh5B3IthCuZbPc1Vpbbbee/QZgudl0G212BBsUMGHP+fQ== -"@firebase/app-types@0.4.4", "@firebase/app-types@^0.4.0": +"@firebase/app-types@0.4.4": version "0.4.4" resolved "https://registry.yarnpkg.com/@firebase/app-types/-/app-types-0.4.4.tgz#6423e9b284018109d3658a6ecf7f82ca0e288bbb" integrity sha512-s3rKk6aGnzNTx6bzdtOdJpg2XXMiadLk/hv/PjiFEI/m+8MEKz+wkl+eGwvzxFyOd6BD5GVy637boGFqRt20FQ== -"@firebase/app@0.3.17", "@firebase/app@^0.3.4": - version "0.3.17" - resolved "https://registry.yarnpkg.com/@firebase/app/-/app-0.3.17.tgz#491dc3bc1a2837bbb4869161cc9852cfc04da891" - integrity sha512-/8lDeeIxgdCIMffrfBPQ3bcdSkF8bx4KCp8pKMPOG/HYKoeM8I9eP4zlzxL5ABzRjvcdhK9KOYOn0jRrNrGD9g== - dependencies: - "@firebase/app-types" "0.3.10" - "@firebase/util" "0.2.14" - dom-storage "2.1.0" - tslib "1.9.3" - xmlhttprequest "1.8.0" - -"@firebase/app@0.4.18", "@firebase/app@^0.4.8": +"@firebase/app@0.4.18": version "0.4.18" resolved "https://registry.yarnpkg.com/@firebase/app/-/app-0.4.18.tgz#16b87afa1339fe42ad218db3ab88a3e51798bf27" integrity sha512-2q/1DU2eYS7Iuepszd0cddTRQdRdwuKZ8Somf0LollorzkMNGM1IoGIsRu2vO1xmY8rgKthLCdTey9WE03JhmQ== @@ -991,23 +980,22 @@ tslib "1.10.0" xmlhttprequest "1.8.0" -"@firebase/auth-types@0.6.1": - version "0.6.1" - resolved "https://registry.yarnpkg.com/@firebase/auth-types/-/auth-types-0.6.1.tgz#9b60142e3a4adc1db09c037d068ab98cd54c10a8" - integrity sha512-uciPeIQJC1NZDhI5+BWbyqi70YXIjT3jm03sYtIgkPt2sr3n8sq1RpnoTMYfAJkQ0QlgLaBkeM/huMx06eBoXQ== +"@firebase/app@^0.3.4": + version "0.3.17" + resolved "https://registry.yarnpkg.com/@firebase/app/-/app-0.3.17.tgz#491dc3bc1a2837bbb4869161cc9852cfc04da891" + integrity sha512-/8lDeeIxgdCIMffrfBPQ3bcdSkF8bx4KCp8pKMPOG/HYKoeM8I9eP4zlzxL5ABzRjvcdhK9KOYOn0jRrNrGD9g== + dependencies: + "@firebase/app-types" "0.3.10" + "@firebase/util" "0.2.14" + dom-storage "2.1.0" + tslib "1.9.3" + xmlhttprequest "1.8.0" "@firebase/auth-types@0.8.0": version "0.8.0" resolved "https://registry.yarnpkg.com/@firebase/auth-types/-/auth-types-0.8.0.tgz#10c0657847f6c311ef42e8a550bdbbb678ec86e4" integrity sha512-foQHhvyB0RR+mb/+wmHXd/VOU+D8fruFEW1k79Q9wzyTPpovMBa1Mcns5fwEWBhUfi8bmoEtaGB8RSAHnTFzTg== -"@firebase/auth@0.10.2": - version "0.10.2" - resolved "https://registry.yarnpkg.com/@firebase/auth/-/auth-0.10.2.tgz#ef7a34f4667445ebaf4972622141c8fa4dffb961" - integrity sha512-+S8RZcHhhat2xrW/RGOcSZO8pv0qHveaw09Bq/gXhZyJfN86UeiMc3sv4YMo1Hu7fRRorNteijpmlH522eI0AA== - dependencies: - "@firebase/auth-types" "0.6.1" - "@firebase/auth@0.12.0": version "0.12.0" resolved "https://registry.yarnpkg.com/@firebase/auth/-/auth-0.12.0.tgz#e721323f8753f03b7387d899406c6f9e72f65876" @@ -1027,17 +1015,6 @@ dependencies: "@firebase/app-types" "0.4.4" -"@firebase/database@0.3.20", "@firebase/database@^0.3.6": - version "0.3.20" - resolved "https://registry.yarnpkg.com/@firebase/database/-/database-0.3.20.tgz#6851d8ef3229aeb7bcbe5e851434672abae43ee4" - integrity sha512-fZHRIlRQlND/UrzI1beUTRKfktjMvMEiUOar6ylFZqOj2KNVO4CrF95UGqRl0HBGhZzlBKzaDYAcJze2D6C4+Q== - dependencies: - "@firebase/database-types" "0.3.11" - "@firebase/logger" "0.1.13" - "@firebase/util" "0.2.14" - faye-websocket "0.11.1" - tslib "1.9.3" - "@firebase/database@0.5.6": version "0.5.6" resolved "https://registry.yarnpkg.com/@firebase/database/-/database-0.5.6.tgz#bc2954a6a2e07ddc78a86fd87ded594e79d056da" @@ -1049,27 +1026,22 @@ faye-websocket "0.11.3" tslib "1.10.0" -"@firebase/firestore-types@1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@firebase/firestore-types/-/firestore-types-1.2.1.tgz#ac09c2e1b6324991cd05c1ce1f74e63771237fb8" - integrity sha512-/Klu3uVLoTjW3ckYqFTV3lr9HzEKM7pMpPHao1Sy+YwIUmTjFMI1LE2WcXMx6HN2jipFjjD/Xjg0hY0+0dnPCg== +"@firebase/database@^0.3.6": + version "0.3.20" + resolved "https://registry.yarnpkg.com/@firebase/database/-/database-0.3.20.tgz#6851d8ef3229aeb7bcbe5e851434672abae43ee4" + integrity sha512-fZHRIlRQlND/UrzI1beUTRKfktjMvMEiUOar6ylFZqOj2KNVO4CrF95UGqRl0HBGhZzlBKzaDYAcJze2D6C4+Q== + dependencies: + "@firebase/database-types" "0.3.11" + "@firebase/logger" "0.1.13" + "@firebase/util" "0.2.14" + faye-websocket "0.11.1" + tslib "1.9.3" "@firebase/firestore-types@1.6.0": version "1.6.0" resolved "https://registry.yarnpkg.com/@firebase/firestore-types/-/firestore-types-1.6.0.tgz#dcd3cde987e505dd48ca6c21ba2b6d3d3b93b502" integrity sha512-goBuSzXUbnAuJr7qwdVzjVgTsQzN7rGbQdDjgXcMBY5omoxhUr9/GD0ONDWHahqXusctuoH1MdVp2r+DJ942OA== -"@firebase/firestore@1.2.2": - version "1.2.2" - resolved "https://registry.yarnpkg.com/@firebase/firestore/-/firestore-1.2.2.tgz#9a97e60cc20bda7b06a6985190b4f33357a4fe28" - integrity sha512-5o3SFTpMYaWrWRlm5qBX84fNDwdiPTbb0qo6KDI+OvIzTaMsEfOJ4vUz+Binxfq0dPen0fU6JLO+xix8Sa8TBA== - dependencies: - "@firebase/firestore-types" "1.2.1" - "@firebase/logger" "0.1.13" - "@firebase/webchannel-wrapper" "0.2.19" - grpc "1.20.0" - tslib "1.9.3" - "@firebase/firestore@1.6.0": version "1.6.0" resolved "https://registry.yarnpkg.com/@firebase/firestore/-/firestore-1.6.0.tgz#941fbae48e501ec700861193b7ea2c03ddcef898" @@ -1083,11 +1055,6 @@ grpc "1.23.3" tslib "1.10.0" -"@firebase/functions-types@0.3.5": - version "0.3.5" - resolved "https://registry.yarnpkg.com/@firebase/functions-types/-/functions-types-0.3.5.tgz#1fae28b0bbb89fd0629a353eafbc53e8d6e073e2" - integrity sha512-3hTMqfSugCfxzT6vZPbzQ58G4941rsFr99fWKXGKFAl2QpdMBCnKmEKdg/p5M47xIPyzIQn6NMF5kCo/eICXhA== - "@firebase/functions-types@0.3.8": version "0.3.8" resolved "https://registry.yarnpkg.com/@firebase/functions-types/-/functions-types-0.3.8.tgz#c01f670bbca04365e680d048b0fe5770a946f643" @@ -1103,35 +1070,11 @@ isomorphic-fetch "2.2.1" tslib "1.10.0" -"@firebase/functions@0.4.6": - version "0.4.6" - resolved "https://registry.yarnpkg.com/@firebase/functions/-/functions-0.4.6.tgz#be6a3bac1779ec612c6bf8082464319d22607a84" - integrity sha512-jpRLY8GyhmFufnN3eilvIuAqD9qsG2/AftGtFaTRL0ObSySmraYcVOpKAxsFZW//9EMNtI9c9/rw+QFq5SkuyA== - dependencies: - "@firebase/functions-types" "0.3.5" - "@firebase/messaging-types" "0.2.11" - isomorphic-fetch "2.2.1" - tslib "1.9.3" - -"@firebase/installations-types@0.1.0": - version "0.1.0" - resolved "https://registry.yarnpkg.com/@firebase/installations-types/-/installations-types-0.1.0.tgz#51c2d93d91ae6539f1a292f8d58d3d83e98cc9a2" - integrity sha512-cw2UIvPa3+umy6w7dGj0LqQQ9v7WEOro5s+6B+v54Tw25WyLnR6cBIkyyahv3Uu9QPnGZCIsemlQwxIaIOMb9g== - "@firebase/installations-types@0.1.2": version "0.1.2" resolved "https://registry.yarnpkg.com/@firebase/installations-types/-/installations-types-0.1.2.tgz#ac2a912e078282fd270b03b571b4639ed88d871a" integrity sha512-fQaWIW8hyX1XUN7+FCSPjvM1agFjGidVuF4Sxi7aFwfyh5t+4fD2VpM4wCQbWmodnx4fZLvsuQd9mkxxU+lGYQ== -"@firebase/installations@0.1.0": - version "0.1.0" - resolved "https://registry.yarnpkg.com/@firebase/installations/-/installations-0.1.0.tgz#7a738a5d647e611cd47666f95982af6049dc9d00" - integrity sha512-drt9kDT4w/OCXt5nboOIaUGI3lDwHAoSY2V6qJTbtbd3qVSxE0EBLA4c+allpWdmrhGBrASApuA0eAjphxuXIw== - dependencies: - "@firebase/installations-types" "0.1.0" - "@firebase/util" "0.2.14" - idb "3.0.2" - "@firebase/installations@0.2.7": version "0.2.7" resolved "https://registry.yarnpkg.com/@firebase/installations/-/installations-0.2.7.tgz#b439e134c94c423b7aa45efb1bf835fd1762e7e0" @@ -1152,25 +1095,11 @@ resolved "https://registry.yarnpkg.com/@firebase/logger/-/logger-0.1.25.tgz#2f95832a62ae634a10242bdeedd84b62d9e5c8ef" integrity sha512-/lRhuepVcCCnQ2jcO5Hr08SYdmZDTQU9fdPdzg+qXJ9k/QnIrD2RbswXQcL6mmae3uPpX7fFXQAoScJ9pzp50w== -"@firebase/messaging-types@0.2.11": - version "0.2.11" - resolved "https://registry.yarnpkg.com/@firebase/messaging-types/-/messaging-types-0.2.11.tgz#b81d09c0aa6be7dbac421edff8100971c56d64e0" - integrity sha512-uWtzPMj1mAX8EbG68SnxE12Waz+hRuO7vtosUFePGBfxVNNmPx5vJyKZTz+hbM4P77XddshAiaEkyduro4gNgA== - "@firebase/messaging-types@0.3.2": version "0.3.2" resolved "https://registry.yarnpkg.com/@firebase/messaging-types/-/messaging-types-0.3.2.tgz#cf802617c161434a02fe029290a79f422821d12f" integrity sha512-2qa2qNKqpalmtwaUV3+wQqfCm5myP/dViIBv+pXF8HinemIfO1IPQtr9pCNfsSYyus78qEhtfldnPWXxUH5v0w== -"@firebase/messaging@0.3.19": - version "0.3.19" - resolved "https://registry.yarnpkg.com/@firebase/messaging/-/messaging-0.3.19.tgz#d66d83f18b219a7059f78fca1eb5ebc25474c093" - integrity sha512-xY1Hlsj0MqyU/AmJQLyH9Uknhs8+1OsD2xXE8W34qk0g2RtpygUN7JMD21d5w5zZ5dMtLNhVSIxU8oI2rAUjcA== - dependencies: - "@firebase/messaging-types" "0.2.11" - "@firebase/util" "0.2.14" - tslib "1.9.3" - "@firebase/messaging@0.5.0": version "0.5.0" resolved "https://registry.yarnpkg.com/@firebase/messaging/-/messaging-0.5.0.tgz#88188e669e4833f73ce3106f9063f099da32cfd0" @@ -1181,27 +1110,11 @@ "@firebase/util" "0.2.28" tslib "1.10.0" -"@firebase/performance-types@0.0.1": - version "0.0.1" - resolved "https://registry.yarnpkg.com/@firebase/performance-types/-/performance-types-0.0.1.tgz#749b6351f5f802ec7a9be5737546eeda18e7ac4a" - integrity sha512-U45GbVAnPyz7wPLd3FrWdTeaFSvgsnGfGK58VojfEMmFnMAixCM3qBv1XJ0xfhyKbK1xZN4+usWAR8F3CwRAXw== - "@firebase/performance-types@0.0.3": version "0.0.3" resolved "https://registry.yarnpkg.com/@firebase/performance-types/-/performance-types-0.0.3.tgz#bdd37975cd5f12a55d3951f4942c3fa2661b354f" integrity sha512-RuC63nYJPJU65AsrNMc3fTRcRgHiyNcQLh9ufeKUT1mEsFgpxr167gMb+tpzNU4jsbvM6+c6nQAFdHpqcGkRlQ== -"@firebase/performance@0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@firebase/performance/-/performance-0.2.1.tgz#14cf8c747672ca529cc6d07234ef5baab227d4c9" - integrity sha512-vo/24+W35foc2ShRgeIlx2Ej45+Sn6uYPpnYzTtJb3DwE3sb0BVGocVgINbXyguUq2PHS+6yLsCm88y12DS2EA== - dependencies: - "@firebase/installations" "0.1.0" - "@firebase/logger" "0.1.13" - "@firebase/performance-types" "0.0.1" - "@firebase/util" "0.2.14" - tslib "1.9.3" - "@firebase/performance@0.2.19": version "0.2.19" resolved "https://registry.yarnpkg.com/@firebase/performance/-/performance-0.2.19.tgz#aed889539f8f8af022191a92067cacbc67a8980b" @@ -1213,15 +1126,6 @@ "@firebase/util" "0.2.28" tslib "1.10.0" -"@firebase/polyfill@0.3.13": - version "0.3.13" - resolved "https://registry.yarnpkg.com/@firebase/polyfill/-/polyfill-0.3.13.tgz#f08570ea6429e3ef5f8daa4df62c6b7ad2501908" - integrity sha512-nmz0KMrGZh4wvy8iPnOCtpSXw0LwXPdj9lqgeOVClXMgJBi5+FS1q0W1Ofn7BULmMc8tYsGGY+T2HvfmznMuPg== - dependencies: - core-js "3.0.1" - promise-polyfill "8.1.0" - whatwg-fetch "2.0.4" - "@firebase/polyfill@0.3.23": version "0.3.23" resolved "https://registry.yarnpkg.com/@firebase/polyfill/-/polyfill-0.3.23.tgz#abf1a4050a2d66fc3ae5e64e959da0f8881174b6" @@ -1247,24 +1151,11 @@ "@firebase/util" "0.2.28" tslib "1.10.0" -"@firebase/storage-types@0.2.11": - version "0.2.11" - resolved "https://registry.yarnpkg.com/@firebase/storage-types/-/storage-types-0.2.11.tgz#cbbcdca9bbd68c527ca2c2be2241d619126cb5b3" - integrity sha512-vGTFJmKbfScmCAVUamREIBTopr5Uusxd8xPAgNDxMZwICvdCjHO0UH0pZZj6iBQuwxLe/NEtFycPnu1kKT+TPw== - "@firebase/storage-types@0.3.3": version "0.3.3" resolved "https://registry.yarnpkg.com/@firebase/storage-types/-/storage-types-0.3.3.tgz#179ad38485d450023406cf9731560d690ef39d19" integrity sha512-fUp4kpbxwDiWs/aIBJqBvXgFHZvgoND2JA0gJYSEsXtWtVwfgzY/710plErgZDeQKopX5eOR1sHskZkQUy0U6w== -"@firebase/storage@0.2.15": - version "0.2.15" - resolved "https://registry.yarnpkg.com/@firebase/storage/-/storage-0.2.15.tgz#64a4bf101a08c5e24cf398fe02d3d2a65a1fd2e9" - integrity sha512-WR80AXm1btlHERavhSwiTwFAyT/M/Jn6/2I3RAlcVOS6NnKVdRIcSVW1zY9jvO3fdeksqBU9NKTXeXFTmsrw6g== - dependencies: - "@firebase/storage-types" "0.2.11" - tslib "1.9.3" - "@firebase/storage@0.3.13": version "0.3.13" resolved "https://registry.yarnpkg.com/@firebase/storage/-/storage-0.3.13.tgz#d4b680b36aa31b900bb94491ef2428819db09360" @@ -1288,11 +1179,6 @@ dependencies: tslib "1.10.0" -"@firebase/webchannel-wrapper@0.2.19": - version "0.2.19" - resolved "https://registry.yarnpkg.com/@firebase/webchannel-wrapper/-/webchannel-wrapper-0.2.19.tgz#991df31d892a51414e0e544b5cff4216cfb04915" - integrity sha512-U9e2dCB38mD2AvV/zAjghauwa0UX15Wt98iBgm8IOw8spluDxysx8UZFUhj38fu0iFXORVRBqseyK2wCxZIl5w== - "@firebase/webchannel-wrapper@0.2.26": version "0.2.26" resolved "https://registry.yarnpkg.com/@firebase/webchannel-wrapper/-/webchannel-wrapper-0.2.26.tgz#4fe0e0a878d26af98901b29f051deed8017d6237" @@ -3642,11 +3528,6 @@ core-js-compat@^3.1.1: browserslist "^4.6.6" semver "^6.3.0" -core-js@3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.0.1.tgz#1343182634298f7f38622f95e73f54e48ddf4738" - integrity sha512-sco40rF+2KlE0ROMvydjkrVMMG1vYilP2ALoRXcYR4obqbYIuV3Bg+51GEDW+HF8n7NRA+iaA4qD0nD9lo9mew== - core-js@3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.2.1.tgz#cd41f38534da6cc59f7db050fe67307de9868b09" @@ -5128,21 +5009,6 @@ firebase-admin@^7.3.0: "@google-cloud/firestore" "^1.3.0" "@google-cloud/storage" "^2.3.0" -firebase@^5.10.0: - version "5.11.1" - resolved "https://registry.yarnpkg.com/firebase/-/firebase-5.11.1.tgz#e7d376265545d7b0538b4679a96145c26a2b5c39" - integrity sha512-cop2UHytKas8WJZTovZqhpZIgwRfsvegijyOjgmMJoaOHCnyH4eymPneglgXsK5ExOdxJSTC4QD5qETrdL3dMw== - dependencies: - "@firebase/app" "0.3.17" - "@firebase/auth" "0.10.2" - "@firebase/database" "0.3.20" - "@firebase/firestore" "1.2.2" - "@firebase/functions" "0.4.6" - "@firebase/messaging" "0.3.19" - "@firebase/performance" "0.2.1" - "@firebase/polyfill" "0.3.13" - "@firebase/storage" "0.2.15" - firebase@^7.0.0: version "7.1.0" resolved "https://registry.yarnpkg.com/firebase/-/firebase-7.1.0.tgz#67c26478bc94c0286d609faf366a3335608557b2" @@ -5589,17 +5455,6 @@ grpc-gcp@^0.1.1: grpc "^1.16.0" protobufjs "^6.8.8" -grpc@1.20.0: - version "1.20.0" - resolved "https://registry.yarnpkg.com/grpc/-/grpc-1.20.0.tgz#85ad2aeb94bdbfe59c4a40b2fff8fc1ea70cd6a0" - integrity sha512-HgYuJzRomkBlJAfC/78epuWzwMiByxgj4JsO6G6dHXXNfARTsUqpM/FmPSJJNFGvzCev0g6tn33CE7nWEmhDEg== - dependencies: - lodash.camelcase "^4.3.0" - lodash.clone "^4.5.0" - nan "^2.0.0" - node-pre-gyp "^0.12.0" - protobufjs "^5.0.3" - grpc@1.23.3: version "1.23.3" resolved "https://registry.yarnpkg.com/grpc/-/grpc-1.23.3.tgz#30a013ca2cd7e350b0ffc0034be5380ddef3ae7f" @@ -7823,7 +7678,7 @@ mute-stream@0.0.7: resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= -nan@^2.0.0, nan@^2.12.1, nan@^2.13.2: +nan@^2.12.1, nan@^2.13.2: version "2.14.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg== @@ -9503,11 +9358,6 @@ promise-inflight@^1.0.1: resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM= -promise-polyfill@8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/promise-polyfill/-/promise-polyfill-8.1.0.tgz#30059da54d1358ce905ac581f287e184aedf995d" - integrity sha512-OzSf6gcCUQ01byV4BgwyUCswlaQQ6gzXc23aLQWhicvfX9kfsUiUhgt3CCQej8jDnl8/PhGF31JdHX2/MzF3WA== - promise-polyfill@8.1.3: version "8.1.3" resolved "https://registry.yarnpkg.com/promise-polyfill/-/promise-polyfill-8.1.3.tgz#8c99b3cf53f3a91c68226ffde7bde81d7f904116" @@ -9862,7 +9712,7 @@ react-test-renderer@^16.9.0: react-is "^16.8.6" scheduler "^0.16.2" -react@^16.8.6: +react@^16.8.6, react@^16.9.0: version "16.10.2" resolved "https://registry.yarnpkg.com/react/-/react-16.10.2.tgz#a5ede5cdd5c536f745173c8da47bda64797a4cf0" integrity sha512-MFVIq0DpIhrHFyqLU0S3+4dIcBhhOvBE8bJ/5kHPVOVaGdo0KuiQzpcjCPsf585WvhypqtrMILyoE2th6dT+Lw==