@stacksjs/router 0.58.43 → 0.58.45

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/dist/index.js +7 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  // @bun
2
- // /Users/chrisbreuer/Code/stacks/storage/framework/core/path/dist/index.js
2
+ // /home/runner/work/stacks/stacks/storage/framework/core/path/src/index.ts
3
3
  import process2 from "process";
4
4
 
5
- // /Users/chrisbreuer/Code/stacks/node_modules/pathe/dist/shared/pathe.ff20891b.mjs
5
+ // /home/runner/work/stacks/stacks/node_modules/pathe/dist/shared/pathe.ff20891b.mjs
6
6
  var normalizeWindowsPath = function(input = "") {
7
7
  if (!input) {
8
8
  return input;
@@ -99,16 +99,16 @@ var resolve = function(...arguments_) {
99
99
  var isAbsolute = function(p) {
100
100
  return _IS_ABSOLUTE_RE.test(p);
101
101
  };
102
- // /Users/chrisbreuer/Code/stacks/storage/framework/core/path/dist/index.js
103
- var appPath = function(path2) {
102
+ // /home/runner/work/stacks/stacks/storage/framework/core/path/src/index.ts
103
+ function appPath(path2) {
104
104
  return projectPath(`app/${path2 || ""}`);
105
- };
106
- var projectPath = function(filePath = "") {
105
+ }
106
+ function projectPath(filePath = "") {
107
107
  let path2 = process2.cwd();
108
108
  while (path2.includes("storage"))
109
109
  path2 = resolve(path2, "..");
110
110
  return resolve(path2, filePath);
111
- };
111
+ }
112
112
 
113
113
  // src/middleware.ts
114
114
  async function importMiddlewares(directory) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/router",
3
3
  "type": "module",
4
- "version": "0.58.43",
4
+ "version": "0.58.45",
5
5
  "description": "The Stacks framework router.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",