@sveltejs/kit 1.8.2 → 1.8.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/kit",
3
- "version": "1.8.2",
3
+ "version": "1.8.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -141,9 +141,9 @@ export async function render_data(
141
141
  }),
142
142
  {
143
143
  headers: {
144
- // text/plain isn't strictly correct, but it makes it easier to inspect
145
- // the data, and doesn't affect how it is consumed by the client
146
- 'content-type': 'text/plain',
144
+ // we use a proprietary content type to prevent buffering.
145
+ // the `text` prefix makes it inspectable
146
+ 'content-type': 'text/sveltekit-data',
147
147
  'cache-control': 'private, no-store'
148
148
  }
149
149
  }