create-vue 3.16.1 → 3.16.2

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.
Files changed (2) hide show
  1. package/bundle.js +3 -3
  2. package/package.json +1 -1
package/bundle.js CHANGED
@@ -11,13 +11,13 @@ import * as path$4 from "node:path";
11
11
  import * as path$3 from "node:path";
12
12
  import * as path$2 from "node:path";
13
13
  import * as path from "node:path";
14
+ import { fileURLToPath, pathToFileURL } from "node:url";
14
15
  import { parseArgs, stripVTControlCharacters } from "node:util";
15
16
  import g, { stdin, stdout } from "node:process";
16
17
  import * as f$1 from "node:readline";
17
18
  import M from "node:readline";
18
19
  import { WriteStream } from "node:tty";
19
20
  import * as path$1 from "path";
20
- import { pathToFileURL } from "node:url";
21
21
 
22
22
  //#region rolldown:runtime
23
23
  var __create = Object.create;
@@ -2705,7 +2705,7 @@ function emptyRouterConfig(rootDir, needsTypeScript) {
2705
2705
  //#endregion
2706
2706
  //#region package.json
2707
2707
  var name = "create-vue";
2708
- var version = "3.16.1";
2708
+ var version = "3.16.2";
2709
2709
  var description = "🛠️ The recommended way to start a Vite-powered Vue project";
2710
2710
  var type = "module";
2711
2711
  var packageManager = "pnpm@10.7.0";
@@ -3032,7 +3032,7 @@ async function init() {
3032
3032
  version: "0.0.0"
3033
3033
  };
3034
3034
  fs.writeFileSync(path.resolve(root, "package.json"), JSON.stringify(pkg, null, 2));
3035
- const templateRoot = new URL("./template", import.meta.url).pathname;
3035
+ const templateRoot = fileURLToPath(new URL("./template", import.meta.url));
3036
3036
  const callbacks = [];
3037
3037
  const render = function render$1(templateName) {
3038
3038
  const templateDir = path.resolve(templateRoot, templateName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vue",
3
- "version": "3.16.1",
3
+ "version": "3.16.2",
4
4
  "description": "🛠️ The recommended way to start a Vite-powered Vue project",
5
5
  "type": "module",
6
6
  "bin": {