token-goat 2.6.30 → 2.6.32

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 (36) hide show
  1. package/README.md +55 -16
  2. package/SECURITY.md +136 -0
  3. package/dist/{token-goat-hook-chunk-KNVHTGEX.mjs → token-goat-chunk-3KW5C2KQ.mjs} +1 -1
  4. package/dist/{token-goat-hook-chunk-7WC2H3EW.mjs → token-goat-chunk-3UOG7PSZ.mjs} +12 -3
  5. package/dist/{token-goat-hook-chunk-FKZ5RBT4.mjs → token-goat-chunk-4M7PSAO3.mjs} +8 -8
  6. package/dist/token-goat-chunk-5EXIMDHA.mjs +5113 -0
  7. package/dist/token-goat-chunk-DFBD2FFU.mjs +9627 -0
  8. package/dist/token-goat-chunk-DNEPSN3P.mjs +156 -0
  9. package/dist/token-goat-chunk-GWZJ5SI2.mjs +13684 -0
  10. package/dist/token-goat-chunk-N53GXI2Z.mjs +9660 -0
  11. package/dist/token-goat-chunk-O7TGKV5I.mjs +901 -0
  12. package/dist/token-goat-chunk-RD6O3PJU.mjs +15606 -0
  13. package/dist/token-goat-chunk-TBCLQTPG.mjs +24 -0
  14. package/dist/token-goat-chunk-W3MX4LQV.mjs +707 -0
  15. package/dist/token-goat-chunk-X5OPORR4.mjs +18331 -0
  16. package/dist/{token-goat-hook-chunk-ZRJUZZQE.mjs → token-goat-chunk-YWYITDOS.mjs} +5 -6
  17. package/dist/{token-goat-hook-chunk-XNZLMFQ2.mjs → token-goat-hook-chunk-6NF4WM2U.mjs} +2772 -883
  18. package/dist/token-goat-hook-chunk-ANFXTEQO.mjs +23 -0
  19. package/dist/token-goat-hook-chunk-DHW6SRHR.mjs +5099 -0
  20. package/dist/token-goat-hook-chunk-DJZGX27J.mjs +9624 -0
  21. package/dist/token-goat-hook-chunk-J2ZK2FYW.mjs +33 -0
  22. package/dist/token-goat-hook-chunk-K33JMLL7.mjs +63 -0
  23. package/dist/token-goat-hook-chunk-LFYT4DLB.mjs +901 -0
  24. package/dist/token-goat-hook-chunk-PCP4W65Z.mjs +112 -0
  25. package/dist/token-goat-hook-chunk-Q5URQRIF.mjs +9660 -0
  26. package/dist/{token-goat-hook-chunk-FMQ37OQD.mjs → token-goat-hook-chunk-TBJ5PUPQ.mjs} +28 -26
  27. package/dist/token-goat-hook-chunk-TKXOXN4J.mjs +14860 -0
  28. package/dist/token-goat-hook-chunk-UXD3B4OY.mjs +156 -0
  29. package/dist/token-goat-hook-chunk-VHZECEQD.mjs +13684 -0
  30. package/dist/token-goat-hook-chunk-WBTHUYJP.mjs +18329 -0
  31. package/dist/token-goat-hook.mjs +7 -4
  32. package/dist/token-goat.core.mjs +14 -89574
  33. package/package.json +15 -6
  34. package/dist/token-goat-hook-chunk-4SM2PAR6.mjs +0 -33590
  35. package/dist/token-goat-hook-chunk-5B3OWRNC.mjs +0 -145
  36. package/dist/token-goat-hook-chunk-VKAQNN2R.mjs +0 -24416
@@ -0,0 +1,33 @@
1
+ import { createRequire as __cjsRequire } from 'node:module';
2
+ const require = __cjsRequire(import.meta.url);
3
+ import {
4
+ init_define_import_meta_env
5
+ } from "./token-goat-hook-chunk-K33JMLL7.mjs";
6
+
7
+ // src/reset.ts
8
+ init_define_import_meta_env();
9
+ var _resets = [];
10
+ function registerReset(fn) {
11
+ _resets.push(fn);
12
+ }
13
+ function clearModuleCaches() {
14
+ const errors = [];
15
+ for (const fn of _resets) {
16
+ try {
17
+ fn();
18
+ } catch (err) {
19
+ errors.push(err);
20
+ }
21
+ }
22
+ if (errors.length === 1) {
23
+ throw errors[0];
24
+ }
25
+ if (errors.length > 1) {
26
+ throw new AggregateError(errors, "clearModuleCaches: one or more resets failed");
27
+ }
28
+ }
29
+
30
+ export {
31
+ registerReset,
32
+ clearModuleCaches
33
+ };
@@ -0,0 +1,63 @@
1
+ import { createRequire as __cjsRequire } from 'node:module';
2
+ const require = __cjsRequire(import.meta.url);
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
10
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
11
+ }) : x)(function(x) {
12
+ if (typeof require !== "undefined") return require.apply(this, arguments);
13
+ throw Error('Dynamic require of "' + x + '" is not supported');
14
+ });
15
+ var __esm = (fn, res, err) => function __init() {
16
+ if (err) throw err[0];
17
+ try {
18
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
19
+ } catch (e) {
20
+ throw err = [e], e;
21
+ }
22
+ };
23
+ var __commonJS = (cb, mod) => function __require2() {
24
+ try {
25
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
26
+ } catch (e) {
27
+ throw mod = 0, e;
28
+ }
29
+ };
30
+ var __export = (target, all) => {
31
+ for (var name in all)
32
+ __defProp(target, name, { get: all[name], enumerable: true });
33
+ };
34
+ var __copyProps = (to, from, except, desc) => {
35
+ if (from && typeof from === "object" || typeof from === "function") {
36
+ for (let key of __getOwnPropNames(from))
37
+ if (!__hasOwnProp.call(to, key) && key !== except)
38
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
39
+ }
40
+ return to;
41
+ };
42
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
43
+ // If the importer is in node compatibility mode or this is not an ESM
44
+ // file that has been converted to a CommonJS file using a Babel-
45
+ // compatible transform (i.e. "__esModule" has not been set), then set
46
+ // "default" to the CommonJS "module.exports" for node compatibility.
47
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
48
+ mod
49
+ ));
50
+
51
+ // <define:import.meta.env>
52
+ var init_define_import_meta_env = __esm({
53
+ "<define:import.meta.env>"() {
54
+ }
55
+ });
56
+
57
+ export {
58
+ __require,
59
+ __commonJS,
60
+ __export,
61
+ __toESM,
62
+ init_define_import_meta_env
63
+ };