@plumeria/utils 19.2.6 → 19.2.7

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.
Files changed (2) hide show
  1. package/dist/parser.js +3 -4
  2. package/package.json +1 -1
package/dist/parser.js CHANGED
@@ -1635,10 +1635,8 @@ function scanAll(scanCwd = process.cwd()) {
1635
1635
  }
1636
1636
  }
1637
1637
  }
1638
- if (isFirstPass) {
1639
- extractAndCacheExports(filePath, ast, mtimeMs);
1638
+ if (isFirstPass)
1640
1639
  continue;
1641
- }
1642
1640
  jsxPhaseQueue.push({
1643
1641
  filePath,
1644
1642
  ast,
@@ -2123,7 +2121,8 @@ function scanAll(scanCwd = process.cwd()) {
2123
2121
  }
2124
2122
  for (const props of Object.values(localTables.componentPropsTable ?? {})) {
2125
2123
  for (const entries of Object.values(props))
2126
- entries.sort((a, b) => a.filePath.localeCompare(b.filePath) || a.spanStart - b.spanStart);
2124
+ entries.sort((a, b) => (a.filePath < b.filePath ? -1 : a.filePath > b.filePath ? 1 : 0) ||
2125
+ a.spanStart - b.spanStart);
2127
2126
  }
2128
2127
  hasComputedOnce = true;
2129
2128
  return snapshotTables();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/utils",
3
- "version": "19.2.6",
3
+ "version": "19.2.7",
4
4
  "description": "Plumeria Utils",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",