@superhero/http-server 4.2.6 → 4.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/view.js +1 -1
package/package.json
CHANGED
package/view.js
CHANGED
|
@@ -53,7 +53,7 @@ export default class View
|
|
|
53
53
|
body : { enumerable: true, get: () => body, set: (value) => body = deepmerge(body, value) },
|
|
54
54
|
// The stream property is a transform stream in object mode that by default encodes objects
|
|
55
55
|
// as stringified JSON data records according to HTML5 standard Server-Sent Events (SSE).
|
|
56
|
-
stream : { enumerable:
|
|
56
|
+
stream : { enumerable: false, configurable: true, get: () => this.#lazyloadStream },
|
|
57
57
|
// The headers property is an object that represents the response headers.
|
|
58
58
|
headers : { enumerable: true, value: headers },
|
|
59
59
|
// The session property has a reference to this view object, not enumerable because
|