Last 12 weeks · 61 commits
5 of 6 standards met
Summary Adds so callers can run -style action arrays programmatically without first cloning a source repository. Also makes the argument optional in and . runs , , and actions independently. reuses the parent repo's cache directory for staging. now throws a error with a clear message. directives tolerate a missing or non-directory destination when stashing. Closes #33 Test plan [x] passes [x] passes [x] passes [x] passes (193 tests, including new unit and integration tests) [x] passes (4.78%) [x] passes [x] passes Generated with Devin
Summary directive entries now support glob patterns (e.g. ), resolving #148. Reuses the existing dependency (already imported in ); no new dependencies. Every glob expansion is re-checked by the existing guard, so a glob can never delete files outside the destination. matches dotfolders (the issue's own example); avoids stale lstat cache across directives. Exact-path behavior is preserved: a missing non-glob file still emits . Security Path traversal via in a pattern: every expanded match routes through -> , which rejects anything resolving outside . Symlink escape: uses while walking and does not recurse into symlinked directories, so symlinks cannot broaden the match set. Test plan [x] (183 passed, +4 new) [x] (0 warnings, 0 errors) [x] [x] [x] [x] Manual smoke test: removes only files under , leaves and intact [x] New unit tests: glob match, nested dotfolder glob, glob escaping dest (skipped + warned), missing exact file warning Closes #148. Generated with Devin
Repository: Rich-Harris/degit. Description: Straightforward project scaffolding Stars: 7924, Forks: 281. Primary language: TypeScript. Languages: TypeScript (97.4%), JavaScript (2.6%), Shell (0%). License: MIT. Open PRs: 1, open issues: 10. Last activity: 1d ago. Community health: 100%. Top contributors: YogliB, Rich-Harris, dependabot-preview[bot], mhkeller, satotake, futuraprime, vladimyr, Georift, yuler, aleclarson and others.