Packages

@nestjs/mapped-types

12.0.1 · 2 Nov 2026MIT14.1M / weekRepositoryHomepagenpmAtom feed

Your version

12.0.0

major27 Aug 2026Where it was published

12.0.1 is the newest release of 12.x.

Release note

What's Changed

@nestjs/mapped-types is now a native ES module, and the major version is aligned with the Nest 12 release line (there is no 3.x — 2.1.1 goes straight to 12.0.0).

ESM migration

The package is published as pure ESM ("type": "module", compiled with NodeNext) behind a proper exports map. The legacy root index.js / index.d.ts shims are gone, and deep imports into build internals are no longer resolvable — import from the package root.

require(esm) — CommonJS still works

You do not need to convert your app to ESM. Thanks to Node's require(esm) support, this keeps working:

const { PartialType } = require('@nestjs/mapped-types');

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.