@powerlines/plugin-crypto 0.10.113 → 0.10.115

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.
@@ -19,7 +19,9 @@ let __stryke_type_checks_is_empty_object = require("@stryke/type-checks/is-empty
19
19
  * @returns The runtime type definition file for the environment variables.
20
20
  */
21
21
  async function resolveRuntimeTypeFile(context) {
22
- return context.resolver.esmResolve("@powerlines/plugin-env/types/runtime");
22
+ const resolved = await context.fs.resolve("@powerlines/plugin-env/types/runtime");
23
+ if (!resolved) throw new Error(`Failed to resolve the runtime type definition file for the environment variables. Please ensure that the "@powerlines/plugin-env" package is installed.`);
24
+ return resolved;
23
25
  }
24
26
  /**
25
27
  * Gets the default type definition for the environment variables.
@@ -17,7 +17,9 @@ import { isEmptyObject } from "@stryke/type-checks/is-empty-object";
17
17
  * @returns The runtime type definition file for the environment variables.
18
18
  */
19
19
  async function resolveRuntimeTypeFile(context) {
20
- return context.resolver.esmResolve("@powerlines/plugin-env/types/runtime");
20
+ const resolved = await context.fs.resolve("@powerlines/plugin-env/types/runtime");
21
+ if (!resolved) throw new Error(`Failed to resolve the runtime type definition file for the environment variables. Please ensure that the "@powerlines/plugin-env" package is installed.`);
22
+ return resolved;
21
23
  }
22
24
  /**
23
25
  * Gets the default type definition for the environment variables.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-crypto",
3
- "version": "0.10.113",
3
+ "version": "0.10.115",
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": {
@@ -128,17 +128,17 @@
128
128
  "files": ["dist/**/*"],
129
129
  "keywords": ["powerlines", "storm-software", "powerlines-plugin"],
130
130
  "dependencies": {
131
- "@powerlines/plugin-env": "^0.15.10",
131
+ "@powerlines/plugin-env": "^0.15.12",
132
132
  "@storm-software/config-tools": "^1.188.75",
133
133
  "@stryke/path": "^0.24.1",
134
134
  "defu": "^6.1.4",
135
- "powerlines": "^0.37.0",
135
+ "powerlines": "^0.37.1",
136
136
  "@noble/ciphers": "^2.1.1"
137
137
  },
138
138
  "devDependencies": {
139
- "@powerlines/nx": "^0.11.56",
139
+ "@powerlines/nx": "^0.11.57",
140
140
  "@types/node": "^24.10.4"
141
141
  },
142
142
  "publishConfig": { "access": "public" },
143
- "gitHead": "00141b82214ec2772cec7ec7873aba06f593289b"
143
+ "gitHead": "9567467b551ffd217efb054b6eee482a880bc672"
144
144
  }