Skip to content

chore: remove create-require dependency and refactor imports#1482

Open
hunterhammond-dev wants to merge 1 commit into
google:mainfrom
hunterhammond-dev:chore--remove-create-require
Open

chore: remove create-require dependency and refactor imports#1482
hunterhammond-dev wants to merge 1 commit into
google:mainfrom
hunterhammond-dev:chore--remove-create-require

Conversation

@hunterhammond-dev

Copy link
Copy Markdown

This change removes the create-require dependency and replaces its usage with Node.js's native createRequire implementation from node:module.

The project currently specifies a minimum supported Node.js version of 12.17.0, which already includes support for module.createRequire(). As a result, the create-require package is no longer required for compatibility purposes and serves only as an unnecessary dependency.

@google-cla

google-cla Bot commented Jun 10, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

2 participants