New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.2.10 to 0.2.11

3

lib/content.js

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

item: portal_1.getMultipartItem(params.name, params.index, params.errorMessage)
}), IOEither_1.filterOrElse(function (res) { var _a; return ((_a = res.item.fileName) === null || _a === void 0 ? void 0 : _a.length) !== 0; }, function () {
}), IOEither_1.filterOrElse(function (res) { var _a, _b, _c; return (_c = (_b = (_a = res.item) === null || _a === void 0 ? void 0 : _a.fileName) === null || _b === void 0 ? void 0 : _b.length, (_c !== null && _c !== void 0 ? _c : 0)) > 0; }, function () {
var _a;

@@ -80,2 +80,3 @@ return ({

parentPath: params.parentPath,
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
name: item.fileName,

@@ -82,0 +83,0 @@ mimeType: item.contentType

import { EnonicError, EnonicErrorKey } from "enonic-fp/lib/errors";
import { Response } from "enonic-types/lib/controller";
import { IO } from "fp-ts/lib/IO";
import { ResourceKey } from "enonic-types/lib/thymeleaf";
export declare const defaultStatusNumbers: {

@@ -15,3 +16,3 @@ [key in EnonicErrorKey]: number;

*/
export declare function unsafeRenderErrorPage(view: any): (err: EnonicError) => IO<Response>;
export declare function unsafeRenderErrorPage(view: ResourceKey): (err: EnonicError) => IO<Response>;
export declare const ok: (body: any, other?: Partial<Response>) => IO<Response>;

@@ -18,0 +19,0 @@ export declare const created: (body: any, other?: Partial<Response>) => IO<Response>;

{
"name": "enonic-wizardry",
"version": "0.2.10",
"version": "0.2.11",
"description": "Functional utility library for Enonic XP",

@@ -28,4 +28,4 @@ "main": "lib/index.js",

"dependencies": {
"enonic-fp": "^0.2.8",
"enonic-types": "^0.0.13",
"enonic-fp": "^0.2.10",
"enonic-types": "^0.0.14",
"fp-ts": "^2.1.2",

@@ -32,0 +32,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