Socket
Socket
Sign inDemoInstall

effect

Package Overview
Dependencies
Maintainers
3
Versions
219
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

effect - npm Package Compare versions

Comparing version 2.0.0-next.10 to 2.0.0-next.11

Codec.d.ts

8

Debug.d.ts

@@ -9,3 +9,3 @@ /**

*/
import { Debug, getCallTrace, nodeSourceMapExtractor, runtimeDebug, withCallTrace } from "@effect/io/Debug";
import { Debug, getCallTrace, getCallTraceFromNewError, isTraceEnabled, runtimeDebug, withCallTrace } from "@effect/io/Debug";
export {

@@ -23,6 +23,10 @@ /**

*/
nodeSourceMapExtractor,
getCallTraceFromNewError,
/**
* @since 2.0.0
*/
isTraceEnabled,
/**
* @since 2.0.0
*/
runtimeDebug,

@@ -29,0 +33,0 @@ /**

@@ -12,8 +12,14 @@ "use strict";

});
Object.defineProperty(exports, "nodeSourceMapExtractor", {
Object.defineProperty(exports, "getCallTraceFromNewError", {
enumerable: true,
get: function () {
return _Debug.nodeSourceMapExtractor;
return _Debug.getCallTraceFromNewError;
}
});
Object.defineProperty(exports, "isTraceEnabled", {
enumerable: true,
get: function () {
return _Debug.isTraceEnabled;
}
});
Object.defineProperty(exports, "runtimeDebug", {

@@ -20,0 +26,0 @@ enumerable: true,

@@ -52,7 +52,5 @@ /**

import * as Chainable from "@fp-ts/core/typeclass/Chainable";
import * as Compactable from "@fp-ts/core/typeclass/Compactable";
import * as Contravariant from "@fp-ts/core/typeclass/Contravariant";
import * as Coproduct from "@fp-ts/core/typeclass/Coproduct";
import * as Covariant from "@fp-ts/core/typeclass/Covariant";
import * as Filterable from "@fp-ts/core/typeclass/Filterable";
import * as FlatMap from "@fp-ts/core/typeclass/FlatMap";

@@ -74,3 +72,2 @@ import * as Foldable from "@fp-ts/core/typeclass/Foldable";

import * as Traversable from "@fp-ts/core/typeclass/Traversable";
import * as TraversableFilterable from "@fp-ts/core/typeclass/TraversableFilterable";
import * as Boolean from "@fp-ts/data/Boolean";

@@ -106,5 +103,10 @@ import * as Chunk from "@fp-ts/data/Chunk";

import * as String from "@fp-ts/data/String";
import * as Compactable from "@fp-ts/data/typeclass/Compactable";
import * as CovariantWithIndex from "@fp-ts/data/typeclass/CovariantWithIndex";
import * as Filterable from "@fp-ts/data/typeclass/Filterable";
import * as FilterableWithIndex from "@fp-ts/data/typeclass/FilterableWithIndex";
import * as Gen from "@fp-ts/data/typeclass/Gen";
import * as Seq from "@fp-ts/data/typeclass/Seq";
import * as TraversableFilterable from "@fp-ts/data/typeclass/TraversableFilterable";
import * as Codec from "effect/Codec";
import * as Differ from "effect/Differ";

@@ -222,2 +224,11 @@ import * as Fiber from "effect/Fiber";

* ```md
* - Docs: https://fp-ts.github.io/schema/modules/Codec.ts.html
* - Module: "@fp-ts/schema/Codec"
* ```
*/
Codec,
/**
* @since 2.0.0
*
* ```md
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Compactable.ts.html

@@ -439,2 +450,11 @@ * - Module: "@fp-ts/core/typeclass/Compactable"

* ```md
* - Docs: https://fp-ts.github.io/data/modules/typeclass/Gen.ts.html
* - Module: "@fp-ts/data/typeclass/Gen"
* ```
*/
Gen,
/**
* @since 2.0.0
*
* ```md
* - Docs: https://fp-ts.github.io/data/modules/HashMap.ts.html

@@ -441,0 +461,0 @@ * - Module: "@fp-ts/data/HashMap"

@@ -6,3 +6,3 @@ "use strict";

});
exports.TraversableFilterable = exports.Traversable = exports.Tracer = exports.Supervisor = exports.String = exports.SortedSet = exports.SortedMap = exports.Seq = exports.Semigroup = exports.SemiProduct = exports.SemiCoproduct = exports.SemiApplicative = exports.SemiAlternative = exports.Scope = exports.Schedule = exports.Runtime = exports.Reloadable = exports.Ref = exports.RedBlackTree = exports.ReadonlyArray = exports.Random = exports.Queue = exports.Product = exports.Predicate = exports.Pointed = exports.PCGRandom = exports.Ordering = exports.Order = exports.Option = exports.Optic = exports.Of = exports.Number = exports.NonEmptyTraversable = exports.MutableRef = exports.MutableQueue = exports.MutableListBuilder = exports.MutableList = exports.MutableHashSet = exports.MutableHashMap = exports.Monoid = exports.Monad = exports.Metric = exports.Logger = exports.List = exports.Layer = exports.Json = exports.Invariant = exports.ImmutableQueue = exports.Identity = exports.Hub = exports.HashSet = exports.HashMap = exports.HKT = exports.Function = exports.Foldable = exports.FlatMap = exports.FilterableWithIndex = exports.Filterable = exports.FiberRefs = exports.FiberRef = exports.Fiber = exports.Exit = exports.ExecutionStrategy = exports.Equal = exports.Either = exports.Effect = exports.Duration = exports.Differ = exports.Deferred = exports.DefaultServices = exports.CovariantWithIndex = exports.Covariant = exports.Coproduct = exports.Contravariant = exports.Context = exports.Compactable = exports.Clock = exports.Chunk = exports.Chainable = exports.Cause = exports.Cached = exports.Bounded = exports.Boolean = exports.Bicovariant = exports.Applicative = exports.Alternative = void 0;
exports.TraversableFilterable = exports.Traversable = exports.Tracer = exports.Supervisor = exports.String = exports.SortedSet = exports.SortedMap = exports.Seq = exports.Semigroup = exports.SemiProduct = exports.SemiCoproduct = exports.SemiApplicative = exports.SemiAlternative = exports.Scope = exports.Schedule = exports.Runtime = exports.Reloadable = exports.Ref = exports.RedBlackTree = exports.ReadonlyArray = exports.Random = exports.Queue = exports.Product = exports.Predicate = exports.Pointed = exports.PCGRandom = exports.Ordering = exports.Order = exports.Option = exports.Optic = exports.Of = exports.Number = exports.NonEmptyTraversable = exports.MutableRef = exports.MutableQueue = exports.MutableListBuilder = exports.MutableList = exports.MutableHashSet = exports.MutableHashMap = exports.Monoid = exports.Monad = exports.Metric = exports.Logger = exports.List = exports.Layer = exports.Json = exports.Invariant = exports.ImmutableQueue = exports.Identity = exports.Hub = exports.HashSet = exports.HashMap = exports.HKT = exports.Gen = exports.Function = exports.Foldable = exports.FlatMap = exports.FilterableWithIndex = exports.Filterable = exports.FiberRefs = exports.FiberRef = exports.Fiber = exports.Exit = exports.ExecutionStrategy = exports.Equal = exports.Either = exports.Effect = exports.Duration = exports.Differ = exports.Deferred = exports.DefaultServices = exports.CovariantWithIndex = exports.Covariant = exports.Coproduct = exports.Contravariant = exports.Context = exports.Compactable = exports.Codec = exports.Clock = exports.Chunk = exports.Chainable = exports.Cause = exports.Cached = exports.Bounded = exports.Boolean = exports.Bicovariant = exports.Applicative = exports.Alternative = void 0;
Object.defineProperty(exports, "absurd", {

@@ -92,4 +92,2 @@ enumerable: true,

exports.Chainable = Chainable;
var Compactable = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fp-ts/core/typeclass/Compactable"));
exports.Compactable = Compactable;
var Contravariant = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fp-ts/core/typeclass/Contravariant"));

@@ -101,4 +99,2 @@ exports.Contravariant = Contravariant;

exports.Covariant = Covariant;
var Filterable = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fp-ts/core/typeclass/Filterable"));
exports.Filterable = Filterable;
var FlatMap = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fp-ts/core/typeclass/FlatMap"));

@@ -136,4 +132,2 @@ exports.FlatMap = FlatMap;

exports.Traversable = Traversable;
var TraversableFilterable = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fp-ts/core/typeclass/TraversableFilterable"));
exports.TraversableFilterable = TraversableFilterable;
var Boolean = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fp-ts/data/Boolean"));

@@ -197,8 +191,18 @@ exports.Boolean = Boolean;

exports.String = String;
var Compactable = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fp-ts/data/typeclass/Compactable"));
exports.Compactable = Compactable;
var CovariantWithIndex = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fp-ts/data/typeclass/CovariantWithIndex"));
exports.CovariantWithIndex = CovariantWithIndex;
var Filterable = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fp-ts/data/typeclass/Filterable"));
exports.Filterable = Filterable;
var FilterableWithIndex = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fp-ts/data/typeclass/FilterableWithIndex"));
exports.FilterableWithIndex = FilterableWithIndex;
var Gen = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fp-ts/data/typeclass/Gen"));
exports.Gen = Gen;
var Seq = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fp-ts/data/typeclass/Seq"));
exports.Seq = Seq;
var TraversableFilterable = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fp-ts/data/typeclass/TraversableFilterable"));
exports.TraversableFilterable = TraversableFilterable;
var Codec = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("effect/Codec"));
exports.Codec = Codec;
var Differ = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("effect/Differ"));

@@ -205,0 +209,0 @@ exports.Differ = Differ;

@@ -11,5 +11,11 @@ /**

*/
import { toggle } from "@fp-ts/optic/data/Boolean";
import { cons as consChunk, head as headChunk, index as indexChunk, tail as tailChunk } from "@fp-ts/optic/data/Chunk";
import { left, right } from "@fp-ts/optic/data/Either";
import { cons } from "@fp-ts/optic/data/List";
import { none, some } from "@fp-ts/optic/data/Option";
import { getAt as getAtHashMap, getIndex as getIndexHashMap } from "@fp-ts/optic/data/HashMap";
import { cons as consList, head as headList, index as indexList, tail as tailList } from "@fp-ts/optic/data/List";
import { none } from "@fp-ts/optic/data/Option";
import { consNonEmpty as consNonEmptyReadonlyArray } from "@fp-ts/optic/data/ReadonlyArray";
import { getAt as getAtSortedMap, getIndex as getIndexSortedMap } from "@fp-ts/optic/data/SortedMap";
import { index as indexString } from "@fp-ts/optic/data/String";
export * from "@fp-ts/optic";

@@ -22,7 +28,16 @@ export * from "@fp-ts/optic/experimental";

* ```md
* - Docs: https://fp-ts.github.io/optic/modules/data/Chunk.ts.html#cons
* - Module: "@fp-ts/optic/data/Chunk"
* ```
*/
consChunk,
/**
* @since 2.0.0
*
* ```md
* - Docs: https://fp-ts.github.io/optic/modules/data/List.ts.html#cons
* - Module: "@fp-ts/optic/data/Option"
* - Module: "@fp-ts/optic/data/List"
* ```
*/
cons as consList,
consList,
/**

@@ -32,2 +47,92 @@ * @since 2.0.0

* ```md
* - Docs: https://fp-ts.github.io/optic/modules/data/ReadonlyArray.ts.html#consNonEmpty
* - Module: "@fp-ts/optic/data/ReadonlyArray"
* ```
*/
consNonEmptyReadonlyArray,
/**
* @since 2.0.0
*
* ```md
* - Docs: https://fp-ts.github.io/optic/modules/data/HashMap.ts.html#getAt
* - Module: "@fp-ts/optic/data/HashMap"
* ```
*/
getAtHashMap,
/**
* @since 2.0.0
*
* ```md
* - Docs: https://fp-ts.github.io/optic/modules/data/SortedMap.ts.html#getAt
* - Module: "@fp-ts/optic/data/SortedMap"
* ```
*/
getAtSortedMap,
/**
* @since 2.0.0
*
* ```md
* - Docs: https://fp-ts.github.io/optic/modules/data/HashMap.ts.html#getIndex
* - Module: "@fp-ts/optic/data/HashMap"
* ```
*/
getIndexHashMap,
/**
* @since 2.0.0
*
* ```md
* - Docs: https://fp-ts.github.io/optic/modules/data/SortedMap.ts.html#getIndex
* - Module: "@fp-ts/optic/data/SortedMap"
* ```
*/
getIndexSortedMap,
/**
* @since 2.0.0
*
* ```md
* - Docs: https://fp-ts.github.io/optic/modules/data/Chunk.ts.html#head
* - Module: "@fp-ts/optic/data/Chunk"
* ```
*/
headChunk,
/**
* @since 2.0.0
*
* ```md
* - Docs: https://fp-ts.github.io/optic/modules/data/List.ts.html#head
* - Module: "@fp-ts/optic/data/List"
* ```
*/
headList,
/**
* @since 2.0.0
*
* ```md
* - Docs: https://fp-ts.github.io/optic/modules/data/Chunk.ts.html#index
* - Module: "@fp-ts/optic/data/Chunk"
* ```
*/
indexChunk,
/**
* @since 2.0.0
*
* ```md
* - Docs: https://fp-ts.github.io/optic/modules/data/List.ts.html#index
* - Module: "@fp-ts/optic/data/List"
* ```
*/
indexList,
/**
* @since 2.0.0
*
* ```md
* - Docs: https://fp-ts.github.io/optic/modules/data/String.ts.html#index
* - Module: "@fp-ts/optic/data/String"
* ```
*/
indexString,
/**
* @since 2.0.0
*
* ```md
* - Docs: https://fp-ts.github.io/optic/modules/data/Either.ts.html#left

@@ -60,7 +165,25 @@ * - Module: "@fp-ts/optic/data/Either"

* ```md
* - Docs: https://fp-ts.github.io/optic/modules/data/Option.ts.html#some
* - Module: "@fp-ts/optic/data/Option"
* - Docs: https://fp-ts.github.io/optic/modules/data/Chunk.ts.html#tail
* - Module: "@fp-ts/optic/data/Chunk"
* ```
*/
some };
tailChunk,
/**
* @since 2.0.0
*
* ```md
* - Docs: https://fp-ts.github.io/optic/modules/data/List.ts.html#tail
* - Module: "@fp-ts/optic/data/List"
* ```
*/
tailList,
/**
* @since 2.0.0
*
* ```md
* - Docs: https://fp-ts.github.io/optic/modules/data/Boolean.ts.html#toggle
* - Module: "@fp-ts/optic/data/Boolean"
* ```
*/
toggle };
//# sourceMappingURL=Optic.d.ts.map

@@ -7,8 +7,27 @@ "use strict";

var _exportNames = {
toggle: true,
consChunk: true,
headChunk: true,
indexChunk: true,
tailChunk: true,
left: true,
right: true,
getAtHashMap: true,
getIndexHashMap: true,
consList: true,
headList: true,
indexList: true,
tailList: true,
none: true,
some: true
consNonEmptyReadonlyArray: true,
getAtSortedMap: true,
getIndexSortedMap: true,
indexString: true
};
Object.defineProperty(exports, "consChunk", {
enumerable: true,
get: function () {
return _Chunk.cons;
}
});
Object.defineProperty(exports, "consList", {

@@ -20,2 +39,62 @@ enumerable: true,

});
Object.defineProperty(exports, "consNonEmptyReadonlyArray", {
enumerable: true,
get: function () {
return _ReadonlyArray.consNonEmpty;
}
});
Object.defineProperty(exports, "getAtHashMap", {
enumerable: true,
get: function () {
return _HashMap.getAt;
}
});
Object.defineProperty(exports, "getAtSortedMap", {
enumerable: true,
get: function () {
return _SortedMap.getAt;
}
});
Object.defineProperty(exports, "getIndexHashMap", {
enumerable: true,
get: function () {
return _HashMap.getIndex;
}
});
Object.defineProperty(exports, "getIndexSortedMap", {
enumerable: true,
get: function () {
return _SortedMap.getIndex;
}
});
Object.defineProperty(exports, "headChunk", {
enumerable: true,
get: function () {
return _Chunk.head;
}
});
Object.defineProperty(exports, "headList", {
enumerable: true,
get: function () {
return _List.head;
}
});
Object.defineProperty(exports, "indexChunk", {
enumerable: true,
get: function () {
return _Chunk.index;
}
});
Object.defineProperty(exports, "indexList", {
enumerable: true,
get: function () {
return _List.index;
}
});
Object.defineProperty(exports, "indexString", {
enumerable: true,
get: function () {
return _String.index;
}
});
Object.defineProperty(exports, "left", {

@@ -39,11 +118,29 @@ enumerable: true,

});
Object.defineProperty(exports, "some", {
Object.defineProperty(exports, "tailChunk", {
enumerable: true,
get: function () {
return _Option.some;
return _Chunk.tail;
}
});
Object.defineProperty(exports, "tailList", {
enumerable: true,
get: function () {
return _List.tail;
}
});
Object.defineProperty(exports, "toggle", {
enumerable: true,
get: function () {
return _Boolean.toggle;
}
});
var _Boolean = /*#__PURE__*/require("@fp-ts/optic/data/Boolean");
var _Chunk = /*#__PURE__*/require("@fp-ts/optic/data/Chunk");
var _Either = /*#__PURE__*/require("@fp-ts/optic/data/Either");
var _HashMap = /*#__PURE__*/require("@fp-ts/optic/data/HashMap");
var _List = /*#__PURE__*/require("@fp-ts/optic/data/List");
var _Option = /*#__PURE__*/require("@fp-ts/optic/data/Option");
var _ReadonlyArray = /*#__PURE__*/require("@fp-ts/optic/data/ReadonlyArray");
var _SortedMap = /*#__PURE__*/require("@fp-ts/optic/data/SortedMap");
var _String = /*#__PURE__*/require("@fp-ts/optic/data/String");
var _optic = /*#__PURE__*/require("@fp-ts/optic");

@@ -50,0 +147,0 @@ Object.keys(_optic).forEach(function (key) {

{
"name": "effect",
"version": "2.0.0-next.10",
"version": "2.0.0-next.11",
"license": "MIT",

@@ -10,7 +10,8 @@ "repository": {

"dependencies": {
"@effect/io": "^0.0.17",
"@effect/printer": "^0.1.4",
"@fp-ts/core": "^0.0.8",
"@fp-ts/data": "^0.0.16",
"@fp-ts/optic": "^0.0.2"
"@effect/io": "^0.0.30",
"@effect/printer": "^0.1.10",
"@fp-ts/core": "^0.0.9",
"@fp-ts/data": "^0.0.21",
"@fp-ts/optic": "^0.0.4",
"@fp-ts/schema": "^0.0.3"
},

@@ -26,3 +27,3 @@ "main": "./index.js",

"types": "./index.d.ts",
"default": "./_mjs/index.mjs"
"default": "./mjs/index.mjs"
},

@@ -37,3 +38,3 @@ "require": {

"types": "./*.d.ts",
"default": "./_mjs/*.mjs"
"default": "./mjs/*.mjs"
},

@@ -40,0 +41,0 @@ "require": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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