@effect/language-service 0.83.0 → 0.83.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +136 -135
- package/cli.js.map +1 -1
- package/effect-lsp-patch-utils.js +19 -19
- package/effect-lsp-patch-utils.js.map +1 -1
- package/index.js +23 -23
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/transform.js +19 -19
- package/transform.js.map +1 -1
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
3
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Pipeable.js
|
|
4
4
|
var pipeArguments = (self, args3) => {
|
|
5
5
|
switch (args3.length) {
|
|
6
6
|
case 0:
|
|
@@ -44,7 +44,7 @@ var Class = /* @__PURE__ */ (function() {
|
|
|
44
44
|
return PipeableBase;
|
|
45
45
|
})();
|
|
46
46
|
|
|
47
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
47
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Function.js
|
|
48
48
|
var dual = function(arity, body) {
|
|
49
49
|
if (typeof arity === "function") {
|
|
50
50
|
return function() {
|
|
@@ -92,7 +92,7 @@ function pipe(a, ...args3) {
|
|
|
92
92
|
return pipeArguments(a, args3);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
95
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Equivalence.js
|
|
96
96
|
var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
97
97
|
function Array2(item) {
|
|
98
98
|
return make((self, that) => {
|
|
@@ -104,7 +104,7 @@ function Array2(item) {
|
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
107
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/equal.js
|
|
108
108
|
var getAllObjectKeys = (obj) => {
|
|
109
109
|
const keys2 = new Set(Reflect.ownKeys(obj));
|
|
110
110
|
if (obj.constructor === Object) return keys2;
|
|
@@ -127,7 +127,7 @@ var getAllObjectKeys = (obj) => {
|
|
|
127
127
|
};
|
|
128
128
|
var byReferenceInstances = /* @__PURE__ */ new WeakSet();
|
|
129
129
|
|
|
130
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
130
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Predicate.js
|
|
131
131
|
function isString(input) {
|
|
132
132
|
return typeof input === "string";
|
|
133
133
|
}
|
|
@@ -148,7 +148,7 @@ function isObjectKeyword(input) {
|
|
|
148
148
|
}
|
|
149
149
|
var hasProperty = /* @__PURE__ */ dual(2, (self, property) => isObjectKeyword(self) && property in self);
|
|
150
150
|
|
|
151
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
151
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Hash.js
|
|
152
152
|
var symbol = "~effect/interfaces/Hash";
|
|
153
153
|
var hash = (self) => {
|
|
154
154
|
switch (typeof self) {
|
|
@@ -267,7 +267,7 @@ function withVisitedTracking(obj, fn2) {
|
|
|
267
267
|
return result;
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
270
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Equal.js
|
|
271
271
|
var symbol2 = "~effect/interfaces/Equal";
|
|
272
272
|
function equals() {
|
|
273
273
|
if (arguments.length === 1) {
|
|
@@ -429,7 +429,7 @@ var compareSets = /* @__PURE__ */ makeCompareSet(compareBoth);
|
|
|
429
429
|
var isEqual = (u) => hasProperty(u, symbol2);
|
|
430
430
|
var asEquivalence = () => equals;
|
|
431
431
|
|
|
432
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
432
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Redactable.js
|
|
433
433
|
var symbolRedactable = /* @__PURE__ */ Symbol.for("~effect/Inspectable/redactable");
|
|
434
434
|
var isRedactable = (u) => hasProperty(u, symbolRedactable);
|
|
435
435
|
function redact(u) {
|
|
@@ -448,7 +448,7 @@ var emptyServiceMap = {
|
|
|
448
448
|
}
|
|
449
449
|
};
|
|
450
450
|
|
|
451
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
451
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Formatter.js
|
|
452
452
|
function format(input, options) {
|
|
453
453
|
const space = options?.space ?? 0;
|
|
454
454
|
const seen = /* @__PURE__ */ new WeakSet();
|
|
@@ -527,7 +527,7 @@ function safeToString(input) {
|
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
|
|
530
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
530
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Inspectable.js
|
|
531
531
|
var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
|
|
532
532
|
var toJson = (input) => {
|
|
533
533
|
try {
|
|
@@ -571,7 +571,7 @@ var Class2 = class {
|
|
|
571
571
|
}
|
|
572
572
|
};
|
|
573
573
|
|
|
574
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
574
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Utils.js
|
|
575
575
|
var SingleShotGen = class _SingleShotGen {
|
|
576
576
|
called = false;
|
|
577
577
|
self;
|
|
@@ -614,7 +614,7 @@ var forced = {
|
|
|
614
614
|
var isNotOptimizedAway = /* @__PURE__ */ standard[InternalTypeId](() => new Error().stack)?.includes(InternalTypeId) === true;
|
|
615
615
|
var internalCall = isNotOptimizedAway ? standard[InternalTypeId] : forced[InternalTypeId];
|
|
616
616
|
|
|
617
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
617
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/core.js
|
|
618
618
|
var EffectTypeId = `~effect/Effect`;
|
|
619
619
|
var ExitTypeId = `~effect/Exit`;
|
|
620
620
|
var effectVariance = {
|
|
@@ -961,7 +961,7 @@ var DoneVoid = {
|
|
|
961
961
|
value: void 0
|
|
962
962
|
};
|
|
963
963
|
|
|
964
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
964
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/option.js
|
|
965
965
|
var TypeId = "~effect/data/Option";
|
|
966
966
|
var CommonProto = {
|
|
967
967
|
[TypeId]: {
|
|
@@ -1032,7 +1032,7 @@ var some = (value) => {
|
|
|
1032
1032
|
return a;
|
|
1033
1033
|
};
|
|
1034
1034
|
|
|
1035
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
1035
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/result.js
|
|
1036
1036
|
var TypeId2 = "~effect/data/Result";
|
|
1037
1037
|
var CommonProto2 = {
|
|
1038
1038
|
[TypeId2]: {
|
|
@@ -1103,7 +1103,7 @@ var succeed = (success) => {
|
|
|
1103
1103
|
return a;
|
|
1104
1104
|
};
|
|
1105
1105
|
|
|
1106
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
1106
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Result.js
|
|
1107
1107
|
var succeed2 = succeed;
|
|
1108
1108
|
var fail2 = fail;
|
|
1109
1109
|
var isFailure2 = isFailure;
|
|
@@ -1111,10 +1111,10 @@ var isSuccess2 = isSuccess;
|
|
|
1111
1111
|
var map = /* @__PURE__ */ dual(2, (self, f) => isSuccess2(self) ? succeed2(f(self.success)) : fail2(self.failure));
|
|
1112
1112
|
var getOrElse = /* @__PURE__ */ dual(2, (self, onFailure) => isFailure2(self) ? onFailure(self.failure) : self.success);
|
|
1113
1113
|
|
|
1114
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
1114
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/array.js
|
|
1115
1115
|
var isArrayNonEmpty = (self) => self.length > 0;
|
|
1116
1116
|
|
|
1117
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
1117
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Order.js
|
|
1118
1118
|
function make2(compare) {
|
|
1119
1119
|
return (self, that) => self === that ? 0 : compare(self, that);
|
|
1120
1120
|
}
|
|
@@ -1137,7 +1137,7 @@ var combine2 = /* @__PURE__ */ dual(2, (self, that) => make2((a1, a2) => {
|
|
|
1137
1137
|
}));
|
|
1138
1138
|
var mapInput = /* @__PURE__ */ dual(2, (self, f) => make2((b1, b2) => self(f(b1), f(b2))));
|
|
1139
1139
|
|
|
1140
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
1140
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Option.js
|
|
1141
1141
|
var none2 = () => none;
|
|
1142
1142
|
var some2 = some;
|
|
1143
1143
|
var isNone2 = isNone;
|
|
@@ -1148,7 +1148,7 @@ var fromNullishOr = (a) => a == null ? none2() : some2(a);
|
|
|
1148
1148
|
var getOrUndefined = /* @__PURE__ */ getOrElse2(constUndefined);
|
|
1149
1149
|
var map2 = /* @__PURE__ */ dual(2, (self, f) => isNone2(self) ? none2() : some2(f(self.value)));
|
|
1150
1150
|
|
|
1151
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
1151
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Record.js
|
|
1152
1152
|
var map3 = /* @__PURE__ */ dual(2, (self, f) => {
|
|
1153
1153
|
const out = {
|
|
1154
1154
|
...self
|
|
@@ -1160,7 +1160,7 @@ var map3 = /* @__PURE__ */ dual(2, (self, f) => {
|
|
|
1160
1160
|
});
|
|
1161
1161
|
var keys = (self) => Object.keys(self);
|
|
1162
1162
|
|
|
1163
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
1163
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Array.js
|
|
1164
1164
|
var Array3 = globalThis.Array;
|
|
1165
1165
|
var fromIterable = (collection) => Array3.isArray(collection) ? collection : Array3.from(collection);
|
|
1166
1166
|
var append = /* @__PURE__ */ dual(2, (self, last) => [...self, last]);
|
|
@@ -1251,7 +1251,7 @@ var dedupeWith = /* @__PURE__ */ dual(2, (self, isEquivalent) => {
|
|
|
1251
1251
|
var dedupe = (self) => dedupeWith(self, asEquivalence());
|
|
1252
1252
|
var join = /* @__PURE__ */ dual(2, (self, sep) => fromIterable(self).join(sep));
|
|
1253
1253
|
|
|
1254
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
1254
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Data.js
|
|
1255
1255
|
var Class3 = class extends Class {
|
|
1256
1256
|
constructor(props) {
|
|
1257
1257
|
super();
|
|
@@ -1262,7 +1262,7 @@ var Class3 = class extends Class {
|
|
|
1262
1262
|
};
|
|
1263
1263
|
var TaggedError2 = TaggedError;
|
|
1264
1264
|
|
|
1265
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
1265
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Encoding.js
|
|
1266
1266
|
var EncodingErrorTypeId = "~effect/encoding/EncodingError";
|
|
1267
1267
|
var EncodingError = class extends (/* @__PURE__ */ TaggedError2("EncodingError")) {
|
|
1268
1268
|
/**
|
|
@@ -1298,7 +1298,7 @@ var base64EncodeUint8Array = (bytes) => {
|
|
|
1298
1298
|
var base64abc = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/"];
|
|
1299
1299
|
var base64UrlEncodeUint8Array = (data) => base64EncodeUint8Array(data).replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
|
|
1300
1300
|
|
|
1301
|
-
// ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
1301
|
+
// ../../node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Graph.js
|
|
1302
1302
|
var TypeId3 = "~effect/collections/Graph";
|
|
1303
1303
|
var Edge = class extends Class3 {
|
|
1304
1304
|
};
|