@vielzeug/illusionist 3.0.0 → 26.10.0

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 (135) hide show
  1. package/dist/_helpers/boolean.cjs +1 -1
  2. package/dist/_helpers/boolean.cjs.map +1 -1
  3. package/dist/_helpers/boolean.js +1 -8
  4. package/dist/_helpers/boolean.js.map +1 -1
  5. package/dist/_helpers/float.cjs +1 -1
  6. package/dist/_helpers/float.cjs.map +1 -1
  7. package/dist/_helpers/float.js +1 -12
  8. package/dist/_helpers/float.js.map +1 -1
  9. package/dist/_helpers/int.cjs +1 -1
  10. package/dist/_helpers/int.cjs.map +1 -1
  11. package/dist/_helpers/int.js +1 -8
  12. package/dist/_helpers/int.js.map +1 -1
  13. package/dist/_helpers/next-float.js +1 -2
  14. package/dist/_helpers/string.cjs +1 -1
  15. package/dist/_helpers/string.cjs.map +1 -1
  16. package/dist/_helpers/string.js +1 -28
  17. package/dist/_helpers/string.js.map +1 -1
  18. package/dist/_virtual/_rolldown/runtime.cjs +1 -1
  19. package/dist/_virtual/_rolldown/runtime.js +1 -11
  20. package/dist/commerce/commerce.cjs +1 -1
  21. package/dist/commerce/commerce.cjs.map +1 -1
  22. package/dist/commerce/commerce.js +1 -50
  23. package/dist/commerce/commerce.js.map +1 -1
  24. package/dist/commerce/data.js +1 -82
  25. package/dist/commerce/data.js.map +1 -1
  26. package/dist/date/date.cjs +1 -1
  27. package/dist/date/date.cjs.map +1 -1
  28. package/dist/date/date.js +1 -92
  29. package/dist/date/date.js.map +1 -1
  30. package/dist/errors.cjs +1 -1
  31. package/dist/errors.cjs.map +1 -1
  32. package/dist/errors.js +1 -9
  33. package/dist/errors.js.map +1 -1
  34. package/dist/factory.cjs +1 -1
  35. package/dist/factory.cjs.map +1 -1
  36. package/dist/factory.js +1 -35
  37. package/dist/factory.js.map +1 -1
  38. package/dist/finance/data.js +1 -59
  39. package/dist/finance/data.js.map +1 -1
  40. package/dist/finance/finance.cjs +1 -1
  41. package/dist/finance/finance.cjs.map +1 -1
  42. package/dist/finance/finance.js +1 -89
  43. package/dist/finance/finance.js.map +1 -1
  44. package/dist/illusionist.cjs +3 -3
  45. package/dist/illusionist.cjs.map +1 -1
  46. package/dist/illusionist.iife.js +3 -3
  47. package/dist/illusionist.iife.js.map +1 -1
  48. package/dist/illusionist.js +3 -3
  49. package/dist/illusionist.js.map +1 -1
  50. package/dist/index.cjs +1 -1
  51. package/dist/index.js +1 -12
  52. package/dist/internet/data.js +1 -83
  53. package/dist/internet/data.js.map +1 -1
  54. package/dist/internet/internet.cjs +1 -1
  55. package/dist/internet/internet.cjs.map +1 -1
  56. package/dist/internet/internet.js +1 -121
  57. package/dist/internet/internet.js.map +1 -1
  58. package/dist/locales/de.js +1 -11
  59. package/dist/locales/de.js.map +1 -1
  60. package/dist/locales/en.js +1 -11
  61. package/dist/locales/en.js.map +1 -1
  62. package/dist/locales/index.js +1 -3
  63. package/dist/location/data/de.js +1 -81
  64. package/dist/location/data/de.js.map +1 -1
  65. package/dist/location/data/en.js +1 -64
  66. package/dist/location/data/en.js.map +1 -1
  67. package/dist/location/location.cjs +1 -1
  68. package/dist/location/location.cjs.map +1 -1
  69. package/dist/location/location.js +1 -56
  70. package/dist/location/location.js.map +1 -1
  71. package/dist/lorem/data.js +1 -5
  72. package/dist/lorem/data.js.map +1 -1
  73. package/dist/lorem/lorem.cjs +3 -3
  74. package/dist/lorem/lorem.cjs.map +1 -1
  75. package/dist/lorem/lorem.js +3 -53
  76. package/dist/lorem/lorem.js.map +1 -1
  77. package/dist/person/data/de.js +1 -61
  78. package/dist/person/data/de.js.map +1 -1
  79. package/dist/person/data/en.js +1 -69
  80. package/dist/person/data/en.js.map +1 -1
  81. package/dist/person/person.cjs +1 -1
  82. package/dist/person/person.cjs.map +1 -1
  83. package/dist/person/person.js +1 -43
  84. package/dist/person/person.js.map +1 -1
  85. package/dist/seed/create-seed.cjs +1 -1
  86. package/dist/seed/create-seed.cjs.map +1 -1
  87. package/dist/seed/create-seed.js +1 -21
  88. package/dist/seed/create-seed.js.map +1 -1
  89. package/dist/seed/mulberry32.cjs +1 -1
  90. package/dist/seed/mulberry32.cjs.map +1 -1
  91. package/dist/seed/mulberry32.js +1 -12
  92. package/dist/seed/mulberry32.js.map +1 -1
  93. package/dist/system/data.js +1 -75
  94. package/dist/system/data.js.map +1 -1
  95. package/dist/system/system.cjs +1 -1
  96. package/dist/system/system.cjs.map +1 -1
  97. package/dist/system/system.js +1 -68
  98. package/dist/system/system.js.map +1 -1
  99. package/package.json +7 -79
  100. package/dist/commerce/index.cjs +0 -1
  101. package/dist/commerce/index.d.ts +0 -2
  102. package/dist/commerce/index.d.ts.map +0 -1
  103. package/dist/commerce/index.js +0 -2
  104. package/dist/date/index.cjs +0 -1
  105. package/dist/date/index.d.ts +0 -2
  106. package/dist/date/index.d.ts.map +0 -1
  107. package/dist/date/index.js +0 -2
  108. package/dist/finance/index.cjs +0 -1
  109. package/dist/finance/index.d.ts +0 -2
  110. package/dist/finance/index.d.ts.map +0 -1
  111. package/dist/finance/index.js +0 -2
  112. package/dist/internet/index.cjs +0 -1
  113. package/dist/internet/index.d.ts +0 -2
  114. package/dist/internet/index.d.ts.map +0 -1
  115. package/dist/internet/index.js +0 -2
  116. package/dist/location/index.cjs +0 -1
  117. package/dist/location/index.d.ts +0 -2
  118. package/dist/location/index.d.ts.map +0 -1
  119. package/dist/location/index.js +0 -2
  120. package/dist/lorem/index.cjs +0 -1
  121. package/dist/lorem/index.d.ts +0 -2
  122. package/dist/lorem/index.d.ts.map +0 -1
  123. package/dist/lorem/index.js +0 -2
  124. package/dist/person/index.cjs +0 -1
  125. package/dist/person/index.d.ts +0 -2
  126. package/dist/person/index.d.ts.map +0 -1
  127. package/dist/person/index.js +0 -2
  128. package/dist/seed/index.cjs +0 -1
  129. package/dist/seed/index.d.ts +0 -3
  130. package/dist/seed/index.d.ts.map +0 -1
  131. package/dist/seed/index.js +0 -3
  132. package/dist/system/index.cjs +0 -1
  133. package/dist/system/index.d.ts +0 -2
  134. package/dist/system/index.d.ts.map +0 -1
  135. package/dist/system/index.js +0 -2
@@ -1 +1 @@
1
- {"version":3,"file":"system.cjs","names":[],"sources":["../../src/system/system.ts"],"sourcesContent":["import { int } from '../_helpers/int';\nimport { alphanumeric, pick } from '../_helpers/string';\nimport type { IllusionistContext } from '../types';\nimport { SYSTEM_DATA } from './data';\n\n/** Generates a random file extension from common types. */\nexport function fileExtension(ctx: IllusionistContext): string {\n return pick(SYSTEM_DATA.fileExtensions, ctx.source)!;\n}\n\n/** Generates a random file name with extension. */\nexport function fileName(ctx: IllusionistContext): string {\n const base = pick(SYSTEM_DATA.fileNames, ctx.source)!;\n const ext = fileExtension(ctx);\n\n return `${base}.${ext}`;\n}\n\n/** Generates a random file path with 1-4 directory segments and a file name. */\nexport function filePath(ctx: IllusionistContext): string {\n const segments = int(1, 4, ctx.source);\n const dirs: string[] = [];\n\n for (let i = 0; i < segments; i++) {\n dirs.push(pick(SYSTEM_DATA.directories, ctx.source)!);\n }\n\n return `${dirs.join('/')}/${fileName(ctx)}`;\n}\n\n/** Returns a random MIME type string. */\nexport function mimeType(ctx: IllusionistContext): string {\n const types = Object.values(SYSTEM_DATA.mimeTypes);\n\n return pick(types, ctx.source)!;\n}\n\n/** Generates a random semver version string. */\nexport function semver(ctx: IllusionistContext, options?: { maxMajor?: number; includePrerelease?: boolean }): string {\n const maxMajor = options?.maxMajor ?? 20;\n const major = int(0, maxMajor, ctx.source);\n const minor = int(0, 20, ctx.source);\n const patch = int(0, 99, ctx.source);\n\n let version = `${major}.${minor}.${patch}`;\n\n if (options?.includePrerelease && ctx.source.next() < 0.3) {\n const labels = ['alpha', 'beta', 'rc', 'next'];\n const label = pick(labels, ctx.source)!;\n const num = int(1, 10, ctx.source);\n\n version += `-${label}.${num}`;\n }\n\n return version;\n}\n\n/**\n * Generates a random UUID via `crypto.randomUUID()`.\n *\n * **Not deterministic** — ignores the seeded `RandomSource` and always uses\n * cryptographic randomness. Use this for unique identifiers where\n * unpredictability matters more than reproducibility.\n */\nexport function uuid(): string {\n return crypto.randomUUID();\n}\n\n/** Generates a random port number (1-65535, avoiding well-known ports below 1024 by default). */\nexport function port(ctx: IllusionistContext, options?: { min?: number; max?: number }): number {\n const min = options?.min ?? 1024;\n const max = options?.max ?? 65535;\n\n return int(min, max, ctx.source);\n}\n\n/** Returns a random cron expression from common patterns. */\nexport function cron(ctx: IllusionistContext): string {\n return pick(SYSTEM_DATA.cronExpressions, ctx.source)!;\n}\n\n/** Generates a random process name. */\nexport function process(ctx: IllusionistContext): string {\n const prefixes = ['node', 'python', 'ruby', 'java', 'go', 'rust', 'bash'];\n const prefix = pick(prefixes, ctx.source)!;\n const suffix = alphanumeric(int(3, 8, ctx.source), ctx.source);\n\n return `${prefix}_${suffix}`;\n}\n"],"mappings":"sSAMA,SAAgB,EAAc,EAAiC,CAC7D,OAAO,EAAA,KAAK,EAAA,YAAY,eAAgB,EAAI,MAAM,CACpD,CAGA,SAAgB,EAAS,EAAiC,CAIxD,MAAO,GAHM,EAAA,KAAK,EAAA,YAAY,UAAW,EAAI,MAGnC,EAAK,GAFH,EAAc,CAER,GACpB,CAGA,SAAgB,EAAS,EAAiC,CACxD,IAAM,EAAW,EAAA,IAAI,EAAG,EAAG,EAAI,MAAM,EAC/B,EAAiB,CAAC,EAExB,IAAK,IAAI,EAAI,EAAG,EAAI,EAAU,IAC5B,EAAK,KAAK,EAAA,KAAK,EAAA,YAAY,YAAa,EAAI,MAAM,CAAE,EAGtD,MAAO,GAAG,EAAK,KAAK,GAAG,EAAE,GAAG,EAAS,CAAG,GAC1C,CAGA,SAAgB,EAAS,EAAiC,CACxD,IAAM,EAAQ,OAAO,OAAO,EAAA,YAAY,SAAS,EAEjD,OAAO,EAAA,KAAK,EAAO,EAAI,MAAM,CAC/B,CAGA,SAAgB,EAAO,EAAyB,EAAsE,CACpH,IAAM,EAAW,GAAS,UAAY,GAKlC,EAAU,GAJA,EAAA,IAAI,EAAG,EAAU,EAAI,MAIlB,EAAM,GAHT,EAAA,IAAI,EAAG,GAAI,EAAI,MAGH,EAAM,GAFlB,EAAA,IAAI,EAAG,GAAI,EAAI,MAEM,IAEnC,GAAI,GAAS,mBAAqB,EAAI,OAAO,KAAK,EAAI,GAAK,CAEzD,IAAM,EAAQ,EAAA,KAAK,CADH,QAAS,OAAQ,KAAM,MACpB,EAAQ,EAAI,MAAM,EAC/B,EAAM,EAAA,IAAI,EAAG,GAAI,EAAI,MAAM,EAEjC,GAAW,IAAI,EAAM,GAAG,GAC1B,CAEA,OAAO,CACT,CASA,SAAgB,GAAe,CAC7B,OAAO,OAAO,WAAW,CAC3B,CAGA,SAAgB,EAAK,EAAyB,EAAkD,CAC9F,IAAM,EAAM,GAAS,KAAO,KACtB,EAAM,GAAS,KAAO,MAE5B,OAAO,EAAA,IAAI,EAAK,EAAK,EAAI,MAAM,CACjC,CAGA,SAAgB,EAAK,EAAiC,CACpD,OAAO,EAAA,KAAK,EAAA,YAAY,gBAAiB,EAAI,MAAM,CACrD,CAGA,SAAgB,EAAQ,EAAiC,CAKvD,MAAO,GAHQ,EAAA,KAAK,CADF,OAAQ,SAAU,OAAQ,OAAQ,KAAM,OAAQ,MAC9C,EAAU,EAAI,MAGxB,EAAO,GAFF,EAAA,aAAa,EAAA,IAAI,EAAG,EAAG,EAAI,MAAM,EAAG,EAAI,MAEnC,GACtB"}
1
+ {"version":3,"file":"system.cjs","names":[],"sources":["../../src/system/system.ts"],"sourcesContent":["import { int } from '../_helpers/int';\nimport { alphanumeric, pick } from '../_helpers/string';\nimport type { IllusionistContext } from '../types';\nimport { SYSTEM_DATA } from './data';\n\n/** Generates a random file extension from common types. */\nexport function fileExtension(ctx: IllusionistContext): string {\n return pick(SYSTEM_DATA.fileExtensions, ctx.source)!;\n}\n\n/** Generates a random file name with extension. */\nexport function fileName(ctx: IllusionistContext): string {\n const base = pick(SYSTEM_DATA.fileNames, ctx.source)!;\n const ext = fileExtension(ctx);\n\n return `${base}.${ext}`;\n}\n\n/** Generates a random file path with 1-4 directory segments and a file name. */\nexport function filePath(ctx: IllusionistContext): string {\n const segments = int(1, 4, ctx.source);\n const dirs: string[] = [];\n\n for (let i = 0; i < segments; i++) {\n dirs.push(pick(SYSTEM_DATA.directories, ctx.source)!);\n }\n\n return `${dirs.join('/')}/${fileName(ctx)}`;\n}\n\n/** Returns a random MIME type string. */\nexport function mimeType(ctx: IllusionistContext): string {\n const types = Object.values(SYSTEM_DATA.mimeTypes);\n\n return pick(types, ctx.source)!;\n}\n\n/** Generates a random semver version string. */\nexport function semver(ctx: IllusionistContext, options?: { maxMajor?: number; includePrerelease?: boolean }): string {\n const maxMajor = options?.maxMajor ?? 20;\n const major = int(0, maxMajor, ctx.source);\n const minor = int(0, 20, ctx.source);\n const patch = int(0, 99, ctx.source);\n\n let version = `${major}.${minor}.${patch}`;\n\n if (options?.includePrerelease && ctx.source.next() < 0.3) {\n const labels = ['alpha', 'beta', 'rc', 'next'];\n const label = pick(labels, ctx.source)!;\n const num = int(1, 10, ctx.source);\n\n version += `-${label}.${num}`;\n }\n\n return version;\n}\n\n/**\n * Generates a random UUID via `crypto.randomUUID()`.\n *\n * **Not deterministic** — ignores the seeded `RandomSource` and always uses\n * cryptographic randomness. Use this for unique identifiers where\n * unpredictability matters more than reproducibility.\n */\nexport function uuid(): string {\n return crypto.randomUUID();\n}\n\n/** Generates a random port number (1-65535, avoiding well-known ports below 1024 by default). */\nexport function port(ctx: IllusionistContext, options?: { min?: number; max?: number }): number {\n const min = options?.min ?? 1024;\n const max = options?.max ?? 65535;\n\n return int(min, max, ctx.source);\n}\n\n/** Returns a random cron expression from common patterns. */\nexport function cron(ctx: IllusionistContext): string {\n return pick(SYSTEM_DATA.cronExpressions, ctx.source)!;\n}\n\n/** Generates a random process name. */\nexport function process(ctx: IllusionistContext): string {\n const prefixes = ['node', 'python', 'ruby', 'java', 'go', 'rust', 'bash'];\n const prefix = pick(prefixes, ctx.source)!;\n const suffix = alphanumeric(int(3, 8, ctx.source), ctx.source);\n\n return `${prefix}_${suffix}`;\n}\n"],"mappings":"2VAMA,SAAgB,cAAc,EAAiC,CAC7D,OAAO,EAAA,KAAK,EAAA,YAAY,eAAgB,EAAI,MAAM,CACpD,CAGA,SAAgB,SAAS,EAAiC,CAIxD,MAAO,GAHM,EAAA,KAAK,EAAA,YAAY,UAAW,EAAI,MAGnC,EAAK,GAFH,cAAc,CAER,GACpB,CAGA,SAAgB,SAAS,EAAiC,CACxD,IAAM,EAAW,EAAA,IAAI,EAAG,EAAG,EAAI,MAAM,EAC/B,EAAiB,CAAC,EAExB,IAAK,IAAI,EAAI,EAAG,EAAI,EAAU,IAC5B,EAAK,KAAK,EAAA,KAAK,EAAA,YAAY,YAAa,EAAI,MAAM,CAAE,EAGtD,MAAO,GAAG,EAAK,KAAK,GAAG,EAAE,GAAG,SAAS,CAAG,GAC1C,CAGA,SAAgB,SAAS,EAAiC,CACxD,IAAM,EAAQ,OAAO,OAAO,EAAA,YAAY,SAAS,EAEjD,OAAO,EAAA,KAAK,EAAO,EAAI,MAAM,CAC/B,CAGA,SAAgB,OAAO,EAAyB,EAAsE,CACpH,IAAM,EAAW,GAAS,UAAY,GAKlC,EAAU,GAJA,EAAA,IAAI,EAAG,EAAU,EAAI,MAIlB,EAAM,GAHT,EAAA,IAAI,EAAG,GAAI,EAAI,MAGH,EAAM,GAFlB,EAAA,IAAI,EAAG,GAAI,EAAI,MAEM,IAEnC,GAAI,GAAS,mBAAqB,EAAI,OAAO,KAAK,EAAI,GAAK,CAEzD,IAAM,EAAQ,EAAA,KAAK,CADH,QAAS,OAAQ,KAAM,MACpB,EAAQ,EAAI,MAAM,EAC/B,EAAM,EAAA,IAAI,EAAG,GAAI,EAAI,MAAM,EAEjC,GAAW,IAAI,EAAM,GAAG,GAC1B,CAEA,OAAO,CACT,CASA,SAAgB,MAAe,CAC7B,OAAO,OAAO,WAAW,CAC3B,CAGA,SAAgB,KAAK,EAAyB,EAAkD,CAC9F,IAAM,EAAM,GAAS,KAAO,KACtB,EAAM,GAAS,KAAO,MAE5B,OAAO,EAAA,IAAI,EAAK,EAAK,EAAI,MAAM,CACjC,CAGA,SAAgB,KAAK,EAAiC,CACpD,OAAO,EAAA,KAAK,EAAA,YAAY,gBAAiB,EAAI,MAAM,CACrD,CAGA,SAAgB,QAAQ,EAAiC,CAKvD,MAAO,GAHQ,EAAA,KAAK,CADF,OAAQ,SAAU,OAAQ,OAAQ,KAAM,OAAQ,MAC9C,EAAU,EAAI,MAGxB,EAAO,GAFF,EAAA,aAAa,EAAA,IAAI,EAAG,EAAG,EAAI,MAAM,EAAG,EAAI,MAEnC,GACtB"}
@@ -1,69 +1,2 @@
1
- import { __exportAll as e } from "../_virtual/_rolldown/runtime.js";
2
- import { int as t } from "../_helpers/int.js";
3
- import { alphanumeric as n, pick as r } from "../_helpers/string.js";
4
- import { SYSTEM_DATA as i } from "./data.js";
5
- //#region src/system/system.ts
6
- var a = /* @__PURE__ */ e({
7
- cron: () => p,
8
- fileExtension: () => o,
9
- fileName: () => s,
10
- filePath: () => c,
11
- mimeType: () => l,
12
- port: () => f,
13
- process: () => m,
14
- semver: () => u,
15
- uuid: () => d
16
- });
17
- function o(e) {
18
- return r(i.fileExtensions, e.source);
19
- }
20
- function s(e) {
21
- return `${r(i.fileNames, e.source)}.${o(e)}`;
22
- }
23
- function c(e) {
24
- let n = t(1, 4, e.source), a = [];
25
- for (let t = 0; t < n; t++) a.push(r(i.directories, e.source));
26
- return `${a.join("/")}/${s(e)}`;
27
- }
28
- function l(e) {
29
- let t = Object.values(i.mimeTypes);
30
- return r(t, e.source);
31
- }
32
- function u(e, n) {
33
- let i = n?.maxMajor ?? 20, a = `${t(0, i, e.source)}.${t(0, 20, e.source)}.${t(0, 99, e.source)}`;
34
- if (n?.includePrerelease && e.source.next() < .3) {
35
- let n = r([
36
- "alpha",
37
- "beta",
38
- "rc",
39
- "next"
40
- ], e.source), i = t(1, 10, e.source);
41
- a += `-${n}.${i}`;
42
- }
43
- return a;
44
- }
45
- function d() {
46
- return crypto.randomUUID();
47
- }
48
- function f(e, n) {
49
- let r = n?.min ?? 1024, i = n?.max ?? 65535;
50
- return t(r, i, e.source);
51
- }
52
- function p(e) {
53
- return r(i.cronExpressions, e.source);
54
- }
55
- function m(e) {
56
- return `${r([
57
- "node",
58
- "python",
59
- "ruby",
60
- "java",
61
- "go",
62
- "rust",
63
- "bash"
64
- ], e.source)}_${n(t(3, 8, e.source), e.source)}`;
65
- }
66
- //#endregion
67
- export { p as cron, o as fileExtension, s as fileName, c as filePath, l as mimeType, f as port, m as process, u as semver, a as system_exports, d as uuid };
68
-
1
+ import{__exportAll as e}from"../_virtual/_rolldown/runtime.js";import{int as t}from"../_helpers/int.js";import{alphanumeric as n,pick as r}from"../_helpers/string.js";import{SYSTEM_DATA as i}from"./data.js";var a=e({cron:()=>cron,fileExtension:()=>fileExtension,fileName:()=>fileName,filePath:()=>filePath,mimeType:()=>mimeType,port:()=>port,process:()=>process,semver:()=>semver,uuid:()=>uuid});function fileExtension(e){return r(i.fileExtensions,e.source)}function fileName(e){return`${r(i.fileNames,e.source)}.${fileExtension(e)}`}function filePath(e){let n=t(1,4,e.source),a=[];for(let t=0;t<n;t++)a.push(r(i.directories,e.source));return`${a.join(`/`)}/${fileName(e)}`}function mimeType(e){let t=Object.values(i.mimeTypes);return r(t,e.source)}function semver(e,n){let i=n?.maxMajor??20,a=`${t(0,i,e.source)}.${t(0,20,e.source)}.${t(0,99,e.source)}`;if(n?.includePrerelease&&e.source.next()<.3){let n=r([`alpha`,`beta`,`rc`,`next`],e.source),i=t(1,10,e.source);a+=`-${n}.${i}`}return a}function uuid(){return crypto.randomUUID()}function port(e,n){let r=n?.min??1024,i=n?.max??65535;return t(r,i,e.source)}function cron(e){return r(i.cronExpressions,e.source)}function process(e){return`${r([`node`,`python`,`ruby`,`java`,`go`,`rust`,`bash`],e.source)}_${n(t(3,8,e.source),e.source)}`}export{cron,fileExtension,fileName,filePath,mimeType,port,process,semver,a as system_exports,uuid};
69
2
  //# sourceMappingURL=system.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"system.js","names":[],"sources":["../../src/system/system.ts"],"sourcesContent":["import { int } from '../_helpers/int';\nimport { alphanumeric, pick } from '../_helpers/string';\nimport type { IllusionistContext } from '../types';\nimport { SYSTEM_DATA } from './data';\n\n/** Generates a random file extension from common types. */\nexport function fileExtension(ctx: IllusionistContext): string {\n return pick(SYSTEM_DATA.fileExtensions, ctx.source)!;\n}\n\n/** Generates a random file name with extension. */\nexport function fileName(ctx: IllusionistContext): string {\n const base = pick(SYSTEM_DATA.fileNames, ctx.source)!;\n const ext = fileExtension(ctx);\n\n return `${base}.${ext}`;\n}\n\n/** Generates a random file path with 1-4 directory segments and a file name. */\nexport function filePath(ctx: IllusionistContext): string {\n const segments = int(1, 4, ctx.source);\n const dirs: string[] = [];\n\n for (let i = 0; i < segments; i++) {\n dirs.push(pick(SYSTEM_DATA.directories, ctx.source)!);\n }\n\n return `${dirs.join('/')}/${fileName(ctx)}`;\n}\n\n/** Returns a random MIME type string. */\nexport function mimeType(ctx: IllusionistContext): string {\n const types = Object.values(SYSTEM_DATA.mimeTypes);\n\n return pick(types, ctx.source)!;\n}\n\n/** Generates a random semver version string. */\nexport function semver(ctx: IllusionistContext, options?: { maxMajor?: number; includePrerelease?: boolean }): string {\n const maxMajor = options?.maxMajor ?? 20;\n const major = int(0, maxMajor, ctx.source);\n const minor = int(0, 20, ctx.source);\n const patch = int(0, 99, ctx.source);\n\n let version = `${major}.${minor}.${patch}`;\n\n if (options?.includePrerelease && ctx.source.next() < 0.3) {\n const labels = ['alpha', 'beta', 'rc', 'next'];\n const label = pick(labels, ctx.source)!;\n const num = int(1, 10, ctx.source);\n\n version += `-${label}.${num}`;\n }\n\n return version;\n}\n\n/**\n * Generates a random UUID via `crypto.randomUUID()`.\n *\n * **Not deterministic** — ignores the seeded `RandomSource` and always uses\n * cryptographic randomness. Use this for unique identifiers where\n * unpredictability matters more than reproducibility.\n */\nexport function uuid(): string {\n return crypto.randomUUID();\n}\n\n/** Generates a random port number (1-65535, avoiding well-known ports below 1024 by default). */\nexport function port(ctx: IllusionistContext, options?: { min?: number; max?: number }): number {\n const min = options?.min ?? 1024;\n const max = options?.max ?? 65535;\n\n return int(min, max, ctx.source);\n}\n\n/** Returns a random cron expression from common patterns. */\nexport function cron(ctx: IllusionistContext): string {\n return pick(SYSTEM_DATA.cronExpressions, ctx.source)!;\n}\n\n/** Generates a random process name. */\nexport function process(ctx: IllusionistContext): string {\n const prefixes = ['node', 'python', 'ruby', 'java', 'go', 'rust', 'bash'];\n const prefix = pick(prefixes, ctx.source)!;\n const suffix = alphanumeric(int(3, 8, ctx.source), ctx.source);\n\n return `${prefix}_${suffix}`;\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAMA,SAAgB,EAAc,GAAiC;CAC7D,OAAO,EAAK,EAAY,gBAAgB,EAAI,MAAM;AACpD;AAGA,SAAgB,EAAS,GAAiC;CAIxD,OAAO,GAHM,EAAK,EAAY,WAAW,EAAI,MAGnC,EAAK,GAFH,EAAc,CAER;AACpB;AAGA,SAAgB,EAAS,GAAiC;CACxD,IAAM,IAAW,EAAI,GAAG,GAAG,EAAI,MAAM,GAC/B,IAAiB,CAAC;CAExB,KAAK,IAAI,IAAI,GAAG,IAAI,GAAU,KAC5B,EAAK,KAAK,EAAK,EAAY,aAAa,EAAI,MAAM,CAAE;CAGtD,OAAO,GAAG,EAAK,KAAK,GAAG,EAAE,GAAG,EAAS,CAAG;AAC1C;AAGA,SAAgB,EAAS,GAAiC;CACxD,IAAM,IAAQ,OAAO,OAAO,EAAY,SAAS;CAEjD,OAAO,EAAK,GAAO,EAAI,MAAM;AAC/B;AAGA,SAAgB,EAAO,GAAyB,GAAsE;CACpH,IAAM,IAAW,GAAS,YAAY,IAKlC,IAAU,GAJA,EAAI,GAAG,GAAU,EAAI,MAIlB,EAAM,GAHT,EAAI,GAAG,IAAI,EAAI,MAGH,EAAM,GAFlB,EAAI,GAAG,IAAI,EAAI,MAEM;CAEnC,IAAI,GAAS,qBAAqB,EAAI,OAAO,KAAK,IAAI,IAAK;EAEzD,IAAM,IAAQ,EAAK;GADH;GAAS;GAAQ;GAAM;EACpB,GAAQ,EAAI,MAAM,GAC/B,IAAM,EAAI,GAAG,IAAI,EAAI,MAAM;EAEjC,KAAW,IAAI,EAAM,GAAG;CAC1B;CAEA,OAAO;AACT;AASA,SAAgB,IAAe;CAC7B,OAAO,OAAO,WAAW;AAC3B;AAGA,SAAgB,EAAK,GAAyB,GAAkD;CAC9F,IAAM,IAAM,GAAS,OAAO,MACtB,IAAM,GAAS,OAAO;CAE5B,OAAO,EAAI,GAAK,GAAK,EAAI,MAAM;AACjC;AAGA,SAAgB,EAAK,GAAiC;CACpD,OAAO,EAAK,EAAY,iBAAiB,EAAI,MAAM;AACrD;AAGA,SAAgB,EAAQ,GAAiC;CAKvD,OAAO,GAHQ,EAAK;EADF;EAAQ;EAAU;EAAQ;EAAQ;EAAM;EAAQ;CAC9C,GAAU,EAAI,MAGxB,EAAO,GAFF,EAAa,EAAI,GAAG,GAAG,EAAI,MAAM,GAAG,EAAI,MAEnC;AACtB"}
1
+ {"version":3,"file":"system.js","names":[],"sources":["../../src/system/system.ts"],"sourcesContent":["import { int } from '../_helpers/int';\nimport { alphanumeric, pick } from '../_helpers/string';\nimport type { IllusionistContext } from '../types';\nimport { SYSTEM_DATA } from './data';\n\n/** Generates a random file extension from common types. */\nexport function fileExtension(ctx: IllusionistContext): string {\n return pick(SYSTEM_DATA.fileExtensions, ctx.source)!;\n}\n\n/** Generates a random file name with extension. */\nexport function fileName(ctx: IllusionistContext): string {\n const base = pick(SYSTEM_DATA.fileNames, ctx.source)!;\n const ext = fileExtension(ctx);\n\n return `${base}.${ext}`;\n}\n\n/** Generates a random file path with 1-4 directory segments and a file name. */\nexport function filePath(ctx: IllusionistContext): string {\n const segments = int(1, 4, ctx.source);\n const dirs: string[] = [];\n\n for (let i = 0; i < segments; i++) {\n dirs.push(pick(SYSTEM_DATA.directories, ctx.source)!);\n }\n\n return `${dirs.join('/')}/${fileName(ctx)}`;\n}\n\n/** Returns a random MIME type string. */\nexport function mimeType(ctx: IllusionistContext): string {\n const types = Object.values(SYSTEM_DATA.mimeTypes);\n\n return pick(types, ctx.source)!;\n}\n\n/** Generates a random semver version string. */\nexport function semver(ctx: IllusionistContext, options?: { maxMajor?: number; includePrerelease?: boolean }): string {\n const maxMajor = options?.maxMajor ?? 20;\n const major = int(0, maxMajor, ctx.source);\n const minor = int(0, 20, ctx.source);\n const patch = int(0, 99, ctx.source);\n\n let version = `${major}.${minor}.${patch}`;\n\n if (options?.includePrerelease && ctx.source.next() < 0.3) {\n const labels = ['alpha', 'beta', 'rc', 'next'];\n const label = pick(labels, ctx.source)!;\n const num = int(1, 10, ctx.source);\n\n version += `-${label}.${num}`;\n }\n\n return version;\n}\n\n/**\n * Generates a random UUID via `crypto.randomUUID()`.\n *\n * **Not deterministic** — ignores the seeded `RandomSource` and always uses\n * cryptographic randomness. Use this for unique identifiers where\n * unpredictability matters more than reproducibility.\n */\nexport function uuid(): string {\n return crypto.randomUUID();\n}\n\n/** Generates a random port number (1-65535, avoiding well-known ports below 1024 by default). */\nexport function port(ctx: IllusionistContext, options?: { min?: number; max?: number }): number {\n const min = options?.min ?? 1024;\n const max = options?.max ?? 65535;\n\n return int(min, max, ctx.source);\n}\n\n/** Returns a random cron expression from common patterns. */\nexport function cron(ctx: IllusionistContext): string {\n return pick(SYSTEM_DATA.cronExpressions, ctx.source)!;\n}\n\n/** Generates a random process name. */\nexport function process(ctx: IllusionistContext): string {\n const prefixes = ['node', 'python', 'ruby', 'java', 'go', 'rust', 'bash'];\n const prefix = pick(prefixes, ctx.source)!;\n const suffix = alphanumeric(int(3, 8, ctx.source), ctx.source);\n\n return `${prefix}_${suffix}`;\n}\n"],"mappings":"4YAMA,SAAgB,cAAc,EAAiC,CAC7D,OAAO,EAAK,EAAY,eAAgB,EAAI,MAAM,CACpD,CAGA,SAAgB,SAAS,EAAiC,CAIxD,MAAO,GAHM,EAAK,EAAY,UAAW,EAAI,MAGnC,EAAK,GAFH,cAAc,CAER,GACpB,CAGA,SAAgB,SAAS,EAAiC,CACxD,IAAM,EAAW,EAAI,EAAG,EAAG,EAAI,MAAM,EAC/B,EAAiB,CAAC,EAExB,IAAK,IAAI,EAAI,EAAG,EAAI,EAAU,IAC5B,EAAK,KAAK,EAAK,EAAY,YAAa,EAAI,MAAM,CAAE,EAGtD,MAAO,GAAG,EAAK,KAAK,GAAG,EAAE,GAAG,SAAS,CAAG,GAC1C,CAGA,SAAgB,SAAS,EAAiC,CACxD,IAAM,EAAQ,OAAO,OAAO,EAAY,SAAS,EAEjD,OAAO,EAAK,EAAO,EAAI,MAAM,CAC/B,CAGA,SAAgB,OAAO,EAAyB,EAAsE,CACpH,IAAM,EAAW,GAAS,UAAY,GAKlC,EAAU,GAJA,EAAI,EAAG,EAAU,EAAI,MAIlB,EAAM,GAHT,EAAI,EAAG,GAAI,EAAI,MAGH,EAAM,GAFlB,EAAI,EAAG,GAAI,EAAI,MAEM,IAEnC,GAAI,GAAS,mBAAqB,EAAI,OAAO,KAAK,EAAI,GAAK,CAEzD,IAAM,EAAQ,EAAK,CADH,QAAS,OAAQ,KAAM,MACpB,EAAQ,EAAI,MAAM,EAC/B,EAAM,EAAI,EAAG,GAAI,EAAI,MAAM,EAEjC,GAAW,IAAI,EAAM,GAAG,GAC1B,CAEA,OAAO,CACT,CASA,SAAgB,MAAe,CAC7B,OAAO,OAAO,WAAW,CAC3B,CAGA,SAAgB,KAAK,EAAyB,EAAkD,CAC9F,IAAM,EAAM,GAAS,KAAO,KACtB,EAAM,GAAS,KAAO,MAE5B,OAAO,EAAI,EAAK,EAAK,EAAI,MAAM,CACjC,CAGA,SAAgB,KAAK,EAAiC,CACpD,OAAO,EAAK,EAAY,gBAAiB,EAAI,MAAM,CACrD,CAGA,SAAgB,QAAQ,EAAiC,CAKvD,MAAO,GAHQ,EAAK,CADF,OAAQ,SAAU,OAAQ,OAAQ,KAAM,OAAQ,MAC9C,EAAU,EAAI,MAGxB,EAAO,GAFF,EAAa,EAAI,EAAG,EAAG,EAAI,MAAM,EAAG,EAAI,MAEnC,GACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vielzeug/illusionist",
3
- "version": "3.0.0",
3
+ "version": "26.10.0",
4
4
  "description": "Typed, deterministic, locale-aware fake data generator with seeded PRNG",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,51 +23,6 @@
23
23
  "import": "./dist/index.js",
24
24
  "require": "./dist/index.cjs"
25
25
  },
26
- "./commerce": {
27
- "types": "./dist/commerce/index.d.ts",
28
- "import": "./dist/commerce/index.js",
29
- "require": "./dist/commerce/index.cjs"
30
- },
31
- "./date": {
32
- "types": "./dist/date/index.d.ts",
33
- "import": "./dist/date/index.js",
34
- "require": "./dist/date/index.cjs"
35
- },
36
- "./finance": {
37
- "types": "./dist/finance/index.d.ts",
38
- "import": "./dist/finance/index.js",
39
- "require": "./dist/finance/index.cjs"
40
- },
41
- "./internet": {
42
- "types": "./dist/internet/index.d.ts",
43
- "import": "./dist/internet/index.js",
44
- "require": "./dist/internet/index.cjs"
45
- },
46
- "./location": {
47
- "types": "./dist/location/index.d.ts",
48
- "import": "./dist/location/index.js",
49
- "require": "./dist/location/index.cjs"
50
- },
51
- "./lorem": {
52
- "types": "./dist/lorem/index.d.ts",
53
- "import": "./dist/lorem/index.js",
54
- "require": "./dist/lorem/index.cjs"
55
- },
56
- "./person": {
57
- "types": "./dist/person/index.d.ts",
58
- "import": "./dist/person/index.js",
59
- "require": "./dist/person/index.cjs"
60
- },
61
- "./seed": {
62
- "types": "./dist/seed/index.d.ts",
63
- "import": "./dist/seed/index.js",
64
- "require": "./dist/seed/index.cjs"
65
- },
66
- "./system": {
67
- "types": "./dist/system/index.d.ts",
68
- "import": "./dist/system/index.js",
69
- "require": "./dist/system/index.cjs"
70
- },
71
26
  "./locales": {
72
27
  "types": "./dist/locales/index.d.ts",
73
28
  "import": "./dist/locales/index.js",
@@ -86,33 +41,6 @@
86
41
  },
87
42
  "typesVersions": {
88
43
  "*": {
89
- "commerce": [
90
- "dist/commerce/index.d.ts"
91
- ],
92
- "date": [
93
- "dist/date/index.d.ts"
94
- ],
95
- "finance": [
96
- "dist/finance/index.d.ts"
97
- ],
98
- "internet": [
99
- "dist/internet/index.d.ts"
100
- ],
101
- "location": [
102
- "dist/location/index.d.ts"
103
- ],
104
- "lorem": [
105
- "dist/lorem/index.d.ts"
106
- ],
107
- "person": [
108
- "dist/person/index.d.ts"
109
- ],
110
- "seed": [
111
- "dist/seed/index.d.ts"
112
- ],
113
- "system": [
114
- "dist/system/index.d.ts"
115
- ],
116
44
  "locales": [
117
45
  "dist/locales/index.d.ts"
118
46
  ],
@@ -142,14 +70,14 @@
142
70
  "verify:exports": "node ./scripts/sync-exports.mjs --check"
143
71
  },
144
72
  "dependencies": {
145
- "@vielzeug/arsenal": "3.0.0",
146
- "@vielzeug/coins": "3.0.0",
147
- "@vielzeug/tempo": "3.0.0"
73
+ "@vielzeug/arsenal": "26.10.0",
74
+ "@vielzeug/coins": "26.10.0",
75
+ "@vielzeug/tempo": "26.10.0"
148
76
  },
149
77
  "devDependencies": {
150
- "@types/node": "^26.4.1",
78
+ "@types/node": "^26.6.2",
151
79
  "typescript": "^6.0.3",
152
- "vite": "^8.2.2",
153
- "vitest": "^5.0.0"
80
+ "vite": "^8.3.0",
81
+ "vitest": "^5.0.1"
154
82
  }
155
83
  }
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./commerce.cjs");exports.department=e.department,exports.price=e.price,exports.productAdjective=e.productAdjective,exports.productDescription=e.productDescription,exports.productMaterial=e.productMaterial,exports.productName=e.productName,exports.productNoun=e.productNoun;
@@ -1,2 +0,0 @@
1
- export * from './commerce';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/commerce/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -1,2 +0,0 @@
1
- import { department as e, price as t, productAdjective as n, productDescription as r, productMaterial as i, productName as a, productNoun as o } from "./commerce.js";
2
- export { e as department, t as price, n as productAdjective, r as productDescription, i as productMaterial, a as productName, o as productNoun };
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./date.cjs");exports.between=e.between,exports.birthday=e.birthday,exports.future=e.future,exports.month=e.month,exports.past=e.past,exports.recent=e.recent,exports.weekday=e.weekday;
@@ -1,2 +0,0 @@
1
- export * from './date';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/date/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
@@ -1,2 +0,0 @@
1
- import { between as e, birthday as t, future as n, month as r, past as i, recent as a, weekday as o } from "./date.js";
2
- export { e as between, t as birthday, n as future, r as month, i as past, a as recent, o as weekday };
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./finance.cjs");exports.amount=e.amount,exports.bank=e.bank,exports.bic=e.bic,exports.bitcoinAddress=e.bitcoinAddress,exports.creditCardCVV=e.creditCardCVV,exports.creditCardNumber=e.creditCardNumber,exports.ethereumAddress=e.ethereumAddress,exports.iban=e.iban,exports.transactionType=e.transactionType;
@@ -1,2 +0,0 @@
1
- export * from './finance';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/finance/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
@@ -1,2 +0,0 @@
1
- import { amount as e, bank as t, bic as n, bitcoinAddress as r, creditCardCVV as i, creditCardNumber as a, ethereumAddress as o, iban as s, transactionType as c } from "./finance.js";
2
- export { e as amount, t as bank, n as bic, r as bitcoinAddress, i as creditCardCVV, a as creditCardNumber, o as ethereumAddress, s as iban, c as transactionType };
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./internet.cjs");exports.domainName=e.domainName,exports.email=e.email,exports.httpMethod=e.httpMethod,exports.ip=e.ip,exports.mac=e.mac,exports.mimeType=e.mimeType,exports.password=e.password,exports.statusCode=e.statusCode,exports.url=e.url,exports.userAgent=e.userAgent,exports.username=e.username;
@@ -1,2 +0,0 @@
1
- export * from './internet';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/internet/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -1,2 +0,0 @@
1
- import { domainName as e, email as t, httpMethod as n, ip as r, mac as i, mimeType as a, password as o, statusCode as s, url as c, userAgent as l, username as u } from "./internet.js";
2
- export { e as domainName, t as email, n as httpMethod, r as ip, i as mac, a as mimeType, o as password, s as statusCode, c as url, l as userAgent, u as username };
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./location.cjs");exports.city=e.city,exports.country=e.country,exports.latitude=e.latitude,exports.longitude=e.longitude,exports.nearbyGPSCoordinate=e.nearbyGPSCoordinate,exports.state=e.state,exports.street=e.street,exports.streetAddress=e.streetAddress,exports.zipCode=e.zipCode;
@@ -1,2 +0,0 @@
1
- export * from './location';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/location/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -1,2 +0,0 @@
1
- import { city as e, country as t, latitude as n, longitude as r, nearbyGPSCoordinate as i, state as a, street as o, streetAddress as s, zipCode as c } from "./location.js";
2
- export { e as city, t as country, n as latitude, r as longitude, i as nearbyGPSCoordinate, a as state, o as street, s as streetAddress, c as zipCode };
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./lorem.cjs");exports.lines=e.lines,exports.paragraph=e.paragraph,exports.paragraphs=e.paragraphs,exports.sentence=e.sentence,exports.sentences=e.sentences,exports.slug=e.slug,exports.word=e.word,exports.words=e.words;
@@ -1,2 +0,0 @@
1
- export * from './lorem';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lorem/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -1,2 +0,0 @@
1
- import { lines as e, paragraph as t, paragraphs as n, sentence as r, sentences as i, slug as a, word as o, words as s } from "./lorem.js";
2
- export { e as lines, t as paragraph, n as paragraphs, r as sentence, i as sentences, a as slug, o as word, s as words };
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./person.cjs");exports.firstName=e.firstName,exports.fullName=e.fullName,exports.gender=e.gender,exports.jobTitle=e.jobTitle,exports.lastName=e.lastName,exports.prefix=e.prefix,exports.suffix=e.suffix;
@@ -1,2 +0,0 @@
1
- export * from './person';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/person/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -1,2 +0,0 @@
1
- import { firstName as e, fullName as t, gender as n, jobTitle as r, lastName as i, prefix as a, suffix as o } from "./person.js";
2
- export { e as firstName, t as fullName, n as gender, r as jobTitle, i as lastName, a as prefix, o as suffix };
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./mulberry32.cjs"),t=require("./create-seed.cjs");exports.createSeed=t.createSeed,exports.mulberry32=e.mulberry32;
@@ -1,3 +0,0 @@
1
- export * from './create-seed';
2
- export * from './mulberry32';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/seed/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
@@ -1,3 +0,0 @@
1
- import { mulberry32 as e } from "./mulberry32.js";
2
- import { createSeed as t } from "./create-seed.js";
3
- export { t as createSeed, e as mulberry32 };
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./system.cjs");exports.cron=e.cron,exports.fileExtension=e.fileExtension,exports.fileName=e.fileName,exports.filePath=e.filePath,exports.mimeType=e.mimeType,exports.port=e.port,exports.process=e.process,exports.semver=e.semver,exports.uuid=e.uuid;
@@ -1,2 +0,0 @@
1
- export * from './system';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -1,2 +0,0 @@
1
- import { cron as e, fileExtension as t, fileName as n, filePath as r, mimeType as i, port as a, process as o, semver as s, uuid as c } from "./system.js";
2
- export { e as cron, t as fileExtension, n as fileName, r as filePath, i as mimeType, a as port, o as process, s as semver, c as uuid };