@powerlines/plugin-crypto 0.10.106 → 0.10.108

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 (184) hide show
  1. package/dist/index-BgAdqTbb.d.mts +1 -0
  2. package/dist/index-CEgs-Dz2.d.cts +1 -0
  3. package/dist/index.cjs +12056 -8
  4. package/dist/index.d.cts +12 -4
  5. package/dist/index.d.mts +12 -5
  6. package/dist/index.mjs +12018 -3
  7. package/dist/plugin-C3MaN5jp.mjs +1 -0
  8. package/dist/plugin-DHXHjv16.cjs +0 -0
  9. package/dist/plugin-Dhgjf-aI.d.mts +4441 -0
  10. package/dist/plugin-Dw1wCT6b.d.cts +4438 -0
  11. package/dist/types/index.cjs +2 -0
  12. package/dist/types/index.d.cts +2 -1
  13. package/dist/types/index.d.mts +2 -1
  14. package/dist/types/index.mjs +3 -0
  15. package/dist/types/plugin.cjs +1 -0
  16. package/dist/types/plugin.d.cts +1 -41
  17. package/dist/types/plugin.d.mts +1 -41
  18. package/dist/types/plugin.mjs +2 -0
  19. package/dist/types-CTUnla4x.mjs +1 -0
  20. package/dist/types-DHkg7xmX.cjs +0 -0
  21. package/package.json +5 -5
  22. package/dist/_virtual/rolldown_runtime.cjs +0 -37
  23. package/dist/_virtual/rolldown_runtime.mjs +0 -29
  24. package/dist/components/crypto.cjs +0 -147
  25. package/dist/components/crypto.d.cts +0 -13
  26. package/dist/components/crypto.d.mts +0 -13
  27. package/dist/components/crypto.mjs +0 -147
  28. package/dist/components/index.cjs +0 -1
  29. package/dist/components/index.d.mts +0 -1
  30. package/dist/components/index.mjs +0 -3
  31. package/dist/deepkit/schemas/reflection.cjs +0 -3998
  32. package/dist/deepkit/schemas/reflection.d.cts +0 -1560
  33. package/dist/deepkit/schemas/reflection.d.mts +0 -1560
  34. package/dist/deepkit/schemas/reflection.mjs +0 -3996
  35. package/dist/deepkit/schemas/reflection2.cjs +0 -4112
  36. package/dist/deepkit/schemas/reflection2.mjs +0 -4110
  37. package/dist/deepkit/src/capnp.cjs +0 -913
  38. package/dist/deepkit/src/capnp.mjs +0 -911
  39. package/dist/deepkit/src/esbuild-plugin.cjs +0 -47
  40. package/dist/deepkit/src/esbuild-plugin.mjs +0 -46
  41. package/dist/deepkit/src/reflect-type.cjs +0 -22
  42. package/dist/deepkit/src/reflect-type.mjs +0 -20
  43. package/dist/deepkit/src/resolve-reflections.cjs +0 -16
  44. package/dist/deepkit/src/resolve-reflections.mjs +0 -15
  45. package/dist/deepkit/src/transformer.cjs +0 -52
  46. package/dist/deepkit/src/transformer.mjs +0 -49
  47. package/dist/deepkit/src/transpile.cjs +0 -29
  48. package/dist/deepkit/src/transpile.mjs +0 -27
  49. package/dist/deepkit/src/types.d.cts +0 -10
  50. package/dist/deepkit/src/types.d.mts +0 -10
  51. package/dist/deepkit/src/utilities.cjs +0 -66
  52. package/dist/deepkit/src/utilities.mjs +0 -65
  53. package/dist/deepkit/src/vendor/type-compiler/index.cjs +0 -38
  54. package/dist/deepkit/src/vendor/type-compiler/index.mjs +0 -19
  55. package/dist/deepkit/src/vendor/type.cjs +0 -20
  56. package/dist/deepkit/src/vendor/type.d.cts +0 -7
  57. package/dist/deepkit/src/vendor/type.d.mts +0 -7
  58. package/dist/deepkit/src/vendor/type.mjs +0 -11
  59. package/dist/plugin-alloy/src/core/components/output.cjs +0 -38
  60. package/dist/plugin-alloy/src/core/components/output.mjs +0 -37
  61. package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +0 -20
  62. package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +0 -19
  63. package/dist/plugin-alloy/src/core/components/source-file.cjs +0 -60
  64. package/dist/plugin-alloy/src/core/components/source-file.mjs +0 -58
  65. package/dist/plugin-alloy/src/core/contexts/context.cjs +0 -60
  66. package/dist/plugin-alloy/src/core/contexts/context.mjs +0 -54
  67. package/dist/plugin-alloy/src/core/contexts/index.cjs +0 -2
  68. package/dist/plugin-alloy/src/core/contexts/index.mjs +0 -4
  69. package/dist/plugin-alloy/src/core/contexts/reflection.cjs +0 -46
  70. package/dist/plugin-alloy/src/core/contexts/reflection.mjs +0 -42
  71. package/dist/plugin-alloy/src/helpers/refkey.cjs +0 -16
  72. package/dist/plugin-alloy/src/helpers/refkey.mjs +0 -15
  73. package/dist/plugin-alloy/src/index.cjs +0 -90
  74. package/dist/plugin-alloy/src/index.mjs +0 -88
  75. package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +0 -7
  76. package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +0 -9
  77. package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +0 -5
  78. package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +0 -7
  79. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +0 -17
  80. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +0 -17
  81. package/dist/plugin-alloy/src/types/components.d.mts +0 -4
  82. package/dist/plugin-alloy/src/types/index.d.mts +0 -2
  83. package/dist/plugin-alloy/src/types/plugin.d.cts +0 -37
  84. package/dist/plugin-alloy/src/types/plugin.d.mts +0 -37
  85. package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +0 -47
  86. package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +0 -46
  87. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +0 -75
  88. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +0 -73
  89. package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +0 -359
  90. package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +0 -350
  91. package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +0 -143
  92. package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +0 -140
  93. package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +0 -53
  94. package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +0 -52
  95. package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +0 -94
  96. package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +0 -93
  97. package/dist/plugin-automd/src/index.cjs +0 -101
  98. package/dist/plugin-automd/src/index.mjs +0 -98
  99. package/dist/plugin-automd/src/types/plugin.d.cts +0 -38
  100. package/dist/plugin-automd/src/types/plugin.d.mts +0 -40
  101. package/dist/plugin-automd/src/types/toc.d.cts +0 -33
  102. package/dist/plugin-automd/src/types/toc.d.mts +0 -33
  103. package/dist/plugin-babel/src/helpers/ast-utils.cjs +0 -10
  104. package/dist/plugin-babel/src/helpers/ast-utils.mjs +0 -9
  105. package/dist/plugin-babel/src/helpers/create-plugin.cjs +0 -41
  106. package/dist/plugin-babel/src/helpers/create-plugin.mjs +0 -39
  107. package/dist/plugin-babel/src/helpers/filters.cjs +0 -23
  108. package/dist/plugin-babel/src/helpers/filters.mjs +0 -21
  109. package/dist/plugin-babel/src/helpers/index.cjs +0 -5
  110. package/dist/plugin-babel/src/helpers/index.mjs +0 -7
  111. package/dist/plugin-babel/src/helpers/module-helpers.cjs +0 -38
  112. package/dist/plugin-babel/src/helpers/module-helpers.mjs +0 -35
  113. package/dist/plugin-babel/src/helpers/options.cjs +0 -50
  114. package/dist/plugin-babel/src/helpers/options.mjs +0 -47
  115. package/dist/plugin-babel/src/index.cjs +0 -91
  116. package/dist/plugin-babel/src/index.mjs +0 -89
  117. package/dist/plugin-babel/src/types/index.d.mts +0 -1
  118. package/dist/plugin-babel/src/types/plugin.d.cts +0 -15
  119. package/dist/plugin-babel/src/types/plugin.d.mts +0 -15
  120. package/dist/plugin-env/src/babel/index.cjs +0 -1
  121. package/dist/plugin-env/src/babel/index.mjs +0 -3
  122. package/dist/plugin-env/src/babel/plugin.cjs +0 -121
  123. package/dist/plugin-env/src/babel/plugin.mjs +0 -119
  124. package/dist/plugin-env/src/components/docs.cjs +0 -9
  125. package/dist/plugin-env/src/components/docs.mjs +0 -11
  126. package/dist/plugin-env/src/components/env.cjs +0 -487
  127. package/dist/plugin-env/src/components/env.mjs +0 -484
  128. package/dist/plugin-env/src/components/index.cjs +0 -2
  129. package/dist/plugin-env/src/components/index.mjs +0 -4
  130. package/dist/plugin-env/src/helpers/automd-generator.cjs +0 -22
  131. package/dist/plugin-env/src/helpers/automd-generator.mjs +0 -21
  132. package/dist/plugin-env/src/helpers/create-reflection-resource.cjs +0 -55
  133. package/dist/plugin-env/src/helpers/create-reflection-resource.mjs +0 -54
  134. package/dist/plugin-env/src/helpers/index.cjs +0 -6
  135. package/dist/plugin-env/src/helpers/index.mjs +0 -8
  136. package/dist/plugin-env/src/helpers/load.cjs +0 -83
  137. package/dist/plugin-env/src/helpers/load.mjs +0 -80
  138. package/dist/plugin-env/src/helpers/persistence.cjs +0 -200
  139. package/dist/plugin-env/src/helpers/persistence.mjs +0 -189
  140. package/dist/plugin-env/src/helpers/reflect.cjs +0 -125
  141. package/dist/plugin-env/src/helpers/reflect.mjs +0 -117
  142. package/dist/plugin-env/src/helpers/source-file-env.cjs +0 -24
  143. package/dist/plugin-env/src/helpers/source-file-env.mjs +0 -23
  144. package/dist/plugin-env/src/helpers/template-helpers.cjs +0 -2
  145. package/dist/plugin-env/src/helpers/template-helpers.mjs +0 -4
  146. package/dist/plugin-env/src/index.cjs +0 -172
  147. package/dist/plugin-env/src/index.mjs +0 -170
  148. package/dist/plugin-env/src/types/plugin.d.cts +0 -151
  149. package/dist/plugin-env/src/types/plugin.d.mts +0 -153
  150. package/dist/plugin-env/src/types/runtime.d.cts +0 -792
  151. package/dist/plugin-env/src/types/runtime.d.mts +0 -792
  152. package/dist/powerlines/src/lib/build/esbuild.cjs +0 -102
  153. package/dist/powerlines/src/lib/build/esbuild.mjs +0 -100
  154. package/dist/powerlines/src/lib/entry.cjs +0 -12
  155. package/dist/powerlines/src/lib/entry.mjs +0 -14
  156. package/dist/powerlines/src/lib/logger.cjs +0 -41
  157. package/dist/powerlines/src/lib/logger.mjs +0 -39
  158. package/dist/powerlines/src/lib/utilities/bundle.cjs +0 -35
  159. package/dist/powerlines/src/lib/utilities/bundle.mjs +0 -34
  160. package/dist/powerlines/src/lib/utilities/file-header.cjs +0 -22
  161. package/dist/powerlines/src/lib/utilities/file-header.mjs +0 -21
  162. package/dist/powerlines/src/lib/utilities/resolve.cjs +0 -30
  163. package/dist/powerlines/src/lib/utilities/resolve.mjs +0 -29
  164. package/dist/powerlines/src/plugin-utils/paths.cjs +0 -1
  165. package/dist/powerlines/src/plugin-utils/paths.mjs +0 -3
  166. package/dist/powerlines/src/types/babel.d.cts +0 -22
  167. package/dist/powerlines/src/types/babel.d.mts +0 -22
  168. package/dist/powerlines/src/types/build.d.cts +0 -145
  169. package/dist/powerlines/src/types/build.d.mts +0 -147
  170. package/dist/powerlines/src/types/commands.d.cts +0 -8
  171. package/dist/powerlines/src/types/commands.d.mts +0 -9
  172. package/dist/powerlines/src/types/config.d.cts +0 -380
  173. package/dist/powerlines/src/types/config.d.mts +0 -381
  174. package/dist/powerlines/src/types/context.d.cts +0 -414
  175. package/dist/powerlines/src/types/context.d.mts +0 -416
  176. package/dist/powerlines/src/types/fs.d.cts +0 -486
  177. package/dist/powerlines/src/types/fs.d.mts +0 -486
  178. package/dist/powerlines/src/types/hooks.d.mts +0 -2
  179. package/dist/powerlines/src/types/plugin.d.cts +0 -231
  180. package/dist/powerlines/src/types/plugin.d.mts +0 -231
  181. package/dist/powerlines/src/types/resolved.d.cts +0 -82
  182. package/dist/powerlines/src/types/resolved.d.mts +0 -83
  183. package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
  184. package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
@@ -1,69 +0,0 @@
1
- import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
2
- import ts from "typescript";
3
-
4
- //#region ../powerlines/src/types/tsconfig.d.ts
5
- type ReflectionMode = "default" | "explicit" | "never";
6
- type RawReflectionMode = ReflectionMode | "" | boolean | string | string[] | undefined;
7
- /**
8
- * Defines the level of reflection to be used during the transpilation process.
9
- *
10
- * @remarks
11
- * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
12
- * - `minimal` - Only the essential type information is captured.
13
- * - `normal` - Additional type information is captured, including some contextual data.
14
- * - `verbose` - All available type information is captured, including detailed contextual data.
15
- */
16
- type ReflectionLevel = "minimal" | "normal" | "verbose";
17
- interface DeepkitOptions {
18
- /**
19
- * Either true to activate reflection for all files compiled using this tsconfig,
20
- * or a list of globs/file paths relative to this tsconfig.json.
21
- * Globs/file paths can be prefixed with a ! to exclude them.
22
- */
23
- reflection?: RawReflectionMode;
24
- /**
25
- * Defines the level of reflection to be used during the transpilation process.
26
- *
27
- * @remarks
28
- * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
29
- * - `minimal` - Only the essential type information is captured.
30
- * - `normal` - Additional type information is captured, including some contextual data.
31
- * - `verbose` - All available type information is captured, including detailed contextual data.
32
- */
33
- reflectionLevel?: ReflectionLevel;
34
- }
35
- type TSCompilerOptions = CompilerOptions & DeepkitOptions;
36
- /**
37
- * The TypeScript compiler configuration.
38
- *
39
- * @see https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
40
- */
41
- interface TSConfig extends Omit<TsConfigJson, "reflection"> {
42
- /**
43
- * Either true to activate reflection for all files compiled using this tsconfig,
44
- * or a list of globs/file paths relative to this tsconfig.json.
45
- * Globs/file paths can be prefixed with a ! to exclude them.
46
- */
47
- reflection?: RawReflectionMode;
48
- /**
49
- * Defines the level of reflection to be used during the transpilation process.
50
- *
51
- * @remarks
52
- * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
53
- * - `minimal` - Only the essential type information is captured.
54
- * - `normal` - Additional type information is captured, including some contextual data.
55
- * - `verbose` - All available type information is captured, including detailed contextual data.
56
- */
57
- reflectionLevel?: ReflectionLevel;
58
- /**
59
- * Instructs the TypeScript compiler how to compile `.ts` files.
60
- */
61
- compilerOptions?: TSCompilerOptions;
62
- }
63
- type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
64
- originalTsconfigJson: TsConfigJson;
65
- tsconfigJson: TSConfig;
66
- tsconfigFilePath: string;
67
- };
68
- //#endregion
69
- export { ParsedTypeScriptConfig, TSConfig };
@@ -1,69 +0,0 @@
1
- import ts from "typescript";
2
- import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
3
-
4
- //#region ../powerlines/src/types/tsconfig.d.ts
5
- type ReflectionMode = "default" | "explicit" | "never";
6
- type RawReflectionMode = ReflectionMode | "" | boolean | string | string[] | undefined;
7
- /**
8
- * Defines the level of reflection to be used during the transpilation process.
9
- *
10
- * @remarks
11
- * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
12
- * - `minimal` - Only the essential type information is captured.
13
- * - `normal` - Additional type information is captured, including some contextual data.
14
- * - `verbose` - All available type information is captured, including detailed contextual data.
15
- */
16
- type ReflectionLevel = "minimal" | "normal" | "verbose";
17
- interface DeepkitOptions {
18
- /**
19
- * Either true to activate reflection for all files compiled using this tsconfig,
20
- * or a list of globs/file paths relative to this tsconfig.json.
21
- * Globs/file paths can be prefixed with a ! to exclude them.
22
- */
23
- reflection?: RawReflectionMode;
24
- /**
25
- * Defines the level of reflection to be used during the transpilation process.
26
- *
27
- * @remarks
28
- * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
29
- * - `minimal` - Only the essential type information is captured.
30
- * - `normal` - Additional type information is captured, including some contextual data.
31
- * - `verbose` - All available type information is captured, including detailed contextual data.
32
- */
33
- reflectionLevel?: ReflectionLevel;
34
- }
35
- type TSCompilerOptions = CompilerOptions & DeepkitOptions;
36
- /**
37
- * The TypeScript compiler configuration.
38
- *
39
- * @see https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
40
- */
41
- interface TSConfig extends Omit<TsConfigJson, "reflection"> {
42
- /**
43
- * Either true to activate reflection for all files compiled using this tsconfig,
44
- * or a list of globs/file paths relative to this tsconfig.json.
45
- * Globs/file paths can be prefixed with a ! to exclude them.
46
- */
47
- reflection?: RawReflectionMode;
48
- /**
49
- * Defines the level of reflection to be used during the transpilation process.
50
- *
51
- * @remarks
52
- * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
53
- * - `minimal` - Only the essential type information is captured.
54
- * - `normal` - Additional type information is captured, including some contextual data.
55
- * - `verbose` - All available type information is captured, including detailed contextual data.
56
- */
57
- reflectionLevel?: ReflectionLevel;
58
- /**
59
- * Instructs the TypeScript compiler how to compile `.ts` files.
60
- */
61
- compilerOptions?: TSCompilerOptions;
62
- }
63
- type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
64
- originalTsconfigJson: TsConfigJson;
65
- tsconfigJson: TSConfig;
66
- tsconfigFilePath: string;
67
- };
68
- //#endregion
69
- export { ParsedTypeScriptConfig, TSConfig };