You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

express-json-data

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-json-data - npm Package Compare versions

Comparing version

to
1.1.2

@@ -27,10 +27,9 @@ 'use strict';

function expressJsonData() {
var _ref = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
_ref$data = _ref.data,
data = _ref$data === undefined ? {} : _ref$data,
limit = _ref.limit,
_ref$type = _ref.type,
type = _ref$type === undefined ? ['application/json', 'application/json-patch+json'] : _ref$type;
var _ref$data = _ref.data;
var data = _ref$data === undefined ? {} : _ref$data;
var limit = _ref.limit;
var _ref$type = _ref.type;
var type = _ref$type === undefined ? ['application/json', 'application/json-patch+json'] : _ref$type;
function getData(path) {

@@ -37,0 +36,0 @@ // See https://github.com/Starcounter-Jack/JSON-Patch/issues/66

{
"name": "express-json-data",
"version": "1.1.1",
"version": "1.1.2",
"description": "Express JSON data router",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet