Skip to content

Commit 3f3fc95

Browse files
Update grpc-js to 1.3 (#4871)
1 parent 6ced917 commit 3f3fc95

File tree

6 files changed

+1638
-868
lines changed

6 files changed

+1638
-868
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"@types/chai-as-promised": "7.1.3",
7878
"@types/child-process-promise": "2.2.1",
7979
"@types/clone": "2.1.0",
80-
"@types/eslint": "7.2.6",
80+
"@types/eslint": "7.2.10",
8181
"@types/inquirer": "7.3.1",
8282
"@types/listr": "0.14.2",
8383
"@types/long": "4.0.1",

packages/firestore/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"@firebase/logger": "0.2.6",
7272
"@firebase/util": "1.1.0",
7373
"@firebase/webchannel-wrapper": "0.4.1",
74-
"@grpc/grpc-js": "^1.0.0",
74+
"@grpc/grpc-js": "^1.3.2",
7575
"@grpc/proto-loader": "^0.5.0",
7676
"node-fetch": "2.6.1",
7777
"tslib": "^2.1.0"
@@ -85,7 +85,7 @@
8585
"@rollup/plugin-alias": "3.1.1",
8686
"@rollup/plugin-json": "4.1.0",
8787
"@rollup/plugin-node-resolve": "11.2.0",
88-
"@types/eslint": "7.2.6",
88+
"@types/eslint": "7.2.10",
8989
"@types/json-stable-stringify": "1.0.32",
9090
"json-stable-stringify": "1.0.1",
9191
"protobufjs": "6.10.2",

repo-scripts/prune-dts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"reportDir": "./coverage/node"
3333
},
3434
"devDependencies": {
35-
"@types/eslint": "7.2.6",
35+
"@types/eslint": "7.2.10",
3636
"@types/prettier": "2.1.6",
3737
"mocha": "8.2.1"
3838
}

repo-scripts/size-analysis/bundle/webpack.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import webpack from 'webpack';
1919
// @ts-ignore
2020
import virtualModulesPlugin from 'webpack-virtual-modules';
21-
import { createFsFromVolume, Volume } from 'memfs';
21+
import { createFsFromVolume, IFs, Volume } from 'memfs';
2222
import path from 'path';
2323
import { projectRoot } from '../util';
2424

@@ -35,7 +35,7 @@ export async function bundleWithWebpack(
3535
const entryFileName = '/virtual_path_to_in_memory_file/index.js';
3636
const outputFileName = 'o.js';
3737

38-
const resolveConfig: webpack.Resolve = {
38+
const resolveConfig: webpack.ResolveOptions = {
3939
mainFields: ['esm2017', 'module', 'main']
4040
};
4141

@@ -71,15 +71,15 @@ export async function bundleWithWebpack(
7171
}
7272

7373
// Hack to get string output without reading the output file using an internal API from webpack
74-
res(stats.compilation.assets[outputFileName]._value);
74+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
75+
res((stats!.compilation.assets[outputFileName] as any)['_value']);
7576
});
7677
});
7778
}
7879

79-
function getMemoryFileSystem(): webpack.OutputFileSystem {
80+
function getMemoryFileSystem(): IFs {
8081
const fs = createFsFromVolume(new Volume());
8182
// eslint-disable-next-line @typescript-eslint/no-explicit-any
8283
(fs as any).join = path.join.bind(path);
83-
84-
return (fs as unknown) as webpack.OutputFileSystem;
84+
return fs;
8585
}

repo-scripts/size-analysis/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"rollup-plugin-typescript2": "0.29.0",
2828
"@rollup/plugin-virtual": "2.0.3",
2929
"webpack": "4.44.2",
30-
"@types/webpack": "4.41.25",
30+
"@types/webpack": "5.28.0",
3131
"webpack-virtual-modules": "0.4.1",
3232
"child-process-promise": "2.2.1",
3333
"memfs": "3.2.0",

0 commit comments

Comments
 (0)