run-time-error-cjs
Version:
A better error that is inspired by the Java exception that is also serializable to JSON.
46 lines (26 loc) • 1.01 kB
Markdown
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- Introduced ESM and UMD versions of this module, each with an ES5 version for browser environments.
- Removed unnecessary files from the package making it more lightweight.
- Moved to named exports, so importing this should now look like this:
``` js
import { RuntimeError } from 'run-time-error';
// instead of
import RuntimeError from 'run-time-error';
```
- Support for Node.js version `10.x.x` has been dropped.
- Introduced documentation to the Typescript type definitions.
A code quality release; no functionality changes.
- Updated the TypeScript type definitions to adhere to ECMAScript 6.
The initial public release.