astro 2.10.6 → 2.10.7

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.
@@ -263,7 +263,10 @@ const { fallback = 'animate' } = Astro.props as Props;
263
263
  link.href &&
264
264
  (!link.target || link.target === '_self') &&
265
265
  link.origin === location.origin &&
266
- location.pathname !== link.pathname &&
266
+ !(
267
+ // Same page means same path and same query params
268
+ (location.pathname === link.pathname && location.search === link.search)
269
+ ) &&
267
270
  ev.button === 0 && // left clicks only
268
271
  !ev.metaKey && // new tab (mac)
269
272
  !ev.ctrlKey && // new tab (windows)
@@ -1,4 +1,4 @@
1
- const ASTRO_VERSION = "2.10.6";
1
+ const ASTRO_VERSION = "2.10.7";
2
2
  const SUPPORTED_MARKDOWN_FILE_EXTENSIONS = [
3
3
  ".markdown",
4
4
  ".mdown",
@@ -23,7 +23,7 @@ async function dev(inlineConfig) {
23
23
  base: restart.container.settings.config.base
24
24
  })
25
25
  );
26
- const currentVersion = "2.10.6";
26
+ const currentVersion = "2.10.7";
27
27
  if (currentVersion.includes("-")) {
28
28
  warn(logging, null, msg.prerelease({ currentVersion }));
29
29
  }
@@ -47,7 +47,7 @@ function serverStart({
47
47
  base,
48
48
  isRestart = false
49
49
  }) {
50
- const version = "2.10.6";
50
+ const version = "2.10.7";
51
51
  const localPrefix = `${dim("\u2503")} Local `;
52
52
  const networkPrefix = `${dim("\u2503")} Network `;
53
53
  const emptyPrefix = " ".repeat(11);
@@ -233,7 +233,7 @@ function printHelp({
233
233
  message.push(
234
234
  linebreak(),
235
235
  ` ${bgGreen(black(` ${commandName} `))} ${green(
236
- `v${"2.10.6"}`
236
+ `v${"2.10.7"}`
237
237
  )} ${headline}`
238
238
  );
239
239
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro",
3
- "version": "2.10.6",
3
+ "version": "2.10.7",
4
4
  "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
5
5
  "type": "module",
6
6
  "author": "withastro",