Commit Graph

8 Commits

Author SHA1 Message Date
Justin Simms
2056f990d0 Fix issues identified with the Hapi 17 update (#23691)
* Fix issues identified with the Hapi 17 update

This commit introduces a variety of changes, primarily fixes, but it
also collapses the typings into a single file.  Collapsing it into a
single file means simpler augmentation of types, which is common in
Hapi.

Thank you to SimonSchick for contributing a number of changes here.

* fix response property
2018-02-22 07:06:11 -08:00
Rodrigo Saboya
d2ca629f0a Sync plugin definitions to Hapi 17. 2018-02-17 20:22:42 -02:00
Rodrigo Saboya
c4df409881 Updating definitions for Nes>=7.0.0. 2017-11-26 23:13:20 -02:00
Niklas Wulf
bdd079afbe
[nes] Add test/socket.ts 2017-08-30 16:10:00 +02:00
Alexander James Phillips
634461eb23 DRY nes exported types and remove absent Server and Request class exports
* Put in backwards incompatibility warning and a note regarding not needing to
  use Nes.Server or Nes.Request
* Move SocketClass to interface as it is not mentioned in docs as a public
  class for instantiating
2017-05-08 14:29:20 +01:00
Alexander James Phillips
51b1eeb737 Add test for request.socket 2017-05-08 12:44:56 +01:00
Alexander James Phillips
10f421bb83 Fix importing nes/client 2017-05-08 12:35:40 +01:00
Alexander James Phillips
8006e24a64 POTENTIAL REGRESSION. Fix nes and add multiple tests
* Potential regression due to not supporting require('nes/client')
  however no working tests to test this against yet.  Added a blank
  test in nes/test/client-require.ts
2017-05-08 00:42:01 +01:00