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

jsonapi-server

Package Overview
Dependencies
Maintainers
5
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonapi-server - npm Package Compare versions

Comparing version 1.15.2 to 1.15.3

2

CHANGELOG.md

@@ -0,1 +1,3 @@

- 2016-07-06 - v1.15.3
- 2016-07-06 - Provide text error to help debug HTTP 415s
- 2016-07-06 - v1.15.2

@@ -2,0 +4,0 @@ - 2016-07-06 - CORS headers are now applier further up the middleware chain

2

lib/router.js

@@ -45,3 +45,3 @@ /* @flow weak */

if (req.headers["content-type"].match(/^application\/vnd\.api\+json;.+$/)) {
return res.status(415).end();
return res.status(415).end("HTTP 415 Unsupported Media Type - [" + req.headers["content-type"] + "]");
}

@@ -48,0 +48,0 @@

{
"name": "jsonapi-server",
"version": "1.15.2",
"version": "1.15.3",
"description": "A config driven NodeJS framework implementing json:api",

@@ -5,0 +5,0 @@ "keywords": [

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