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.2.27 to 0.2.28

8

lib/thymeleaf.d.ts
import { IOEither } from "fp-ts/lib/IOEither";
import { EnonicError } from "./errors";
import { ResourceKey, ThymeleafRenderOptions } from "enonic-types/lib/thymeleaf";
export declare function renderUnsafe<A>(view: ResourceKey, model?: A, options?: ThymeleafRenderOptions): string;
export declare function render<A>(view: ResourceKey, model?: A, options?: ThymeleafRenderOptions): IOEither<EnonicError, string>;
export declare function getUnsafeRenderer<A>(view: ResourceKey, options?: ThymeleafRenderOptions): (model: A) => string;
export declare function getRenderer<A>(view: ResourceKey, options?: ThymeleafRenderOptions): (model: A) => IOEither<EnonicError, string>;
export declare function renderUnsafe<A extends object>(view: ResourceKey, model?: A, options?: ThymeleafRenderOptions): string;
export declare function render<A extends object>(view: ResourceKey, model?: A, options?: ThymeleafRenderOptions): IOEither<EnonicError, string>;
export declare function getUnsafeRenderer<A extends object>(view: ResourceKey, options?: ThymeleafRenderOptions): (model: A) => string;
export declare function getRenderer<A extends object>(view: ResourceKey, options?: ThymeleafRenderOptions): (model: A) => IOEither<EnonicError, string>;
{
"name": "enonic-fp",
"version": "0.2.27",
"version": "0.2.28",
"description": "Functional programming helpers for Enonic XP",

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

"dependencies": {
"enonic-types": "^0.0.36",
"enonic-types": "^0.0.37",
"fp-ts": "^2.5.1"

@@ -31,0 +31,0 @@ },

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