@h3ravel/config 1.3.2 → 1.3.4

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.
@@ -7924,38 +7924,6 @@ var require_pluralize = __commonJS({
7924
7924
  }
7925
7925
  });
7926
7926
 
7927
- // ../../node_modules/.pnpm/fs-readdir-recursive@1.1.0/node_modules/fs-readdir-recursive/index.js
7928
- var require_fs_readdir_recursive = __commonJS({
7929
- "../../node_modules/.pnpm/fs-readdir-recursive@1.1.0/node_modules/fs-readdir-recursive/index.js"(exports, module) {
7930
- "use strict";
7931
- var fs = __require("fs");
7932
- var path2 = __require("path");
7933
- module.exports = read;
7934
- function read(root, filter, files, prefix) {
7935
- prefix = prefix || "";
7936
- files = files || [];
7937
- filter = filter || noDotFiles;
7938
- var dir = path2.join(root, prefix);
7939
- if (!fs.existsSync(dir))
7940
- return files;
7941
- if (fs.statSync(dir).isDirectory())
7942
- fs.readdirSync(dir).filter(function(name, index) {
7943
- return filter(name, index, dir);
7944
- }).forEach(function(name) {
7945
- read(root, filter, files, path2.join(prefix, name));
7946
- });
7947
- else
7948
- files.push(prefix);
7949
- return files;
7950
- }
7951
- __name(read, "read");
7952
- function noDotFiles(x) {
7953
- return x[0] !== ".";
7954
- }
7955
- __name(noDotFiles, "noDotFiles");
7956
- }
7957
- });
7958
-
7959
7927
  // ../../node_modules/.pnpm/js-stringify@1.0.2/node_modules/js-stringify/index.js
7960
7928
  var require_js_stringify = __commonJS({
7961
7929
  "../../node_modules/.pnpm/js-stringify@1.0.2/node_modules/js-stringify/index.js"(exports, module) {
@@ -8553,7 +8521,7 @@ var require_inspect2 = __commonJS({
8553
8521
  var import_reflect_metadata = __toESM(require_Reflect(), 1);
8554
8522
  import { PathLoader } from "@h3ravel/shared";
8555
8523
  import dotenv from "dotenv";
8556
- import path from "path";
8524
+ import path from "node:path";
8557
8525
 
8558
8526
  // ../../node_modules/.pnpm/edge.js@6.3.0/node_modules/edge.js/build/chunk-EKKK4GME.js
8559
8527
  var import_he = __toESM(require_he(), 1);
@@ -11302,12 +11270,12 @@ import { fileURLToPath } from "url";
11302
11270
  var main_default2 = index_default;
11303
11271
 
11304
11272
  // ../../node_modules/.pnpm/edge.js@6.3.0/node_modules/edge.js/build/index.js
11305
- var import_fs_readdir_recursive = __toESM(require_fs_readdir_recursive(), 1);
11306
11273
  import { join as join2, isAbsolute } from "path";
11274
+ import readdirSync from "fs-readdir-recursive";
11307
11275
  import { existsSync, readFileSync } from "fs";
11308
11276
 
11309
11277
  // ../../node_modules/.pnpm/edge-parser@9.0.4/node_modules/edge-parser/build/index.js
11310
- import { EOL as EOL2 } from "os";
11278
+ import { EOL as EOL2 } from "node:os";
11311
11279
 
11312
11280
  // ../../node_modules/.pnpm/edge-lexer@6.0.3/node_modules/edge-lexer/build/chunk-WLTPKIE5.js
11313
11281
  var MustacheTypes = /* @__PURE__ */ ((MustacheTypes2) => {
@@ -18606,7 +18574,7 @@ __name(parse5, "parse");
18606
18574
 
18607
18575
  // ../../node_modules/.pnpm/edge-parser@9.0.4/node_modules/edge-parser/build/index.js
18608
18576
  var import_js_stringify = __toESM(require_js_stringify(), 1);
18609
- import { EOL as EOL22 } from "os";
18577
+ import { EOL as EOL22 } from "node:os";
18610
18578
  var __defProp4 = Object.defineProperty;
18611
18579
  var __export3 = /* @__PURE__ */ __name((target, all) => {
18612
18580
  for (var name in all)
@@ -19399,7 +19367,7 @@ var Loader = class {
19399
19367
  };
19400
19368
  }) : [];
19401
19369
  if (existsSync(join2(diskBasePath, componentsDirName))) {
19402
- files = files.concat((0, import_fs_readdir_recursive.default)(join2(diskBasePath, componentsDirName)).filter((file) => file.endsWith(".edge")).map((template) => {
19370
+ files = files.concat(readdirSync(join2(diskBasePath, componentsDirName)).filter((file) => file.endsWith(".edge")).map((template) => {
19403
19371
  const fileName = slash(template).replace(/\.edge$/, "");
19404
19372
  return {
19405
19373
  fileName,
@@ -19424,7 +19392,7 @@ var Loader = class {
19424
19392
  const diskBasePath = this.#mountedDirs.get(diskName);
19425
19393
  let files = diskName === "default" ? Array.from(this.#preRegistered.keys()) : [];
19426
19394
  if (existsSync(diskBasePath)) {
19427
- files = files.concat((0, import_fs_readdir_recursive.default)(join2(diskBasePath)).filter((file) => file.endsWith(".edge")));
19395
+ files = files.concat(readdirSync(join2(diskBasePath)).filter((file) => file.endsWith(".edge")));
19428
19396
  }
19429
19397
  return files.map((file) => {
19430
19398
  const fileName = slash(file).replace(/\.edge$/, "");
@@ -21571,4 +21539,4 @@ bytes/index.js:
21571
21539
  * MIT Licensed
21572
21540
  *)
21573
21541
  */
21574
- //# sourceMappingURL=chunk-4W6577EG.js.map
21542
+ //# sourceMappingURL=chunk-KEEZ4MID.js.map