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 2.2.1 to 2.3.0

lib/schemaValidator.js

2

CHANGELOG.md

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

- 2016-12-15 - v2.3.0
- 2016-12-15 - Validate resource schema before starting the server
- 2016-12-08 - v2.2.1

@@ -2,0 +4,0 @@ - 2016-12-08 - Prefer client generated ID's for newly created resources

@@ -19,2 +19,3 @@ 'use strict'

const metrics = require('./metrics.js')
const schemaValidator = require('./schemaValidator.js')

@@ -115,2 +116,3 @@ jsonApi.Joi = ourJoi.Joi

jsonApi.start = () => {
schemaValidator.validate(jsonApi._resources)
router.applyMiddleware()

@@ -117,0 +119,0 @@ routes.register()

2

package.json
{
"name": "jsonapi-server",
"version": "2.2.1",
"version": "2.3.0",
"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