@stryke/capnp 0.12.80 → 0.12.82

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/helpers.cjs CHANGED
@@ -1,3 +1,3 @@
1
- const require_helpers = require('./helpers-B7k70mjp.cjs');
1
+ const require_helpers = require('./helpers-D3oxyKcQ.cjs');
2
2
 
3
3
  exports.resolveOptions = require_helpers.resolveOptions;
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.cts","names":[],"sources":["../../src/helpers.ts"],"sourcesContent":[],"mappings":";;;;;;AAuCA;;;;AAEa,iBAFS,cAAA,CAET,OAAA,EADF,IACE,CADG,aACH,EAAA,eAAA,GAAA,aAAA,CAAA,GAAT,QAAS,CAAA,IAAA,CAAK,aAAL,EAAA,eAAA,GAAA,aAAA,CAAA,CAAA,CAAA,EACV,OADU,CACF,qBADE,GAAA,IAAA,CAAA"}
1
+ {"version":3,"file":"helpers.d.cts","names":[],"sources":["../../src/helpers.ts"],"sourcesContent":[],"mappings":";;;;;;AAyCA;;;;AAEa,iBAFS,cAAA,CAET,OAAA,EADF,IACE,CADG,aACH,EAAA,eAAA,GAAA,aAAA,CAAA,GAAT,QAAS,CAAA,IAAA,CAAK,aAAL,EAAA,eAAA,GAAA,aAAA,CAAA,CAAA,CAAA,EACV,OADU,CACF,qBADE,GAAA,IAAA,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.mts","names":[],"sources":["../../src/helpers.ts"],"sourcesContent":[],"mappings":";;;;;;AAuCA;;;;AAEa,iBAFS,cAAA,CAET,OAAA,EADF,IACE,CADG,aACH,EAAA,eAAA,GAAA,aAAA,CAAA,GAAT,QAAS,CAAA,IAAA,CAAK,aAAL,EAAA,eAAA,GAAA,aAAA,CAAA,CAAA,CAAA,EACV,OADU,CACF,qBADE,GAAA,IAAA,CAAA"}
1
+ {"version":3,"file":"helpers.d.mts","names":[],"sources":["../../src/helpers.ts"],"sourcesContent":[],"mappings":";;;;;;AAyCA;;;;AAEa,iBAFS,cAAA,CAET,OAAA,EADF,IACE,CADG,aACH,EAAA,eAAA,GAAA,aAAA,CAAA,GAAT,QAAS,CAAA,IAAA,CAAK,aAAL,EAAA,eAAA,GAAA,aAAA,CAAA,CAAA,CAAA,EACV,OADU,CACF,qBADE,GAAA,IAAA,CAAA"}
package/dist/helpers.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { t as resolveOptions } from "./helpers-DPPIVk-O.mjs";
1
+ import { t as resolveOptions } from "./helpers-DN2tMgBs.mjs";
2
2
 
3
3
  export { resolveOptions };
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
- require('./helpers-B7k70mjp.cjs');
1
+ require('./helpers-D3oxyKcQ.cjs');
2
2
  const require_capnp_es_GpvEvMIK = require('./capnp-es.GpvEvMIK-BY4gHyC5.cjs');
3
- const require_compile = require('./compile-BU-HlLfU.cjs');
3
+ const require_compile = require('./compile-DI5-92za.cjs');
4
4
  const require_types = require('./types-DHrjS-69.cjs');
5
5
  const require_dist = require('./dist-BZ3g4lB8.cjs');
6
6
 
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import "./helpers-DPPIVk-O.mjs";
1
+ import "./helpers-DN2tMgBs.mjs";
2
2
  import { $ as clientOrNull, D as Pointer, E as Orphan, J as Text, S as ListElementSize, T as ObjectSize, a as getFloat32Mask, c as getInt32Mask, d as getUint16Mask, f as getUint32Mask, g as Data, i as getBitMask, k as PointerType, l as getInt64Mask, m as getUint8Mask, n as readRawPointer, o as getFloat64Mask, p as getUint64Mask, q as Struct, r as CompositeList, s as getInt16Mask, t as Message, u as getInt8Mask, v as ErrorClient, x as List } from "./capnp-es.GpvEvMIK-BH8YrftV.mjs";
3
- import { n as compile, t as capnpc } from "./compile-CJ8KYCju.mjs";
3
+ import { n as compile, t as capnpc } from "./compile-OPOvCjdO.mjs";
4
4
  import { t as CodeGeneratorContext } from "./types-Cuj2daUE.mjs";
5
5
  import { A as copyCall, C as isSameClient, D as Pipeline, E as Interface, M as isFuncCall, N as placeParams, O as Registry, S as clientFromResolution, T as Deferred, _ as Uint64List, a as DeferredTransport, b as VoidList, c as Int16List, d as Int8List, f as InterfaceList, g as Uint32List, h as Uint16List, i as DataList, j as isDataCall, k as Server, l as Int32List, m as TextList, n as BoolList, o as Float32List, p as PointerList, r as Conn, s as Float64List, t as AnyPointerList, u as Int64List, v as Uint8List, w as utils, x as answerPipelineClient, y as Void } from "./dist-Qno9L0HI.mjs";
6
6
 
@@ -1,4 +1,4 @@
1
- const require_helpers = require('./helpers-B7k70mjp.cjs');
1
+ const require_helpers = require('./helpers-D3oxyKcQ.cjs');
2
2
  const require_capnp_es_GpvEvMIK = require('./capnp-es.GpvEvMIK-BY4gHyC5.cjs');
3
3
  const require_dist = require('./dist-BZ3g4lB8.cjs');
4
4
  let node_worker_threads = require("node:worker_threads");
package/package.json CHANGED
@@ -1,18 +1,32 @@
1
1
  {
2
2
  "name": "@stryke/capnp",
3
- "version": "0.12.80",
4
- "type": "module",
3
+ "version": "0.12.82",
4
+ "private": false,
5
5
  "description": "A package to assist in running the Cap'n Proto compiler and creating Cap'n Proto serialization protocol schemas.",
6
+ "keywords": [
7
+ "capnp",
8
+ "capnproto",
9
+ "serialization",
10
+ "protocol",
11
+ "compiler",
12
+ "storm-software",
13
+ "stryke"
14
+ ],
15
+ "homepage": "https://stormsoftware.com",
16
+ "bugs": {
17
+ "url": "https://stormsoftware.com/support",
18
+ "email": "support@stormsoftware.com"
19
+ },
6
20
  "repository": {
7
21
  "type": "github",
8
22
  "url": "https://github.com/storm-software/stryke",
9
23
  "directory": "packages/capnp"
10
24
  },
11
- "homepage": "https://stormsoftware.com",
12
- "bugs": {
13
- "url": "https://stormsoftware.com/support",
14
- "email": "support@stormsoftware.com"
25
+ "funding": {
26
+ "type": "github",
27
+ "url": "https://github.com/sponsors/storm-software"
15
28
  },
29
+ "license": "Apache-2.0",
16
30
  "author": {
17
31
  "name": "Storm Software",
18
32
  "email": "contact@stormsoftware.com",
@@ -32,19 +46,7 @@
32
46
  "url": "https://stormsoftware.com"
33
47
  }
34
48
  ],
35
- "funding": {
36
- "type": "github",
37
- "url": "https://github.com/sponsors/storm-software"
38
- },
39
- "license": "Apache-2.0",
40
- "private": false,
41
- "bin": {
42
- "storm-capnpc": "bin/capnpc.mjs",
43
- "storm-capnpc-cjs": "bin/capnpc.cjs",
44
- "storm-capnpc-esm": "bin/capnpc.mjs"
45
- },
46
- "main": "./dist/index.cjs",
47
- "module": "./dist/index.mjs",
49
+ "type": "module",
48
50
  "exports": {
49
51
  ".": {
50
52
  "import": { "types": "./dts/index.d.ts", "default": "./dist/index.mjs" },
@@ -92,31 +94,28 @@
92
94
  "./ts": { "require": "./schemas/ts.cjs", "import": "./schemas/ts.mjs" },
93
95
  "./*": "./dist/*"
94
96
  },
97
+ "main": "./dist/index.cjs",
98
+ "module": "./dist/index.mjs",
95
99
  "types": "./dts/index.d.ts",
100
+ "bin": {
101
+ "storm-capnpc": "bin/capnpc.mjs",
102
+ "storm-capnpc-cjs": "bin/capnpc.cjs",
103
+ "storm-capnpc-esm": "bin/capnpc.mjs"
104
+ },
96
105
  "files": ["bin/**/*", "dist/**/*", "dts/**/*", "schemas/**/*", "vendor/**/*"],
97
- "keywords": [
98
- "capnp",
99
- "capnproto",
100
- "serialization",
101
- "protocol",
102
- "compiler",
103
- "storm-software",
104
- "stryke"
105
- ],
106
- "peerDependencies": { "typescript": ">=4.0.0" },
107
- "peerDependenciesMeta": { "typescript": { "optional": false } },
108
106
  "dependencies": {
109
- "@stryke/fs": "^0.33.55",
110
- "@stryke/path": "^0.26.17",
107
+ "@stryke/fs": "^0.33.56",
108
+ "@stryke/path": "^0.26.18",
111
109
  "defu": "^6.1.4",
112
110
  "hex2dec": "^1.1.2",
113
111
  "nanotar": "^0.2.1"
114
112
  },
115
113
  "devDependencies": {
116
- "@storm-software/config": "^1.135.22",
117
- "@storm-software/config-tools": "^1.189.21",
118
- "@storm-software/testing-tools": "^1.119.96",
114
+ "@storm-software/config": "^1.135.23",
115
+ "@storm-software/config-tools": "^1.189.22",
116
+ "@storm-software/testing-tools": "^1.119.97",
119
117
  "@types/node": "^24.12.0",
118
+ "@types/semver": "^7.7.1",
120
119
  "capnp-es": "^0.0.11",
121
120
  "chalk": "^5.6.2",
122
121
  "commander": "^14.0.3",
@@ -124,6 +123,8 @@
124
123
  "tsdown": "^0.17.2",
125
124
  "tsx": "^4.21.0"
126
125
  },
126
+ "peerDependencies": { "typescript": ">=4.0.0" },
127
+ "peerDependenciesMeta": { "typescript": { "optional": false } },
127
128
  "publishConfig": { "access": "public" },
128
- "gitHead": "875e633229d2ed1637cc483474a977c001ab46cc"
129
+ "gitHead": "32851861a7163c29b3f854b7a830244bfc56cd8b"
129
130
  }
@@ -1,4 +1,4 @@
1
- const require_src = require('./src-C4qUIogl.cjs');
1
+ const require_src = require('./src-DsF0a8FH.cjs');
2
2
 
3
3
  //#region schemas/persistent.ts
4
4
  const _capnpFileId = BigInt("0xb8630836983feed7");
@@ -1,4 +1,4 @@
1
- import { a as Server, d as Struct, i as Registry, n as Interface, r as Pipeline, t as utils, u as ObjectSize } from "./src-BvgdYlCi.mjs";
1
+ import { a as Server, d as Struct, i as Registry, n as Interface, r as Pipeline, t as utils, u as ObjectSize } from "./src-B-8ZXmr4.mjs";
2
2
 
3
3
  //#region schemas/persistent.ts
4
4
  const _capnpFileId = BigInt("0xb8630836983feed7");
@@ -1,4 +1,4 @@
1
- const require_src = require('./src-C4qUIogl.cjs');
1
+ const require_src = require('./src-DsF0a8FH.cjs');
2
2
 
3
3
  //#region schemas/rpc-twoparty.ts
4
4
  const _capnpFileId = BigInt("0xa184c7885cdaf2a1");
@@ -1,4 +1,4 @@
1
- import { d as Struct, t as utils, u as ObjectSize } from "./src-BvgdYlCi.mjs";
1
+ import { d as Struct, t as utils, u as ObjectSize } from "./src-B-8ZXmr4.mjs";
2
2
 
3
3
  //#region schemas/rpc-twoparty.ts
4
4
  const _capnpFileId = BigInt("0xa184c7885cdaf2a1");
package/schemas/rpc.cjs CHANGED
@@ -1,4 +1,4 @@
1
- const require_src = require('./src-C4qUIogl.cjs');
1
+ const require_src = require('./src-DsF0a8FH.cjs');
2
2
 
3
3
  //#region schemas/rpc.ts
4
4
  const _capnpFileId = BigInt("0xb312981b2552a250");
package/schemas/rpc.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { d as Struct, l as getUint8Mask, o as CompositeList, s as getBitMask, t as utils, u as ObjectSize } from "./src-BvgdYlCi.mjs";
1
+ import { d as Struct, l as getUint8Mask, o as CompositeList, s as getBitMask, t as utils, u as ObjectSize } from "./src-B-8ZXmr4.mjs";
2
2
 
3
3
  //#region schemas/rpc.ts
4
4
  const _capnpFileId = BigInt("0xb312981b2552a250");
@@ -1,4 +1,4 @@
1
- const require_src = require('./src-C4qUIogl.cjs');
1
+ const require_src = require('./src-DsF0a8FH.cjs');
2
2
 
3
3
  //#region schemas/schema.ts
4
4
  const _capnpFileId = BigInt("0xa93fc509624c72d9");
@@ -1,4 +1,4 @@
1
- import { c as getUint16Mask, d as Struct, o as CompositeList, t as utils, u as ObjectSize } from "./src-BvgdYlCi.mjs";
1
+ import { c as getUint16Mask, d as Struct, o as CompositeList, t as utils, u as ObjectSize } from "./src-B-8ZXmr4.mjs";
2
2
 
3
3
  //#region schemas/schema.ts
4
4
  const _capnpFileId = BigInt("0xa93fc509624c72d9");
@@ -2,6 +2,7 @@ import "@stryke/fs/exists";
2
2
  import "typescript";
3
3
  import "defu";
4
4
  import { Buffer } from "node:buffer";
5
+ import "@stryke/fs";
5
6
  import "@stryke/fs/json";
6
7
  import "@stryke/fs/list-files";
7
8
  import "@stryke/path/file-path-fns";
@@ -3064,4 +3065,4 @@ const ConnWeakRefRegistry = globalThis.FinalizationRegistry ? new FinalizationRe
3064
3065
 
3065
3066
  //#endregion
3066
3067
  export { Server as a, getUint16Mask as c, Struct as d, Registry as i, getUint8Mask as l, Interface as n, CompositeList as o, Pipeline as r, getBitMask as s, utils as t, ObjectSize as u };
3067
- //# sourceMappingURL=src-BvgdYlCi.mjs.map
3068
+ //# sourceMappingURL=src-B-8ZXmr4.mjs.map