@plumeria/turbopack-loader 18.3.12 → 18.3.13
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/index.js +6 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1260,14 +1260,16 @@ async function loader(source) {
|
|
|
1260
1260
|
? scannedTables.componentPropsTable?.[`${resourcePath}-${owner}`]?.[varName]
|
|
1261
1261
|
: undefined;
|
|
1262
1262
|
if (!possibilities) {
|
|
1263
|
+
const candidates = [];
|
|
1263
1264
|
for (const key of Object.keys(scannedTables.componentPropsTable || {})) {
|
|
1264
1265
|
if (!key.startsWith(`${resourcePath}-`))
|
|
1265
1266
|
continue;
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
}
|
|
1267
|
+
const entries = scannedTables.componentPropsTable?.[key]?.[varName];
|
|
1268
|
+
if (entries)
|
|
1269
|
+
candidates.push(...entries);
|
|
1270
1270
|
}
|
|
1271
|
+
if (candidates.length > 0)
|
|
1272
|
+
possibilities = candidates;
|
|
1271
1273
|
}
|
|
1272
1274
|
if (!possibilities || possibilities.length === 0)
|
|
1273
1275
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/turbopack-loader",
|
|
3
|
-
"version": "18.3.
|
|
3
|
+
"version": "18.3.13",
|
|
4
4
|
"description": "Plumeria Turbopack-loader",
|
|
5
5
|
"author": "Refirst 11",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"zero-virtual.css"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@plumeria/compiler": "^18.3.
|
|
33
|
-
"@plumeria/utils": "^18.3.
|
|
32
|
+
"@plumeria/compiler": "^18.3.13",
|
|
33
|
+
"@plumeria/utils": "^18.3.13"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@swc/core": "1.15.47",
|