Skip to content

Commit 3f28291

Browse files
mcollinadougwilson
authored andcommitted
Update readable-stream to 2.2.9
closes #1677
1 parent 35bcdb1 commit 3f28291

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Changes.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ you spot any mistakes.
77
## HEAD
88

99
* Add `sql` property to query `Error` objects #1462 #1628 #1629
10+
* Update `readable-stream` to 2.2.9
1011
* Use `safe-buffer` for improved Buffer API
1112

1213
## v2.13.0 (2017-01-24)

Readme.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
- [Getting the connection ID](#getting-the-connection-id)
3838
- [Executing queries in parallel](#executing-queries-in-parallel)
3939
- [Streaming query rows](#streaming-query-rows)
40-
- [Piping results with Streams2](#piping-results-with-streams2)
40+
- [Piping results with Streams](#piping-results-with-streams)
4141
- [Multiple statement queries](#multiple-statement-queries)
4242
- [Stored procedures](#stored-procedures)
4343
- [Joins with overlapping column names](#joins-with-overlapping-column-names)
@@ -909,14 +909,13 @@ stream individual row columns, they will always be buffered up entirely. If you
909909
have a good use case for streaming large fields to and from MySQL, I'd love to
910910
get your thoughts and contributions on this.
911911

912-
### Piping results with Streams2
912+
### Piping results with Streams
913913

914914
The query object provides a convenience method `.stream([options])` that wraps
915-
query events into a [Readable](http://nodejs.org/api/stream.html#stream_class_stream_readable)
916-
[Streams2](http://blog.nodejs.org/2012/12/20/streams2/) object. This
917-
stream can easily be piped downstream and provides automatic pause/resume,
918-
based on downstream congestion and the optional `highWaterMark`. The
919-
`objectMode` parameter of the stream is set to `true` and cannot be changed
915+
query events into a [Readable Stream](http://nodejs.org/api/stream.html#stream_class_stream_readable)
916+
object. This stream can easily be piped downstream and provides automatic
917+
pause/resume, based on downstream congestion and the optional `highWaterMark`.
918+
The `objectMode` parameter of the stream is set to `true` and cannot be changed
920919
(if you need a byte stream, you will need to use a transform stream, like
921920
[objstream](https://www.npmjs.com/package/objstream) for example).
922921

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"repository": "mysqljs/mysql",
1414
"dependencies": {
1515
"bignumber.js": "3.1.2",
16-
"readable-stream": "1.1.14",
16+
"readable-stream": "2.2.9",
1717
"safe-buffer": "5.0.1",
1818
"sqlstring": "2.2.0"
1919
},

0 commit comments

Comments
 (0)