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

@arranger/middleware

Package Overview
Dependencies
Maintainers
10
Versions
251
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arranger/middleware - npm Package Compare versions

Comparing version 2.2.4 to 2.3.0

6

dist/buildAggregations/createFieldAggregation.js

@@ -72,7 +72,7 @@ "use strict";

isNested = _ref5$isNested === void 0 ? false : _ref5$isNested;
var types = [_constants.BUCKETS, _constants.STATS, _constants.HISTOGRAM].filter(function (t) {
var types = [_constants.BUCKETS, _constants.STATS, _constants.HISTOGRAM, _constants.BUCKET_COUNT].filter(function (t) {
return graphqlField[t];
});
return types.reduce(function (acc, type) {
if (type === _constants.BUCKETS) {
if (type === _constants.BUCKETS || type === _constants.BUCKET_COUNT) {
return Object.assign(acc, createTermAggregation({

@@ -95,2 +95,2 @@ field: field,

exports["default"] = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9idWlsZEFnZ3JlZ2F0aW9ucy9jcmVhdGVGaWVsZEFnZ3JlZ2F0aW9uLmpzIl0sIm5hbWVzIjpbIk1BWF9BR0dSRUdBVElPTl9TSVpFIiwiSElTVE9HUkFNX0lOVEVSVkFMX0RFRkFVTFQiLCJjcmVhdGVOdW1lcmljQWdncmVnYXRpb24iLCJ0eXBlIiwiZmllbGQiLCJncmFwaHFsRmllbGQiLCJhcmdzIiwiSElTVE9HUkFNIiwiaW50ZXJ2YWwiLCJjcmVhdGVUZXJtQWdncmVnYXRpb24iLCJpc05lc3RlZCIsImFnZ3MiLCJybiIsInJldmVyc2VfbmVzdGVkIiwidGVybXMiLCJzaXplIiwibWlzc2luZyIsInR5cGVzIiwiQlVDS0VUUyIsIlNUQVRTIiwiZmlsdGVyIiwidCIsInJlZHVjZSIsImFjYyIsIk9iamVjdCIsImFzc2lnbiIsImluY2x1ZG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mllbGQsIGlzTmVzdGVkIH0pKTtcbiAgICB9IGVsc2UgaWYgKFtTVEFUUywgSElTVE9HUkFNXS5pbmNsdWRlcyh0eXBlKSkge1xuICAgICAgcmV0dXJuIE9iamVjdC5hc3NpZ24oXG4gICAgICAgIGFjYyxcbiAgICAgICAgY3JlYXRlTnVtZXJpY0FnZ3JlZ2F0aW9uKHsgdHlwZSwgZmllbGQsIGdyYXBocWxGaWVsZCB9KSxcbiAgICAgICk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHJldHVybiBhY2M7XG4gICAgfVxuICB9LCB7fSk7XG59O1xuIl19

@@ -6,3 +6,3 @@ "use strict";

});
exports.AGGS_WRAPPER_NESTED = exports.AGGS_WRAPPER_FILTERED = exports.AGGS_WRAPPER_GLOBAL = exports.HISTOGRAM = exports.STATS = exports.BUCKETS = exports.ES_ARRANGER_SET_TYPE = exports.ES_ARRANGER_SET_INDEX = exports.ES_MAX_LONG = exports.ES_DATE_FORMAT = exports.ES_PHRASE_PREFIX = exports.ES_TYPE = exports.ES_FIELDS = exports.ES_MULTI_MATCH = exports.ES_PATH = exports.ES_QUERY = exports.ES_BOOL = exports.ES_PREFIX = exports.ES_NESTED = exports.ES_SHOULD = exports.ES_MUST_NOT = exports.ES_MUST = exports.ES_WILDCARD = exports.ARRAY_CONTENT = exports.DATE_FORMAT = exports.OP_ALIASES = exports.SET_ID = exports.MISSING = exports.REGEX = exports.BETWEEN_OP = exports.LTE_OP = exports.LT_OP = exports.GTE_OP = exports.GT_OP = exports.NOT_OP = exports.OR_OP = exports.AND_OP = exports.FILTER_OP = exports.SOME_NOT_IN_OP = exports.ALL_OP = exports.NOT_IN_OP = exports.IN_OP = void 0;
exports.BUCKET_COUNT = exports.AGGS_WRAPPER_NESTED = exports.AGGS_WRAPPER_FILTERED = exports.AGGS_WRAPPER_GLOBAL = exports.HISTOGRAM = exports.STATS = exports.BUCKETS = exports.ES_ARRANGER_SET_TYPE = exports.ES_ARRANGER_SET_INDEX = exports.ES_MAX_LONG = exports.ES_DATE_FORMAT = exports.ES_PHRASE_PREFIX = exports.ES_TYPE = exports.ES_FIELDS = exports.ES_MULTI_MATCH = exports.ES_PATH = exports.ES_QUERY = exports.ES_BOOL = exports.ES_PREFIX = exports.ES_NESTED = exports.ES_SHOULD = exports.ES_MUST_NOT = exports.ES_MUST = exports.ES_WILDCARD = exports.ARRAY_CONTENT = exports.DATE_FORMAT = exports.OP_ALIASES = exports.SET_ID = exports.MISSING = exports.REGEX = exports.BETWEEN_OP = exports.LTE_OP = exports.LT_OP = exports.GTE_OP = exports.GT_OP = exports.NOT_OP = exports.OR_OP = exports.AND_OP = exports.FILTER_OP = exports.SOME_NOT_IN_OP = exports.ALL_OP = exports.NOT_IN_OP = exports.IN_OP = void 0;
// sqon ops

@@ -103,2 +103,4 @@ var IN_OP = 'in';

exports.AGGS_WRAPPER_NESTED = AGGS_WRAPPER_NESTED;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb25zdGFudHMuanMiXSwibmFtZXMiOlsiSU5fT1AiLCJOT1RfSU5fT1AiLCJBTExfT1AiLCJTT01FX05PVF9JTl9PUCIsIkZJTFRFUl9PUCIsIkFORF9PUCIsIk9SX09QIiwiTk9UX09QIiwiR1RfT1AiLCJHVEVfT1AiLCJMVF9PUCIsIkxURV9PUCIsIkJFVFdFRU5fT1AiLCJSRUdFWCIsIk1JU1NJTkciLCJTRVRfSUQiLCJPUF9BTElBU0VTIiwiREFURV9GT1JNQVQiLCJBUlJBWV9DT05URU5UIiwiRVNfV0lMRENBUkQiLCJFU19NVVNUIiwiRVNfTVVTVF9OT1QiLCJFU19TSE9VTEQiLCJFU19ORVNURUQiLCJFU19QUkVGSVgiLCJFU19CT09MIiwiRVNfUVVFUlkiLCJFU19QQVRIIiwiRVNfTVVMVElfTUFUQ0giLCJFU19GSUVMRFMiLCJFU19UWVBFIiwiRVNfUEhSQVNFX1BSRUZ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FycmFuZ2VyLXNldHMnO1xuXG5leHBvcnQgY29uc3QgQlVDS0VUUyA9ICdidWNrZXRzJztcbmV4cG9ydCBjb25zdCBTVEFUUyA9ICdzdGF0cyc7XG5leHBvcnQgY29uc3QgSElTVE9HUkFNID0gJ2hpc3RvZ3JhbSc7XG5leHBvcnQgY29uc3QgQUdHU19XUkFQUEVSX0dMT0JBTCA9ICdnbG9iYWwnO1xuZXhwb3J0IGNvbnN0IEFHR1NfV1JBUFBFUl9GSUxURVJFRCA9ICdmaWx0ZXJlZCc7XG5leHBvcnQgY29uc3QgQUdHU19XUkFQUEVSX05FU1RFRCA9ICduZXN0ZWQnO1xuIl19
var BUCKET_COUNT = 'bucket_count';
exports.BUCKET_COUNT = BUCKET_COUNT;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb25zdGFudHMuanMiXSwibmFtZXMiOlsiSU5fT1AiLCJOT1RfSU5fT1AiLCJBTExfT1AiLCJTT01FX05PVF9JTl9PUCIsIkZJTFRFUl9PUCIsIkFORF9PUCIsIk9SX09QIiwiTk9UX09QIiwiR1RfT1AiLCJHVEVfT1AiLCJMVF9PUCIsIkxURV9PUCIsIkJFVFdFRU5fT1AiLCJSRUdFWCIsIk1JU1NJTkciLCJTRVRfSUQiLCJPUF9BTElBU0VTIiwiREFURV9GT1JNQVQiLCJBUlJBWV9DT05URU5UIiwiRVNfV0lMRENBUkQiLCJFU19NVVNUIiwiRVNfTVVTVF9OT1QiLCJFU19TSE9VTEQiLCJFU19ORVNURUQiLCJFU19QUkVGSVgiLCJFU19CT09MIiwiRVNfUVVFUlkiLCJFU19QQVRIIiwiRVNfTVVMVElfTUFUQ0giLCJFU19GSUVMRFMiLCJFU19UWVBFIiwiRVNfUEhSQVNFX1BSRUZJWCIsIkVTX0RBVEVfRk9STUFUIiwiRVNfTUFYX0xPTkciLCJFU19BUlJBTkdFUl9TRVRfSU5ERVgiLCJFU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ICdhcnJhbmdlci1zZXRzJztcblxuZXhwb3J0IGNvbnN0IEJVQ0tFVFMgPSAnYnVja2V0cyc7XG5leHBvcnQgY29uc3QgU1RBVFMgPSAnc3RhdHMnO1xuZXhwb3J0IGNvbnN0IEhJU1RPR1JBTSA9ICdoaXN0b2dyYW0nO1xuZXhwb3J0IGNvbnN0IEFHR1NfV1JBUFBFUl9HTE9CQUwgPSAnZ2xvYmFsJztcbmV4cG9ydCBjb25zdCBBR0dTX1dSQVBQRVJfRklMVEVSRUQgPSAnZmlsdGVyZWQnO1xuZXhwb3J0IGNvbnN0IEFHR1NfV1JBUFBFUl9ORVNURUQgPSAnbmVzdGVkJztcbmV4cG9ydCBjb25zdCBCVUNLRVRfQ09VTlQgPSAnYnVja2V0X2NvdW50JztcbiJdfQ==

@@ -63,6 +63,8 @@ "use strict";

var missing = (0, _lodash.get)(aggregations, ["".concat(field, ":missing")]);
var buckets = [].concat(_toConsumableArray(value.buckets), _toConsumableArray(includeMissing && missing ? [_objectSpread(_objectSpread({}, missing), {}, {
var buckets = [].concat(_toConsumableArray(value.buckets), _toConsumableArray(includeMissing && missing && missing.doc_count > 0 ? [_objectSpread(_objectSpread({}, missing), {}, {
key: _constants.MISSING
})] : []));
var bucket_count = buckets.length;
return _objectSpread(_objectSpread({}, prunedAggs), {}, _defineProperty({}, field, {
bucket_count: bucket_count,
buckets: buckets.map(function (_ref4) {

@@ -90,2 +92,2 @@ var rn = _ref4.rn,

exports["default"] = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9mbGF0dGVuQWdncmVnYXRpb25zLmpzIl0sIm5hbWVzIjpbImZsYXR0ZW5BZ2dyZWdhdGlvbnMiLCJhZ2dyZWdhdGlvbnMiLCJpbmNsdWRlTWlzc2luZyIsIk9iamVjdCIsImVudHJpZXMiLCJyZWR1Y2UiLCJwcnVuZWRBZ2dzIiwia2V5IiwidmFsdWUiLCJzc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bnN0IGJ1Y2tldF9jb3VudCA9IGJ1Y2tldHMubGVuZ3RoO1xuXG4gICAgICByZXR1cm4ge1xuICAgICAgICAuLi5wcnVuZWRBZ2dzLFxuICAgICAgICBbZmllbGRdOiB7XG4gICAgICAgICAgYnVja2V0X2NvdW50LFxuICAgICAgICAgIGJ1Y2tldHM6IGJ1Y2tldHNcbiAgICAgICAgICAgIC5tYXAoKHsgcm4sIC4uLmJ1Y2tldCB9KSA9PiAoe1xuICAgICAgICAgICAgICAuLi5idWNrZXQsXG4gICAgICAgICAgICAgIGRvY19jb3VudDogcm4gPyBybi5kb2NfY291bnQgOiBidWNrZXQuZG9jX2NvdW50LFxuICAgICAgICAgICAgfSkpXG4gICAgICAgICAgICAuZmlsdGVyKGIgPT4gYi5kb2NfY291bnQpLFxuICAgICAgICB9LFxuICAgICAgfTtcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIHtcbiAgICAgICAgLi4ucHJ1bmVkQWdncyxcbiAgICAgICAgLi4uZmxhdHRlbkFnZ3JlZ2F0aW9ucyh7IGFnZ3JlZ2F0aW9uczogdmFsdWUsIGluY2x1ZGVNaXNzaW5nIH0pLFxuICAgICAgfTtcbiAgICB9XG4gIH0sIHt9KTtcbn1cblxuZXhwb3J0IGRlZmF1bHQgZmxhdHRlbkFnZ3JlZ2F0aW9ucztcbiJdfQ==
{
"name": "@arranger/middleware",
"version": "2.2.4",
"version": "2.3.0",
"description": "Arranger Middleware",

@@ -50,3 +50,3 @@ "main": "dist/index.js",

"express": "^4.16.3",
"lodash": "^4.17.15",
"lodash": "^4.17.20",
"morgan": "^1.9.0",

@@ -59,3 +59,3 @@ "utf8": "^3.0.0",

},
"gitHead": "21fbfebde7243c7510b9a725f3449fde591f4d4c"
"gitHead": "3572f1caf36b81b6fa4d28a75dab04e62361dcc3"
}

@@ -17,3 +17,8 @@ import flattenAggregations from '../src/flattenAggregations.js';

},
output: { status: { buckets: [{ key: 'legacy', doc_count: 34 }] } },
output: {
status: {
bucket_count: 1,
buckets: [{ key: 'legacy', doc_count: 34 }],
},
},
},

@@ -53,2 +58,3 @@ {

categoryName: {
bucket_count: 4,
buckets: [

@@ -62,2 +68,3 @@ { key: 'Item flagged DN', doc_count: 16191 },

itemType: {
bucket_count: 2,
buckets: [

@@ -85,2 +92,3 @@ { key: 'Aliquot', doc_count: 16730 },

status: {
bucket_count: 2,
buckets: [

@@ -111,2 +119,3 @@ { key: 'legacy', doc_count: 34 },

'archive.revision': {
bucket_count: 2,
buckets: [

@@ -140,2 +149,3 @@ { key: 2002, doc_count: 37860 },

'samples.is_ffpe': {
bucket_count: 2,
buckets: [

@@ -172,2 +182,3 @@ { key: 'a', doc_count: 7 },

'samples.portions.amount': {
bucket_count: 2,
buckets: [

@@ -211,2 +222,3 @@ { key: 'a', doc_count: 7 },

'samples.portions.amount': {
bucket_count: 2,
buckets: [

@@ -218,2 +230,3 @@ { key: 'a', doc_count: 7 },

'samples.is_ffpe': {
bucket_count: 2,
buckets: [

@@ -266,4 +279,8 @@ { key: 'a', doc_count: 7 },

output: {
status: { buckets: [{ key: 'legacy', doc_count: 34 }] },
status: {
bucket_count: 1,
buckets: [{ key: 'legacy', doc_count: 34 }],
},
'samples.portions.amount': {
bucket_count: 2,
buckets: [

@@ -275,2 +292,3 @@ { key: 'a', doc_count: 7 },

'samples.is_ffpe': {
bucket_count: 2,
buckets: [

@@ -277,0 +295,0 @@ { key: 'a', doc_count: 7 },

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