@sveltejs/kit 1.0.0-next.200 → 1.0.0-next.201
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/dist/chunks/url.js +3 -0
- package/dist/cli.js +2 -2
- package/package.json +1 -1
package/dist/chunks/url.js
CHANGED
|
@@ -21,12 +21,15 @@ function get_single_valued_header(headers, key) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const absolute = /^([a-z]+:)?\/?\//;
|
|
24
|
+
const scheme = /^[a-z]+:/;
|
|
24
25
|
|
|
25
26
|
/**
|
|
26
27
|
* @param {string} base
|
|
27
28
|
* @param {string} path
|
|
28
29
|
*/
|
|
29
30
|
function resolve(base, path) {
|
|
31
|
+
if (scheme.test(path)) return path;
|
|
32
|
+
|
|
30
33
|
const base_match = absolute.exec(base);
|
|
31
34
|
const path_match = absolute.exec(path);
|
|
32
35
|
|
package/dist/cli.js
CHANGED
|
@@ -822,7 +822,7 @@ async function launch(port, https) {
|
|
|
822
822
|
exec(`${cmd} ${https ? 'https' : 'http'}://localhost:${port}`);
|
|
823
823
|
}
|
|
824
824
|
|
|
825
|
-
const prog = sade('svelte-kit').version('1.0.0-next.
|
|
825
|
+
const prog = sade('svelte-kit').version('1.0.0-next.201');
|
|
826
826
|
|
|
827
827
|
prog
|
|
828
828
|
.command('dev')
|
|
@@ -987,7 +987,7 @@ async function check_port(port) {
|
|
|
987
987
|
function welcome({ port, host, https, open, loose, allow, cwd }) {
|
|
988
988
|
if (open) launch(port, https);
|
|
989
989
|
|
|
990
|
-
console.log($.bold().cyan(`\n SvelteKit v${'1.0.0-next.
|
|
990
|
+
console.log($.bold().cyan(`\n SvelteKit v${'1.0.0-next.201'}\n`));
|
|
991
991
|
|
|
992
992
|
const protocol = https ? 'https:' : 'http:';
|
|
993
993
|
const exposed = typeof host !== 'undefined' && host !== 'localhost' && host !== '127.0.0.1';
|