@jsenv/filesystem 4.10.3 → 4.10.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/filesystem",
3
- "version": "4.10.3",
3
+ "version": "4.10.4",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -112,6 +112,12 @@ export const registerDirectoryLifecycle = (
112
112
  stat: null,
113
113
  };
114
114
  }
115
+ if (e.code === "EACCES") {
116
+ return {
117
+ type: null,
118
+ stat: null,
119
+ };
120
+ }
115
121
  throw e;
116
122
  }
117
123
  };