Skip to content

Commit 6eb63e1

Browse files
authored
Merge pull request #1939 from grpc/@grpc/[email protected]
Upmerge a few recent changes from 1.4
2 parents 95290ae + 832afbe commit 6eb63e1

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

packages/grpc-js-xds/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@grpc/grpc-js-xds",
3-
"version": "1.3.1",
3+
"version": "1.4.0",
44
"description": "Plugin for @grpc/grpc-js. Adds the xds:// URL scheme and associated features.",
55
"main": "build/src/index.js",
66
"scripts": {
@@ -47,7 +47,7 @@
4747
"re2-wasm": "^1.0.1"
4848
},
4949
"peerDependencies": {
50-
"@grpc/grpc-js": "~1.3.0"
50+
"@grpc/grpc-js": "~1.4.0"
5151
},
5252
"engines": {
5353
"node": ">=10.10.0"

packages/grpc-js/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@grpc/grpc-js",
3-
"version": "1.3.7",
3+
"version": "1.4.1",
44
"description": "gRPC Library for Node - pure JS implementation",
55
"homepage": "https://grpc.io/",
66
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",
@@ -48,11 +48,11 @@
4848
"compile": "tsc -p .",
4949
"format": "clang-format -i -style=\"{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}\" src/*.ts test/*.ts",
5050
"lint": "npm run check",
51-
"prepare": "npm run compile",
51+
"prepare": "npm run generate-types && npm run compile",
5252
"test": "gulp test",
5353
"check": "gts check src/**/*.ts",
5454
"fix": "gts fix src/*.ts",
55-
"pretest": "npm run compile",
55+
"pretest": "npm run generate-types && npm run compile",
5656
"posttest": "npm run check && madge -c ./build/src",
5757
"generate-types": "proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --includeComments --includeDirs proto/ -O src/generated/ --grpcLib ../index channelz.proto"
5858
},
@@ -62,7 +62,8 @@
6262
},
6363
"files": [
6464
"src/**/*.ts",
65-
"build/src/*.{js,d.ts,js.map}",
65+
"build/src/**/*.{js,d.ts,js.map}",
66+
"proto/*.proto",
6667
"LICENSE",
6768
"deps/envoy-api/envoy/api/v2/**/*.proto",
6869
"deps/envoy-api/envoy/config/**/*.proto",

packages/grpc-js/src/channel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export class ChannelImplementation implements Channel {
311311
new MaxMessageSizeFilterFactory(this.options),
312312
new CompressionFilterFactory(this),
313313
]);
314-
this.trace('Constructed channel');
314+
this.trace('Channel constructed with options ' + JSON.stringify(options, undefined, 2));
315315
}
316316

317317
private getChannelzInfo(): ChannelInfo {

packages/grpc-js/src/subchannel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export class Subchannel {
229229
this.channelzRef = registerChannelzSubchannel(this.subchannelAddressString, () => this.getChannelzInfo());
230230
this.channelzTrace = new ChannelzTrace();
231231
this.channelzTrace.addTrace('CT_INFO', 'Subchannel created');
232-
this.trace('Subchannel constructed');
232+
this.trace('Subchannel constructed with options ' + JSON.stringify(options, undefined, 2));
233233
}
234234

235235
private getChannelzInfo(): SubchannelInfo {

run-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ cd $ROOT
2828
git submodule update --init --recursive
2929

3030
if [ ! -n "$node_versions" ] ; then
31-
node_versions="8 10 12"
31+
node_versions="10 12 14 16"
3232
fi
3333

3434
set +ex

0 commit comments

Comments
 (0)