@karmaniverous/jeeves-meta 0.11.2 → 0.11.3

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.
@@ -1767,7 +1767,7 @@ async function mergeAndWrite(options) {
1767
1767
  */
1768
1768
  async function buildMinimalNode(metaPath, watcher) {
1769
1769
  const normalized = normalizePath(metaPath);
1770
- const ownerPath = normalizePath(dirname(metaPath));
1770
+ const ownerPath = posix.dirname(normalized);
1771
1771
  // Find child metas using watcher walk.
1772
1772
  // We include only *direct* children (nearest descendants in the ownership tree)
1773
1773
  // to match the ownership semantics used elsewhere.
@@ -1775,10 +1775,10 @@ async function buildMinimalNode(metaPath, watcher) {
1775
1775
  `${escapeGlob(ownerPath)}/**/.meta/meta.json`,
1776
1776
  ]);
1777
1777
  const candidateMetaPaths = [
1778
- ...new Set(rawMetaJsonPaths.map((p) => normalizePath(dirname(p)))),
1778
+ ...new Set(rawMetaJsonPaths.map((p) => posix.dirname(normalizePath(p)))),
1779
1779
  ].filter((p) => p !== normalized);
1780
1780
  const candidates = candidateMetaPaths
1781
- .map((mp) => ({ metaPath: mp, ownerPath: normalizePath(dirname(mp)) }))
1781
+ .map((mp) => ({ metaPath: mp, ownerPath: posix.dirname(mp) }))
1782
1782
  .sort((a, b) => a.ownerPath.length - b.ownerPath.length);
1783
1783
  const directChildren = [];
1784
1784
  for (const c of candidates) {
package/dist/index.js CHANGED
@@ -1759,7 +1759,7 @@ async function mergeAndWrite(options) {
1759
1759
  */
1760
1760
  async function buildMinimalNode(metaPath, watcher) {
1761
1761
  const normalized = normalizePath(metaPath);
1762
- const ownerPath = normalizePath(dirname(metaPath));
1762
+ const ownerPath = posix.dirname(normalized);
1763
1763
  // Find child metas using watcher walk.
1764
1764
  // We include only *direct* children (nearest descendants in the ownership tree)
1765
1765
  // to match the ownership semantics used elsewhere.
@@ -1767,10 +1767,10 @@ async function buildMinimalNode(metaPath, watcher) {
1767
1767
  `${escapeGlob(ownerPath)}/**/.meta/meta.json`,
1768
1768
  ]);
1769
1769
  const candidateMetaPaths = [
1770
- ...new Set(rawMetaJsonPaths.map((p) => normalizePath(dirname(p)))),
1770
+ ...new Set(rawMetaJsonPaths.map((p) => posix.dirname(normalizePath(p)))),
1771
1771
  ].filter((p) => p !== normalized);
1772
1772
  const candidates = candidateMetaPaths
1773
- .map((mp) => ({ metaPath: mp, ownerPath: normalizePath(dirname(mp)) }))
1773
+ .map((mp) => ({ metaPath: mp, ownerPath: posix.dirname(mp) }))
1774
1774
  .sort((a, b) => a.ownerPath.length - b.ownerPath.length);
1775
1775
  const directChildren = [];
1776
1776
  for (const c of candidates) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karmaniverous/jeeves-meta",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "author": "Jason Williscroft",
5
5
  "description": "Fastify HTTP service for the Jeeves Meta synthesis engine",
6
6
  "license": "BSD-3-Clause",