create-kanojo 0.1.2 → 0.1.3

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 (2) hide show
  1. package/dist/index.mjs +21 -21
  2. package/package.json +1 -2
package/dist/index.mjs CHANGED
@@ -32,7 +32,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
32
32
  enumerable: true
33
33
  }) : target, mod));
34
34
  //#endregion
35
- //#region ../../node_modules/.bun/@clack+core@1.1.0/node_modules/@clack/core/dist/index.mjs
35
+ //#region ../../node_modules/@clack/core/dist/index.mjs
36
36
  var import_src = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
37
37
  const ESC = "\x1B";
38
38
  const CSI = `${ESC}[`;
@@ -542,7 +542,7 @@ var $t = class extends B {
542
542
  }
543
543
  };
544
544
  //#endregion
545
- //#region ../../node_modules/.bun/@clack+prompts@1.1.0/node_modules/@clack/prompts/dist/index.mjs
545
+ //#region ../../node_modules/@clack/prompts/dist/index.mjs
546
546
  function pt() {
547
547
  return N.platform !== "win32" ? N.env.TERM !== "linux" : !!N.env.CI || !!N.env.WT_SESSION || !!N.env.TERMINUS_SUBLIME || N.env.ConEmuTask === "{cmd::Cmder}" || N.env.TERM_PROGRAM === "Terminus-Sublime" || N.env.TERM_PROGRAM === "vscode" || N.env.TERM === "xterm-256color" || N.env.TERM === "alacritty" || N.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
548
548
  }
@@ -1062,7 +1062,7 @@ ${r ? styleText("cyan", x) : ""}
1062
1062
  }
1063
1063
  }).prompt();
1064
1064
  //#endregion
1065
- //#region ../../node_modules/.bun/@noble+hashes@2.0.1/node_modules/@noble/hashes/utils.js
1065
+ //#region ../../node_modules/@noble/hashes/utils.js
1066
1066
  var import_picocolors = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
1067
1067
  let p = process || {}, argv = p.argv || [], env = p.env || {};
1068
1068
  let isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env.TERM !== "dumb" || !!env.CI);
@@ -1283,7 +1283,7 @@ const oidNist = (suffix) => ({ oid: Uint8Array.from([
1283
1283
  suffix
1284
1284
  ]) });
1285
1285
  //#endregion
1286
- //#region ../../node_modules/.bun/@noble+hashes@2.0.1/node_modules/@noble/hashes/_md.js
1286
+ //#region ../../node_modules/@noble/hashes/_md.js
1287
1287
  /**
1288
1288
  * Internal Merkle-Damgard hash utils.
1289
1289
  * @module
@@ -1404,7 +1404,7 @@ const SHA256_IV = /* @__PURE__ */ Uint32Array.from([
1404
1404
  1541459225
1405
1405
  ]);
1406
1406
  //#endregion
1407
- //#region ../../node_modules/.bun/@noble+hashes@2.0.1/node_modules/@noble/hashes/_u64.js
1407
+ //#region ../../node_modules/@noble/hashes/_u64.js
1408
1408
  /**
1409
1409
  * Internal helpers for u64. BigUint64Array is too slow as per 2025, so we implement it using Uint32Array.
1410
1410
  * @todo re-check https://issues.chromium.org/issues/42212588
@@ -1433,7 +1433,7 @@ function split(lst, le = false) {
1433
1433
  return [Ah, Al];
1434
1434
  }
1435
1435
  //#endregion
1436
- //#region ../../node_modules/.bun/@noble+hashes@2.0.1/node_modules/@noble/hashes/sha2.js
1436
+ //#region ../../node_modules/@noble/hashes/sha2.js
1437
1437
  /**
1438
1438
  * SHA2 hash function. A.k.a. sha256, sha384, sha512, sha512_224, sha512_256.
1439
1439
  * SHA256 is the fastest hash implementable in JS, even faster than Blake3.
@@ -1689,7 +1689,7 @@ K512[1];
1689
1689
  */
1690
1690
  const sha256 = /* @__PURE__ */ createHasher$1(() => new _SHA256(), /* @__PURE__ */ oidNist(1));
1691
1691
  //#endregion
1692
- //#region ../../node_modules/.bun/@noble+curves@2.0.1/node_modules/@noble/curves/utils.js
1692
+ //#region ../../node_modules/@noble/curves/utils.js
1693
1693
  /**
1694
1694
  * Hex, bytes and number utilities.
1695
1695
  * @module
@@ -1867,7 +1867,7 @@ function memoized(fn) {
1867
1867
  };
1868
1868
  }
1869
1869
  //#endregion
1870
- //#region ../../node_modules/.bun/@noble+curves@2.0.1/node_modules/@noble/curves/abstract/modular.js
1870
+ //#region ../../node_modules/@noble/curves/abstract/modular.js
1871
1871
  /**
1872
1872
  * Utils for modular division and fields.
1873
1873
  * Field over 11 is a finite (Galois) field is integer number operations `mod 11`.
@@ -2292,7 +2292,7 @@ function mapHashToField(key, fieldOrder, isLE = false) {
2292
2292
  return isLE ? numberToBytesLE(reduced, fieldLen) : numberToBytesBE(reduced, fieldLen);
2293
2293
  }
2294
2294
  //#endregion
2295
- //#region ../../node_modules/.bun/@noble+curves@2.0.1/node_modules/@noble/curves/abstract/curve.js
2295
+ //#region ../../node_modules/@noble/curves/abstract/curve.js
2296
2296
  /**
2297
2297
  * Methods for elliptic curve multiplication by scalars.
2298
2298
  * Contains wNAF, pippenger.
@@ -2564,7 +2564,7 @@ function createKeygen(randomSecretKey, getPublicKey) {
2564
2564
  };
2565
2565
  }
2566
2566
  //#endregion
2567
- //#region ../../node_modules/.bun/@noble+curves@2.0.1/node_modules/@noble/curves/abstract/hash-to-curve.js
2567
+ //#region ../../node_modules/@noble/curves/abstract/hash-to-curve.js
2568
2568
  const os2ip = bytesToNumberBE;
2569
2569
  function i2osp(value, length) {
2570
2570
  asafenumber(value);
@@ -2726,7 +2726,7 @@ function createHasher(Point, mapToCurve, defaults) {
2726
2726
  };
2727
2727
  }
2728
2728
  //#endregion
2729
- //#region ../../node_modules/.bun/@noble+hashes@2.0.1/node_modules/@noble/hashes/hmac.js
2729
+ //#region ../../node_modules/@noble/hashes/hmac.js
2730
2730
  /**
2731
2731
  * HMAC: RFC2104 message authentication code.
2732
2732
  * @module
@@ -2809,7 +2809,7 @@ var _HMAC = class {
2809
2809
  const hmac = (hash, key, message) => new _HMAC(hash, key).update(message).digest();
2810
2810
  hmac.create = (hash, key) => new _HMAC(hash, key);
2811
2811
  //#endregion
2812
- //#region ../../node_modules/.bun/@noble+curves@2.0.1/node_modules/@noble/curves/abstract/weierstrass.js
2812
+ //#region ../../node_modules/@noble/curves/abstract/weierstrass.js
2813
2813
  /**
2814
2814
  * Short Weierstrass curve methods. The formula is: y² = x³ + ax + b.
2815
2815
  *
@@ -3860,7 +3860,7 @@ function ecdsa(Point, hash, ecdsaOpts = {}) {
3860
3860
  });
3861
3861
  }
3862
3862
  //#endregion
3863
- //#region ../../node_modules/.bun/@noble+curves@2.0.1/node_modules/@noble/curves/secp256k1.js
3863
+ //#region ../../node_modules/@noble/curves/secp256k1.js
3864
3864
  /**
3865
3865
  * SECG secp256k1. See [pdf](https://www.secg.org/sec2-v2.pdf).
3866
3866
  *
@@ -4102,7 +4102,7 @@ createHasher(Pointk1, (scalars) => {
4102
4102
  hash: sha256
4103
4103
  });
4104
4104
  //#endregion
4105
- //#region ../../node_modules/.bun/@scure+base@2.0.0/node_modules/@scure/base/index.js
4105
+ //#region ../../node_modules/@scure/base/index.js
4106
4106
  /*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */
4107
4107
  function isBytes$1(a) {
4108
4108
  return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
@@ -4436,7 +4436,7 @@ typeof Uint8Array.from([]).toHex === "function" && typeof Uint8Array.fromHex ===
4436
4436
  return s.toLowerCase();
4437
4437
  }));
4438
4438
  //#endregion
4439
- //#region ../../node_modules/.bun/@noble+ciphers@2.1.1/node_modules/@noble/ciphers/utils.js
4439
+ //#region ../../node_modules/@noble/ciphers/utils.js
4440
4440
  /**
4441
4441
  * Utilities for hex, bytes, CSPRNG.
4442
4442
  * @module
@@ -4584,7 +4584,7 @@ function copyBytes(bytes) {
4584
4584
  return Uint8Array.from(bytes);
4585
4585
  }
4586
4586
  //#endregion
4587
- //#region ../../node_modules/.bun/@noble+ciphers@2.1.1/node_modules/@noble/ciphers/aes.js
4587
+ //#region ../../node_modules/@noble/ciphers/aes.js
4588
4588
  const BLOCK_SIZE = 16;
4589
4589
  const POLY = 283;
4590
4590
  function validateKeyLength(key) {
@@ -4954,7 +4954,7 @@ var _CMAC = class {
4954
4954
  const cmac = (key, message) => new _CMAC(key).update(message).digest();
4955
4955
  cmac.create = (key) => new _CMAC(key);
4956
4956
  //#endregion
4957
- //#region ../../node_modules/.bun/@noble+ciphers@2.1.1/node_modules/@noble/ciphers/_arx.js
4957
+ //#region ../../node_modules/@noble/ciphers/_arx.js
4958
4958
  /**
4959
4959
  * Basic utils for ARX (add-rotate-xor) salsa and chacha ciphers.
4960
4960
 
@@ -5099,7 +5099,7 @@ function createCipher(core, opts) {
5099
5099
  };
5100
5100
  }
5101
5101
  //#endregion
5102
- //#region ../../node_modules/.bun/@noble+ciphers@2.1.1/node_modules/@noble/ciphers/_poly1305.js
5102
+ //#region ../../node_modules/@noble/ciphers/_poly1305.js
5103
5103
  /**
5104
5104
  * Poly1305 ([PDF](https://cr.yp.to/mac/poly1305-20050329.pdf),
5105
5105
  * [wiki](https://en.wikipedia.org/wiki/Poly1305))
@@ -5371,7 +5371,7 @@ function wrapConstructorWithKey(hashCons) {
5371
5371
  /** Poly1305 MAC from RFC 8439. */
5372
5372
  const poly1305 = wrapConstructorWithKey((key) => new Poly1305(key));
5373
5373
  //#endregion
5374
- //#region ../../node_modules/.bun/@noble+ciphers@2.1.1/node_modules/@noble/ciphers/chacha.js
5374
+ //#region ../../node_modules/@noble/ciphers/chacha.js
5375
5375
  /**
5376
5376
  * ChaCha stream cipher, released
5377
5377
  * in 2008. Developed after Salsa20, ChaCha aims to increase diffusion per round.
@@ -5634,7 +5634,7 @@ const _poly1305_aead = (xorStream) => (key, nonce, AAD) => {
5634
5634
  _poly1305_aead(chacha20);
5635
5635
  _poly1305_aead(xchacha20);
5636
5636
  //#endregion
5637
- //#region ../../node_modules/.bun/@noble+hashes@2.0.1/node_modules/@noble/hashes/hkdf.js
5637
+ //#region ../../node_modules/@noble/hashes/hkdf.js
5638
5638
  /**
5639
5639
  * HKDF (RFC 5869): extract + expand in one step.
5640
5640
  * See https://soatok.blog/2021/11/17/understanding-hkdf/.
@@ -5685,7 +5685,7 @@ function expand(hash, prk, info, length = 32) {
5685
5685
  return okm.slice(0, length);
5686
5686
  }
5687
5687
  //#endregion
5688
- //#region ../../node_modules/.bun/nostr-tools@2.23.3+1fb4c65d43e298b9/node_modules/nostr-tools/lib/esm/index.js
5688
+ //#region ../../node_modules/nostr-tools/lib/esm/index.js
5689
5689
  var __defProp = Object.defineProperty;
5690
5690
  var __export = (target, all) => {
5691
5691
  for (var name in all) __defProp(target, name, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-kanojo",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "A Nostr-based dating CLI for finding a kanojo.",
5
5
  "module": "src/index.ts",
6
6
  "type": "module",
@@ -27,7 +27,6 @@
27
27
  "vite-plus": "^0.1.11"
28
28
  },
29
29
  "peerDependencies": {
30
- "@repo/shared": "workspace:*",
31
30
  "typescript": "^5"
32
31
  }
33
32
  }