@shajara/kernel 0.1.0 → 0.1.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/CHANGELOG.md +20 -0
- package/dist/index.js +8 -8
- package/dist/{utils-PwEUjNtC.js → utils-BgwX4dd0.js} +7 -7
- package/dist/utils.js +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# @shajara/kernel
|
|
2
|
+
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- da8f8bc: Align package publishing with the Yarn 4 monorepo workflow.
|
|
8
|
+
|
|
9
|
+
This release switches package publication back to Yarn workspace publishing,
|
|
10
|
+
so the published manifests are prepared through `yarn npm publish` with the
|
|
11
|
+
same workspace-aware behavior used by the repository locally.
|
|
12
|
+
|
|
13
|
+
## 0.1.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- 99e73f4: Prepare the first public release of `@shajara/kernel` and `@shajara/host`.
|
|
18
|
+
|
|
19
|
+
This release publishes the initial package surfaces for the kernel runtime,
|
|
20
|
+
structured concurrency primitives, and the host-layer operations API.
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, B as t, C as n, D as r, E as i, F as a, I as o, J as s, L as c, N as l, O as u, P as d, R as f, S as p, V as m, W as h, X as g, Y as _, _ as v, a as ee, b as te, c as y, d as b, f as x, g as ne, h as re, i as ie, j as ae, k as S, l as C, m as oe, n as se, o as ce, p as le, q as ue, r as de, t as w, u as T, v as fe, w as E, x as pe, y as me, z as he } from "./utils-
|
|
1
|
+
import { A as e, B as t, C as n, D as r, E as i, F as a, I as o, J as s, L as c, N as l, O as u, P as d, R as f, S as p, V as m, W as h, X as g, Y as _, _ as v, a as ee, b as te, c as y, d as b, f as x, g as ne, h as re, i as ie, j as ae, k as S, l as C, m as oe, n as se, o as ce, p as le, q as ue, r as de, t as w, u as T, v as fe, w as E, x as pe, y as me, z as he } from "./utils-BgwX4dd0.js";
|
|
2
2
|
import { bind as ge, branch as D, cancel as _e, cede as ve, defer as ye, future as O, halt as be, lookup as xe, poll as Se, receive as Ce, self as we, send as Te, settle as k, spawn as A, unbind as Ee, wait as j } from "./sigils.js";
|
|
3
3
|
//#region src/contracts/wisp.ts
|
|
4
4
|
function M(e, t) {
|
|
@@ -28,7 +28,7 @@ function ke() {
|
|
|
28
28
|
return {};
|
|
29
29
|
}
|
|
30
30
|
//#endregion
|
|
31
|
-
//#region
|
|
31
|
+
//#region ../../../../../.yarn/berry/cache/fp-ts-npm-2.16.11-62e43e1078-10c0.zip/node_modules/fp-ts/es6/ReadonlyNonEmptyArray.js
|
|
32
32
|
var Ae = function(e, t, n) {
|
|
33
33
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
34
34
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
@@ -69,7 +69,7 @@ var Ae = function(e, t, n) {
|
|
|
69
69
|
};
|
|
70
70
|
}, Ve = je;
|
|
71
71
|
//#endregion
|
|
72
|
-
//#region
|
|
72
|
+
//#region ../../../../../.yarn/berry/cache/fp-ts-npm-2.16.11-62e43e1078-10c0.zip/node_modules/fp-ts/es6/EitherT.js
|
|
73
73
|
function He(e) {
|
|
74
74
|
return _(S, e.of);
|
|
75
75
|
}
|
|
@@ -235,7 +235,7 @@ function ft(e) {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
//#endregion
|
|
238
|
-
//#region
|
|
238
|
+
//#region ../../../../../.yarn/berry/cache/fp-ts-npm-2.16.11-62e43e1078-10c0.zip/node_modules/fp-ts/es6/FromIO.js
|
|
239
239
|
function I(e, t) {
|
|
240
240
|
return function(n) {
|
|
241
241
|
var r = _(n, e.fromIO);
|
|
@@ -259,7 +259,7 @@ function pt(e, t) {
|
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
261
|
//#endregion
|
|
262
|
-
//#region
|
|
262
|
+
//#region ../../../../../.yarn/berry/cache/fp-ts-npm-2.16.11-62e43e1078-10c0.zip/node_modules/fp-ts/es6/IO.js
|
|
263
263
|
var mt = function(e, t) {
|
|
264
264
|
return function() {
|
|
265
265
|
return t(e());
|
|
@@ -284,7 +284,7 @@ s(2, o(vt)), c(vt), a({
|
|
|
284
284
|
});
|
|
285
285
|
var yt = /* @__PURE__ */ gt(m);
|
|
286
286
|
//#endregion
|
|
287
|
-
//#region
|
|
287
|
+
//#region ../../../../../.yarn/berry/cache/fp-ts-npm-2.16.11-62e43e1078-10c0.zip/node_modules/fp-ts/es6/OptionT.js
|
|
288
288
|
function bt(e) {
|
|
289
289
|
return _(b, e.of);
|
|
290
290
|
}
|
|
@@ -384,7 +384,7 @@ function It(e) {
|
|
|
384
384
|
};
|
|
385
385
|
}
|
|
386
386
|
//#endregion
|
|
387
|
-
//#region
|
|
387
|
+
//#region ../../../../../.yarn/berry/cache/fp-ts-npm-2.16.11-62e43e1078-10c0.zip/node_modules/fp-ts/es6/pipeable.js
|
|
388
388
|
function Lt(e) {
|
|
389
389
|
return function(t) {
|
|
390
390
|
return function(n) {
|
|
@@ -407,7 +407,7 @@ function zt(e) {
|
|
|
407
407
|
};
|
|
408
408
|
}
|
|
409
409
|
//#endregion
|
|
410
|
-
//#region
|
|
410
|
+
//#region ../../../../../.yarn/berry/cache/fp-ts-npm-2.16.11-62e43e1078-10c0.zip/node_modules/fp-ts/es6/ReadonlySet.js
|
|
411
411
|
var z = function(e) {
|
|
412
412
|
return e.size === 0;
|
|
413
413
|
}, B;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region ../../../../../.yarn/berry/cache/fp-ts-npm-2.16.11-62e43e1078-10c0.zip/node_modules/fp-ts/es6/function.js
|
|
2
2
|
var e = function(e, t, n) {
|
|
3
3
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
4
4
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
@@ -104,7 +104,7 @@ var a = function(t, n) {
|
|
|
104
104
|
return o([e[0]], e.slice(1), !0);
|
|
105
105
|
};
|
|
106
106
|
//#endregion
|
|
107
|
-
//#region
|
|
107
|
+
//#region ../../../../../.yarn/berry/cache/fp-ts-npm-2.16.11-62e43e1078-10c0.zip/node_modules/fp-ts/es6/Apply.js
|
|
108
108
|
function oe(e, t) {
|
|
109
109
|
return function(n) {
|
|
110
110
|
return function(r) {
|
|
@@ -117,7 +117,7 @@ function oe(e, t) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
//#endregion
|
|
120
|
-
//#region
|
|
120
|
+
//#region ../../../../../.yarn/berry/cache/fp-ts-npm-2.16.11-62e43e1078-10c0.zip/node_modules/fp-ts/es6/Functor.js
|
|
121
121
|
function g(e, t) {
|
|
122
122
|
return function(n) {
|
|
123
123
|
return function(r) {
|
|
@@ -141,7 +141,7 @@ function v(e) {
|
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
143
|
//#endregion
|
|
144
|
-
//#region
|
|
144
|
+
//#region ../../../../../.yarn/berry/cache/fp-ts-npm-2.16.11-62e43e1078-10c0.zip/node_modules/fp-ts/es6/Chain.js
|
|
145
145
|
function se(e) {
|
|
146
146
|
var t = y(e);
|
|
147
147
|
return function(e) {
|
|
@@ -172,7 +172,7 @@ function b(e) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
//#endregion
|
|
175
|
-
//#region
|
|
175
|
+
//#region ../../../../../.yarn/berry/cache/fp-ts-npm-2.16.11-62e43e1078-10c0.zip/node_modules/fp-ts/es6/FromEither.js
|
|
176
176
|
function x(e) {
|
|
177
177
|
return function(t) {
|
|
178
178
|
return function(n) {
|
|
@@ -192,7 +192,7 @@ function C(e, t) {
|
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
194
|
//#endregion
|
|
195
|
-
//#region
|
|
195
|
+
//#region ../../../../../.yarn/berry/cache/fp-ts-npm-2.16.11-62e43e1078-10c0.zip/node_modules/fp-ts/es6/Either.js
|
|
196
196
|
var w = f, T = p, E = /* @__PURE__ */ a(2, function(e, t) {
|
|
197
197
|
return R(e) ? e : t(e.right);
|
|
198
198
|
}), D = function(e, t) {
|
|
@@ -267,7 +267,7 @@ function me() {
|
|
|
267
267
|
//#region src/utils/noop.ts
|
|
268
268
|
function he() {}
|
|
269
269
|
//#endregion
|
|
270
|
-
//#region
|
|
270
|
+
//#region ../../../../../.yarn/berry/cache/fp-ts-npm-2.16.11-62e43e1078-10c0.zip/node_modules/fp-ts/es6/Option.js
|
|
271
271
|
var K = l, q = u;
|
|
272
272
|
function ge(e) {
|
|
273
273
|
return function(t) {
|
package/dist/utils.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { E as e, M as t, T as n, c as r, d as i, f as a, h as o, k as s, m as c, p as l, s as u, t as d, u as f, w as p } from "./utils-
|
|
1
|
+
import { E as e, M as t, T as n, c as r, d as i, f as a, h as o, k as s, m as c, p as l, s as u, t as d, u as f, w as p } from "./utils-BgwX4dd0.js";
|
|
2
2
|
export { o as iife, p as isLeft, u as isNone, n as isRight, r as isSome, e as left, l as narrowArrayAs, c as narrowAs, f as none, a as noop, s as right, i as some, t as tryCatch, d as unreachable };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shajara/kernel",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Structured concurrency kernel and executor primitives.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"concurrency",
|
|
@@ -59,15 +59,15 @@
|
|
|
59
59
|
"typecheck": "yarn run -T tsc --noEmit && yarn run -T tsc -p test/tsconfig.json --noEmit"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@shajara/presets": "
|
|
63
|
-
"@vitest/coverage-v8": "
|
|
64
|
-
"core-js": "
|
|
62
|
+
"@shajara/presets": "^0.0.0",
|
|
63
|
+
"@vitest/coverage-v8": "^4.1.4",
|
|
64
|
+
"core-js": "^3.49.0",
|
|
65
65
|
"fp-ts": "^2.16.11",
|
|
66
|
-
"oxlint": "
|
|
67
|
-
"type-fest": "
|
|
68
|
-
"typescript": "
|
|
69
|
-
"vite": "
|
|
70
|
-
"vite-plugin-dts": "
|
|
71
|
-
"vitest": "
|
|
66
|
+
"oxlint": "^1.59.0",
|
|
67
|
+
"type-fest": "^5.5.0",
|
|
68
|
+
"typescript": "^6.0.2",
|
|
69
|
+
"vite": "^8.0.8",
|
|
70
|
+
"vite-plugin-dts": "^4.5.4",
|
|
71
|
+
"vitest": "^4.1.4"
|
|
72
72
|
}
|
|
73
|
-
}
|
|
73
|
+
}
|