1940 Commits

Author SHA1 Message Date
Nicolas Noble
385456eca5
Merge pull request #632 from murgatroid99/mock_fix
Add missing sendTrailers method in ClientHttp2StreamMock
2018-11-14 15:47:24 -08:00
Michael Lumish
c637b26bee
Merge pull request #629 from JustinBeckwith/bind
refactor: drop usage of _.bind
2018-11-14 15:29:28 -08:00
Michael Lumish
76ac074b9b
Merge pull request #627 from JustinBeckwith/isarr
refactor: use Array.isArray instead of _.isArray
2018-11-14 15:15:09 -08:00
Michael Lumish
06b74bf036
Merge pull request #615 from JustinBeckwith/ld1
refactor: use individual lodash package for proto loader
2018-11-14 15:10:50 -08:00
murgatroid99
d5fc72bd5c Add missing properties to ClientHttp2StreamMock 2018-11-14 14:28:38 -08:00
Justin Beckwith
69882cb5f6 fixy 2018-11-13 10:06:23 -08:00
Justin Beckwith
7a92e7cd19 refactor: drop usage of _.bind 2018-11-12 22:16:15 -08:00
Justin Beckwith
50ead820a2 refactor: use Array.isArray instead of _.isArray 2018-11-12 20:47:12 -08:00
Michael Lumish
f70eabb1ec
Merge pull request #621 from JustinBeckwith/startsWith
refactor: drop usage of _.startsWith
2018-11-12 17:15:28 -08:00
Michael Lumish
2ac78c17bf
Merge pull request #619 from JustinBeckwith/isfinite
refactor: drop usage of _.isFinite
2018-11-12 17:08:33 -08:00
Michael Lumish
4e3f429398
Merge pull request #618 from JustinBeckwith/nomap
refactor: drop usage of _.map
2018-11-12 17:07:11 -08:00
Michael Lumish
2e98a5323d
Merge pull request #616 from JustinBeckwith/ld2
refactor: use individual lodash packages for health check
2018-11-12 17:05:34 -08:00
Michael Lumish
73b05e87af
Merge pull request #617 from JustinBeckwith/isstring
refactor: drop usage of _.isString
2018-11-12 17:05:03 -08:00
Michael Lumish
d4f97546a2
Merge pull request #622 from JustinBeckwith/isfun
refactor: drop usage of _.isFunction
2018-11-12 17:02:55 -08:00
Justin Beckwith
a58c178119 refactor: drop usage of _.isFunction 2018-11-09 17:19:27 -08:00
Justin Beckwith
261fb51ba9 refactor: drop usage of _.startsWith 2018-11-09 17:12:34 -08:00
Justin Beckwith
ea3e8e5997 refactor: drop usage of _.isFinite 2018-11-09 16:57:24 -08:00
Justin Beckwith
e1cf0e6ead refactor: drop usage of _.map 2018-11-09 16:54:08 -08:00
Justin Beckwith
8cd41923f5 refactor: drop usage of _.isString 2018-11-09 16:52:01 -08:00
Justin Beckwith
5841cd9c50 refactor: use individual lodash packages for health check 2018-11-09 16:43:53 -08:00
Justin Beckwith
7e472e5bf4 refactor: use individual lodash package for proto loader 2018-11-09 16:39:03 -08:00
Michael Lumish
494b97ac1a
Merge pull request #608 from cjihrig/rename
Rename grpc-js-core and grpc-protobufjs to match npm
2018-11-05 13:35:01 -08:00
cjihrig
c8266e56d0
squash! grpc-js: rename grpc-js-core to match npm 2018-11-04 11:24:13 -05:00
cjihrig
489305db79
proto-loader: rename grpc-protobufjs to match npm
This commit renames grpc-protobufjs to proto-loader to more
closely match the name used on npm.
2018-11-01 17:09:28 -04:00
cjihrig
65bd142114
grpc-js: rename grpc-js-core to match npm
This commit renames grpc-js-core to grpc-js to more closely
match the name used on npm.
2018-11-01 16:56:57 -04:00
Michael Lumish
ab27034c8c
Merge pull request #606 from cjihrig/nodash
grpc-js-core: remove simple uses of lodash
2018-11-01 13:13:42 -07:00
cjihrig
493ca2fec4
grpc-js-core: remove simple uses of lodash
This commit removes lodash as a production dependency. It
remains as a devDependency because it's used in tests, but the
uses in the src/ directory were easily replaced with vanilla
JavaScript.
2018-11-01 09:27:06 -04:00
Michael Lumish
9a92764f94
Merge pull request #603 from cjihrig/flows
grpc-js-core: remove use of flow() and flowRight()
2018-10-30 14:15:31 -07:00
cjihrig
7ffa49f7e4
grpc-js-core: remove use of flow() and flowRight()
This commit replaces combinations of bind(), map(), and
flow() with simple for loops. This improves performance, and
lessens the dependency on lodash.
2018-10-30 14:16:42 -04:00
Michael Lumish
cbaa71cfc7
Merge pull request #597 from murgatroid99/malformed_response_handling_fix
Make clients fail better with malformed responses
2018-10-29 08:50:16 -07:00
murgatroid99
0158f0be56 Make clients fail better with malformed responses 2018-10-26 15:38:40 -07:00
Michael Lumish
86774c98b5
Merge pull request #588 from cjihrig/metadata
Metadata class simplifications
2018-10-26 11:02:10 -07:00
Nicolas Noble
7768e7b6e5
Merge pull request #586 from murgatroid99/master_submodule_update_1.17-dev
Update grpc submodule to HEAD
2018-10-24 18:46:14 -07:00
Nicolas Noble
2dbdd09670
Merge pull request #591 from nicolasnoble/upmerge-1.16-master
Upmerge from 1.16 to master
2018-10-24 18:46:06 -07:00
Nicolas "Pixel" Noble
b7042551c3 Fixing up submodule. 2018-10-25 01:20:37 +02:00
Michael Lumish
290a9a0e3a
Merge pull request #589 from murgatroid99/boringssl_threads
Remove use of OPENSSL_NO_THREADS with BoringSSL
2018-10-24 15:26:25 -07:00
Nicolas "Pixel" Noble
8f09c2b0d0 Merge branch 'grpc@1.16.x' of https://github.com/grpc/grpc-node 2018-10-25 00:25:12 +02:00
Nicolas Noble
4863b70850
Merge pull request #590 from nicolasnoble/upmerge-1.15-1.16
Upmerge from 1.15 to 1.16
2018-10-24 15:24:22 -07:00
Nicolas "Pixel" Noble
9e5ffb172d Merge branch 'grpc@1.15.x' of https://github.com/grpc/grpc-node into grpc@1.16.x 2018-10-24 23:21:18 +02:00
murgatroid99
9b5ed6240b Add missing comma in binding.gyp 2018-10-24 13:40:26 -07:00
murgatroid99
31a0019d99 Set _XOPEN_SOURCE only for BoringSSL 2018-10-24 12:35:45 -07:00
cjihrig
a83c924801
grpc-js-core: simplify Metadata clone()
This commit inlines the only use of cloneMetadataObject(). It
also eliminates an extra MetadataObject - the result of
cloneMetadataObject() was allocating a new MetadataObject to
replace the internal representation of the newly allocated
Metadata object in clone().
2018-10-24 14:13:30 -04:00
cjihrig
2f679031fa
grpc-js-core: remove metadata's lodash dependency
This removes the only remaining use of lodash in Metadata and
improves performance a bit.
2018-10-24 14:13:30 -04:00
cjihrig
6a19cf5205
grpc-js-core: use Map for metadata store
In more recent versions of Node, Maps are more performant than
POJOs when used as maps. Switching to Maps also eliminates an
expensive delete operation, as well as uses of hasOwnProperty().
2018-10-24 14:13:18 -04:00
murgatroid99
b7f7bf0dce Increase _XOPEN_SOURCE macro to 700 2018-10-24 11:00:25 -07:00
murgatroid99
3eb67d8038 Remove use of OPENSSL_NO_THREADS with BoringSSL 2018-10-24 10:38:25 -07:00
murgatroid99
14a1f8520c Update grpc submodule to HEAD 2018-10-23 15:55:47 -07:00
Nicolas Noble
0d1d1feb78
Merge pull request #582 from nicolasnoble/1.16-submodule
Properly updating submodule to point at 1.16.
2018-10-23 14:02:13 -07:00
Nicolas "Pixel" Noble
34219900a9 Properly updating submodule to point at 1.16. 2018-10-23 18:51:15 +02:00
Michael Lumish
65cd6bafd3
Merge pull request #579 from murgatroid99/native_async_bind_port
Native: add Server#bindAsync
2018-10-19 15:58:48 -07:00