@jayree/sfdx-plugin-manifest 6.0.21 → 6.0.22

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/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [6.0.22](https://github.com/jayree/sfdx-plugin-manifest/compare/6.0.21...6.0.22) (2026-08-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** bump isomorphic-git from 1.41.8 to 1.41.9 ([#2391](https://github.com/jayree/sfdx-plugin-manifest/issues/2391)) ([6a515dc](https://github.com/jayree/sfdx-plugin-manifest/commit/6a515dcc2ce380d8c0738e69b21e4771ccae828f))
7
+ * match filepaths on path component boundaries ([#2416](https://github.com/isomorphic-git/isomorphic-git/issues/2416)) ([89d641a](https://github.com/isomorphic-git/isomorphic-git/commit/89d641a761b56a492270933608df78edd7c9ee33))
8
+ * **deps:** bump pnpm/action-setup from 4 to 6 ([edca3a8](https://github.com/jayree/sfdx-plugin-manifest/commit/edca3a8f88596e1d83246a656f364eaf4ac416e8))
9
+
1
10
  ## [6.0.21](https://github.com/jayree/sfdx-plugin-manifest/compare/6.0.20...6.0.21) (2026-08-22)
2
11
 
3
12
 
package/README.md CHANGED
@@ -112,7 +112,7 @@ EXAMPLES
112
112
  $ sf jayree manifest cleanup --manifest=package.xml --file=packageignore.xml
113
113
  ```
114
114
 
115
- _See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/6.0.21/src/commands/jayree/manifest/cleanup.ts)_
115
+ _See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/6.0.22/src/commands/jayree/manifest/cleanup.ts)_
116
116
 
117
117
  ### `sf jayree manifest generate`
118
118
 
@@ -150,7 +150,7 @@ EXAMPLES
150
150
  <Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
151
151
  ```
152
152
 
153
- _See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/6.0.21/src/commands/jayree/manifest/generate.ts)_
153
+ _See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/6.0.22/src/commands/jayree/manifest/generate.ts)_
154
154
 
155
155
  ### `sf jayree manifest git diff REF1 [REF2]`
156
156
 
@@ -230,7 +230,7 @@ FLAG DESCRIPTIONS
230
230
  Use this flag to create a 'destructiveChanges.xml' and a blank 'package.xml'.
231
231
  ```
232
232
 
233
- _See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/6.0.21/src/commands/jayree/manifest/git/diff.ts)_
233
+ _See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/6.0.22/src/commands/jayree/manifest/git/diff.ts)_
234
234
  <!-- commandsstop -->
235
235
 
236
236
  ## Performance Testing
@@ -18,11 +18,16 @@ export const worthWalking = (filepath, root) => {
18
18
  if (filepath === '.' || root == null || root.length === 0 || root === '.') {
19
19
  return true;
20
20
  }
21
- if (root.length >= filepath.length) {
22
- return root.startsWith(filepath);
21
+ // A shared prefix only counts when it lands on a path component boundary,
22
+ // otherwise the root 'src' would also pull in 'src2/a.js' and 'srcfoo.txt'.
23
+ const base = root.endsWith('/') ? root.slice(0, -1) : root;
24
+ if (base === '.') {
25
+ return true;
23
26
  }
24
- else {
25
- return filepath.startsWith(root);
27
+ if (base.length >= filepath.length) {
28
+ // Keep walking while filepath is still an ancestor of the wanted root.
29
+ return base === filepath || base.startsWith(`${filepath}/`);
26
30
  }
31
+ return filepath.startsWith(`${base}/`);
27
32
  };
28
33
  //# sourceMappingURL=worthWalking.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"worthWalking.js","sourceRoot":"","sources":["../../../src/SDR-extra/utils/worthWalking.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,uFAAuF;AACvF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC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