This repository was archived by the owner on Nov 22, 2025. It is now read-only.
Releases: shirohana/native-require
Releases · shirohana/native-require
Release v1.1.4 - 2018-01-24
Release v1.1.3
- Improve
.frommethod
Release v1.1.1
- Fix basedir option
- Throw custom error message
Release v1.1.0
Main change
- Change default
basedirfromprocess.cwd()to the module where requires this module
*Important!
This version does NOT downward compatible below ^1.0.*, upgrade to 1.1.0 would break your code!
All relative requires should be checked and ensure it would not throws an Error.
It will no problems if you requires from node_modules or fullpath
Release v1.0.3
Updates
- Add relative requires/resolves supports
- Full refactored with ES5 Syntax
It's probably the last version of ^1.0.*, and the next version(1.1.0) will break exists codes, please take cases on it.
Publish v1.0.1
Fix Issue #1
Add new method nrequire.from