enonic-wizardry
Advanced tools
Comparing version 0.1.11 to 0.1.12
@@ -39,6 +39,3 @@ "use strict"; | ||
key: key, | ||
editor: function (content) { | ||
content.data = __assign(__assign({}, content.data), changes); | ||
return content; | ||
}, | ||
editor: function (content) { return (__assign(__assign({}, content), { data: __assign(__assign({}, content.data), changes) })); }, | ||
requireValid: true | ||
@@ -45,0 +42,0 @@ }; |
"use strict"; | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -65,8 +76,5 @@ var common_1 = require("enonic-fp/lib/common"); | ||
return IO_1.map(function (res) { | ||
res.headers = { | ||
'X-Total-Count': String(total) | ||
}; | ||
return res; | ||
return __assign(__assign({}, res), { headers: __assign(__assign({}, res.headers), { 'X-Total-Count': String(total) }) }); | ||
})(response); | ||
} | ||
exports.setTotal = setTotal; |
{ | ||
"name": "enonic-wizardry", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"description": "Functional utility library for Enonic XP", | ||
@@ -32,3 +32,3 @@ "main": "lib/index.js", | ||
"commander": "^3.0.2", | ||
"enonic-fp": "^0.1.5", | ||
"enonic-fp": "^0.1.6", | ||
"fp-ts": "^2.1.1", | ||
@@ -35,0 +35,0 @@ "io-ts": "^2.0.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31992
722
Updatedenonic-fp@^0.1.6