@ark/fs 0.32.0 → 0.33.0

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/out/fs.js +3 -1
  2. package/package.json +1 -1
package/out/fs.js CHANGED
@@ -96,8 +96,10 @@ export const findPackageAncestors = (fromDir) => {
96
96
  let dir = fromDir ?? dirOfCaller();
97
97
  while (dir) {
98
98
  dir = findPackageRoot(dir);
99
- if (dir)
99
+ if (dir) {
100
100
  dirs.push(dir);
101
+ dir = join(dir, "..");
102
+ }
101
103
  }
102
104
  return dirs;
103
105
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ark/fs",
3
- "version": "0.32.0",
3
+ "version": "0.33.0",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "David Blass",