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

enonic-wizardry

Package Overview
Dependencies
Maintainers
2
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.3.6 to 0.3.7

4

package.json
{
"name": "enonic-wizardry",
"sideEffects": false,
"version": "0.3.6",
"version": "0.3.7",
"description": "Functional utility library for Enonic XP",

@@ -29,3 +29,3 @@ "main": "lib/index.js",

"dependencies": {
"enonic-fp": "^0.3.3",
"enonic-fp": "^0.3.4",
"enonic-types": "^0.1.4",

@@ -32,0 +32,0 @@ "fp-ts": "^2.8.6",

import { Reporter } from "io-ts/lib/Reporter";
import { ErrorDetail } from "enonic-fp/errors";
import { LocalizeParams } from "enonic-types/i18n";
import { LocalizeWithPrefixParams } from "enonic-fp/controller";
export interface GetErrorDetailReporterParams {
readonly i18nPrefix?: string;
readonly localizeParams?: LocalizeParams;
readonly localizeParams?: LocalizeWithPrefixParams;
}
export declare function getErrorDetailReporter(params?: GetErrorDetailReporterParams): Reporter<Array<ErrorDetail>>;

@@ -34,4 +34,4 @@ "use strict";

function getMessageKeys(key, fieldIsEmpty, params) {
var _a;
var i18nPrefix = (_a = params.i18nPrefix) !== null && _a !== void 0 ? _a : "errors";
var _a, _b;
var i18nPrefix = (_b = (_a = params.localizeParams) === null || _a === void 0 ? void 0 : _a.i18nPrefix) !== null && _b !== void 0 ? _b : "errors";
var keyedMessageKeys = [

@@ -38,0 +38,0 @@ i18nPrefix + ".bad-request-error." + key,

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