Socket
Socket
Sign inDemoInstall

@coding-blocks/jsonapi-server

Package Overview
Dependencies
112
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.1.1 to 5.1.2

11

CHANGELOG.md

@@ -8,2 +8,13 @@ - 2017-12-18 - v5.1.1

- 2017-11-03 - use node >= 8
- 2017-12-11 - v4.1.2
- 2017-12-11 - Fix broken response test resource to enable integration with data store handlers.
- 2017-11-15 - v4.1.1
- 2017-11-15 - Downgrade Joi to a version supported by Node.js v6.
- 2017-11-15 - Force `engine-strict=true` when running npm.
- 2017-11-14 - v4.1.0
- 2017-11-14 - New configuration option to disable automatic id generation.
- 2017-11-14 - Update GraphQL dependencies to latest versions.
- 2017-11-14 - Remove yarn lockfile.
- 2017-11-03 - v4.0.0
- 2017-11-03 - Return error when a response item does not validate.
- 2017-11-03 - v4.1.1

@@ -10,0 +21,0 @@ - 2017-11-03 - use latest graphql and joi

6

documentation/suggested-project-structure.md

@@ -57,5 +57,5 @@ ### Suggested Project Structure

attributes: {
title: jsonApi.Joi.string()
url: jsonApi.Joi.string().uri()
height: jsonApi.Joi.number().min(1).max(10000).precision(0)
title: jsonApi.Joi.string(),
url: jsonApi.Joi.string().uri(),
height: jsonApi.Joi.number().min(1).max(10000).precision(0),
width: jsonApi.Joi.number().min(1).max(10000).precision(0)

@@ -62,0 +62,0 @@ }

@@ -5,2 +5,10 @@ 'use strict'

module.exports = new jsonApi.MemoryHandler()
const brokenResponseHandler = new jsonApi.ChainHandler()
brokenResponseHandler.afterFind = (request, result, callback) => {
result.boolean = Number(result.boolean)
result.number = String(result.number)
return callback(null, result)
}
module.exports = brokenResponseHandler.chain(new jsonApi.MemoryHandler())

@@ -20,6 +20,6 @@ 'use strict'

type: 'brokenResponse',
boolean: 1,
number: '3'
boolean: true,
number: 3
}
]
})
{
"name": "@coding-blocks/jsonapi-server",
"version": "5.1.1",
"version": "5.1.2",
"description": "A config driven NodeJS framework implementing json:api",

@@ -30,3 +30,3 @@ "keywords": [

"dependencies": {
"async": "2.5.0",
"async": "2.6.0",
"body-parser": "1.18.2",

@@ -38,3 +38,3 @@ "cookie-parser": "1.4.3",

"graphql": "0.11.7",
"joi": "13.0.1",
"joi": "12.0.0",
"lodash.assign": "4.2.0",

@@ -53,3 +53,3 @@ "lodash.isequal": "4.5.0",

"coveralls": "3.0.0",
"eslint": "4.10.0",
"eslint": "4.13.1",
"eslint-config-standard": "10.2.1",

@@ -60,3 +60,3 @@ "eslint-plugin-import": "2.8.0",

"eslint-plugin-standard": "3.0.1",
"jscpd": "0.6.15",
"jscpd": "0.6.17",
"lokka": "1.7.0",

@@ -66,4 +66,4 @@ "lokka-transport-http": "1.6.1",

"mocha-performance": "0.1.1",
"nyc": "11.2.1",
"swagger-tools": "0.9.11",
"nyc": "11.3.0",
"swagger-tools": "0.10.3",
"v8-profiler": "5.7.0"

@@ -70,0 +70,0 @@ },

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc