@sveltejs/kit 1.0.0-next.282 → 1.0.0-next.283

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.
@@ -1844,7 +1844,7 @@ async function load_node({
1844
1844
 
1845
1845
  // generate __data.json files when prerendering
1846
1846
  if (shadow.body && state.prerender) {
1847
- const pathname = `${event.url.pathname}/__data.json`;
1847
+ const pathname = `${event.url.pathname.replace(/\/$/, '')}/__data.json`;
1848
1848
 
1849
1849
  const dependency = {
1850
1850
  response: new Response(undefined),
package/dist/cli.js CHANGED
@@ -998,7 +998,7 @@ async function launch(port, https) {
998
998
  exec(`${cmd} ${https ? 'https' : 'http'}://localhost:${port}`);
999
999
  }
1000
1000
 
1001
- const prog = sade('svelte-kit').version('1.0.0-next.282');
1001
+ const prog = sade('svelte-kit').version('1.0.0-next.283');
1002
1002
 
1003
1003
  prog
1004
1004
  .command('dev')
@@ -1156,7 +1156,7 @@ async function check_port(port) {
1156
1156
  function welcome({ port, host, https, open, loose, allow, cwd }) {
1157
1157
  if (open) launch(port, https);
1158
1158
 
1159
- console.log($.bold().cyan(`\n SvelteKit v${'1.0.0-next.282'}\n`));
1159
+ console.log($.bold().cyan(`\n SvelteKit v${'1.0.0-next.283'}\n`));
1160
1160
 
1161
1161
  const protocol = https ? 'https:' : 'http:';
1162
1162
  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.282",
3
+ "version": "1.0.0-next.283",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "devDependencies": {
18
18
  "@playwright/test": "^1.17.1",
19
- "@rollup/plugin-replace": "^3.0.0",
19
+ "@rollup/plugin-replace": "^4.0.0",
20
20
  "@types/amphtml-validator": "^1.0.1",
21
21
  "@types/cookie": "^0.4.1",
22
22
  "@types/marked": "^4.0.1",