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.1.3 to 0.1.4

4

lib/context.d.ts

@@ -0,1 +1,2 @@

import { IO } from "fp-ts/lib/IO";
import { IOEither } from "fp-ts/lib/IOEither";

@@ -33,3 +34,4 @@ import { EnonicError } from "./common";

}
export declare function run<T>(runContext: RunContext, f: () => T): T;
export declare function runUnsafe<A>(runContext: RunContext, f: () => A): A;
export declare function run<A>(runContext: RunContext): (a: IO<A>) => IO<A>;
export {};

@@ -12,5 +12,9 @@ "use strict";

exports.get = get;
function run(runContext, f) {
function runUnsafe(runContext, f) {
return context.run(runContext, f);
}
exports.runUnsafe = runUnsafe;
function run(runContext) {
return function (a) { return function () { return runUnsafe(runContext, a); }; };
}
exports.run = run;
{
"name": "enonic-fp",
"version": "0.1.3",
"version": "0.1.4",
"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