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

enonic-wizardry

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enonic-wizardry - npm Package Compare versions

Comparing version 0.1.11 to 0.1.12

5

lib/content.js

@@ -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 @@ };

16

lib/controller.js
"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",

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