Bump knip from 6.45.1 to 6.51.0
DE
14h ago+169+169+012345678901234567890123456789-136-136-012345678901234567890123456789
Bumps knip from 6.45.1 to 6.51.0.
Release notes
Sourced from knip's releases.
Release 6.51.0
- fix(util): infer common rootDir when omitted in tsconfig (#2089) (aecc2d7f040ebdfc8ab10f1409e4909682d95f75) - thanks
@DreamLongYT!- Link Node.js PRs + fix perf gain statement (2444a8dba0f097f0f6b9c8f2f6b8b4d9280150a4)
- Edit globster readme (d8ba98d06e5d16b01606b746d8807013318424c6)
- Document a few more known issues (close #2498, close #2500) (d496f074de17283fb4ae3bb90da6cc2966899cc1)
- Honor Vite modes declared in package scripts (5739c95cda0a02aa03729d219fa97330c0b50d1e)
- Read literal Drizzle schema paths without loading the config (02ff2ad41fa2b69581428668c0394389a9660ce8)
- Read custom-named ESLint flat configs without loading them (d1cbdf55112aad6016db023f72b581acd5b398a7)
- Read literal unbuild entries without loading the config (f4831579593670c1cfe46e55422fd286bd41fe32)
- Read literal Cypress config values without loading the config (76f2cc813a8b4f00bbe5ec4b79c9e9bcc434349e)
- Update dependencies (66f01b9951319f0f45ec4c3a9c7f974e8e797d1f)
- Read
recursive,extensionandignorefrom the Mocha config (#2501) (7e14ecb2913c599d69c48fcc867457c8e218cbfe) - thanks@JohanesPeterV!- Track namespace member access through dynamic imports (#2480) (175a711f76c1c8e196116755daf6cc7a9d0d86a8) - thanks
@TastyHeadphones!- Apply Mocha
recursiveandextensionto directories in the config'sspec(99585682d6b11f9affa6f5d9c4ef3e5e3803b1e3)- Type-check docs with tsc and the Astro content mapper (c21aa35093b6bae1eb03b731e8c7c137b6db6780)
- Update dependencies (c3edb34c4da8541b0eef8eceaf6c8244b086c3b3)
- Re-gen plugin list + auto-format md (726a68543ec5de3d43910c457a3ef9ece66e9082)
Release 6.50.0
- ci: harden ecosystem integration installs (#2474) (62426849b567feef9cb8bbb4745e311b44722bb1) - thanks
@aubarcito48!- Fix YAML and TOML config loading in the VS Code extension (#2476) (ed8f6e92c29352c114cca17675772211a91ed41a) - thanks
@nimrossum!- Keep the script after boolean flags of concurrently and zx (#2490) (a8051b1388bfe08f9f459130046394d48ed78e83) - thanks
@phatstraws!- Resolve relative paths in Husky hooks from repository root (#2495) (c67a7b251dcc78975312119025f59f2ed9cae38d) - thanks
@youxufkhan!- Run the Knip preview separately in the npmx.dev ecosystem test (69fe91644b7071e65b2c9dbe10cb2c777bcead3e)
- Read task script and args in the moonrepo plugin (#2492) (d61feb74c5a6fdfa64bb7cc21e84b031116f9622) - thanks
@Xnadir!- Add all missing Netlify plugin features (#2494) (be2a46931970a4fa71666e116bf364276f3e3460) - thanks
@serhalp!- Recognize yarn --silent and its -s alias (#2497) (9f4444df882040742962cc2c04b75b98b1278d9a) - thanks
@adityajai119!- Check for mise config files in the root directory only (46711a3240917cb55292f83376b9168863de534b)
- Add globster, a glob walker with Git ignore support (3e900c32b88809c504b15b559400dcaca5e8cb3c)
- Use globster for Knip file discovery (50c564f1c0a92a1c343a076e77c21470ede24898)
- Reduce repeated work in workspace globs and package entry lookups (fdbf873e91b061b987ac502f0b7a94ba87dde0b1)
- Initialize string collation on first comparison (2c9f0ee940fee802d86506d0efbc818c807f704d)
- Document globster's performance on Knip workloads (f877a869277351c792de403acd865982c7c03093)
- Collect tsconfig source paths only when used as project files (d79101edea459a27d13389213a7b05355130ed67)
- Read directories concurrently in glob (d5c5b323d44e634a258745cb7d47f4eef0ddce90)
- Edit readme (117602b72800d7551c74d29001afd55aa3c0ec35)
- Exclude .git from Knip's globs unless a pattern names it (e9ef87343b07d3f21f0e2d74f34d36d17270f918)
- Leave .git to exclude in globster and accept a list of patterns (2b0eb65ed72e1553059b22c85e3e15908309c69c)
- Start a trailing globstar pattern in its own directory (f77ca48814e51c05766c36b22ac3e63e1467107c)
- Edit readme (9a107afc417af83d5a49594bb29c2bcf2eac6d8a)
- Build globster in the Node.js 20 jobs and publish it with previews (96952a52154653d7a5fac362d5c9b6fa7e6984f2)
- Keep patterns that start with an escape relative on Windows (d1d3cbc9991da0ce847c45ec235e03105ead0f04)
- Make glob tests independent of Windows temp paths and timestamps (235615f390e47c9d1a015f0f8f0ad5cc2557184a)
- Document how globster matches question marks in Unicode names (2fd0406d22af3eb91c21f4cfc7823fa15cd47a08)
- Keep slashes inside gitignore bracket expressions (67506413d4e328b38903a2ec35c4a3bad5c28aec)
- Use substring checks for simple gitignore wildcards (c9b470ddae7aaf4abe5614b42eb00c4c311ff622)
- Edit readme (c0e5e221c31341b0e712d6cf9baeebc4ee8bd0c8)
- Release globster before knip in the release script (ef0ec136f80d0b8c67c7d634c0a3e8b1ebde04c8)
- Make the kysely-codegen test independent of file order (fc5457ca66ada774bdbb09ffa64e76698c44457f)
- Keep the trailing slash of Windows drive roots in the gitignore engine (66b4ec9b7e02f1c1cea2f1d5703686491cc3c5c5)
... (truncated)
Commits
b39c833Release knip@6.51.0c3edb34Update dependencies9958568Apply Mocharecursiveandextensionto directories in the config'sspec175a711Track namespace member access through dynamic imports (#2480)7e14ecbReadrecursive,extensionandignorefrom the Mocha config (#2501)76f2cc8Read literal Cypress config values without loading the configf483157Read literal unbuild entries without loading the configd1cbdf5Read custom-named ESLint flat configs without loading them02ff2adRead literal Drizzle schema paths without loading the config5739c95Honor Vite modes declared in package scripts- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Updates knip from 6.45.1 to 6.51.0, which improves detection of unused code and speeds up file discovery.
- Replaces
tinyglobbywithglobsterfor more efficient globbing and adds performance optimizations. - Reads literal config values (ESLint, Cypress, Drizzle, unbuild) without loading the config, and honors Vite modes declared in package scripts.
- Tracks namespace member access through dynamic imports and resolves relative paths in Husky hooks from the repository root.