New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

enonic-fp

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enonic-fp - npm Package Compare versions

Comparing version 0.2.11 to 0.2.12

2

lib/menu.d.ts

@@ -7,2 +7,2 @@ import { BreadcrumbMenu, GetBreadcrumbMenuParams, MenuItem } from "enonic-types/lib/menu";

export declare function getMenuTree(levels: number): IOEither<EnonicError, ReadonlyArray<MenuItem>>;
export declare function getSubMenus(parentContent: Content<any>, levels: number): IOEither<EnonicError, ReadonlyArray<MenuItem>>;
export declare function getSubMenus(levels: number): (parentContent: Content<any>) => IOEither<EnonicError, ReadonlyArray<MenuItem>>;

@@ -13,5 +13,5 @@ "use strict";

exports.getMenuTree = getMenuTree;
function getSubMenus(parentContent, levels) {
return utils_1.catchEnonicError(function () { return menuLib.getSubMenus(parentContent, levels); });
function getSubMenus(levels) {
return function (parentContent) { return utils_1.catchEnonicError(function () { return menuLib.getSubMenus(parentContent, levels); }); };
}
exports.getSubMenus = getSubMenus;
{
"name": "enonic-fp",
"version": "0.2.11",
"version": "0.2.12",
"description": "Functional programming helpers for Enonic XP",

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

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