@marko/translator-default 5.31.3 → 5.31.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ function getComponentFiles({ hub: { file } }) {
|
|
15
15
|
const dirname = _path.default.dirname(filename);
|
16
16
|
const dirFiles = fs.readdirSync(dirname).sort();
|
17
17
|
const base = getBase(filename);
|
18
|
-
const isEntry = "index" === base;
|
18
|
+
const isEntry = "index" === base || "template" === base;
|
19
19
|
const fileMatch = `(${(0, _escapeStringRegexp.default)(base)}\\.${isEntry ? "|" : ""})`;
|
20
20
|
const styleMatch = new RegExp(`^${fileMatch}style\\.\\w+$`);
|
21
21
|
const componentMatch = new RegExp(`^${fileMatch}component\\.\\w+$`);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@marko/translator-default",
|
3
|
-
"version": "5.31.
|
3
|
+
"version": "5.31.5",
|
4
4
|
"description": "Translates Marko templates to the default Marko runtime.",
|
5
5
|
"keywords": [
|
6
6
|
"babel",
|
@@ -29,14 +29,14 @@
|
|
29
29
|
},
|
30
30
|
"dependencies": {
|
31
31
|
"@babel/runtime": "^7.16.0",
|
32
|
-
"@marko/babel-utils": "^6.3.
|
32
|
+
"@marko/babel-utils": "^6.3.2",
|
33
33
|
"escape-string-regexp": "^4.0.0",
|
34
34
|
"magic-string": "^0.27.0",
|
35
35
|
"self-closing-tags": "^1.0.1"
|
36
36
|
},
|
37
37
|
"devDependencies": {
|
38
|
-
"@marko/compiler": "^5.33.
|
39
|
-
"marko": "^5.31.
|
38
|
+
"@marko/compiler": "^5.33.5",
|
39
|
+
"marko": "^5.31.15"
|
40
40
|
},
|
41
41
|
"peerDependencies": {
|
42
42
|
"@marko/compiler": "^5.16.1",
|