Commit Graph
244 Commits
Author SHA1 Message Date
Mine Starks 736ebf768c Merge pull request #22010 from GrabCAD/master
Add types for Error.prepareStackTrace()
2017-12-11 09:14:14 -08:00
Howard Mak 95b94efe8d Clean up comments for NodeJS.CallSite methods. Make "this" references clearer. 2017-12-07 13:46:40 -05:00
Howard Mak 4d1ff2f02e PR feedback: Tighten signatures for CallSite methods 2017-12-07 13:20:39 -05:00
Howard Mak 4950326dd4 PR feedback: Add test for tighter CallSite signatures 2017-12-07 12:56:37 -05:00
Bowden Kelly f076ad2c79 Merge pull request #21994 from ctaggart/rm-node-_debugger
remove removed legacy Node _debugger API
2017-12-06 15:56:55 -08:00
Bowden Kelly 4dd2928253 Merge pull request #21937 from ariaviran/node4_buffer_alloc
[node] Add Buffer.alloc methods to node v4
2017-12-06 10:58:53 -08:00
Bowden Kelly ee2ab184c3 Merge pull request #20720 from OliverJAsh/patch-14
Node: remove redundant widen of query type to any + tidy up
2017-12-06 10:58:18 -08:00
Bowden Kelly 8f912d207d Merge pull request #21764 from ctaggart/http2-constants
node export http2 constants in standard way
2017-12-06 10:57:43 -08:00
Cameron Taggart 2871b1c240 remove removed legacy Node _debugger API 2017-12-05 21:06:38 -03:00
Howard Mak a30bc16f3c Tighten signature for CallSite.getTypeName() 2017-12-05 14:54:29 -05:00
Howard Mak 75dabcb90f Fix some CallSite properties to be functions not boolean values 2017-12-05 14:43:26 -05:00
Howard Mak 658b8af522 Rename NodeJS.StackFrame -> CallSite to match documentation 2017-12-05 14:33:37 -05:00
Hannes Magnusson 1e269d56b3 Fix providing TLS options through AgentOptions 2017-12-05 10:47:12 -08:00
Oliver Joseph Ash 6ad156cd17 Node: use bracket notation for index signature lookup for TS 2.1
Support for index signature properties via dot notation was only added in TS 2.2 https://github.com/Microsoft/TypeScript/wiki/What%27s-new-in-TypeScript#dotted-property-for-types-with-string-index-signatures
2017-12-05 12:24:06 +00:00
Oliver Joseph Ash 63cf621848 Merge branch 'master' into patch-14 2017-12-05 12:12:23 +00:00
Ari Aviran 2b4eb32abf Reverting tslint changes 2017-12-05 08:40:44 +02:00
Ari Aviran 1e7042bf39 Merge remote-tracking branch 'first/master' into node4_buffer_alloc 2017-12-05 08:38:46 +02:00
Howard Mak e0ba98cf88 Add signature for Error.prepareStackTrace() as per https://github.com/v8/v8/wiki/Stack%20Trace%20API 2017-12-05 00:24:40 -05:00
Hannes Magnusson a385b18cd6 Export nodejs native tls.checkServerIdentity function 2017-12-04 12:18:51 -08:00
Hannes Magnusson d251c643c3 Fix lint error: 'tslint:disable' is forbidden 2017-12-04 07:38:30 -08:00
Ari Aviran dccfda5de4 [node] Add Buffer.alloc methods to node v4
Add `Buffer.alloc`, `Buffer.allocUnsafe` and `Buffer.allocUnsafeSlow`
class methods that were backported to node v4 (starting with v4.5).

In addition add tests to all node versions for these class methods and
fix tslint configuration to pass the tests
2017-12-04 12:02:43 +02:00
Cameron Taggart a59ba0346c export http2 constants in standard way 2017-11-26 22:25:40 -03:00
Piotr Roszatycki e36486c4e8 padLeft/padRight are defined in es2017.string lib already 2017-11-21 11:23:55 +01:00
Piotr Roszatycki ff4b1f0af7 String object has additional ES2017 and ESNEXT methods 2017-11-17 13:51:19 +01:00
Sebastian Silbermann df70a8d72c node: add documented highWaterMark option 2017-11-15 17:59:59 +01:00
Nathan Shively-Sanders 15033df87a Merge pull request #21256 from jez9999/patch-4
Add various effective UID and groups operations
2017-11-14 09:25:34 -08:00
Kevin Greene c4d7629e1b Merge remote-tracking branch 'upstream/master' into node-client 2017-11-13 16:06:34 -08:00
Oliver Joseph Ash a8e88654be Node: path.format input properties are optional (#21003)
* Node: `path.format` input properties are optional

If `base` does not exist, `name` and `ext` will be used to compute it.

http://devdocs.io/node/path#path_path_format_pathobject

* Node: `FormatInputPathObject`: all properties are optional

* Node: add myself as author

* Avoid usage of `Partial`
2017-11-10 07:37:12 -08:00
Kelvin Jin f5c7db2f30 [node] bump inspector types for V8 6.1 (#21012) 2017-11-07 09:23:37 -08:00
Andy 9413f9cb41 node types don't really require TypeScript@2.2 (#21283) 2017-11-06 11:28:30 -08:00
Teppei Sato a68863ebbd node: improve util.promisify (#21253) 2017-11-06 07:03:48 -08:00
Andrew Stucki ce7836d4ac Add windowsVerbatimArguments for node child_process (#20694) 2017-11-06 07:00:45 -08:00
Jeremy Morton 28f78b8c2a Use unions instead of overloads 2017-11-05 18:00:00 +00:00
Jeremy Morton ffbf3b101a Fix array type notation 2017-11-05 17:07:25 +00:00
Jeremy Morton e0da5d33e6 Add various effective UID and groups operations 2017-11-05 15:29:38 +00:00
Kevin Greene d17893c89b Add specific properties to iIncomingHttpHeaders 2017-10-27 12:30:59 -07:00
Kevin Greene 293dc4c62a Merge branch 'master' into node-client 2017-10-27 10:28:29 -07:00
Kevin Greene 6d2a1ad814 [node] Fix linting errors in node v8 2017-10-27 10:09:18 -07:00
Kevin Greene d1fe542d52 Account for 'set-cookie' header in Node v8 types 2017-10-27 10:05:05 -07:00
Kevin Greene df9c373de2 Make HttpHeader types more specific 2017-10-26 22:30:34 -07:00
Oliver Joseph Ash 95f225e44a Document types 2017-10-25 17:47:06 +01:00
Oliver Joseph Ash d12e7c1f38 Specify wider query for UrlObject 2017-10-25 17:46:33 +01:00
Oliver Joseph Ash c2b55c10e7 Create UrlObjectCommon and move wider port type to UrlObject 2017-10-25 17:46:15 +01:00
Kevin Greene 06a8ff4a13 Add tests for RequestOptions and ClientRequestArgs 2017-10-24 11:14:44 -07:00
Kevin Greene 3a86a2b2c5 [node] Fix linting errors 2017-10-24 09:02:06 -07:00
Andy 165e2bf7b0 Fix no-redundant-jsdoc ignores -- include no-redundant-jsdoc-2 (#20954) 2017-10-24 08:53:43 -07:00
Kevin Greene 63e6236af8 Fix to just make ClientRequestArgs an alias of RequestOptions 2017-10-23 15:32:52 -07:00
Jinwoo Lee b15672e837 Node http2: Fix types of statCheck() and getTrailers() (#20729)
The `headers` parameter of statCheck() and the `trailers` parameter of
getTrailers() must be OutgoingHttpHeaders, not IncomingHttpHeaders, because they
are to be updated by statCheck()/getTrailers() before being sent to the opposite
endpoint.
2017-10-23 14:58:48 -07:00
Flarna eba2b89b3c [node] Some fixes for net and https (#20662)
Sync Lookup function type in net, tls and dgram.
2017-10-23 13:17:14 -07:00
Andy a2c81182cf node: Fix lint (#20835) 2017-10-23 07:34:15 -07:00