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 v3 #13

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 -> 3.13.2 age adoption passing confidence

Release Notes

webpro-nl/knip (knip)

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)

v2.34.1

Compare Source

v2.34.0

Compare Source

  • Add support for class get/set accessors (resolves #​297) (d027e97)
  • Base total error count on report after preprocessing (fixes #​300) (3e29758)
  • Add --directory [dir] argument to run the process from a different dir (b331033)
  • Update compilers docs + fixtures (7f63c75)
  • Regenerate docs (02bc3e3)
  • Add test suite for all current config loading systems (#​301) (a18f2a6)
  • Add astro plugin (#​298) (50dd048)
  • Change Nx detection to the new npm scope (#​302) (4d6dea8)

v2.33.4

Compare Source

  • Wrap result of path.relative in toPosix (176777e)
  • Update readme w/ Bun support (6a1cbb3)
  • Major housekeeping for plugins + configs (consistency + bug fixes) (9fd764b)
  • Remove unused lockfiles (589c69a)
  • Prettify debug output a bit, consistent context arg (3638fb2)

v2.33.3

Compare Source

v2.33.2

Compare Source

  • Update dependencies (8ce71b3)
  • Add 10ten-ja-reader (022c86a)
  • Fix up storybook plugin (fixes #​289) (7488701)
  • Fix up playwright config (1239eb3)
  • Don't bail out if plugin entry is set (d31a31a)
  • Filter out ignored extensions from binaries in scripts + add .sh (31ffb42)
  • Fix var scope/name in webpack plugin (06a89bf)

v2.33.1

Compare Source

v2.33.0

Compare Source

  • Wrap up ci integration workflow (8576f2a)
  • Try parseArgs fallback for Bun (c4cebe8)
  • Add slonik (192b687)
  • Add integration workflow w/ Bun (20fd0b2)

v2.32.5

Compare Source

  • Update dependencies (08bff61)
  • Handle some less common package path ref from plugin dependencies (c987dd7)
  • Minor refactoring (a129b61)
  • Stop throwing for local file 404s, instead warn in debug mode (b35b70d)

v2.32.4

Compare Source

  • Add .ts extension to ava plugin entry file patterns, config can be a function (436a473)

v2.32.3

Compare Source

  • Fix up after merge (72a055f)
  • Rename tests → test (f89dd93)
  • Fix and simplify config hints (1dbc024)
  • Use all available workspace when finding referenced internal workspace (c6e0aab)
  • Move module resolution from require.resolve to ts.resolveModuleName in handleReferencedDependency (0155306)
  • Return module.js not module.d.ts from resolveModuleName` for internal imports (7e62157)
  • Don't throw for configuration issues (91d8989)
  • Match against all available internal workspace pkg names (3d1fbe8)
  • Include only direct dependents and filter issues by provided --workspace (4dd951b)
  • Add @​pnpm/logger (6cf4f0d)
  • Find dependents (not dependencies) + prevent recursion loop (5ab5a87)
  • Include dependencies when analyzing single --workspace (#​249) (7ffa993)

v2.32.2

Compare Source

  • Fix schema.json (plugin value can be true) (e8414d4)
  • Check more package.json#scripts for matches in node-test-runner plugin (dc1f590)
  • Update dependencies (ebbb186)
  • Make test titles unique (f1fcf69)
  • Always log full stack trace in debug mode (b74844c)
  • Fix playwright-ct plugin, add coverage (d6fb53d)

v2.32.1

Compare Source

  • Fix eslint plugin (eslint.config.js missed as entry file) (3f1a5f0)

v2.32.0

Compare Source

  • Reset version (4256731)
  • feat: allow gatsby plugin to see local plugins as entrypoints (#​273) (85ffbc9)
  • Update docs (925e2f6)
  • Fix up cypress plugin + coverage (3277795)
  • Increase coverage for test patterns from plugins or local config (46575b8)
  • Fix up playwright plugin (9ce013f)
  • Fix up after merge (36f7830)
  • Add package.json path to lint-staged plugin (1b10d90)
  • Add types + support for projects in playwright plugin (c45a337)
  • Report @​types/pkg as unused if pkg already has types included (e58953c)
  • Prevent unnessary invocations of plugin dependency finder (977e756)
  • Refactor drizzle plugin to use new entry; protocol (a8dea3f)
  • Go public (51adaa3)
  • Fix node-test-runner plugin (8e83198)
  • Refactor vitest plugin a bit (ea6f1e0)
  • Improve typing for PluginConfiguration inside plugins (2144996)
  • Use more readable protcols (9c76e62)
  • Add node-test-runner config to knip.json (71b501d)
  • Catch errors in cli test helper (1f72702)
  • Adjust the rest fixtures and tests (28ba933)
  • Migrate plugins and their tests (8e09fcd)
  • Add node-test-runner plugin (9508c73)
  • Move test/entry file patterns to plugins (82278f8)
  • Move bin: protocol helpers to separate module (92c6f1b)

v2.31.0

Compare Source

  • Ignore ts/eslint violation for raw config (c57c94e)
  • Fix explicit root workspace dir in pnpm-workspace.yaml (fixes #​284) (3bf5ad6)
  • Prevent duplicate analysis/infinite recursion (#​281) (2d32eb1)
  • Support force-enabling of plugins, by with value object or true (resolves #​276) (a06925d)
  • Refactor & fix workspace config normalization (9ed0775)

v2.30.1

Compare Source

  • Re-format markdown (122ccc1)
  • Update dependencies (2e7f099)
  • Add curl to list of ignored binaries (770c0b4)

v2.30.0

Compare Source


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: 9f1d102

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