@jsenv/core 39.5.9 → 39.5.11
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/jsenv_core.js +12 -8
- package/package.json +2 -2
package/dist/jsenv_core.js
CHANGED
|
@@ -3967,13 +3967,12 @@ const registerDirectoryLifecycle = (
|
|
|
3967
3967
|
patternValue,
|
|
3968
3968
|
};
|
|
3969
3969
|
} catch (e) {
|
|
3970
|
-
if (
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
if (e.code === "EACCES" || e.code === "EPERM") {
|
|
3970
|
+
if (
|
|
3971
|
+
e.code === "ENOENT" ||
|
|
3972
|
+
e.code === "EACCES" ||
|
|
3973
|
+
e.code === "EPERM" ||
|
|
3974
|
+
e.code === "ENOTDIR" // happens on mac12 sometimes
|
|
3975
|
+
) {
|
|
3977
3976
|
return {
|
|
3978
3977
|
type: null,
|
|
3979
3978
|
stat: null,
|
|
@@ -4112,7 +4111,12 @@ const registerDirectoryLifecycle = (
|
|
|
4112
4111
|
const directoryUrlObject = new URL(directoryUrl);
|
|
4113
4112
|
entryNameArray = readdirSync(directoryUrlObject);
|
|
4114
4113
|
} catch (e) {
|
|
4115
|
-
if (
|
|
4114
|
+
if (
|
|
4115
|
+
e.code === "ENOENT" ||
|
|
4116
|
+
e.code === "EACCES" ||
|
|
4117
|
+
e.code === "EPERM" ||
|
|
4118
|
+
e.code === "ENOTDIR"
|
|
4119
|
+
) {
|
|
4116
4120
|
return;
|
|
4117
4121
|
}
|
|
4118
4122
|
throw e;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/core",
|
|
3
|
-
"version": "39.5.
|
|
3
|
+
"version": "39.5.11",
|
|
4
4
|
"description": "Tool to develop, test and build js projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@financial-times/polyfill-useragent-normaliser": "1.10.2",
|
|
71
71
|
"@jsenv/abort": "4.3.0",
|
|
72
72
|
"@jsenv/ast": "6.2.17",
|
|
73
|
-
"@jsenv/filesystem": "4.10.
|
|
73
|
+
"@jsenv/filesystem": "4.10.11",
|
|
74
74
|
"@jsenv/humanize": "1.2.8",
|
|
75
75
|
"@jsenv/importmap": "1.2.1",
|
|
76
76
|
"@jsenv/integrity": "0.0.2",
|