@danielx/civet 0.10.5 → 0.10.6

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/dist/civet CHANGED
@@ -29,7 +29,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  ));
30
30
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
31
31
 
32
- // unplugin-civet:/home/daniel/apps/Civet/source/cli.civet.jsx
32
+ // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\cli.civet.jsx
33
33
  var cli_civet_exports = {};
34
34
  __export(cli_civet_exports, {
35
35
  cli: () => cli,
@@ -368,6 +368,7 @@ async function repl(args, options) {
368
368
  return;
369
369
  })(),
370
370
  eval: async function(input, context, filename, callback) {
371
+ input = input.replace(/\r/g, "\n");
371
372
  if (input === "\n") {
372
373
  return callback(null, void 0);
373
374
  } else if (input in ["quit\n", "exit\n", "quit()\n", "exit()\n"]) {
package/dist/config.js CHANGED
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  ));
27
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
28
 
29
- // unplugin-civet:/home/daniel/apps/Civet/source/config.civet.jsx
29
+ // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\config.civet.jsx
30
30
  var config_civet_exports = {};
31
31
  __export(config_civet_exports, {
32
32
  default: () => config_civet_default,
package/dist/config.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // unplugin-civet:/home/daniel/apps/Civet/source/config.civet.jsx
1
+ // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\config.civet.jsx
2
2
  import path from "path";
3
3
  import fs from "fs/promises";
4
4
  import { compile } from "./main.mjs";
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  ));
27
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
28
 
29
- // unplugin-civet:/home/daniel/apps/Civet/source/esbuild-plugin.civet.jsx
29
+ // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\esbuild-plugin.civet.jsx
30
30
  var esbuild_plugin_civet_exports = {};
31
31
  __export(esbuild_plugin_civet_exports, {
32
32
  default: () => esbuild_plugin_civet_default
package/dist/esm.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // unplugin-civet:/home/daniel/apps/Civet/source/esm.civet.jsx
1
+ // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\esm.civet.jsx
2
2
  import { readFile } from "fs/promises";
3
3
  import { dirname } from "path";
4
4
  import { pathToFileURL, fileURLToPath } from "url";