Skip to content

Commit 47b1379

Browse files
Merge
2 parents 51503ca + 3057e1b commit 47b1379

File tree

165 files changed

+15121
-2548
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+15121
-2548
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@ packages/remote-config @erikeldridge @firebase/jssdk-global-approvers
8181
packages/remote-config-types @erikeldridge @firebase/jssdk-global-approvers
8282

8383
# Documentation Changes
84-
packages/firebase/index.d.ts @egilmorez
85-
scripts/docgen/content-sources/ @egilmorez
84+
packages/firebase/index.d.ts @egilmorez @firebase/jssdk-global-approvers
85+
scripts/docgen/content-sources/ @egilmorez @firebase/jssdk-global-approvers

.github/workflows/test-all.yml

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,48 @@ jobs:
4848

4949
steps:
5050
- uses: actions/checkout@v2
51+
- name: Checkout
52+
# Canary release script requires git history and tags.
53+
run: git fetch --prune --unshallow
5154
- name: Set up Node (10)
5255
uses: actions/setup-node@v1
5356
with:
5457
node-version: 10.x
55-
registry-url: 'https://registry.npmjs.org'
5658
- name: Yarn install
5759
run: yarn
58-
- name: yarn build
59-
run: yarn build
6060
- name: Deploy canary
61-
run: |
62-
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
63-
yarn release --canary
61+
run: yarn release --canary
6462
env:
65-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
63+
NPM_TOKEN_ANALYTICS: ${{secrets.NPM_TOKEN_ANALYTICS}}
64+
NPM_TOKEN_ANALYTICS_INTEROP_TYPES: ${{secrets.NPM_TOKEN_ANALYTICS_INTEROP_TYPES}}
65+
NPM_TOKEN_ANALYTICS_TYPES: ${{secrets.NPM_TOKEN_ANALYTICS_TYPES}}
66+
NPM_TOKEN_APP: ${{secrets.NPM_TOKEN_APP}}
67+
NPM_TOKEN_APP_TYPES: ${{secrets.NPM_TOKEN_APP_TYPES}}
68+
NPM_TOKEN_AUTH: ${{secrets.NPM_TOKEN_AUTH}}
69+
NPM_TOKEN_AUTH_INTEROP_TYPES: ${{secrets.NPM_TOKEN_AUTH_INTEROP_TYPES}}
70+
NPM_TOKEN_AUTH_TYPES: ${{secrets.NPM_TOKEN_AUTH_TYPES}}
71+
NPM_TOKEN_COMPONENT: ${{secrets.NPM_TOKEN_COMPONENT}}
72+
NPM_TOKEN_DATABASE: ${{secrets.NPM_TOKEN_DATABASE}}
73+
NPM_TOKEN_DATABASE_TYPES: ${{secrets.NPM_TOKEN_DATABASE_TYPES}}
74+
NPM_TOKEN_FIRESTORE: ${{secrets.NPM_TOKEN_FIRESTORE}}
75+
NPM_TOKEN_FIRESTORE_TYPES: ${{secrets.NPM_TOKEN_FIRESTORE_TYPES}}
76+
NPM_TOKEN_FUNCTIONS: ${{secrets.NPM_TOKEN_FUNCTIONS}}
77+
NPM_TOKEN_FUNCTIONS_TYPES: ${{secrets.NPM_TOKEN_FUNCTIONS_TYPES}}
78+
NPM_TOKEN_INSTALLATIONS: ${{secrets.NPM_TOKEN_INSTALLATIONS}}
79+
NPM_TOKEN_INSTALLATIONS_TYPES: ${{secrets.NPM_TOKEN_INSTALLATIONS_TYPES}}
80+
NPM_TOKEN_LOGGER: ${{secrets.NPM_TOKEN_LOGGER}}
81+
NPM_TOKEN_MESSAGING: ${{secrets.NPM_TOKEN_MESSAGING}}
82+
NPM_TOKEN_MESSAGING_TYPES: ${{secrets.NPM_TOKEN_MESSAGING_TYPES}}
83+
NPM_TOKEN_PERFORMANCE: ${{secrets.NPM_TOKEN_PERFORMANCE}}
84+
NPM_TOKEN_PERFORMANCE_TYPES: ${{secrets.NPM_TOKEN_PERFORMANCE_TYPES}}
85+
NPM_TOKEN_POLYFILL: ${{secrets.NPM_TOKEN_POLYFILL}}
86+
NPM_TOKEN_REMOTE_CONFIG: ${{secrets.NPM_TOKEN_REMOTE_CONFIG}}
87+
NPM_TOKEN_REMOTE_CONFIG_TYPES: ${{secrets.NPM_TOKEN_REMOTE_CONFIG_TYPES}}
88+
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
89+
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
90+
NPM_TOKEN_TESTING: ${{secrets.NPM_TOKEN_TESTING}}
91+
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
92+
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
93+
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
94+
NPM_TOKEN_RXFIRE: ${{secrets.NPM_TOKEN_RXFIRE}}
95+
CI: true

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"type": "node",
2727
"request": "launch",
2828
"name": "Firestore Unit Tests (Node)",
29-
"program": "${workspaceRoot}/packages/firestore/node_modules/.bin/_mocha",
29+
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
3030
"cwd": "${workspaceRoot}/packages/firestore",
3131
"args": [
3232
"--require", "ts-node/register/type-check",
@@ -46,7 +46,7 @@
4646
"type": "node",
4747
"request": "launch",
4848
"name": "Firestore Unit Tests (Node / Persistence)",
49-
"program": "${workspaceRoot}/packages/firestore/node_modules/.bin/_mocha",
49+
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
5050
"cwd": "${workspaceRoot}/packages/firestore",
5151
"args": [
5252
"--require", "ts-node/register/type-check",

config/functions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Cloud Functions for Firebase",
44
"dependencies": {
55
"cors": "2.8.5",
6-
"firebase-admin": "8.9.0",
6+
"firebase-admin": "8.9.2",
77
"firebase-functions": "3.3.0"
88
},
99
"private": true,

config/tsconfig.base.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"es2015.symbol.wellknown",
1515
"es2015.core",
1616
"es2017.object",
17+
"es2017.string",
1718
],
1819
"module": "ES2015",
1920
"moduleResolution": "node",

integration/browserify/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@
77
"test": "karma start --single-run"
88
},
99
"dependencies": {
10-
"firebase": "7.9.1"
10+
"firebase": "7.11.0"
1111
},
1212
"devDependencies": {
13-
"@babel/core": "7.7.7",
14-
"@babel/preset-env": "7.7.7",
13+
"@babel/core": "7.8.7",
14+
"@babel/preset-env": "7.8.7",
1515
"browserify": "16.5.0",
1616
"chai": "4.2.0",
1717
"karma": "4.4.1",
1818
"karma-babel-preprocessor": "8.0.1",
1919
"karma-chrome-launcher": "3.1.0",
20-
"karma-firefox-launcher": "1.2.0",
20+
"karma-firefox-launcher": "1.3.0",
2121
"karma-mocha": "1.3.0",
2222
"karma-sauce-launcher": "1.2.0",
2323
"karma-spec-reporter": "0.0.32",
2424
"mkdirp": "0.5.1",
25-
"mocha": "7.0.1"
25+
"mocha": "7.1.0"
2626
}
2727
}

integration/firebase-typings/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"test": "tsc"
77
},
88
"dependencies": {
9-
"firebase": "7.9.1"
9+
"firebase": "7.11.0"
1010
},
1111
"devDependencies": {
12-
"typescript": "3.7.5"
12+
"typescript": "3.8.3"
1313
}
1414
}

integration/firestore/package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,28 @@
33
"version": "1.0.1",
44
"private": true,
55
"scripts": {
6-
"build": "(cd ../../ ; yarn build) ; gulp compile-tests",
6+
"build": "gulp compile-tests",
7+
"build:deps": "cd ../../ ; yarn build",
78
"pretest:manual": "yarn build",
8-
"pretest:debug": "yarn build",
9+
"pretest:debug": "yarn build:deps && yarn build",
910
"test": "echo 'Automated tests temporarily disabled, run `yarn test:manual` to execute these tests'",
1011
"test:manual": "karma start --single-run",
1112
"test:debug": "karma start --auto-watch --browsers Chrome"
1213
},
1314
"devDependencies": {
14-
"@types/mocha": "7.0.1",
15+
"@types/mocha": "7.0.2",
1516
"gulp": "4.0.2",
1617
"gulp-filter": "5.1.0",
1718
"gulp-replace": "1.0.0",
1819
"karma": "4.4.1",
1920
"karma-chrome-launcher": "3.1.0",
20-
"karma-firefox-launcher": "1.2.0",
21+
"karma-firefox-launcher": "1.3.0",
2122
"karma-mocha": "1.3.0",
2223
"karma-spec-reporter": "0.0.32",
23-
"mocha": "7.0.1",
24+
"mocha": "7.1.0",
2425
"ts-loader": "6.2.1",
25-
"typescript": "3.7.5",
26-
"webpack": "4.41.5",
26+
"typescript": "3.8.3",
27+
"webpack": "4.42.0",
2728
"webpack-stream": "5.2.1"
2829
}
2930
}

integration/messaging/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,15 @@
88
"test:manual": "mocha --exit"
99
},
1010
"dependencies": {
11-
"firebase": "7.9.1"
11+
"firebase": "7.11.0"
1212
},
1313
"devDependencies": {
1414
"chai": "4.2.0",
1515
"chromedriver": "80.0.1",
1616
"express": "4.17.1",
1717
"geckodriver": "1.19.1",
18-
"mocha": "7.0.1",
18+
"mocha": "7.1.0",
1919
"node-fetch": "2.6.0",
20-
"selenium-assistant": "6.0.0",
21-
"sinon": "8.0.4"
20+
"selenium-assistant": "6.0.0"
2221
}
2322
}

integration/typescript/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@
66
"test": "karma start --single-run"
77
},
88
"dependencies": {
9-
"firebase": "7.9.1"
9+
"firebase": "7.11.0"
1010
},
1111
"devDependencies": {
12-
"@babel/core": "7.7.7",
13-
"@babel/preset-env": "7.7.7",
14-
"@types/chai": "4.2.7",
15-
"@types/mocha": "7.0.1",
12+
"@babel/core": "7.8.7",
13+
"@babel/preset-env": "7.8.7",
14+
"@types/chai": "4.2.10",
15+
"@types/mocha": "7.0.2",
1616
"chai": "4.2.0",
1717
"karma": "4.4.1",
1818
"karma-babel-preprocessor": "8.0.1",
1919
"karma-chrome-launcher": "3.1.0",
20-
"karma-firefox-launcher": "1.2.0",
20+
"karma-firefox-launcher": "1.3.0",
2121
"karma-mocha": "1.3.0",
2222
"karma-sauce-launcher": "1.2.0",
2323
"karma-spec-reporter": "0.0.32",
24-
"karma-typescript": "4.1.1",
25-
"mocha": "7.0.1",
24+
"karma-typescript": "5.0.0",
25+
"mocha": "7.1.0",
2626
"npm-run-all": "4.1.5",
27-
"typescript": "3.7.5"
27+
"typescript": "3.8.3"
2828
}
2929
}

integration/webpack/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@
77
"test": "karma start --single-run"
88
},
99
"dependencies": {
10-
"firebase": "7.9.1"
10+
"firebase": "7.11.0"
1111
},
1212
"devDependencies": {
13-
"@babel/core": "7.7.7",
14-
"@babel/preset-env": "7.7.7",
13+
"@babel/core": "7.8.7",
14+
"@babel/preset-env": "7.8.7",
1515
"chai": "4.2.0",
1616
"karma": "4.4.1",
1717
"karma-babel-preprocessor": "8.0.1",
1818
"karma-chrome-launcher": "3.1.0",
19-
"karma-firefox-launcher": "1.2.0",
19+
"karma-firefox-launcher": "1.3.0",
2020
"karma-mocha": "1.3.0",
2121
"karma-sauce-launcher": "1.2.0",
2222
"karma-spec-reporter": "0.0.32",
23-
"mocha": "7.0.1",
24-
"webpack": "4.41.5",
25-
"webpack-cli": "3.3.10"
23+
"mocha": "7.1.0",
24+
"webpack": "4.42.0",
25+
"webpack-cli": "3.3.11"
2626
}
2727
}

package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,16 @@
4848
"integration/*"
4949
],
5050
"devDependencies": {
51-
"@types/chai": "4.2.7",
51+
"@types/chai": "4.2.10",
5252
"@types/chai-as-promised": "7.1.2",
53-
"@types/long": "4.0.0",
54-
"@types/mocha": "7.0.1",
53+
"@types/long": "4.0.1",
54+
"@types/mocha": "7.0.2",
5555
"@types/node": "8.10.59",
56-
"@types/sinon": "7.5.1",
56+
"@types/sinon": "7.5.2",
5757
"@types/sinon-chai": "3.2.3",
58-
"@typescript-eslint/eslint-plugin": "2.15.0",
59-
"@typescript-eslint/eslint-plugin-tslint": "2.15.0",
60-
"@typescript-eslint/parser": "2.15.0",
58+
"@typescript-eslint/eslint-plugin": "2.23.0",
59+
"@typescript-eslint/eslint-plugin-tslint": "2.23.0",
60+
"@typescript-eslint/parser": "2.23.0",
6161
"babel-loader": "8.0.6",
6262
"chai": "4.2.0",
6363
"chai-as-promised": "7.1.1",
@@ -66,40 +66,40 @@
6666
"clone": "2.1.2",
6767
"coveralls": "3.0.9",
6868
"del": "5.1.0",
69-
"dependency-graph": "0.8.1",
69+
"dependency-graph": "0.9.0",
7070
"eslint": "6.8.0",
71-
"eslint-plugin-import": "2.19.1",
71+
"eslint-plugin-import": "2.20.1",
7272
"express": "4.17.1",
7373
"find-free-port": "2.0.0",
7474
"firebase-functions": "3.3.0",
75-
"firebase-tools": "7.11.0",
75+
"firebase-tools": "7.14.0",
7676
"git-rev-sync": "2.0.0",
7777
"glob": "7.1.6",
78-
"http-server": "0.12.0",
79-
"husky": "4.2.1",
78+
"http-server": "0.12.1",
79+
"husky": "4.2.3",
8080
"indexeddbshim": "5.0.0",
81-
"inquirer": "7.0.2",
81+
"inquirer": "7.0.6",
8282
"istanbul-instrumenter-loader": "3.0.1",
8383
"js-yaml": "3.13.1",
8484
"karma": "4.4.1",
8585
"karma-chrome-launcher": "3.1.0",
8686
"karma-cli": "2.0.0",
8787
"karma-coverage-istanbul-reporter": "2.1.1",
88-
"karma-firefox-launcher": "1.2.0",
88+
"karma-firefox-launcher": "1.3.0",
8989
"karma-mocha": "1.3.0",
9090
"karma-safari-launcher": "1.0.0",
9191
"karma-sauce-launcher": "1.2.0",
9292
"karma-sourcemap-loader": "0.3.7",
9393
"karma-spec-reporter": "0.0.32",
94-
"karma-summary-reporter": "1.7.1",
94+
"karma-summary-reporter": "1.7.2",
9595
"karma-webpack": "4.0.2",
9696
"lcov-result-merger": "3.1.0",
9797
"lerna": "3.20.2",
9898
"listr": "0.14.3",
9999
"long": "3.2.0",
100100
"merge2": "1.3.0",
101101
"mkdirp": "0.5.1",
102-
"mocha": "7.0.1",
102+
"mocha": "7.1.0",
103103
"mz": "2.7.0",
104104
"npm-run-all": "4.1.5",
105105
"npm-run-path": "4.0.1",
@@ -108,19 +108,19 @@
108108
"prettier": "1.19.1",
109109
"protractor": "5.4.2",
110110
"rxjs": "6.5.4",
111-
"semver": "7.1.1",
112-
"simple-git": "1.129.0",
113-
"sinon": "8.0.4",
114-
"sinon-chai": "3.4.0",
111+
"semver": "7.1.3",
112+
"simple-git": "1.131.0",
113+
"sinon": "9.0.0",
114+
"sinon-chai": "3.5.0",
115115
"source-map-loader": "0.2.4",
116116
"ts-loader": "6.2.1",
117-
"ts-node": "8.5.4",
118-
"tslint": "5.20.1",
119-
"typedoc": "0.15.6",
120-
"typescript": "3.7.5",
117+
"ts-node": "8.6.2",
118+
"tslint": "6.1.0",
119+
"typedoc": "0.16.11",
120+
"typescript": "3.8.3",
121121
"watch": "1.0.2",
122-
"webpack": "4.41.5",
123-
"yargs": "15.1.0",
122+
"webpack": "4.42.0",
123+
"yargs": "15.3.0",
124124
"lodash": "4.17.15"
125125
}
126126
}

packages/analytics-interop-types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@firebase/analytics-interop-types",
3-
"version": "0.1.2",
3+
"version": "0.1.4",
44
"description": "@firebase/analytics Types",
55
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
66
"license": "Apache-2.0",
@@ -19,6 +19,6 @@
1919
"url": "https://github.com/firebase/firebase-js-sdk/issues"
2020
},
2121
"devDependencies": {
22-
"typescript": "3.7.5"
22+
"typescript": "3.8.3"
2323
}
2424
}

packages/analytics-types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@firebase/analytics-types",
3-
"version": "0.2.6",
3+
"version": "0.2.8",
44
"description": "@firebase/analytics Types",
55
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
66
"license": "Apache-2.0",
@@ -19,6 +19,6 @@
1919
"url": "https://github.com/firebase/firebase-js-sdk/issues"
2020
},
2121
"devDependencies": {
22-
"typescript": "3.7.5"
22+
"typescript": "3.8.3"
2323
}
2424
}

0 commit comments

Comments
 (0)