@stryke/capnp 0.12.106 → 0.12.107
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/dist/{capnp-es.BHkXHvyK-CDB5f6dc.d.mts → capnp-es.BHkXHvyK-B3-d8RNu.d.mts} +1 -1
- package/dist/{capnp-es.BHkXHvyK-CDB5f6dc.d.mts.map → capnp-es.BHkXHvyK-B3-d8RNu.d.mts.map} +1 -1
- package/dist/{capnp-es.GpvEvMIK-DhNjvLVf.mjs → capnp-es.GpvEvMIK-CH8kq1KS.mjs} +1 -1
- package/dist/{capnp-es.GpvEvMIK-DhNjvLVf.mjs.map → capnp-es.GpvEvMIK-CH8kq1KS.mjs.map} +1 -1
- package/dist/{compile-B0IAAPCE.cjs → compile-BqWbqVXw.cjs} +4 -15
- package/dist/{compile-pokJNYrI.mjs → compile-Of7tW8zc.mjs} +4 -9
- package/dist/{compile-pokJNYrI.mjs.map → compile-Of7tW8zc.mjs.map} +1 -1
- package/dist/compile.cjs +1 -1
- package/dist/compile.d.mts +1 -1
- package/dist/compile.mjs +1 -1
- package/dist/{dist-DodkoxUk.mjs → dist-DQ7xmzRT.mjs} +2 -2
- package/dist/{dist-DodkoxUk.mjs.map → dist-DQ7xmzRT.mjs.map} +1 -1
- package/dist/{dist-B4Hj5LOz.cjs → dist-VMGxvENY.cjs} +1 -1
- package/dist/{helpers-DKdtJdpX.cjs → helpers-BAUar1Rk.cjs} +41 -15
- package/dist/{helpers-DGLnZDYv.mjs → helpers-BO_ducsG.mjs} +32 -4
- package/dist/{helpers-DGLnZDYv.mjs.map → helpers-BO_ducsG.mjs.map} +1 -1
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.d.mts +1 -1
- package/dist/helpers.mjs +1 -1
- package/dist/{index-DLVKIbjL.d.mts → index-LYXu6eWz.d.mts} +2 -2
- package/dist/{index-DLVKIbjL.d.mts.map → index-LYXu6eWz.d.mts.map} +1 -1
- package/dist/index.cjs +3 -76
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +4 -72
- package/dist/rpc-helpers.cjs +4 -14
- package/dist/rpc-helpers.d.mts +2 -2
- package/dist/rpc-helpers.mjs +3 -8
- package/dist/rpc-helpers.mjs.map +1 -1
- package/dist/{types-OZlfJNQI.d.mts → types-CVzMn-TI.d.mts} +2 -2
- package/dist/{types-OZlfJNQI.d.mts.map → types-CVzMn-TI.d.mts.map} +1 -1
- package/dist/types.cjs +1 -9
- package/dist/types.d.mts +1 -1
- package/dist/types.mjs +1 -4
- package/dist/types.mjs.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-DIR5cmvx.cjs +0 -60
- package/dist/chunk-DbXXkPD9.mjs +0 -45
- package/dist/compile.test.cjs +0 -12
- package/dist/compile.test.d.cts +0 -1
- package/dist/compile.test.d.mts +0 -1
- package/dist/compile.test.mjs +0 -14
- package/dist/compile.test.mjs.map +0 -1
- package/dist/helpers.test.cjs +0 -12
- package/dist/helpers.test.d.cts +0 -1
- package/dist/helpers.test.d.mts +0 -1
- package/dist/helpers.test.mjs +0 -14
- package/dist/helpers.test.mjs.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/index.test.cjs +0 -12
- package/dist/index.test.d.cts +0 -1
- package/dist/index.test.d.mts +0 -1
- package/dist/index.test.mjs +0 -14
- package/dist/index.test.mjs.map +0 -1
- package/dist/magic-string.es-DNGukRib.cjs +0 -1014
- package/dist/magic-string.es-DgyxG5Z0.mjs +0 -1014
- package/dist/magic-string.es-DgyxG5Z0.mjs.map +0 -1
- package/dist/rpc-helpers.test.cjs +0 -12
- package/dist/rpc-helpers.test.d.cts +0 -1
- package/dist/rpc-helpers.test.d.mts +0 -1
- package/dist/rpc-helpers.test.mjs +0 -14
- package/dist/rpc-helpers.test.mjs.map +0 -1
- package/dist/test.DNmyFkvJ-BEyBESND.mjs +0 -13766
- package/dist/test.DNmyFkvJ-BEyBESND.mjs.map +0 -1
- package/dist/test.DNmyFkvJ-NmRZglFv.cjs +0 -13783
- package/dist/types.test.cjs +0 -12
- package/dist/types.test.d.cts +0 -1
- package/dist/types.test.d.mts +0 -1
- package/dist/types.test.mjs +0 -14
- package/dist/types.test.mjs.map +0 -1
- /package/dist/{capnp-es.GpvEvMIK-ftrDCVpO.cjs → capnp-es.GpvEvMIK-CZ5ZimCD.cjs} +0 -0
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
const require_capnp_es_GpvEvMIK = require('./capnp-es.GpvEvMIK-ftrDCVpO.cjs');
|
|
1
|
+
const require_helpers = require('./helpers-BAUar1Rk.cjs');
|
|
2
|
+
const require_capnp_es_GpvEvMIK = require('./capnp-es.GpvEvMIK-CZ5ZimCD.cjs');
|
|
4
3
|
let _stryke_fs_exists = require("@stryke/fs/exists");
|
|
5
4
|
let typescript = require("typescript");
|
|
6
|
-
typescript =
|
|
5
|
+
typescript = require_helpers.__toESM(typescript, 1);
|
|
7
6
|
let defu = require("defu");
|
|
8
|
-
defu =
|
|
7
|
+
defu = require_helpers.__toESM(defu, 1);
|
|
9
8
|
let node_buffer = require("node:buffer");
|
|
10
9
|
let node_child_process = require("node:child_process");
|
|
11
10
|
|
|
@@ -3549,10 +3548,6 @@ function tsCompile(files, dts, js, tsconfig) {
|
|
|
3549
3548
|
|
|
3550
3549
|
//#endregion
|
|
3551
3550
|
//#region src/compile.ts
|
|
3552
|
-
var compile_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
3553
|
-
capnpc: () => capnpc,
|
|
3554
|
-
compile: () => compile
|
|
3555
|
-
});
|
|
3556
3551
|
/**
|
|
3557
3552
|
* Compiles Cap'n Proto schemas into TypeScript files.
|
|
3558
3553
|
*
|
|
@@ -3632,10 +3627,4 @@ Object.defineProperty(exports, 'compile', {
|
|
|
3632
3627
|
get: function () {
|
|
3633
3628
|
return compile;
|
|
3634
3629
|
}
|
|
3635
|
-
});
|
|
3636
|
-
Object.defineProperty(exports, 'compile_exports', {
|
|
3637
|
-
enumerable: true,
|
|
3638
|
-
get: function () {
|
|
3639
|
-
return compile_exports;
|
|
3640
|
-
}
|
|
3641
3630
|
});
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import {
|
|
3
|
-
import { $t as initData, Cn as setUint64, Ct as getInt8, Dt as getList, Jt as getText, Nt as getPointer, Qt as getUint8, Rt as getStruct, Sn as setUint32, St as getInt64, T as ObjectSize, Tn as testWhich, X as adopt, Xt as getUint32, Yt as getUint16, Zt as getUint64, an as isNull, bn as setText, bt as getInt16, d as getUint16Mask, dn as setFloat32, dt as getAs, en as initList, et as copyFrom, fn as setFloat64, ft as getBit, gn as setInt8, hn as setInt64, ht as getData, it as disown, ln as setBit, mn as setInt32, on as pad, pn as setInt16, q as Struct, r as CompositeList, rn as initStructAt, t as Message, ut as format, vt as getFloat32, wn as setUint8, xn as setUint16, xt as getInt32, yt as getFloat64 } from "./capnp-es.GpvEvMIK-DhNjvLVf.mjs";
|
|
1
|
+
import { n as writeWarning, t as resolveOptions } from "./helpers-BO_ducsG.mjs";
|
|
2
|
+
import { $t as initData, Cn as setUint64, Ct as getInt8, Dt as getList, Jt as getText, Nt as getPointer, Qt as getUint8, Rt as getStruct, Sn as setUint32, St as getInt64, T as ObjectSize, Tn as testWhich, X as adopt, Xt as getUint32, Yt as getUint16, Zt as getUint64, an as isNull, bn as setText, bt as getInt16, d as getUint16Mask, dn as setFloat32, dt as getAs, en as initList, et as copyFrom, fn as setFloat64, ft as getBit, gn as setInt8, hn as setInt64, ht as getData, it as disown, ln as setBit, mn as setInt32, on as pad, pn as setInt16, q as Struct, r as CompositeList, rn as initStructAt, t as Message, ut as format, vt as getFloat32, wn as setUint8, xn as setUint16, xt as getInt32, yt as getFloat64 } from "./capnp-es.GpvEvMIK-CH8kq1KS.mjs";
|
|
4
3
|
import { existsSync } from "@stryke/fs/exists";
|
|
5
4
|
import ts from "typescript";
|
|
6
5
|
import defu from "defu";
|
|
@@ -3547,10 +3546,6 @@ function tsCompile(files, dts, js, tsconfig) {
|
|
|
3547
3546
|
|
|
3548
3547
|
//#endregion
|
|
3549
3548
|
//#region src/compile.ts
|
|
3550
|
-
var compile_exports = /* @__PURE__ */ __exportAll({
|
|
3551
|
-
capnpc: () => capnpc,
|
|
3552
|
-
compile: () => compile
|
|
3553
|
-
});
|
|
3554
3549
|
/**
|
|
3555
3550
|
* Compiles Cap'n Proto schemas into TypeScript files.
|
|
3556
3551
|
*
|
|
@@ -3619,5 +3614,5 @@ async function compile(dataBuf, options) {
|
|
|
3619
3614
|
}
|
|
3620
3615
|
|
|
3621
3616
|
//#endregion
|
|
3622
|
-
export { compile as n,
|
|
3623
|
-
//# sourceMappingURL=compile-
|
|
3617
|
+
export { compile as n, capnpc as t };
|
|
3618
|
+
//# sourceMappingURL=compile-Of7tW8zc.mjs.map
|