Huge News!Announcing our $40M Series B led by Abstract Ventures.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.3.0-beta1 to 0.3.0-beta2

25

errors.d.ts

@@ -33,13 +33,18 @@ import { Lazy } from "fp-ts/function";

*/
readonly errors?: ReadonlyArray<{
/**
* The key of a field that has failed. Typically corresponds to the `name` of an <input>-field.
*/
readonly key?: string;
/**
* A message explaining what is wrong with the field with the key
*/
readonly message: string;
}>;
readonly errors?: ReadonlyArray<ErrorDetails>;
}
/**
* This object contains more information about the error. This can either be messages from the Java-backend,
* or in cases in the 400 error range, it can be keys that doesn't validate, and a message.
*/
export interface ErrorDetails {
/**
* The key of a field that has failed. Typically corresponds to the `name` of an <input>-field.
*/
readonly key?: string;
/**
* A message explaining what is wrong with the field with the key
*/
readonly message: string;
}
export declare function isEnonicError(value: unknown): value is EnonicError;

@@ -46,0 +51,0 @@ export declare const badRequestError: EnonicError;

2

package.json
{
"name": "enonic-fp",
"version": "0.3.0-beta1",
"version": "0.3.0-beta2",
"sideEffects": false,

@@ -5,0 +5,0 @@ "description": "Functional programming helpers for Enonic XP",

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