Skip to content

Update dependency typescript to v4.2.2 #4098

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion integration/firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"karma-typescript": "5.2.0",
"mocha": "7.2.0",
"npm-run-all": "4.1.5",
"typescript": "4.0.5"
"typescript": "4.2.2"
}
}
2 changes: 1 addition & 1 deletion integration/firestore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"karma-spec-reporter": "0.0.32",
"mocha": "7.2.0",
"ts-loader": "8.0.12",
"typescript": "4.0.5",
"typescript": "4.2.2",
"webpack": "4.44.2",
"webpack-stream": "6.1.1"
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
"ts-node": "9.1.1",
"tslint": "6.1.3",
"typedoc": "0.16.11",
"typescript": "4.0.5",
"typescript": "4.2.2",
"watch": "1.0.2",
"webpack": "4.44.2",
"yargs": "16.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/analytics-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"rollup": "2.35.1",
"@rollup/plugin-json": "4.1.0",
"rollup-plugin-typescript2": "0.29.0",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages-exp/analytics-compat",
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/analytics-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "9.0.0",
"rollup-plugin-typescript2": "0.29.0",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages/analytics",
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/app-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@rollup/plugin-json": "4.1.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-typescript2": "0.29.0",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages-exp/app-compat",
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/app-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@rollup/plugin-json": "4.1.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-typescript2": "0.29.0",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages-exp/app-exp",
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/auth-compat-exp/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"rollup-plugin-sourcemaps": "0.6.3",
"rollup-plugin-typescript2": "0.29.0",
"rollup-plugin-uglify": "6.0.4",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages-exp/auth-compat-exp/demo",
Expand Down
8 changes: 4 additions & 4 deletions packages-exp/auth-compat-exp/demo/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5213,10 +5213,10 @@ typedarray@^0.0.6:
resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=

typescript@4.0.5:
version "4.0.5"
resolved "https://registry.npmjs.org/typescript/-/typescript-4.0.5.tgz#ae9dddfd1069f1cb5beb3ef3b2170dd7c1332389"
integrity sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ==
typescript@4.2.2:
version "4.2.2"
resolved "https://registry.npmjs.org/typescript/-/typescript-4.2.2.tgz#1450f020618f872db0ea17317d16d8da8ddb8c4c"
integrity sha512-tbb+NVrLfnsJy3M59lsDgrzWIflR4d4TIUjz+heUnHZwdF7YsrMTKoRERiIvI2lvBG95dfpLxB21WZhys1bgaQ==

uglify-js@^3.1.4, uglify-js@^3.4.9:
version "3.12.7"
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/auth-compat-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@rollup/plugin-json": "4.1.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-typescript2": "0.29.0",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages-exp/auth-compat-exp",
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/auth-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"rollup-plugin-sourcemaps": "0.6.3",
"rollup-plugin-typescript2": "0.29.0",
"@rollup/plugin-strip": "2.0.0",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages-exp/auth-exp",
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/firebase-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"gulp": "4.0.2",
"gulp-sourcemaps": "2.6.5",
"gulp-concat": "2.6.1",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"components": [
"analytics",
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/functions-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"rollup": "2.35.1",
"@rollup/plugin-json": "4.1.0",
"rollup-plugin-typescript2": "0.29.0",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages-exp/functions-compat",
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/functions-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"rollup": "2.35.1",
"@rollup/plugin-json": "4.1.0",
"rollup-plugin-typescript2": "0.29.0",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages/functions",
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/installations-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@rollup/plugin-node-resolve": "9.0.0",
"rollup-plugin-typescript2": "0.29.0",
"rollup-plugin-uglify": "6.0.4",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"peerDependencies": {
"@firebase/app-compat": "0.x"
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/installations-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@rollup/plugin-node-resolve": "9.0.0",
"rollup-plugin-typescript2": "0.29.0",
"rollup-plugin-uglify": "6.0.4",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"peerDependencies": {
"@firebase/app-exp": "0.x"
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/messaging-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@rollup/plugin-json": "4.1.0",
"rollup-plugin-typescript2": "0.29.0",
"ts-essentials": "7.0.1",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages/messaging",
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/performance-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"rollup": "2.35.1",
"@rollup/plugin-json": "4.1.0",
"rollup-plugin-typescript2": "0.29.0",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages/performance-exp",
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/remote-config-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@rollup/plugin-json": "4.1.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-typescript2": "0.29.0",
"typescript": "4.0.5",
"typescript": "4.2.2",
"@firebase/app-compat": "0.0.900"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/remote-config-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@firebase/app-exp": "0.0.900",
"rollup": "2.35.1",
"rollup-plugin-typescript2": "0.29.0",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages/remote-config",
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics-interop-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"url": "https://github.com/firebase/firebase-js-sdk/issues"
},
"devDependencies": {
"typescript": "4.0.5"
"typescript": "4.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/analytics-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"url": "https://github.com/firebase/firebase-js-sdk/issues"
},
"devDependencies": {
"typescript": "4.0.5"
"typescript": "4.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "9.0.0",
"rollup-plugin-typescript2": "0.29.0",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages/analytics",
Expand Down
2 changes: 1 addition & 1 deletion packages/app-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"url": "https://github.com/firebase/firebase-js-sdk/issues"
},
"devDependencies": {
"typescript": "4.0.5"
"typescript": "4.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@rollup/plugin-json": "4.1.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-typescript2": "0.29.0",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages/app",
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-interop-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"url": "https://github.com/firebase/firebase-js-sdk/issues"
},
"devDependencies": {
"typescript": "4.0.5"
"typescript": "4.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/auth-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"url": "https://github.com/firebase/firebase-js-sdk/issues"
},
"devDependencies": {
"typescript": "4.0.5"
"typescript": "4.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"devDependencies": {
"rollup": "2.35.1",
"rollup-plugin-typescript2": "0.29.0",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages/component",
Expand Down
1 change: 1 addition & 0 deletions packages/component/src/provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { expect } from 'chai';
import { fake, SinonSpy } from 'sinon';
import { ComponentContainer } from './component_container';
import { FirebaseService } from '@firebase/app-types/private';
// eslint-disable-next-line import/no-extraneous-dependencies
import { _FirebaseService } from '@firebase/app-exp';
import { Provider } from './provider';
import { getFakeApp, getFakeComponent } from '../test/util';
Expand Down
2 changes: 1 addition & 1 deletion packages/database-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"url": "https://github.com/firebase/firebase-js-sdk/issues"
},
"devDependencies": {
"typescript": "4.0.5"
"typescript": "4.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@firebase/app-types": "0.6.1",
"rollup": "2.35.1",
"rollup-plugin-typescript2": "0.29.0",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages/database",
Expand Down
17 changes: 13 additions & 4 deletions packages/database/rollup.config.exp.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ import typescript from 'typescript';
import path from 'path';
import { importPathTransformer } from '../../scripts/exp/ts-transform-import-path';

import pkg from './exp/package.json';
import expPkg from './exp/package.json';
import pkg from './package.json';

const deps = Object.keys(
Object.assign({}, pkg.peerDependencies, pkg.dependencies)
Expand All @@ -46,7 +47,7 @@ const es5Builds = [
{
input: 'exp/index.ts',
output: [
{ file: path.resolve('exp', pkg.main), format: 'cjs', sourcemap: true }
{ file: path.resolve('exp', expPkg.main), format: 'cjs', sourcemap: true }
],
plugins: es5BuildPlugins,
treeshake: {
Expand All @@ -60,7 +61,11 @@ const es5Builds = [
{
input: 'exp/index.ts',
output: [
{ file: path.resolve('exp', pkg.module), format: 'es', sourcemap: true }
{
file: path.resolve('exp', expPkg.module),
format: 'es',
sourcemap: true
}
],
plugins: es5BuildPlugins,
treeshake: {
Expand Down Expand Up @@ -94,7 +99,11 @@ const es2017Builds = [
{
input: 'exp/index.ts',
output: [
{ file: path.resolve('exp', pkg.esm2017), format: 'es', sourcemap: true }
{
file: path.resolve('exp', expPkg.esm2017),
format: 'es',
sourcemap: true
}
],
plugins: es2017BuildPlugins,
treeshake: {
Expand Down
2 changes: 1 addition & 1 deletion packages/database/test/helpers/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export function getQueryValue(query: Query) {
}

export function pause(milliseconds: number) {
return new Promise(resolve => {
return new Promise<void>(resolve => {
setTimeout(() => resolve(), milliseconds);
});
}
Expand Down
2 changes: 1 addition & 1 deletion packages/database/test/info.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ describe('.info Tests', function () {
});

it('Can watch .info/connected.', () => {
return new Promise(resolve => {
return new Promise<void>(resolve => {
const f = (getRandomNode() as Reference).root;
f.child('.info/connected').on('value', snap => {
if (snap.val() === true) {
Expand Down
2 changes: 1 addition & 1 deletion packages/database/test/order.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('Order Tests', () => {
// arrive in that order. But if we aren't connected yet, the "reconnection" code will send them
// in the opposite order.
beforeEach(() => {
return new Promise(resolve => {
return new Promise<void>(resolve => {
const ref = getRandomNode() as Reference;
let connected = false;
ref.root.child('.info/connected').on('value', s => {
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-typescript2": "0.29.0",
"rollup-plugin-uglify": "6.0.4",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"typings": "index.d.ts",
"components": [
Expand Down
2 changes: 1 addition & 1 deletion packages/firestore-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"url": "https://github.com/firebase/firebase-js-sdk/issues"
},
"devDependencies": {
"typescript": "4.0.5"
"typescript": "4.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/firestore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-typescript2": "0.29.0",
"ts-node": "9.1.1",
"typescript": "4.0.5"
"typescript": "4.2.2"
},
"repository": {
"directory": "packages/firestore",
Expand Down
Loading