Make-error helps you create custom error types in JavaScript, with support for `instanceof`, `error.name`, and `error.stack`. It works in Node and browsers, and is designed to be compatible with browser security constraints like CSP (it avoids `eval()`). Useful when you want structured, named errors beyond the built-in Error type.
Project status
- Maintenance status: Evidence suggests
JsCommunity/make-erroris quiet/dormant. The last upstream push was 2023-01-07, and the most recent publishedupdatesseen here are v1.3.7 (2020-11-10), with no newer change logs provided. - Update cadence: Past
updatesarrived in bursts (2017-2018 more frequent), then slowed substantially, with the latest observed publishedupdatein 2020 and no clearly documentedupdatesafter that.
AI summary generated
Recent updates
v1.3.7
v1.3.7 has no published release notes. The code diff shows essentially formatting-only changes in the main library entrypoint (index.js), along with updates to tests, linting/formatting configuration, CI Node versions, and large devDependency and lockfile upgrades.
v1.3.6
Release v1.3.6 contains no published release notes. The diff shows largely formatting and tooling-related changes, plus TypeScript declaration adjustments and dependency/dev tooling upgrades.
v1.3.5
Release v1.3.5 was published on 2018-08-30, but no release notes were provided by the publisher. As a result, there is no documented information about new features, breaking changes, bug fixes, security updates, performance improvements, or migration steps.
v1.3.4
v1.3.4 is a small change release (version bump only in package.json plus a single-line behavioral change in the error-class factory implementation). Release notes were not provided, so the documented-versus-actual comparison is limited, and the only meaningful runtime change is in index.js.
v1.3.3
Release v1.3.3 contains no publisher-provided release notes. The code change is limited to how the error instance's stack property is defined, plus a package version bump in package.json.
v1.3.2
Release v1.3.2 updates the package metadata and, most importantly, changes the TypeScript type definitions for the main `makeError` helper. There are no release notes provided, so the behavior and API guarantees are inferred from the diff.
v1.3.1
v1.3.1 updates the core error-construction logic in index.js to better support ES6 class-based “base errors” and improves edge-case handling for message/name/captureStackTrace checks. The release notes are empty, so the behavioral changes below are not documented. The rest of the diff is mainly test/tooling updates and devDependency bumps.
v1.3.0
Release v1.3.0 includes only package metadata and dependency/tooling updates. No application or library source code changes are shown in the provided diff, but the development toolchain versions and transitive dependencies were substantially refreshed.
v1.2.3
Release v1.2.3 contains a small documentation-related update and, more importantly, a TypeScript type definition change in index.d.ts. No release notes were provided, so the impact of the type change needs to be assessed directly from the diff.
v1.2.2
Release v1.2.2 was published on 2017-03-01, but no release notes were provided by the publisher. As a result, this release cannot be assessed for new features, breaking changes, bug fixes, security updates, or migration requirements based solely on the provided information.