@sveltejs/kit 1.0.0-next.250 → 1.0.0-next.251

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.
@@ -175,7 +175,7 @@ function is_pojo(body) {
175
175
  if (body._readableState && body._writableState && body._events) return false;
176
176
 
177
177
  // similarly, it could be a web ReadableStream
178
- if (body[Symbol.toStringTag] === 'ReadableStream') return false;
178
+ if (typeof ReadableStream !== 'undefined' && body instanceof ReadableStream) return false;
179
179
  }
180
180
 
181
181
  return true;
@@ -201,7 +201,7 @@ function is_pojo(body) {
201
201
  if (body._readableState && body._writableState && body._events) return false;
202
202
 
203
203
  // similarly, it could be a web ReadableStream
204
- if (body[Symbol.toStringTag] === 'ReadableStream') return false;
204
+ if (typeof ReadableStream !== 'undefined' && body instanceof ReadableStream) return false;
205
205
  }
206
206
 
207
207
  return true;
package/dist/cli.js CHANGED
@@ -989,7 +989,7 @@ async function launch(port, https) {
989
989
  exec(`${cmd} ${https ? 'https' : 'http'}://localhost:${port}`);
990
990
  }
991
991
 
992
- const prog = sade('svelte-kit').version('1.0.0-next.250');
992
+ const prog = sade('svelte-kit').version('1.0.0-next.251');
993
993
 
994
994
  prog
995
995
  .command('dev')
@@ -1147,7 +1147,7 @@ async function check_port(port) {
1147
1147
  function welcome({ port, host, https, open, loose, allow, cwd }) {
1148
1148
  if (open) launch(port, https);
1149
1149
 
1150
- console.log($.bold().cyan(`\n SvelteKit v${'1.0.0-next.250'}\n`));
1150
+ console.log($.bold().cyan(`\n SvelteKit v${'1.0.0-next.251'}\n`));
1151
1151
 
1152
1152
  const protocol = https ? 'https:' : 'http:';
1153
1153
  const exposed = typeof host !== 'undefined' && host !== 'localhost' && host !== '127.0.0.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/kit",
3
- "version": "1.0.0-next.250",
3
+ "version": "1.0.0-next.251",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",