astro 2.4.2 → 2.4.3

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.
@@ -1,4 +1,4 @@
1
- const ASTRO_VERSION = "2.4.2";
1
+ const ASTRO_VERSION = "2.4.3";
2
2
  const SUPPORTED_MARKDOWN_FILE_EXTENSIONS = [
3
3
  ".markdown",
4
4
  ".mdown",
@@ -40,7 +40,9 @@ const ONLY_DEV_EXTERNAL = [
40
40
  // Imported by `<Code/>` which is processed by Vite
41
41
  "shiki",
42
42
  // Imported by `@astrojs/prism` which exposes `<Prism/>` that is processed by Vite
43
- "prismjs/components/index.js"
43
+ "prismjs/components/index.js",
44
+ // Imported by `astro/assets` -> `packages/astro/src/core/logger/core.ts`
45
+ "string-width"
44
46
  ];
45
47
  async function createVite(commandConfig, { settings, logging, mode, command, fs = nodeFs }) {
46
48
  var _a, _b;
@@ -53,7 +53,7 @@ async function dev(settings, options) {
53
53
  isRestart: options.isRestart
54
54
  })
55
55
  );
56
- const currentVersion = "2.4.2";
56
+ const currentVersion = "2.4.3";
57
57
  if (currentVersion.includes("-")) {
58
58
  warn(options.logging, null, msg.prerelease({ currentVersion }));
59
59
  }
@@ -47,7 +47,7 @@ function serverStart({
47
47
  base,
48
48
  isRestart = false
49
49
  }) {
50
- const version = "2.4.2";
50
+ const version = "2.4.3";
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.4.2"}`
236
+ `v${"2.4.3"}`
237
237
  )} ${headline}`
238
238
  );
239
239
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro",
3
- "version": "2.4.2",
3
+ "version": "2.4.3",
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",
@@ -20,6 +20,9 @@
20
20
  ],
21
21
  "app/*": [
22
22
  "./dist/core/app/*"
23
+ ],
24
+ "middleware": [
25
+ "./dist/core/middleware/index.d.ts"
23
26
  ]
24
27
  }
25
28
  },