File: CHANGELOG.md

package info (click to toggle)
node-minipass 5.0.0%2B~cs10.3.21-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,220 kB
  • sloc: javascript: 8,049; sh: 33; makefile: 5
file content (116 lines) | stat: -rw-r--r-- 2,393 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# chernge lerg

## 5.0

- No default export, only a named export

## 4.2

- add AbortSignal support
- allow falsey values to be emitted in `objectMode`

## 4.1

- hybrid module

## 4.0

- make `.buffer` and `.pipes` private

## 3.3

- add type definitions
- add `pipe(dest, { proxyErrors: true })`
- add `unpipe(dest)` method

## 3.2

- add `{async: true}` option for async opt-in
- `'readable'` event emitted immediately when listened for
- use regular array instead of yallist

## 3.1

- re-emit 'error' event if missed and new listener added
- handle missing `process` object
- extend Stream instead of EventEmitter

## 3.0

- update yallist, drop safe-buffer

## 2.9

- treat ArrayBuffers and TypedArrays the same as Buffers

## 2.8

- remove undocumented 'ended' getter
- support setting objectMode implicitly or explicitly
- add several getters to mirror API of node core streams better
- add stream.destroy()

## 2.7

- only emit 'readable' when data is buffered
- add MiniPass.isStream() static method

## 2.6

- don't pause when a dest.write() returns a non-boolean falsey
- do not auto-end if explicitly paused
- piping from an ended stream ends the dest
- do not remove all endish listeners on endish events
- add `promise()` method

## 2.5

- guard against emitting other events while emitting end
- add stream.concat() to collect into one chunk

## 2.4

- stream.end() returns this

## 2.3

- harden against missed 'end' events
- not allow 'end' events to happen more than once
- add sync and async iteration
- add stream.collect()

## 2.2

- use Buffer.from to avoid DEP005.
- remove drain listener when done piping to dest
- add support for `pipe(dest, { end: false })`
- throw on illegal encoding change

## 2.1

- don't allow changing encoding in problematic cases
- fast-path strings
- add objectMode

## 2.0

- emit 'resume' on resume()
- add bufferLength property
- remove the baroque streams getters

## 1.2

- add baroque streams getters

## 1.1

- communicate backpressure immediately, including drain on resume
- defend against internal resume() being overwritten
- emit 'drain' when read() clears the buffer
- make stream.flowing read-only
- return full buffer if read() with no args
- add support for setEncoding
- mark as readable and writable
- pipe() returns destination stream
- don't try to end() stderr and stdout when piping
- end(chunk, encoding, cb) support