| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2598527 commit 5f24cea
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1176,13 +1176,17 @@ ObjectDefineProperties(Readable.prototype, { | |||
| 1176 | 1176 | } | |
| 1177 | 1177 | }, | |
| 1178 | 1178 | ||
| 1179 | - // Legacy getter for `pipesCount` | ||
| 1179 | + }); | ||
| 1180 | + | ||
| 1181 | + ObjectDefineProperties(ReadableState.prototype, { | ||
| 1182 | + // Legacy getter for `pipesCount`. | ||
| 1180 | 1183 | pipesCount: { | |
| 1181 | 1184 | get() { | |
| 1182 | 1185 | return this.pipes.length; | |
| 1183 | 1186 | } | |
| 1184 | 1187 | }, | |
| 1185 | 1188 | ||
| 1189 | + // Legacy property for `paused`. | ||
| 1186 | 1190 | paused: { | |
| 1187 | 1191 | get() { | |
| 1188 | 1192 | return this[kPaused] !== false; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments