marko 5.39.40 → 5.39.41
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.
|
@@ -14,7 +14,13 @@ function getComponentFiles({ hub: { file } }) {
|
|
|
14
14
|
const { filename } = file.opts;
|
|
15
15
|
const fs = file.markoOpts.fileSystem;
|
|
16
16
|
const dirname = _path.default.dirname(filename);
|
|
17
|
-
|
|
17
|
+
let dirFiles;
|
|
18
|
+
try {
|
|
19
|
+
dirFiles = fs.readdirSync(dirname).sort();
|
|
20
|
+
} catch {
|
|
21
|
+
// An in-memory source may name a directory that does not exist.
|
|
22
|
+
dirFiles = [];
|
|
23
|
+
}
|
|
18
24
|
const base = getBase(filename);
|
|
19
25
|
const isEntry = "index" === base || "template" === base;
|
|
20
26
|
const fileMatch = `(${(0, _escapeRegexp.escapeRegExp)(base)}\\.${isEntry ? "|" : ""})`;
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "marko",
|
|
3
|
-
"version": "5.39.
|
|
3
|
+
"version": "5.39.41",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.",
|
|
6
6
|
"keywords": [
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"types": "index.d.ts",
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@marko/compiler": "^5.42.5",
|
|
71
|
-
"@marko/runtime-tags": "^6.3.
|
|
71
|
+
"@marko/runtime-tags": "^6.3.52",
|
|
72
72
|
"app-module-path": "^2.2.0",
|
|
73
73
|
"argly": "^1.2.0",
|
|
74
74
|
"browser-refresh-client": "1.1.4",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"warp10": "^2.1.0"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
|
-
"marko": "5.39.
|
|
87
|
+
"marko": "5.39.41"
|
|
88
88
|
},
|
|
89
89
|
"engines": {
|
|
90
90
|
"node": ">=22"
|
|
@@ -14,7 +14,13 @@ export default function getComponentFiles({ hub: { file } }) {
|
|
|
14
14
|
const { filename } = file.opts;
|
|
15
15
|
const fs = file.markoOpts.fileSystem;
|
|
16
16
|
const dirname = path.dirname(filename);
|
|
17
|
-
|
|
17
|
+
let dirFiles;
|
|
18
|
+
try {
|
|
19
|
+
dirFiles = fs.readdirSync(dirname).sort();
|
|
20
|
+
} catch {
|
|
21
|
+
// An in-memory source may name a directory that does not exist.
|
|
22
|
+
dirFiles = [];
|
|
23
|
+
}
|
|
18
24
|
const base = getBase(filename);
|
|
19
25
|
const isEntry = "index" === base || "template" === base;
|
|
20
26
|
const fileMatch = `(${escapeRegExp(base)}\\.${isEntry ? "|" : ""})`;
|