Back to Explore

unjs-archive/create-require

GitHub
1 watchersOpen source

Last release:

create-require is a small polyfill for Node.js module.createRequire for versions up to v12.2.0. It helps you create a require function from a filename or URL so you can load modules relative to that file.

Project status

  • The last substantive published updates shown are v1.0.2 (2020-06-12) and v1.1.1 (2020-11-26), with changes largely limited to TypeScript typings and a small runtime fallback behavior (v1.1.0). Release notes were missing for some versions (v1.0.2, v1.1.0), so there is less documented detail to assess upgrade impact.
  • Apparent update cadence is very infrequent, with multiple updates clustered in 2020 (June to November) and then no documented package updates afterward; the only newer evidence provided is a GitHub “last upstream push” on 2024-04-29, which is not the same as regular package publishing.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.1.1

    v1.1.1 is a small release focused on TypeScript typings. It adds an explicit import of the Node.js URL type in the generated TypeScript definition file. The codebase also includes a version bump, a changelog entry, and a large yarn.lock churn that is not described in the release notes.

  • v1.1.0

    This release bumps the package version to v1.1.0 and updates the createRequire polyfill implementation. The only code change is adding a fallback behavior when the filename argument is missing. Release notes were not provided by the publisher.

    Features
  • v1.0.2

    Release v1.0.2 was published on 2020-06-12, but no release notes or change log details were provided by the publisher. Because the notes are missing, developers should review the actual diff between v1.0.1 and v1.0.2 (API surface, config changes, and dependency updates) to assess upgrade risk.