Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(dev-deps): ⬆️ upgrade knip to v4 #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 14, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
knip (source) 2.17.0 -> 4.6.0 age adoption passing confidence

Release Notes

webpro-nl/knip (knip)

v4.6.0

Compare Source

v4.5.0

Compare Source

v4.4.0

Compare Source

v4.3.1

Compare Source

  • Make integration tests pass (5a7a80a)
  • Update integration tests (5bca404)
  • Add link to GitHub search for projects using Knip (bdd3c7b)
  • Safe-guard fixes (closes #​486) (cf3761b)
  • Add silent and shell-mode boolean flags to pnpm resolver (resolves #​491) (2d5c0b5)
  • Filter dependencies in vitest plugin for vite plugin (#​334) (d81a00f)

v4.3.0

Compare Source

v4.2.3

Compare Source

  • Remove @pkgjs/parseargs now that Bun has util.parseArgs (ada0597)

v4.2.2

Compare Source

  • Update dependencies (faec4d6)
  • Add .json ext to ts config path if necessary (resolves #​480) (fe3d17d)
  • Fix npm aliases (resolves #​474) (470437d)
  • Add deploy to binaries not following the --require convention (closes #​477) (ad1ff7f)
  • Hide plugin pages from sidebar (db4cb7a)
  • Update dependencies (0eccd53)
  • Add introduction video to front page (0741b70)

v4.2.1

Compare Source

v4.2.0

Compare Source

  • Auto-format (0e65cfb)
  • Update docs (91465e6)
  • Update netlify plugin/test after the refactor (e0eba0c)
  • Add missing fixture file (877a95a)
  • Remove unused helper (093bbaa)
  • Include class members when dogfooding (d9c2eb4)
  • More comprehensive/consistent options for plugin tests after the refactor (95dac2b)
  • Tiny refactoring in github-actions plugin (f08a828)
  • Update plugins after the refactor (e786b60)
  • Refactor to unravel and separate concerns better (756bcdd)
  • Improve some member and function names (6145ce1)
  • Fix typo in comment (7a5c1b0)
  • Refactor npm.findDependencies into DependencyDeputy as analyzeManifest (864fa84)
  • Improve some member and function names (0576673)
  • Tiny refactoring in vitest plugin (3772485)
  • Use own PackageJson (with plugins) where possible (d314123)
  • Add Netlify plugin (#​466) (3a8fe85)
  • Check for node_modules presence instead of isInternal for Eleventy plugin (#​462) (c0b23b5)
  • Edit docs (59e341f)

v4.1.0

Compare Source

  • Add bun script visitor (df869d7)
  • Add bun binary resolver (70e936a)
  • Ignore bun being a runtime dependency (0a94744)
  • Make hasImportSpecifier reusable (ab39cf2)

v4.0.4

Compare Source

  • Add additional test & fixture for eleventy plugin (dbf8c02)
  • Fix up toEntryPattern → toProductionEntryPattern in Eleventy plugin (9809d76)
  • Clean up debug output a bit (81c5e31)
  • Doc tweak (66f88c2)
  • Convert some arrays to sets (a28c624)
  • Rename fixture paths-workspaces → custom-paths-workspaces (85224ad)
  • Handle passthrough copied files in Eleventy (#​460) (9f22400)
  • Add Eleventy data directory as entry pattern (#​454) (85e7fe2)

v4.0.3

Compare Source

  • Add pos to JSDoc import specifiers (70a1f7f)
  • Fix pos for module.exports identifiers (20d8287)
  • Add a few edge cases to webpack plugin (3323ef3)
  • Add postcss-cli to postcss plugin enablers (5ece2a1)
  • Improve stylelint plugin (a11b5e5)

v4.0.2

Compare Source

v4.0.1

Compare Source

  • Increase visibilty for --experimental-tags (4cc6c9f)
  • Optimize and simplify --experimental-tags (9bed937)
  • Update version number in Getting started (11c6cc8)

v4.0.0

Compare Source

  • Add release notes for v4 (e611b29)
  • Add SourceGraph tweet/project (ad224c4)
  • Update & duplicate license file (468ba3c)
  • Update pull request template (a95967f)
  • Fix Vercel deployment issues (206b5c8)
  • Make plugins export default (d8babee)
  • Fix c8 command (9482c09)
  • Update Vercel config default: v3 → v4 (6c5b9fb)
  • Update dependencies (ecaabfc)

Also see https://knip.dev/blog/knip-v4 for more details

v3.13.2

Compare Source

  • replace chalk with picocolors (#​448) (7521a4c)
  • Omit negated entry patterns in tsup plugin (5f80d0c)
  • Update theme color for docs (46b787d)
  • Update issue templates & add pull request template (2c3f166)
  • Extend tsup config file patterns (176f881)
  • remove slash before fragment in pagefind component (#​447) (8bcbe67)

v3.13.1

Compare Source

  • Use JSON loader in typescript config (fixes #​420) (ed4e691)
  • Wrap up Next.js plugin config (5c9cc51)
  • fix: allow router handlers to be jsx files, add default.{js,jsx,ts,tsx} (#​441) (bb39a57)

v3.13.0

Compare Source

v3.12.0

Compare Source

  • Fix tests/test/ (closes #​405) (8850c69)
  • Add Vue plugin incl. Webpack config support (81d981b)
  • Support parserOptions.parser in eslint plugin (0a8aebb)
  • Make webpack dependency finder reusable (f7b8fae)
  • docs: add info about markdown reporter to docs (#​428) (b70b957)

v3.11.0

Compare Source

v3.10.0

Compare Source

  • Update dependencies (6349aab)
  • Work the docs a bit (d36c86e)
  • Fix up some formatting (91c230d)
  • Add vitest to resolver list so it does not fallback to default and parse -r args (fixes #​417) (711d4b6)
  • Add visitor for ImportTypeNode (514cbed)

v3.9.0

Compare Source

v3.8.4

Compare Source

v3.8.3

Compare Source

  • Update dependencies (1b9603e)
  • Fix individual booleans for analyzeSourceFile (7b822cb)
  • Swap block for consistency (753303a)
  • Fix workspace hints in production mode (ed834e9)
  • fix: use svelte plugin options from user config (#​401) (77e7c66)

v3.8.2

Compare Source

  • Run issue fixer if only --fix-type argument is provided (fcbaed0)
  • add sveltekit entry patterns (#​393) (7055120)
  • Fix postcreate-plugin script (4fd44b6)
  • Edit docs (ef999c4)

v3.8.1

Compare Source

  • Fix regexes in ignored bins/deps for non-root workspace (resolves #​392) (82635fc)
  • Update dependencies (9456b89)
  • Publish (4821581)
  • Add draft "slim down to speed up" (7faa5d6)

v3.8.0

Compare Source

  • Document --isolate-workspaces + reword principal → program (c5f98fd)
  • Add mem usage + major gc events (f72bf62)

v3.7.1

Compare Source

  • Filter out some odd stuff in custom settings resolver in eslint plugin (790646a)
  • Improve handling of import type nodes in JSDoc (8c3d77c)
  • Deduplicate workspace names (#​391) (28d43bb)

v3.7.0

Compare Source

  • Move @npmcli/package-json from dev → dependencies (2157f57)
  • Introduce experimental --fix feature (resolves #​63) (cf1619c)
  • Move tweets to mock (2f8e78f)

v3.6.1

Compare Source

  • Respect isIncludeEntryExports for class & enum members (#​360) (fae9b75)
  • Edit "handing issues" (7c3d2df)
  • Timerify getImportsAndExports (7c614b7)
  • Add "unresolved" to issueTypes in JSON Schema + sort (e44a033)
  • fix(schema): Added "binaries" to issueTypes (#​385) (efd607c)
  • Add sponsorship copy + funding.yml (bb5a983)
  • Improve guidance for newcomers through configuration topics (closes #​384) (e32011f)

v3.6.0

Compare Source

  • Update/sync dependencies (a2060f7)
  • Improve and support regex in ignoreBinaries and ignoreDependencies (resolves #​315, resolves #​383) (40f9791)
  • Add "findReferences" to performance page (a11a6f3)
  • Log message about 404 file edge case in debug mode (72c5004)
  • Improve names and readability a tad + skip work if nsExports or nsTypes is excluded (a288c3e)

v3.5.1

Compare Source

  • Add snapshotResolver option to jest plugin (closes #​291) (95bf66c)
  • Add argos-ci/argos repo to integration test suite (35adacf)
  • Add some projects using Knip to homepage (130a35d)
  • Improve regex for astro check (b6c7816)
  • Import less underscores in plugins (d5918f1)
  • Try to make plugin template a little bit more accessible (855337f)
  • Clarify when plugins are enabled (6966298)
  • Improve heuristic for enabling node-test-runner plugin (1f784b4)
  • Add xargs to ignored global binaries (963eb4e)
  • Rename module name helper (db8f01a)
  • Use basename and extname over endsWith for file names (0a58237)
  • Fix sitemap (aeb9137)
  • Fix gitignore item (0ee4f25)

v3.5.0

Compare Source

  • Ignore generated files when in md linker checker (beb5c41)
  • Fix test for absence of test config in vitest plugin (3b1135b)
  • Move "script parser" section to dedicated feature page to make entry files more accessible (c2ff2b3)
  • Add common pattern to config file patterns in vite and vitest plugins (302798e)
  • Add extensions to config file patterns in webpack plugin (1f857a4)
  • Add unused img to assert it does not end up as unused dependency or file (18ff2b9)
  • Fix up plugin doc template (d69c4a5)
  • Remove generated files (8530720)
  • Fix contributors list (953fc12)
  • Remove "new" button (b2fdfc0)
  • Update link in CLI help text (cf2c50d)
  • vitest: Detect whether coverage is enabled in npm scripts (#​378) (9fc7d1f)

v3.4.0

Compare Source

  • Refactor module resolution for non-std files + group related tests (fixes #​376) (1154a09)
  • Move @types/node to peer deps + include node types with compiler options (closes #​317) (e7c26d9)
  • Fix Windows issue when trying git command to get hooks path (resolves #​377) (b854409)
  • Sort keywords (73845d0)

v3.3.5

Compare Source

  • Update dependencies (7b81801)
  • Improve consistency (fba7a0a)
  • Swallow errors for git init cmd (81c5736)
  • Add extra favicon/manifest meta files (c10f4a9)
  • Edit performance page (4372519)

v3.3.4

Compare Source

  • Add page about performance to docs (7513521)
  • Improve caching for relative paths in module resolver (6292c7f)
  • Add nice tweet to testimonials (f947b0a)

v3.3.3

Compare Source

  • Include lockfile change in release commit (6cb92b3)
  • Don't sanitize virtual:* imports (resolves #​370) (9697689)
  • Add TanStack/query to integration suite (09f7a58)
  • Don't complain about ignoredWorkspaces without a package.json (42dbfce)
  • Rename test + fixture (flow-node → export-declaration) (ecee44b)

v3.3.2

Compare Source

  • Edit configuration page (9d7eccf)
  • Add missing test to nx plugin (2fb17d2)
  • Add includeEntryExports to workspace config in TS and JSON schema (1a848d9)
  • Fix errors with space-separated include/exclude arg (ec64c07)
  • Return stdout, stderr, status from exec test helper (f0ae9e7)
  • Add footer w/ license, name, links (9499c89)

v3.3.1

Compare Source

  • Add referenced optional peer deps to docs (6b97b9c)
  • Don't report optional peer dependency as unused if hosts have the peer as optional (8b20201)
  • Auto-format Markdown (1936c6d)

v3.3.0

Compare Source

  • Fix up JSDoc visitor and try harder to find import types (70691ff)
  • Add support for build.lib.entry paths in vite plugin (f6c1d93)
  • Add posDecl to exportDeclaration visitor + support function declarations (#​353) (5054906)
  • Add posDecl to distinguish export identifier vs declaration (to findReferences) (e5eef1f)
  • Add link to jiti issue (740eeb1)
  • Add schema.json for JSONC (#​320) (e7696e1)

v3.2.0

Compare Source

  • adds support for package.json shared prettier configuration (#​368) (121015f)

v3.1.0

Compare Source

  • Throw for duplicate package names (closes #​339) (8e1dca6)
  • Override potentially expensive compiler options, just in case (c7234b7)
  • Throw for invalid issue types when using include/exclude filter (closes #​366) (4e42ff8)
  • Remove target, module and moduleResolution from compiler option overrides (6407d4d)
  • Mention MNWE/MRE in docs (db951b2)
  • Exclude negated production patterns in default mode (resolves #​352) (fca87f8)
  • Don't try to load fake path in tsconfig-loader (7c80ad1)
  • Add --isolate-workspaces flag (undocumented) (b0913ac)
  • Add a few more testimonials 🧡 (0321a8d)

v3.0.2

Compare Source

v3.0.1

Compare Source

  • Add README.md to knip package (ef54583)

v3.0.0

Compare Source

  • Update dependencies (f709e24)
  • Clean up some bits for v3 (9f1a42e)
  • Add line and col in default reporter to issues that include pos (closes #​335) (3547fc2)
  • Run tests etc. across workspaces from root script (08aa7d7)
  • Add minimal reproduction templates to docs (e2b5f0c)
  • Fix up some links + plugin list (ede47e9)

v2.43.0

Compare Source

  • Fix up name resolver in babel plugin helper (resolves #​363) (a3a5fbb)
  • Add config file paths to babel plugin (d7a07a0)
  • Use flowNode pos if available for export declarations (resolves #​353) (9e89be6)

v2.42.0

Compare Source

  • Add tests with typescript@latest (c95e060)
  • Add compat w/ typescript v5.3.2 (395c278)

v2.41.6

Compare Source

  • Update dependencies (a69fa9e)
  • Fix error message (76c5b26)
  • Add tsconfig.json to nx fixture (#​358) (622848a)
  • Use babel plugin to find dependencies from babelOptions in eslint plugin (resolves #​357) (be9a14c)

v2.41.5

Compare Source

  • Bail out for node built-ins in module resolver + don't try to sanize absolute paths (b54f44f)

v2.41.4

Compare Source

  • Fix ts files with ignored extension (fixes #​354) (59a2373)
  • Unique test titles (b3e97c0)
  • Add --import argument to node resolver (resolves #​351) (c0a9c5b)
  • Use ESM loader for .mts extension (65f699b)
  • Add some extensions to config file patterns in vitest plugin (e1ae62a)

v2.41.3

Compare Source

  • Fix up plugin resolving in graphql-codegen plugin a bit (resolves #​349) (ee83151)
  • Add config file patterns for codegen plugin (resolves #​348) (72b3add)
  • Respect coverage.disabled in vitest plugin (resolves #​347) (b1cd3da)
  • Add corepack to list of ignored binaries (d79728b)
  • Remove problematic links (4be9ec9)

v2.41.2

Compare Source

  • Distinguish jiti CJS and ESM loader, and clean up (fixes #​328) (7a537a6)
  • Simplify isTypeModule a bit (942fbc1)
  • Update vite.config extension in vite plugin (48ce2f0)

v2.41.1

Compare Source

  • Refactor vitest entry resolver (c34a3df)
  • Load .js module using native import call (fixes #​290) (aeaf70a)
  • Remove path from extend plugin:specifier in eslint plugin + simplify specs (fixes #​343) (3a9e510)

v2.41.0

Compare Source

  • Fix integration.yml workflow (49d2157)
  • Switch to jiti in tryResolve (3d8a245)
  • Consider JSDoc tags of individual export specifiers + their parent declaration (3757140)
  • Make compilerOptions.paths (and configured paths) absolute if no baseUrl (c9b3770)
  • Add some module resolutions in vitest plugin (465d170)
  • Add tsup plugin (af7a7bf)
  • Respect ignore option for entry paths from manifest (587c6bb)
  • Improve lazy ignore pattern builder (a77aa07)
  • Re-apply cdd04fb (Don't add entry paths that should be ignored) (a8b46a9)
  • Use a single centralized isGitIgnored fn (ffbe805)
  • Remove obsolete comment (df4c020)
  • Sync node-test-runner plugin entry patterns (5263ad3)
  • Move tsx to separate module + reuse node resolver (fixes #​344) (0451e23)
  • Add --watch arg to node resolver (08483e8)
  • Increase readability of module.exports visitor (4fb6239)

v2.40.2

Compare Source

  • Revert "Don't add entry paths that should be ignored" (fixes #​341) (17ee32e)
  • Minor comment fix (b89b0f6)
  • Always try to give declaration nodes to get JSDoc tags (fixes #​342) (7fec492)
  • Return only top-level imports + module.exports visitor refactor (fixes #​340) (0b789a0)
  • More diverse id's (b634e6e)
  • Add fixtures and coverage for postcss plugin (#​338) (32205b5)

v2.40.1

Compare Source

  • Fix enabler text in node-test-runner plugin (0a3c214)
  • Lint only isolated workspace in single workspace + strict mode (4ee774c)
  • Don't add entry paths that should be ignored (cdd04fb)
  • Sanitize initially unresolved specifiers (d9d736d)
  • Don't sanitize node:* modules (8355b5e)
  • Don't run link checker on tags (66a3d31)

v2.40.0

Compare Source

v2.39.0

Compare Source

v2.38.6

Compare Source

  • Fix up remark plugin (cd0be45)
  • Fix pkgName for additional workspaces (d042d55)

v2.38.5

Compare Source

  • Regenerate docs (13849ef)
  • Add fixtures around import calls access prop (#​317) (4f95977)
  • Unique test titles (7518192)
  • Start using virtual file paths for common imported extnames (resolves #​322) (0223be5)
  • Reuse custom module resolver when handling referenced deps (fixes #​319) (6d35bb2)
  • Update dependencies (981dadc)
  • Reuse loadFile and ignore fake requests (resolves #​325) (008e3a7)
  • Add DefinitelyTyped-tools to integration.yml (e37f15b)
  • Extend imports-namespace fixture (#​317) (150ef27)
  • Housekeeping graphql-codegen plugin (8d9ee61)

v2.38.4

Compare Source

  • Ignore --require for adb program (4afe6db)

v2.38.3

Compare Source

  • Downgrade zod-validation-error (for Node.js v16 support) (fixes #​321) (974216f)

v2.38.2

Compare Source

  • Update dependencies (805ac5e)
  • Filter http url's out from script dependencies (resolves #​318) (1ffd290)
  • Ignore unresolved imports that look external but have ignored extension (resolves #​311) (e8859e7)
  • Fix entry file patterns in storybook plugin (resolves #​313) (cdff59b)

v2.38.1

Compare Source

  • Update depdencies (bbfd39c)
  • Update Storybook entry patterns and support pattern object (fixes #​312) (bba540d)
  • Minor housekeeping (762cc2c)

v2.38.0

Compare Source

v2.37.0

Compare Source

  • Reuse same obj w/ slightly different pos (EOL on win32 is one more char) (d1c6cf4)
  • Add jsonExt reporter to output JSON with row/col of exports/types issues (#​288) (7e483d4)
  • Add line, col & pos to exports/types issues (#​288) (92c4a80)

v2.36.0

Compare Source

  • Update dependencies (e765d74)
  • Extend PackageJson type with plugin config keys (6d67c07)
  • Return production dependency from typescript plugin (#​186) (1da495f)
  • Fix typo in schema.json (085b8a1)
  • Extend async function config support to vitest plugin (#​303) (407be68)
  • Support mjs files for prettier configuration (#​306) (766a9a0)

v2.35.0

Compare Source

  • Support (async) function in vite plugin (resolves #​303) (7b1686b)
  • Also make astro, gatsby, next and remix entry patterns overridable (e2aebc3)
  • support postcss cjs format (#​304) (47b09c9)

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" in timezone Asia/Kolkata, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the DevDependency 🔼 Pull requests that update a dev dependency file label Apr 14, 2024
Copy link

changeset-bot bot commented Apr 14, 2024

⚠️ No Changeset found

Latest commit: 842322f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DevDependency 🔼 Pull requests that update a dev dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants