@resourcexjs/cli 2.16.0 → 2.16.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/dist/index.js CHANGED
@@ -1,28 +1,17 @@
1
1
  #!/usr/bin/env bun
2
2
  // @bun
3
- var __create = Object.create;
4
- var __getProtoOf = Object.getPrototypeOf;
5
3
  var __defProp = Object.defineProperty;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __toESM = (mod, isNodeMode, target) => {
9
- target = mod != null ? __create(__getProtoOf(mod)) : {};
10
- const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
11
- for (let key of __getOwnPropNames(mod))
12
- if (!__hasOwnProp.call(to, key))
13
- __defProp(to, key, {
14
- get: () => mod[key],
15
- enumerable: true
16
- });
17
- return to;
18
- };
4
+ var __returnValue = (v) => v;
5
+ function __exportSetter(name, newValue) {
6
+ this[name] = __returnValue.bind(null, newValue);
7
+ }
19
8
  var __export = (target, all) => {
20
9
  for (var name in all)
21
10
  __defProp(target, name, {
22
11
  get: all[name],
23
12
  enumerable: true,
24
13
  configurable: true,
25
- set: (newValue) => all[name] = () => newValue
14
+ set: __exportSetter.bind(all, name)
26
15
  });
27
16
  };
28
17
  var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
@@ -792,6 +781,9 @@ import { gunzip } from "zlib";
792
781
  import { readdir as readdir2, readFile as readFile2, stat as stat2 } from "fs/promises";
793
782
  import { join as join2, relative as relative2 } from "path";
794
783
  import { createHash } from "crypto";
784
+ function __exportSetter2(name, newValue) {
785
+ this[name] = __returnValue2.bind(null, newValue);
786
+ }
795
787
  function $constructor(name, initializer, params) {
796
788
  function init2(inst, def) {
797
789
  if (!inst._zod) {
@@ -4689,13 +4681,13 @@ class TypeHandlerChain {
4689
4681
  this.handlers.clear();
4690
4682
  }
4691
4683
  }
4692
- var __defProp2, __export2 = (target, all) => {
4684
+ var __defProp2, __returnValue2 = (v2) => v2, __export2 = (target, all) => {
4693
4685
  for (var name in all)
4694
4686
  __defProp2(target, name, {
4695
4687
  get: all[name],
4696
4688
  enumerable: true,
4697
4689
  configurable: true,
4698
- set: (newValue) => all[name] = () => newValue
4690
+ set: __exportSetter2.bind(all, name)
4699
4691
  });
4700
4692
  }, BLOCK_SIZE = 512, ZERO_BLOCK, EMPTY, encoder, decoder, EOF_BUFFER, gzipAsync, exports_external, exports_core2, NEVER, $brand, $ZodAsyncError, $ZodEncodeError, globalConfig, exports_util, EVALUATING, captureStackTrace, allowsEval, getParsedType = (data) => {
4701
4693
  const t2 = typeof data;
@@ -17515,4 +17507,4 @@ var main = defineCommand({
17515
17507
  });
17516
17508
  runMain(main);
17517
17509
 
17518
- //# debugId=AA7C8D804CBA334B64756E2164756E21
17510
+ //# debugId=E7512FDD8523B92864756E2164756E21