perstack 0.0.122 → 0.0.124

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.
Files changed (27) hide show
  1. package/dist/bin/cli.js +538 -1593
  2. package/dist/bin/cli.js.map +1 -1
  3. package/dist/{chunk-D_gEzPfs.js → chunk-DORXReHP.js} +12 -22
  4. package/dist/{devtools-Bhpwh697.js → devtools-Bu9H6b8U.js} +53 -82
  5. package/dist/{devtools-Bhpwh697.js.map → devtools-Bu9H6b8U.js.map} +1 -1
  6. package/dist/{dist-CtJ4Bmgn.js → dist-BaZPOblZ.js} +3 -13
  7. package/dist/{dist-CtJ4Bmgn.js.map → dist-BaZPOblZ.js.map} +1 -1
  8. package/dist/{dist-ByKamhCW.js → dist-RHs5gh6F.js} +404 -525
  9. package/dist/dist-RHs5gh6F.js.map +1 -0
  10. package/dist/{from-Bc9kdEMW.js → from-CDHHdxdc.js} +10 -55
  11. package/dist/{from-Bc9kdEMW.js.map → from-CDHHdxdc.js.map} +1 -1
  12. package/dist/{multipart-parser-BTFMhKVK.js → multipart-parser-DXNPpbYa.js} +7 -9
  13. package/dist/{multipart-parser-BTFMhKVK.js.map → multipart-parser-DXNPpbYa.js.map} +1 -1
  14. package/dist/{resolve-expert-NYqP4qog.js → resolve-expert-temTHQyu.js} +3 -4
  15. package/dist/{resolve-expert-NYqP4qog.js.map → resolve-expert-temTHQyu.js.map} +1 -1
  16. package/dist/{src-ziv0IPUn.js → src-Cl4mko2y.js} +8 -22
  17. package/dist/{src-ziv0IPUn.js.map → src-Cl4mko2y.js.map} +1 -1
  18. package/dist/{token-CG9AEZQ3.js → token-C9_l0CGs.js} +5 -7
  19. package/dist/{token-CG9AEZQ3.js.map → token-C9_l0CGs.js.map} +1 -1
  20. package/dist/{token-error-_b-fOBh2.js → token-error-Bru5BVnt.js} +3 -4
  21. package/dist/{token-error-_b-fOBh2.js.map → token-error-Bru5BVnt.js.map} +1 -1
  22. package/dist/token-util-DVMOukJX.js +4 -0
  23. package/dist/{token-util-BNFarwY-.js → token-util-D_6sOotR.js} +4 -8
  24. package/dist/{token-util-BNFarwY-.js.map → token-util-D_6sOotR.js.map} +1 -1
  25. package/package.json +3 -3
  26. package/dist/dist-ByKamhCW.js.map +0 -1
  27. package/dist/token-util-nX2KFqwd.js +0 -6
@@ -1,6 +1,5 @@
1
- import { i as __require, n as __esmMin, o as __toESM, t as __commonJSMin } from "./chunk-D_gEzPfs.js";
2
- import { createReadStream, promises, statSync } from "node:fs";
3
-
1
+ import { i as __require, n as __esmMin, t as __commonJSMin } from "./chunk-DORXReHP.js";
2
+ import { promises } from "node:fs";
4
3
  //#region ../../node_modules/.bun/web-streams-polyfill@3.3.3/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js
5
4
  var require_ponyfill_es2018 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6
5
  /**
@@ -3493,7 +3492,6 @@ var require_ponyfill_es2018 = /* @__PURE__ */ __commonJSMin(((exports, module) =
3493
3492
  exports$1.WritableStreamDefaultWriter = WritableStreamDefaultWriter;
3494
3493
  }));
3495
3494
  }));
3496
-
3497
3495
  //#endregion
3498
3496
  //#region ../../node_modules/.bun/fetch-blob@3.2.0/node_modules/fetch-blob/streams.cjs
3499
3497
  var require_streams = /* @__PURE__ */ __commonJSMin((() => {
@@ -3531,7 +3529,6 @@ var require_streams = /* @__PURE__ */ __commonJSMin((() => {
3531
3529
  } catch (error) {}
3532
3530
  }));
3533
3531
  /* c8 ignore end */
3534
-
3535
3532
  //#endregion
3536
3533
  //#region ../../node_modules/.bun/fetch-blob@3.2.0/node_modules/fetch-blob/index.js
3537
3534
  /** @param {(Blob | Uint8Array)[]} parts */
@@ -3556,9 +3553,9 @@ async function* toIterator(parts, clone = true) {
3556
3553
  }
3557
3554
  }
3558
3555
  }
3559
- var import_streams, POOL_SIZE, _Blob, Blob;
3556
+ var POOL_SIZE, _Blob, Blob;
3560
3557
  var init_fetch_blob = __esmMin((() => {
3561
- import_streams = require_streams();
3558
+ require_streams();
3562
3559
  POOL_SIZE = 65536;
3563
3560
  _Blob = class Blob {
3564
3561
  /** @type {Array.<(Blob|Uint8Array)>} */
@@ -3705,7 +3702,6 @@ var init_fetch_blob = __esmMin((() => {
3705
3702
  });
3706
3703
  Blob = _Blob;
3707
3704
  }));
3708
-
3709
3705
  //#endregion
3710
3706
  //#region ../../node_modules/.bun/fetch-blob@3.2.0/node_modules/fetch-blob/file.js
3711
3707
  var _File, File;
@@ -3741,7 +3737,6 @@ var init_file = __esmMin((() => {
3741
3737
  };
3742
3738
  File = _File;
3743
3739
  }));
3744
-
3745
3740
  //#endregion
3746
3741
  //#region ../../node_modules/.bun/formdata-polyfill@4.0.10/node_modules/formdata-polyfill/esm.min.js
3747
3742
  /** @param {FormData} F */
@@ -3823,11 +3818,7 @@ var init_esm_min = __esmMin((() => {
3823
3818
  for (var [, a] of this) yield a;
3824
3819
  }
3825
3820
  };
3826
- }));
3827
-
3828
- //#endregion
3829
- //#region ../../node_modules/.bun/node-domexception@1.0.0/node_modules/node-domexception/index.js
3830
- var require_node_domexception = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3821
+ })), require_node_domexception = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3831
3822
  /*! node-domexception. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
3832
3823
  if (!globalThis.DOMException) try {
3833
3824
  const { MessageChannel } = __require("worker_threads"), port = new MessageChannel().port1, ab = /* @__PURE__ */ new ArrayBuffer();
@@ -3836,51 +3827,15 @@ var require_node_domexception = /* @__PURE__ */ __commonJSMin(((exports, module)
3836
3827
  err.constructor.name === "DOMException" && (globalThis.DOMException = err.constructor);
3837
3828
  }
3838
3829
  module.exports = globalThis.DOMException;
3839
- }));
3840
-
3841
- //#endregion
3842
- //#region ../../node_modules/.bun/fetch-blob@3.2.0/node_modules/fetch-blob/from.js
3843
- var import_node_domexception, stat, BlobDataItem;
3830
+ })), stat;
3844
3831
  var init_from = __esmMin((() => {
3845
- import_node_domexception = /* @__PURE__ */ __toESM(require_node_domexception(), 1);
3832
+ require_node_domexception();
3846
3833
  init_file();
3847
3834
  init_fetch_blob();
3848
3835
  ({stat} = promises);
3849
- BlobDataItem = class BlobDataItem {
3850
- #path;
3851
- #start;
3852
- constructor(options) {
3853
- this.#path = options.path;
3854
- this.#start = options.start;
3855
- this.size = options.size;
3856
- this.lastModified = options.lastModified;
3857
- }
3858
- /**
3859
- * Slicing arguments is first validated and formatted
3860
- * to not be out of range by Blob.prototype.slice
3861
- */
3862
- slice(start, end) {
3863
- return new BlobDataItem({
3864
- path: this.#path,
3865
- lastModified: this.lastModified,
3866
- size: end - start,
3867
- start: this.#start + start
3868
- });
3869
- }
3870
- async *stream() {
3871
- const { mtimeMs } = await stat(this.#path);
3872
- if (mtimeMs > this.lastModified) throw new import_node_domexception.default("The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.", "NotReadableError");
3873
- yield* createReadStream(this.#path, {
3874
- start: this.#start,
3875
- end: this.#start + this.size - 1
3876
- });
3877
- }
3878
- get [Symbol.toStringTag]() {
3879
- return "Blob";
3880
- }
3881
- };
3836
+ Symbol.toStringTag;
3882
3837
  }));
3883
-
3884
3838
  //#endregion
3885
3839
  export { File as a, init_esm_min as i, FormData as n, Blob as o, formDataToBlob as r, init_fetch_blob as s, init_from as t };
3886
- //# sourceMappingURL=from-Bc9kdEMW.js.map
3840
+
3841
+ //# sourceMappingURL=from-CDHHdxdc.js.map