@sveltejs/kit 1.0.0-next.324 → 1.0.0-next.325

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.
Files changed (2) hide show
  1. package/dist/cli.js +4 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -870,7 +870,7 @@ async function launch(port, https, base) {
870
870
  exec(`${cmd} ${https ? 'https' : 'http'}://localhost:${port}${base}`);
871
871
  }
872
872
 
873
- const prog = sade('svelte-kit').version('1.0.0-next.324');
873
+ const prog = sade('svelte-kit').version('1.0.0-next.325');
874
874
 
875
875
  prog
876
876
  .command('dev')
@@ -1049,7 +1049,7 @@ async function check_port(port) {
1049
1049
  function welcome({ port, host, https, open, base, loose, allow, cwd }) {
1050
1050
  if (open) launch(port, https, base);
1051
1051
 
1052
- console.log($.bold().cyan(`\n SvelteKit v${'1.0.0-next.324'}\n`));
1052
+ console.log($.bold().cyan(`\n SvelteKit v${'1.0.0-next.325'}\n`));
1053
1053
 
1054
1054
  const protocol = https ? 'https:' : 'http:';
1055
1055
  const exposed = typeof host !== 'undefined' && host !== 'localhost' && host !== '127.0.0.1';
@@ -1057,7 +1057,8 @@ function welcome({ port, host, https, open, base, loose, allow, cwd }) {
1057
1057
  Object.values(networkInterfaces()).forEach((interfaces) => {
1058
1058
  if (!interfaces) return;
1059
1059
  interfaces.forEach((details) => {
1060
- if (details.family !== 'IPv4') return;
1060
+ // @ts-ignore node18 returns a number
1061
+ if (details.family !== 'IPv4' && details.family !== 4) return;
1061
1062
 
1062
1063
  // prettier-ignore
1063
1064
  if (details.internal) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/kit",
3
- "version": "1.0.0-next.324",
3
+ "version": "1.0.0-next.325",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",