New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@matechs/effect

Package Overview
Dependencies
Maintainers
2
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@matechs/effect - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

10

lib/effect.d.ts

@@ -38,3 +38,6 @@ import { Bifunctor3 } from "fp-ts/lib/Bifunctor";

}
export declare class EffectIO<R, E, A> {
export declare type IO<E, A> = Effect<NoEnv, E, A>;
export declare type UIO<A> = Effect<NoEnv, NoErr, A>;
export declare type RUIO<R, A> = Effect<R, NoErr, A>;
export declare class EffectIO<_R, _E, _A> {
readonly _tag: EffectTag;

@@ -220,2 +223,7 @@ readonly f0: any;

/**
* Provides partial environment, like provide() but via direct transformation
* safe to use in non top-level scenarios
*/
export declare function provideS<R>(r: R): <R2, E, A>(eff: Effect<R2 & R, E, A>) => Effect<R2, E, A>;
/**
* Provides all environment to the child

@@ -222,0 +230,0 @@ */

@@ -271,2 +271,12 @@ "use strict";

/**
* Provides partial environment, like provide() but via direct transformation
* safe to use in non top-level scenarios
*/
function provideS(r) {
return function (eff) {
return exports.provideR(function (r2) { return (__assign(__assign({}, r2), r)); })(eff);
};
}
exports.provideS = provideS;
/**
* Provides all environment to the child

@@ -273,0 +283,0 @@ */

3

lib/index.d.ts

@@ -10,2 +10,3 @@ import * as effect from "./effect";

import * as derived from "./derived";
export { effect, stream, managed, queue, ref, semaphore, exit, streameither, derived };
import * as interpreter from "./interpreter";
export { effect, stream, managed, queue, ref, semaphore, exit, streameither, derived, interpreter };

@@ -28,2 +28,4 @@ "use strict";

exports.derived = derived;
var interpreter = __importStar(require("./interpreter"));
exports.interpreter = interpreter;
//# sourceMappingURL=index.js.map
{
"name": "@matechs/effect",
"version": "0.4.4",
"version": "0.4.5",
"license": "MIT",

@@ -30,3 +30,3 @@ "private": false,

},
"gitHead": "dc06c6fd6a451bbf26ee1134fe4e84a6ffa449eb"
"gitHead": "d2848fbc78547cae8bb91e38dfaa24efbd22a03d"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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