NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #174 most downloaded on npm
Import a module while bypassing the cache
Last release 9 days ago
25 Sep 2026
Release timing varies
gaps range from 2 months to 4.1 years
Nearly every release is documented
notes for 9 of 10 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
10 releases · first in 2017
Fix: Reject import attributes for CommonJS targets 2e95e72
This package is now pure ESM. Please read this .
Migration:
const importFresh = require('import-fresh');
const foo = importFresh('./foo');to
import createImportFresh from 'import-fresh';
const importFresh = createImportFresh(import.meta.url);
const foo = await importFresh('./foo.js');One column per quarter.
Fix Bun compatibility ( #32 ) 972690b
Generalize TypeScript declaration ( #20 ) 66079d9
Handle there being no parent module ( #19 ) 3d27ebc
Add handling of parent being absent from cache and parent being self ( #16 ) c827b22
Make module.parent transparent ( #13 ) d5af1bd
Add TypeScript definitions ( #12 ) ff7f248
Improve the logic for finding the module to import 2010f5c
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →