sindresorhus/
Serialize an error into a plain object
USD raised
Recent activities
Feat: Add a option to indicate how deep to scan Error object
Unknown object type "asyncfunction"
Nested errors are still not serialized
`deserializeError` serializes/destroys properties unnecessarily
Wrong typescript declaration for errorConstructors
Wrong typescript definition for serializeError
Jest encounters `SyntaxError: Cannot use import statement outside a module` while trying to test code that uses `serialize-error`
If string is passed as unknown, the value returned from serializeError is badly typed as ErrorObject
Error require of ES Module not supported
Visibility of undefined values in the objects
Enumerable properties are made non-enumerable
Keep old versions of the lib on a separate branch
`option` to treat undefined as null
Received error object is not extensible when calling serialize error
ERR_REQUIRE_ESM
ESBuild error when importing serialize-error
`cause` prop is not being serialized
Feature request: handle AggregateErrors
Remove direct usage of Buffer
v9+ throws ERR_REQUIRE_ESM when imported
New `addKnownErrorConstructor` method does not work when class names are minified
serializeError does not deep clone the DOMException when its key name is "cause"
Always return an object from `serializeError`
Non-enumerable property in object get losted after `serializeError()`
Add support for (or document) Error#cause
Consider making common error properties non enumerable
v7 doesn't work as described
`serializeError` converts a `Date` object into an empty plain object
Dual package with native ES Modules output
OutOfMemory exception on errors containing Buffers
Consider Object.toJSON() method
In-browser use error: ReferenceError: Buffer is not defined
Nested Error's are not deserialized
Add `isErrorObject` type guard / function
Error subclasses are lost when deserializing
Merge stack traces
change in v5: `const {inspect} = require('util');` can lead to web bundle bloat
Can type-fest be moved to devDependencies?
Use stricter type for JsonObject
CommonJS
AWS SDK v3 exposes Readable in Error object
Error [ERR_REQUIRE_ESM]: require() of ES
Error: Cannot read property 'pipe' of null
Version 9.1.1 with CRA default Babel config gives "Module parse failed"
Jest encountered an unexpected token
Optionally ignore `toJSON`
`toJSON` example is confusing
Handle custom error constructors with incompatible signatures
Ā© 2019 BoostIO, Inc.