@powerlines/plugin-crypto 0.10.119 → 0.10.121

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.cjs CHANGED
@@ -35,7 +35,7 @@ function plugin(options = {}) {
35
35
  },
36
36
  async prepare() {
37
37
  this.log(__storm_software_config_tools_types.LogLevelLabel.TRACE, `Preparing the Crypto runtime artifacts for the Powerlines project.`);
38
- await this.emitBuiltin(await Promise.resolve(require_crypto.cryptoModule(this)), "crypto", "crypto.ts");
38
+ await this.emitBuiltin(await Promise.resolve(require_crypto.cryptoModule(this)), "crypto");
39
39
  }
40
40
  }];
41
41
  }
package/dist/index.mjs CHANGED
@@ -31,7 +31,7 @@ function plugin(options = {}) {
31
31
  },
32
32
  async prepare() {
33
33
  this.log(LogLevelLabel.TRACE, `Preparing the Crypto runtime artifacts for the Powerlines project.`);
34
- await this.emitBuiltin(await Promise.resolve(cryptoModule(this)), "crypto", "crypto.ts");
34
+ await this.emitBuiltin(await Promise.resolve(cryptoModule(this)), "crypto");
35
35
  }
36
36
  }];
37
37
  }
@@ -22,13 +22,6 @@ import { RequestInfo, Response } from "undici";
22
22
  * The severity level of a log message.
23
23
  */
24
24
  type LogLevel = "debug" | "info" | "warning" | "error" | "fatal";
25
- declare const LogLevel: {
26
- DEBUG: LogLevel;
27
- INFO: LogLevel;
28
- WARNING: LogLevel;
29
- ERROR: LogLevel;
30
- FATAL: LogLevel;
31
- };
32
25
  interface MetaInfo {
33
26
  /**
34
27
  * The checksum generated from the resolved options
@@ -337,19 +330,17 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
337
330
  *
338
331
  * @param code - The source code of the builtin file
339
332
  * @param id - The unique identifier of the builtin file
340
- * @param path - An optional path to write the builtin file to
341
333
  * @param options - Additional options for writing the builtin file
342
334
  */
343
- emitBuiltin: (code: string, id: string, path?: string, options?: EmitOptions) => Promise<void>;
335
+ emitBuiltin: (code: string, id: string, options?: EmitOptions) => Promise<void>;
344
336
  /**
345
337
  * Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
346
338
  *
347
339
  * @param code - The source code of the builtin file
348
340
  * @param id - The unique identifier of the builtin file
349
- * @param path - An optional path to write the builtin file to
350
341
  * @param options - Additional options for writing the builtin file
351
342
  */
352
- emitBuiltinSync: (code: string, id: string, path?: string, options?: EmitOptions) => void;
343
+ emitBuiltinSync: (code: string, id: string, options?: EmitOptions) => void;
353
344
  /**
354
345
  * Resolves a entry virtual file and writes it to the VFS if it does not already exist
355
346
  *
@@ -22,13 +22,6 @@ import { RequestInfo, Response } from "undici";
22
22
  * The severity level of a log message.
23
23
  */
24
24
  type LogLevel = "debug" | "info" | "warning" | "error" | "fatal";
25
- declare const LogLevel: {
26
- DEBUG: LogLevel;
27
- INFO: LogLevel;
28
- WARNING: LogLevel;
29
- ERROR: LogLevel;
30
- FATAL: LogLevel;
31
- };
32
25
  interface MetaInfo {
33
26
  /**
34
27
  * The checksum generated from the resolved options
@@ -337,19 +330,17 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
337
330
  *
338
331
  * @param code - The source code of the builtin file
339
332
  * @param id - The unique identifier of the builtin file
340
- * @param path - An optional path to write the builtin file to
341
333
  * @param options - Additional options for writing the builtin file
342
334
  */
343
- emitBuiltin: (code: string, id: string, path?: string, options?: EmitOptions) => Promise<void>;
335
+ emitBuiltin: (code: string, id: string, options?: EmitOptions) => Promise<void>;
344
336
  /**
345
337
  * Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
346
338
  *
347
339
  * @param code - The source code of the builtin file
348
340
  * @param id - The unique identifier of the builtin file
349
- * @param path - An optional path to write the builtin file to
350
341
  * @param options - Additional options for writing the builtin file
351
342
  */
352
- emitBuiltinSync: (code: string, id: string, path?: string, options?: EmitOptions) => void;
343
+ emitBuiltinSync: (code: string, id: string, options?: EmitOptions) => void;
353
344
  /**
354
345
  * Resolves a entry virtual file and writes it to the VFS if it does not already exist
355
346
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-crypto",
3
- "version": "0.10.119",
3
+ "version": "0.10.121",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin that provides unique identifier generation capabilities at runtime by adding the `id` builtin module.",
6
6
  "repository": {
@@ -129,16 +129,16 @@
129
129
  "keywords": ["powerlines", "storm-software", "powerlines-plugin"],
130
130
  "dependencies": {
131
131
  "@noble/ciphers": "^2.1.1",
132
- "@powerlines/plugin-env": "^0.15.16",
132
+ "@powerlines/plugin-env": "^0.15.18",
133
133
  "@storm-software/config-tools": "^1.188.75",
134
134
  "@stryke/path": "^0.24.1",
135
135
  "defu": "^6.1.4",
136
- "powerlines": "^0.37.5"
136
+ "powerlines": "^0.37.7"
137
137
  },
138
138
  "devDependencies": {
139
- "@powerlines/plugin-plugin": "^0.12.83",
139
+ "@powerlines/plugin-plugin": "^0.12.85",
140
140
  "@types/node": "^24.10.4"
141
141
  },
142
142
  "publishConfig": { "access": "public" },
143
- "gitHead": "cde0a30e0b06424661720ed40b29ae6f67a9ebcc"
143
+ "gitHead": "59db410d946ed8bbbff6ee6230b0716b91ef0115"
144
144
  }