@stryke/capnp 0.12.13 → 0.12.15
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/bin/capnpc.cjs +54 -54
- package/bin/capnpc.js +54 -54
- package/dist/{chunk-NEQ3GNWN.js → chunk-627655CV.js} +1 -1
- package/dist/{chunk-CU5PYCP7.cjs → chunk-7JOFTCPG.cjs} +4 -4
- package/dist/compile.cjs +3 -3
- package/dist/compile.js +2 -2
- package/dist/helpers.cjs +2 -2
- package/dist/helpers.js +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +2 -2
- package/package.json +4 -4
- package/schemas/persistent.cjs +20 -20
- package/schemas/persistent.js +1 -1
- package/schemas/rpc-twoparty.cjs +32 -32
- package/schemas/rpc-twoparty.js +1 -1
- package/schemas/rpc.cjs +495 -495
- package/schemas/rpc.js +1 -1
- package/schemas/schema.cjs +675 -675
- package/schemas/schema.js +1 -1
- package/dist/{chunk-AXRD4JTB.cjs → chunk-AVGQAS6B.cjs} +28 -28
- package/dist/{chunk-ZOSZITDY.js → chunk-JNOQ32JO.js} +28 -28
- package/schemas/{chunk-LJLSGP4R.js → chunk-H4DSZQJU.js} +9 -9
- package/schemas/{chunk-JYA2GE2N.cjs → chunk-RKF2BUL7.cjs} +9 -9
package/schemas/schema.js
CHANGED
|
@@ -843,34 +843,6 @@ var isEmpty = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (value) => {
|
|
|
843
843
|
}
|
|
844
844
|
}, "isEmpty");
|
|
845
845
|
|
|
846
|
-
// ../type-checks/src/is-buffer.ts
|
|
847
|
-
var isBufferExists = typeof Buffer !== "undefined";
|
|
848
|
-
var isBuffer = isBufferExists ? Buffer.isBuffer.bind(Buffer) : (
|
|
849
|
-
/**
|
|
850
|
-
* Check if the provided value's type is `Buffer`
|
|
851
|
-
|
|
852
|
-
* @param value - The value to type check
|
|
853
|
-
* @returns An indicator specifying if the value provided is of type `Buffer`
|
|
854
|
-
*/
|
|
855
|
-
/* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, function isBuffer2(value) {
|
|
856
|
-
return false;
|
|
857
|
-
}, "isBuffer")
|
|
858
|
-
);
|
|
859
|
-
|
|
860
|
-
// ../type-checks/src/type-detect.ts
|
|
861
|
-
var globalObject = ((Obj) => {
|
|
862
|
-
if (typeof globalThis === "object") {
|
|
863
|
-
return globalThis;
|
|
864
|
-
}
|
|
865
|
-
Object.defineProperty(Obj, "typeDetectGlobalObject", {
|
|
866
|
-
get() {
|
|
867
|
-
return this;
|
|
868
|
-
},
|
|
869
|
-
configurable: true
|
|
870
|
-
});
|
|
871
|
-
return globalThis;
|
|
872
|
-
})(Object.prototype);
|
|
873
|
-
|
|
874
846
|
// ../type-checks/src/is-set.ts
|
|
875
847
|
var isSet = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (value) => {
|
|
876
848
|
try {
|
|
@@ -991,6 +963,34 @@ async function readJsonFile(path, options) {
|
|
|
991
963
|
}
|
|
992
964
|
_chunkUSNT2KNTcjs.__name.call(void 0, readJsonFile, "readJsonFile");
|
|
993
965
|
|
|
966
|
+
// ../type-checks/src/is-buffer.ts
|
|
967
|
+
var isBufferExists = typeof Buffer !== "undefined";
|
|
968
|
+
var isBuffer = isBufferExists ? Buffer.isBuffer.bind(Buffer) : (
|
|
969
|
+
/**
|
|
970
|
+
* Check if the provided value's type is `Buffer`
|
|
971
|
+
|
|
972
|
+
* @param value - The value to type check
|
|
973
|
+
* @returns An indicator specifying if the value provided is of type `Buffer`
|
|
974
|
+
*/
|
|
975
|
+
/* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, function isBuffer2(value) {
|
|
976
|
+
return false;
|
|
977
|
+
}, "isBuffer")
|
|
978
|
+
);
|
|
979
|
+
|
|
980
|
+
// ../type-checks/src/type-detect.ts
|
|
981
|
+
var globalObject = ((Obj) => {
|
|
982
|
+
if (typeof globalThis === "object") {
|
|
983
|
+
return globalThis;
|
|
984
|
+
}
|
|
985
|
+
Object.defineProperty(Obj, "typeDetectGlobalObject", {
|
|
986
|
+
get() {
|
|
987
|
+
return this;
|
|
988
|
+
},
|
|
989
|
+
configurable: true
|
|
990
|
+
});
|
|
991
|
+
return globalThis;
|
|
992
|
+
})(Object.prototype);
|
|
993
|
+
|
|
994
994
|
// ../fs/src/list-files.ts
|
|
995
995
|
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
996
996
|
var _glob = require('glob');
|
|
@@ -843,34 +843,6 @@ var isEmpty = /* @__PURE__ */ __name((value) => {
|
|
|
843
843
|
}
|
|
844
844
|
}, "isEmpty");
|
|
845
845
|
|
|
846
|
-
// ../type-checks/src/is-buffer.ts
|
|
847
|
-
var isBufferExists = typeof Buffer !== "undefined";
|
|
848
|
-
var isBuffer = isBufferExists ? Buffer.isBuffer.bind(Buffer) : (
|
|
849
|
-
/**
|
|
850
|
-
* Check if the provided value's type is `Buffer`
|
|
851
|
-
|
|
852
|
-
* @param value - The value to type check
|
|
853
|
-
* @returns An indicator specifying if the value provided is of type `Buffer`
|
|
854
|
-
*/
|
|
855
|
-
/* @__PURE__ */ __name(function isBuffer2(value) {
|
|
856
|
-
return false;
|
|
857
|
-
}, "isBuffer")
|
|
858
|
-
);
|
|
859
|
-
|
|
860
|
-
// ../type-checks/src/type-detect.ts
|
|
861
|
-
var globalObject = ((Obj) => {
|
|
862
|
-
if (typeof globalThis === "object") {
|
|
863
|
-
return globalThis;
|
|
864
|
-
}
|
|
865
|
-
Object.defineProperty(Obj, "typeDetectGlobalObject", {
|
|
866
|
-
get() {
|
|
867
|
-
return this;
|
|
868
|
-
},
|
|
869
|
-
configurable: true
|
|
870
|
-
});
|
|
871
|
-
return globalThis;
|
|
872
|
-
})(Object.prototype);
|
|
873
|
-
|
|
874
846
|
// ../type-checks/src/is-set.ts
|
|
875
847
|
var isSet = /* @__PURE__ */ __name((value) => {
|
|
876
848
|
try {
|
|
@@ -991,6 +963,34 @@ async function readJsonFile(path, options) {
|
|
|
991
963
|
}
|
|
992
964
|
__name(readJsonFile, "readJsonFile");
|
|
993
965
|
|
|
966
|
+
// ../type-checks/src/is-buffer.ts
|
|
967
|
+
var isBufferExists = typeof Buffer !== "undefined";
|
|
968
|
+
var isBuffer = isBufferExists ? Buffer.isBuffer.bind(Buffer) : (
|
|
969
|
+
/**
|
|
970
|
+
* Check if the provided value's type is `Buffer`
|
|
971
|
+
|
|
972
|
+
* @param value - The value to type check
|
|
973
|
+
* @returns An indicator specifying if the value provided is of type `Buffer`
|
|
974
|
+
*/
|
|
975
|
+
/* @__PURE__ */ __name(function isBuffer2(value) {
|
|
976
|
+
return false;
|
|
977
|
+
}, "isBuffer")
|
|
978
|
+
);
|
|
979
|
+
|
|
980
|
+
// ../type-checks/src/type-detect.ts
|
|
981
|
+
var globalObject = ((Obj) => {
|
|
982
|
+
if (typeof globalThis === "object") {
|
|
983
|
+
return globalThis;
|
|
984
|
+
}
|
|
985
|
+
Object.defineProperty(Obj, "typeDetectGlobalObject", {
|
|
986
|
+
get() {
|
|
987
|
+
return this;
|
|
988
|
+
},
|
|
989
|
+
configurable: true
|
|
990
|
+
});
|
|
991
|
+
return globalThis;
|
|
992
|
+
})(Object.prototype);
|
|
993
|
+
|
|
994
994
|
// ../fs/src/list-files.ts
|
|
995
995
|
import defu from "defu";
|
|
996
996
|
import { glob } from "glob";
|
|
@@ -4641,6 +4641,15 @@ StormJSON.instance.registerCustom({
|
|
|
4641
4641
|
import { existsSync, readFileSync as readFileSyncFs } from "fs";
|
|
4642
4642
|
import { readFile as readFileFs } from "fs/promises";
|
|
4643
4643
|
|
|
4644
|
+
// ../fs/src/write-file.ts
|
|
4645
|
+
import { writeFileSync as writeFileSyncFs } from "fs";
|
|
4646
|
+
import { writeFile as writeFileFs } from "fs/promises";
|
|
4647
|
+
|
|
4648
|
+
// ../fs/src/helpers.ts
|
|
4649
|
+
import { parseTar, parseTarGzip } from "nanotar";
|
|
4650
|
+
import { createWriteStream, mkdirSync, rmSync } from "fs";
|
|
4651
|
+
import { mkdir, readFile, rm } from "fs/promises";
|
|
4652
|
+
|
|
4644
4653
|
// ../type-checks/src/is-buffer.ts
|
|
4645
4654
|
var isBufferExists = typeof Buffer !== "undefined";
|
|
4646
4655
|
var isBuffer = isBufferExists ? Buffer.isBuffer.bind(Buffer) : (
|
|
@@ -4669,15 +4678,6 @@ var globalObject = ((Obj) => {
|
|
|
4669
4678
|
return globalThis;
|
|
4670
4679
|
})(Object.prototype);
|
|
4671
4680
|
|
|
4672
|
-
// ../fs/src/write-file.ts
|
|
4673
|
-
import { writeFileSync as writeFileSyncFs } from "fs";
|
|
4674
|
-
import { writeFile as writeFileFs } from "fs/promises";
|
|
4675
|
-
|
|
4676
|
-
// ../fs/src/helpers.ts
|
|
4677
|
-
import { parseTar, parseTarGzip } from "nanotar";
|
|
4678
|
-
import { createWriteStream, mkdirSync, rmSync } from "fs";
|
|
4679
|
-
import { mkdir, readFile, rm } from "fs/promises";
|
|
4680
|
-
|
|
4681
4681
|
// ../fs/src/list-files.ts
|
|
4682
4682
|
import defu from "defu";
|
|
4683
4683
|
import { glob } from "glob";
|
|
@@ -4641,6 +4641,15 @@ StormJSON.instance.registerCustom({
|
|
|
4641
4641
|
|
|
4642
4642
|
|
|
4643
4643
|
|
|
4644
|
+
// ../fs/src/write-file.ts
|
|
4645
|
+
|
|
4646
|
+
|
|
4647
|
+
|
|
4648
|
+
// ../fs/src/helpers.ts
|
|
4649
|
+
var _nanotar = require('nanotar');
|
|
4650
|
+
|
|
4651
|
+
|
|
4652
|
+
|
|
4644
4653
|
// ../type-checks/src/is-buffer.ts
|
|
4645
4654
|
var isBufferExists = typeof Buffer !== "undefined";
|
|
4646
4655
|
var isBuffer = isBufferExists ? Buffer.isBuffer.bind(Buffer) : (
|
|
@@ -4669,15 +4678,6 @@ var globalObject = ((Obj) => {
|
|
|
4669
4678
|
return globalThis;
|
|
4670
4679
|
})(Object.prototype);
|
|
4671
4680
|
|
|
4672
|
-
// ../fs/src/write-file.ts
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
// ../fs/src/helpers.ts
|
|
4677
|
-
var _nanotar = require('nanotar');
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
4681
|
// ../fs/src/list-files.ts
|
|
4682
4682
|
|
|
4683
4683
|
var _glob = require('glob');
|