astro 1.0.0-beta.69 → 1.0.0-beta.71

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/astro.js CHANGED
@@ -50,7 +50,7 @@ async function main() {
50
50
  // it's okay to hard-code the valid Node versions here since they will not change over time.
51
51
  if (typeof require === 'undefined') {
52
52
  console.error(`\nNode.js v${version} is not supported by Astro!
53
- Please upgrade to a version of Node.js with complete ESM support: "^14.20.0 || >=16.16.0"\n`);
53
+ Please upgrade to a version of Node.js with complete ESM support: "^14.20.0 || >=16.14.0"\n`);
54
54
  }
55
55
 
56
56
  // Not supported: Report the most helpful error message possible.
@@ -16,6 +16,7 @@ const ALWAYS_EXTERNAL = /* @__PURE__ */ new Set([
16
16
  "@sveltejs/vite-plugin-svelte",
17
17
  "micromark-util-events-to-acorn",
18
18
  "@astrojs/markdown-remark",
19
+ "github-slugger",
19
20
  "node-fetch",
20
21
  "prismjs",
21
22
  "shiki",
@@ -47,7 +47,7 @@ async function dev(config, options) {
47
47
  site,
48
48
  https: !!((_a = viteConfig.server) == null ? void 0 : _a.https)
49
49
  }));
50
- const currentVersion = "1.0.0-beta.69";
50
+ const currentVersion = "1.0.0-beta.71";
51
51
  if (currentVersion.includes("-")) {
52
52
  warn(options.logging, null, msg.prerelease({ currentVersion }));
53
53
  }
@@ -47,7 +47,7 @@ function devStart({
47
47
  https,
48
48
  site
49
49
  }) {
50
- const version = "1.0.0-beta.69";
50
+ const version = "1.0.0-beta.71";
51
51
  const rootPath = site ? site.pathname : "/";
52
52
  const localPrefix = `${dim("\u2503")} Local `;
53
53
  const networkPrefix = `${dim("\u2503")} Network `;
@@ -206,7 +206,7 @@ function printHelp({
206
206
  };
207
207
  let message = [];
208
208
  if (headline) {
209
- message.push(linebreak(), ` ${bgGreen(black(` ${commandName} `))} ${green(`v${"1.0.0-beta.69"}`)} ${headline}`);
209
+ message.push(linebreak(), ` ${bgGreen(black(` ${commandName} `))} ${green(`v${"1.0.0-beta.71"}`)} ${headline}`);
210
210
  }
211
211
  if (usage) {
212
212
  message.push(linebreak(), ` ${green(commandName)} ${bold(usage)}`);
package/dist/core/util.js CHANGED
@@ -5,7 +5,7 @@ import resolve from "resolve";
5
5
  import slash from "slash";
6
6
  import { fileURLToPath, pathToFileURL } from "url";
7
7
  import { removeTrailingForwardSlash } from "./path.js";
8
- const ASTRO_VERSION = "1.0.0-beta.69";
8
+ const ASTRO_VERSION = "1.0.0-beta.71";
9
9
  function isObject(value) {
10
10
  return typeof value === "object" && value != null;
11
11
  }
@@ -465,9 +465,9 @@ export interface AstroUserConfig {
465
465
  * @type {boolean}
466
466
  * @default `false`
467
467
  * @description
468
- * Control if markdown draft pages should be included in the build.
468
+ * Control whether Markdown draft pages should be included in the build.
469
469
  *
470
- * A markdown page is considered a draft if it includes `draft: true` in its front matter. Draft pages are always included & visible during development (`astro dev`) but by default they will not be included in your final build.
470
+ * A Markdown page is considered a draft if it includes `draft: true` in its frontmatter. Draft pages are always included & visible during development (`astro dev`) but by default they will not be included in your final build.
471
471
  *
472
472
  * ```js
473
473
  * {
@@ -485,9 +485,9 @@ export interface AstroUserConfig {
485
485
  * @type {'md' | 'mdx'}
486
486
  * @default `mdx`
487
487
  * @description
488
- * Control if markdown processing is done using MDX or not.
488
+ * Control whether Markdown processing is done using MDX or not.
489
489
  *
490
- * MDX processing enables you to use JSX inside your Markdown files. However, there may be instances where you don't want this behavior, and would rather use a "vanilla" markdown processor. This field allows you to control that behavior.
490
+ * MDX processing enables you to use JSX inside your Markdown files. However, there may be instances where you don't want this behavior, and would rather use a "vanilla" Markdown processor. This field allows you to control that behavior.
491
491
  *
492
492
  * ```js
493
493
  * {
@@ -504,7 +504,7 @@ export interface AstroUserConfig {
504
504
  * @name markdown.shikiConfig
505
505
  * @typeraw {Partial<ShikiConfig>}
506
506
  * @description
507
- * Shiki configuration options. See [the markdown configuration docs](https://docs.astro.build/en/guides/markdown-content/#shiki-configuration) for usage.
507
+ * Shiki configuration options. See [the Markdown configuration docs](https://docs.astro.build/en/guides/markdown-content/#shiki-configuration) for usage.
508
508
  */
509
509
  shikiConfig?: Partial<ShikiConfig>;
510
510
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro",
3
- "version": "1.0.0-beta.69",
3
+ "version": "1.0.0-beta.71",
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",
@@ -70,11 +70,11 @@
70
70
  "vendor"
71
71
  ],
72
72
  "dependencies": {
73
- "@astrojs/compiler": "^0.18.2",
73
+ "@astrojs/compiler": "^0.19.0",
74
74
  "@astrojs/language-server": "^0.13.4",
75
- "@astrojs/markdown-remark": "^0.11.5",
76
- "@astrojs/prism": "0.5.0",
77
- "@astrojs/telemetry": "^0.3.1",
75
+ "@astrojs/markdown-remark": "^0.11.7",
76
+ "@astrojs/prism": "0.6.0",
77
+ "@astrojs/telemetry": "^0.4.0",
78
78
  "@astrojs/webapi": "^0.12.0",
79
79
  "@babel/core": "^7.18.2",
80
80
  "@babel/generator": "^7.18.2",
@@ -158,7 +158,7 @@
158
158
  "srcset-parse": "^1.1.0"
159
159
  },
160
160
  "engines": {
161
- "node": "^14.20.0 || >=16.16.0",
161
+ "node": "^14.20.0 || >=16.14.0",
162
162
  "npm": ">=6.14.0"
163
163
  },
164
164
  "scripts": {