New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

modern-errors

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modern-errors - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

12

package.json
{
"name": "modern-errors",
"version": "1.1.2",
"version": "1.2.0",
"type": "module",

@@ -49,11 +49,11 @@ "exports": "./build/src/main.js",

"dependencies": {
"error-cause-polyfill": "^1.0.3",
"error-type": "^1.1.10",
"error-cause-polyfill": "^1.0.4",
"error-type": "^1.2.0",
"is-plain-obj": "^4.1.0",
"merge-error-cause": "^1.1.5"
"merge-error-cause": "^1.2.0"
},
"devDependencies": {
"@ehmicky/dev-tasks": "^1.0.77",
"@ehmicky/dev-tasks": "^1.0.78",
"test-each": "^5.0.0",
"tsd": "^0.20.0"
"tsd": "^0.21.0"
},

@@ -60,0 +60,0 @@ "engines": {

<img src="https://raw.githubusercontent.com/ehmicky/design/main/modern-errors/modern-errors.svg" width="600"/>
[![Codecov](https://img.shields.io/codecov/c/github/ehmicky/modern-errors.svg?label=tested&logo=codecov)](https://codecov.io/gh/ehmicky/modern-errors)
[![Build](https://github.com/ehmicky/modern-errors/workflows/Build/badge.svg)](https://github.com/ehmicky/modern-errors/actions)
[![Node](https://img.shields.io/node/v/modern-errors.svg?logo=node.js)](https://www.npmjs.com/package/modern-errors)
[![Twitter](https://img.shields.io/badge/%E2%80%8B-twitter-4cc61e.svg?logo=twitter)](https://twitter.com/intent/follow?screen_name=ehmicky)
[![Medium](https://img.shields.io/badge/%E2%80%8B-medium-4cc61e.svg?logo=medium)](https://medium.com/@ehmicky)
[![TypeScript](https://img.shields.io/badge/-typed-brightgreen?logo=typescript&colorA=gray)](/src/main.d.ts)
[![Twitter](https://img.shields.io/badge/%E2%80%8B-twitter-brightgreen.svg?logo=twitter)](https://twitter.com/intent/follow?screen_name=ehmicky)
[![Medium](https://img.shields.io/badge/%E2%80%8B-medium-brightgreen.svg?logo=medium)](https://medium.com/@ehmicky)

@@ -16,3 +16,3 @@ Handle errors like it's 2022 🔮

- [Minimalist API](#api)
- [Custom error types](https://github.com/ehmicky/modern-errors#create-error-types-and-handler)
- [Create custom error types](https://github.com/ehmicky/modern-errors#create-error-types-and-handler)
- Wrap any error's [message](#wrap-error-message), [type](#set-error-type), or

@@ -460,2 +460,13 @@ [properties](#wrap-error-properties)

# Related projects
- [`error-type`](https://github.com/ehmicky/error-type): Create custom error
types
- [`normalize-exception`](https://github.com/ehmicky/normalize-exception):
Normalize exceptions/errors
- [`merge-error-cause`](https://github.com/ehmicky/merge-error-cause): Merge an
error with its `cause`
- [`error-cause-polyfill`](https://github.com/ehmicky/error-cause-polyfill):
Polyfill `error.cause`
# Support

@@ -462,0 +473,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc