Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@curveball/problem

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@curveball/problem - npm Package Compare versions

Comparing version 0.5.0 to 1.0.0

dist/build

38

package.json
{
"name": "@curveball/problem",
"version": "0.5.0",
"version": "1.0.0",
"description": "A middleware for converting errors into application/problem+json",
"type": "module",
"exports": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"main": "cjs/index.js",
"exports": "./dist/index.js",
"homepage": "https://github.com/curveball/problem#readme",

@@ -26,3 +22,4 @@ "bugs": {

"exception",
"rfc7807"
"rfc7807",
"rfc9457"
],

@@ -37,3 +34,4 @@ "author": "Evert Pot (https://evertpot.com/)",

"tsc": "tsc",
"start": "make start"
"start": "make start",
"build": "make build"
},

@@ -45,25 +43,27 @@ "repository": {

"peerDependencies": {
"@curveball/kernel": ">=0.21.0 <1"
"@curveball/kernel": "^1"
},
"devDependencies": {
"@curveball/kernel": ">=0.21.0 <1",
"@curveball/kernel": "^1.0.0",
"@types/chai": "^4.2.15",
"@types/mocha": "^10.0.1",
"@types/node": "^14.18.26",
"@types/sinon": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"chai": "^4.3.0",
"@types/node": "^18.19.8",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"chai": "^5.0.0",
"eslint": "^8.23.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"sinon": "^15.0.1",
"sinon": "^17.0.1",
"ts-node": "^10.9.1",
"typescript": "^4.5.4"
"typescript": "^5.3.3"
},
"engines": {
"node": ">= 18"
},
"files": [
"package.json",
"README.md",
"esm",
"cjs",
"dist",
"LICENSE",

@@ -70,0 +70,0 @@ "src"

@@ -6,3 +6,3 @@ Curveball Problem Middleware

exception and turns them into `application/problem+json` responses, as defined
in [RFC7807][1].
in [RFC9457][1].

@@ -84,4 +84,4 @@ By default any exception turns into a non-descript 500 Internal Server Error.

[1]: https://tools.ietf.org/html/rfc7807
[1]: https://tools.ietf.org/html/rfc9457
[2]: https://github.com/curveball/
[3]: https://github.com/curveball/http-errors

Sorry, the diff of this file is not supported yet

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