@eslint-react/eff
Advanced tools
Comparing version 1.23.2-beta.2 to 1.23.2-beta.6
import * as Either from 'effect/Either'; | ||
export { Either as E }; | ||
import * as Equal from 'effect/Equal'; | ||
export { Equal }; | ||
import * as Function from 'effect/Function'; | ||
@@ -6,0 +4,0 @@ export { Function as F }; |
@@ -9,3 +9,3 @@ 'use strict'; | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/Either.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/Either.js | ||
var Either_exports = {}; | ||
@@ -51,3 +51,3 @@ __export(Either_exports, { | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/Function.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/Function.js | ||
var Function_exports = {}; | ||
@@ -147,3 +147,3 @@ __export(Function_exports, { | ||
var constNull = /* @__PURE__ */ constant(null); | ||
var constUndefined = /* @__PURE__ */ constant(void 0); | ||
var constUndefined = /* @__PURE__ */ constant(undefined); | ||
var constVoid = constUndefined; | ||
@@ -228,6 +228,6 @@ var flip = (f) => (...b) => (...a) => f(...a)(...b); | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/Equivalence.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/Equivalence.js | ||
var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that); | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/internal/doNotation.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/internal/doNotation.js | ||
var let_ = (map3) => dual(3, (self, name, f) => map3(self, (a) => Object.assign({}, a, { | ||
@@ -243,22 +243,14 @@ [name]: f(a) | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/Equal.js | ||
var Equal_exports = {}; | ||
__export(Equal_exports, { | ||
equals: () => equals, | ||
equivalence: () => equivalence, | ||
isEqual: () => isEqual, | ||
symbol: () => symbol2 | ||
}); | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/internal/version.js | ||
var moduleVersion = "3.12.0"; | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/internal/version.js | ||
var moduleVersion = "3.12.1"; | ||
var getCurrentVersion = () => moduleVersion; | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/GlobalValue.js | ||
var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`); | ||
if (!(globalStoreId in globalThis)) { | ||
globalThis[globalStoreId] = /* @__PURE__ */ new Map(); | ||
} | ||
var globalStore = globalThis[globalStoreId]; | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/GlobalValue.js | ||
var globalStoreId = `effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`; | ||
var globalStore; | ||
var globalValue = (id, compute) => { | ||
if (!globalStore) { | ||
globalThis[globalStoreId] ??= /* @__PURE__ */ new Map(); | ||
globalStore = globalThis[globalStoreId]; | ||
} | ||
if (!globalStore.has(id)) { | ||
@@ -270,3 +262,3 @@ globalStore.set(id, compute()); | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/Predicate.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/Predicate.js | ||
var mapInput = /* @__PURE__ */ dual(2, (self, f) => (b) => self(f(b))); | ||
@@ -284,4 +276,4 @@ var isTupleOf = /* @__PURE__ */ dual(2, (self, n) => self.length === n); | ||
var isFunction2 = isFunction; | ||
var isUndefined = (input) => input === void 0; | ||
var isNotUndefined = (input) => input !== void 0; | ||
var isUndefined = (input) => input === undefined; | ||
var isNotUndefined = (input) => input !== undefined; | ||
var isNull = (input) => input === null; | ||
@@ -295,4 +287,4 @@ var isNotNull = (input) => input !== null; | ||
var isTagged = /* @__PURE__ */ dual(2, (self, tag) => hasProperty(self, "_tag") && self["_tag"] === tag); | ||
var isNullable = (input) => input === null || input === void 0; | ||
var isNotNullable = (input) => input !== null && input !== void 0; | ||
var isNullable = (input) => input === null || input === undefined; | ||
var isNotNullable = (input) => input !== null && input !== undefined; | ||
var isError = (input) => input instanceof Error; | ||
@@ -365,6 +357,6 @@ var isUint8Array = (input) => input instanceof Uint8Array; | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/internal/errors.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/internal/errors.js | ||
var getBugErrorMessage = (message) => `BUG: ${message} - please report an issue at https://github.com/Effect-TS/effect/issues`; | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/Utils.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/Utils.js | ||
var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind"); | ||
@@ -483,6 +475,6 @@ var isGenKind = (u) => isObject(u) && GenKindTypeId in u; | ||
enabled: false, | ||
tester: void 0 | ||
tester: undefined | ||
})); | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/Hash.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/Hash.js | ||
var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap()); | ||
@@ -576,3 +568,3 @@ var symbol = /* @__PURE__ */ Symbol.for("effect/Hash"); | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/Equal.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/Equal.js | ||
var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal"); | ||
@@ -629,3 +621,3 @@ function equals() { | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/Inspectable.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/Inspectable.js | ||
var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom"); | ||
@@ -648,6 +640,6 @@ var toJSON = (x) => { | ||
var redactableState = /* @__PURE__ */ globalValue("effect/Inspectable/redactableState", () => ({ | ||
fiberRefs: void 0 | ||
fiberRefs: undefined | ||
})); | ||
var redact = (u) => { | ||
if (isRedactable(u) && redactableState.fiberRefs !== void 0) { | ||
if (isRedactable(u) && redactableState.fiberRefs !== undefined) { | ||
return u[symbolRedactable](redactableState.fiberRefs); | ||
@@ -658,3 +650,3 @@ } | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/Pipeable.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/Pipeable.js | ||
var pipeArguments = (self, args) => { | ||
@@ -692,3 +684,3 @@ switch (args.length) { | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/internal/effectable.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/internal/effectable.js | ||
var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect"); | ||
@@ -754,3 +746,3 @@ var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream"); | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/internal/option.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/internal/option.js | ||
var TypeId = /* @__PURE__ */ Symbol.for("effect/Option"); | ||
@@ -813,3 +805,3 @@ var CommonProto = { | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/internal/either.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/internal/either.js | ||
var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either"); | ||
@@ -879,3 +871,3 @@ var CommonProto2 = { | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/Either.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/Either.js | ||
var TypeId3 = TypeId2; | ||
@@ -1005,3 +997,3 @@ var right2 = right; | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/Option.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/Option.js | ||
var Option_exports = {}; | ||
@@ -1068,6 +1060,6 @@ __export(Option_exports, { | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/Order.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/Order.js | ||
var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that); | ||
// ../../../node_modules/.pnpm/effect@3.12.0/node_modules/effect/dist/esm/Option.js | ||
// ../../../node_modules/.pnpm/effect@3.12.1/node_modules/effect/dist/esm/Option.js | ||
var TypeId4 = /* @__PURE__ */ Symbol.for("effect/Option"); | ||
@@ -1125,4 +1117,4 @@ var none2 = () => none; | ||
var as = /* @__PURE__ */ dual(2, (self, b) => map2(self, () => b)); | ||
var asVoid = /* @__PURE__ */ as(void 0); | ||
var void_ = /* @__PURE__ */ some3(void 0); | ||
var asVoid = /* @__PURE__ */ as(undefined); | ||
var void_ = /* @__PURE__ */ some3(undefined); | ||
var flatMap2 = /* @__PURE__ */ dual(2, (self, f) => isNone2(self) ? none2() : f(self.value)); | ||
@@ -1248,3 +1240,2 @@ var andThen2 = /* @__PURE__ */ dual(2, (self, f) => flatMap2(self, (a) => { | ||
exports.E = Either_exports; | ||
exports.Equal = Equal_exports; | ||
exports.F = Function_exports; | ||
@@ -1251,0 +1242,0 @@ exports.O = Option_exports; |
{ | ||
"name": "@eslint-react/eff", | ||
"version": "1.23.2-beta.2", | ||
"version": "1.23.2-beta.6", | ||
"description": "A subset of effect to produce a more lightweight version of the library.", | ||
@@ -36,3 +36,3 @@ "homepage": "https://github.com/rEl1cx/eslint-react", | ||
"devDependencies": { | ||
"effect": "^3.12.0", | ||
"effect": "^3.12.1", | ||
"tsup": "^8.3.5", | ||
@@ -39,0 +39,0 @@ "@workspace/configs": "0.0.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78231
2451