normalize-exception

Normalize exceptions/errors

MIT License

Downloads
64.9K
Stars
8
Committers
2
normalize-exception - Release 1.8.0

Published by ehmicky about 2 years ago

Features

  • Ensure error.name matches error.constructor.name
normalize-exception - Release 1.7.0

Published by ehmicky about 2 years ago

Features

  • Improve TypeScript types
normalize-exception - Release 1.6.0

Published by ehmicky about 2 years ago

Features

  • Reduce npm package size
normalize-exception - Release 1.5.0

Published by ehmicky about 2 years ago

Features

  • Reduce npm package size
normalize-exception - Release 1.4.2

Published by ehmicky about 2 years ago

Bug fixes

  • Better handling of Node.js --enable-source-maps CLI flag
normalize-exception - Release 1.4.1

Published by ehmicky about 2 years ago

Chore

  • Update homepage in package.json
normalize-exception - Release 1.4.0

Published by ehmicky about 2 years ago

Features

  • Improve handling of errors that are plain objects
normalize-exception - Release 1.3.0

Published by ehmicky over 2 years ago

Features

  • Improve handling of errors that are Proxy instances
normalize-exception - Release 1.2.0

Published by ehmicky over 2 years ago

Features

  • Handle errors that are Proxy instances, by converting them to non-Proxy
  • Handle error properties that are get functions that throw
normalize-exception - Release 1.1.5

Published by ehmicky over 2 years ago

  • Split files (92fcc4f)
  • Move lines (e2c36fa)
  • Split files (30c9c70)
  • Move files (707a67f)
  • Move file (b3b1cb6)
  • Ensure constructor is normal (68556f0)
normalize-exception - Release 1.1.4

Published by ehmicky over 2 years ago

  • Refactoring (83fcd95)
  • Fix linting (5f823d5)
  • Upgrade @ehmicky/dev-tasks 1.0.76 -> 1.0.77 (f8207d0)
normalize-exception - Release 1.1.3

Published by ehmicky over 2 years ago

  • Use is-plain-obj (c81d653)
normalize-exception - Release 1.1.2

Published by ehmicky over 2 years ago

normalize-exception - Release 1.1.1

Published by ehmicky over 2 years ago

  • Improve types (ac91260)
normalize-exception - Release 1.1.0

Published by ehmicky over 2 years ago

  • Handle readonly getters (efafc2e)
  • Handle getters (b69d003)
  • Renaming (e484b52)
  • Rename files (4587cd2)
  • Improve descriptors (ba8b76d)
  • Refactoring (313ef72)
  • Handle unextensible errors (46c851f)
normalize-exception - Release 1.0.2

Published by ehmicky over 2 years ago

  • Support cross-realm Errors (e281773)
  • Rename file (c73340c)
  • Normalize enumerability (7db17b2)
  • Make properties configurable (651a86b)
  • License 2021 -> 2022 (fc9b67f)
normalize-exception - Release 1.0.1

Published by ehmicky over 2 years ago

  • Add TypeScript description (48517cc)
  • Add keywords (ba1bbe1)
  • Improve README (d406332)
  • Add example (f140d51)
  • Add type tests (28359e3)
  • Split file (aee4eda)
  • Improve error object construction (6a7a538)
  • Refactoring (3639b86)
  • Refactoring (00fc8d0)
  • Refactoring (ca8bb2e)
  • Ignore undefined errors (af9f946)
  • Refactoring (3d1d6ae)
  • Split file (183b49e)
  • Split file (a739104)
  • Fix linting (1608b17)
  • Fix stack trace in old Node.js (9426a6d)
  • Improve test (43c2e0b)
  • Fix error message (07af8e9)
  • Fix error.cause not existing in old Node.js (1dd600a)
  • Add test (fc376e4)
  • Add test (10d6c35)
  • Add test (d789f70)
  • Split file (ac275f0)
  • Add test (a5e06d9)
  • Add test (8accb80)
  • Add test (f344adf)
  • Add more tests (9e7f7c3)
  • Add test (09165a2)
  • Improve test (ca79f2e)
  • Add more tests (7444673)
  • Improve test (5f37172)
  • Add test (f454e27)
  • Add tests (5c825de)
  • Add tests (a462775)
  • Add test (c57dcce)
  • Add tests (9f8ddda)
  • Add test (9067f0c)
  • Add more tests (00026b5)
  • Add more tests (86f86dd)
  • Add more tests (423fe19)
  • Add test (bcb90e6)
  • Handle edge cases (716b085)
  • Fix tests (efca06b)
  • Fix test (dc0164a)
  • Fix test (5e534e6)
  • Add more tests (d2d0dce)
  • Improve stack trace generation (901b27d)
  • Split file (2d2a525)
  • Improve test (a0d12d7)
  • Add test (a197631)
  • Improve test (5be7de4)
  • Add tests (7d77e6b)
  • Add more tests (3d5b1db)
  • Add test (f7baa38)
  • Fix comment (4d603d7)
  • Initial commit (a437ee3)