Skip to content

refactor: use module.findPackageJSON API#1055

Merged
JLHwung merged 1 commit intomainfrom
use-module-find-package-json
Jul 23, 2025
Merged

refactor: use module.findPackageJSON API#1055
JLHwung merged 1 commit intomainfrom
use-module-find-package-json

Conversation

@JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Jul 22, 2025

Please Read the CONTRIBUTING Guidelines
In particular the portion on Commit Message Formatting

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Docs update
  • Build related changes
  • CI related changes
  • Other... Please describe:

Use the module.findPackageJSON API available on Node 23.2+ and 22.14+. If we drop Node.js 22.14+ in the future, we can remove the only dependency find-up as well.

@JLHwung JLHwung changed the title refactor: use module.findPackageJSON API refactor: use module.findPackageJSON API Jul 22, 2025
@JLHwung JLHwung force-pushed the use-module-find-package-json branch from 0c604a5 to 48164a8 Compare July 22, 2025 20:04
@JLHwung JLHwung merged commit 242e7d2 into main Jul 23, 2025
16 checks passed
JLHwung added a commit that referenced this pull request Mar 9, 2026
mergify bot added a commit to robfrank/linklift that referenced this pull request Mar 10, 2026
…skip ci]

Bumps [babel-loader](https://github.com/babel/babel-loader) from 10.0.0 to 10.1.0.
Release notes

*Sourced from [babel-loader's releases](https://github.com/babel/babel-loader/releases).*

> v10.1.0
> -------
>
> What's Changed
> --------------
>
> * refactor: use `module.findPackageJSON` API by [`@​JLHwung`](https://github.com/JLHwung) in [babel/babel-loader#1055](https://redirect.github.com/babel/babel-loader/pull/1055)
> * Enable type checking and support Babel 8 by [`@​JLHwung`](https://github.com/JLHwung) in [babel/babel-loader#1056](https://redirect.github.com/babel/babel-loader/pull/1056)
> * Bump js-yaml from 4.1.0 to 4.1.1 by [`@​dependabot`](https://github.com/dependabot)[bot] in [babel/babel-loader#1059](https://redirect.github.com/babel/babel-loader/pull/1059)
> * fix: mark webpack as optional peer dependency by [`@​chenjiahan`](https://github.com/chenjiahan) in [babel/babel-loader#1061](https://redirect.github.com/babel/babel-loader/pull/1061)
> * Bump webpack from 5.101.0 to 5.104.1 by [`@​dependabot`](https://github.com/dependabot)[bot] in [babel/babel-loader#1062](https://redirect.github.com/babel/babel-loader/pull/1062)
> * Bump glob from 10.4.5 to 10.5.0 by [`@​dependabot`](https://github.com/dependabot)[bot] in [babel/babel-loader#1060](https://redirect.github.com/babel/babel-loader/pull/1060)
> * Bump minimatch from 3.1.2 to 3.1.5 by [`@​dependabot`](https://github.com/dependabot)[bot] in [babel/babel-loader#1063](https://redirect.github.com/babel/babel-loader/pull/1063)
> * Pin Node.js on CI by [`@​nicolo-ribaudo`](https://github.com/nicolo-ribaudo) in [babel/babel-loader#1064](https://redirect.github.com/babel/babel-loader/pull/1064)
>
> New Contributors
> ----------------
>
> * [`@​chenjiahan`](https://github.com/chenjiahan) made their first contribution in [babel/babel-loader#1061](https://redirect.github.com/babel/babel-loader/pull/1061)
>
> **Full Changelog**: <babel/babel-loader@v10.0.0...v10.1.0>


Commits

* [`de09ee1`](babel/babel-loader@de09ee1) 10.1.0
* [`e34c360`](babel/babel-loader@e34c360) Pin Node.js on CI ([#1064](https://redirect.github.com/babel/babel-loader/issues/1064))
* [`3c1e180`](babel/babel-loader@3c1e180) Bump minimatch from 3.1.2 to 3.1.5 ([#1063](https://redirect.github.com/babel/babel-loader/issues/1063))
* [`e0d4add`](babel/babel-loader@e0d4add) Bump glob from 10.4.5 to 10.5.0 ([#1060](https://redirect.github.com/babel/babel-loader/issues/1060))
* [`77e2a66`](babel/babel-loader@77e2a66) Bump webpack from 5.101.0 to 5.104.1 ([#1062](https://redirect.github.com/babel/babel-loader/issues/1062))
* [`faa5dbb`](babel/babel-loader@faa5dbb) fix: mark webpack as optional peer dependency ([#1061](https://redirect.github.com/babel/babel-loader/issues/1061))
* [`146dad2`](babel/babel-loader@146dad2) Bump js-yaml from 4.1.0 to 4.1.1 ([#1059](https://redirect.github.com/babel/babel-loader/issues/1059))
* [`2479ed2`](babel/babel-loader@2479ed2) Enable type checking and support Babel 8 ([#1056](https://redirect.github.com/babel/babel-loader/issues/1056))
* [`242e7d2`](babel/babel-loader@242e7d2) refactor: use module.findPackageJSON API ([#1055](https://redirect.github.com/babel/babel-loader/issues/1055))
* See full diff in [compare view](babel/babel-loader@v10.0.0...v10.1.0)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=babel-loader&package-manager=npm\_and\_yarn&previous-version=10.0.0&new-version=10.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants