@forklaunch/common 0.6.14 → 0.6.15

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/lib/index.d.mts CHANGED
@@ -210,6 +210,15 @@ declare function extractArgumentNames(func: {
210
210
  toString(): string;
211
211
  }): string[];
212
212
 
213
+ /**
214
+ * Gets an environment variable and casts it to a string.
215
+ *
216
+ * It casts a potentially undefined value to a string, since it will be validated
217
+ * in order to be bootstrapped.
218
+ *
219
+ * @param name - The name of the environment variable to retrieve
220
+ * @returns The environment variable value as a string
221
+ */
213
222
  declare function getEnvVar(name: string): string;
214
223
 
215
224
  declare function isAsyncGenerator<T>(value: unknown): value is AsyncGenerator<T>;
package/lib/index.d.ts CHANGED
@@ -210,6 +210,15 @@ declare function extractArgumentNames(func: {
210
210
  toString(): string;
211
211
  }): string[];
212
212
 
213
+ /**
214
+ * Gets an environment variable and casts it to a string.
215
+ *
216
+ * It casts a potentially undefined value to a string, since it will be validated
217
+ * in order to be bootstrapped.
218
+ *
219
+ * @param name - The name of the environment variable to retrieve
220
+ * @returns The environment variable value as a string
221
+ */
213
222
  declare function getEnvVar(name: string): string;
214
223
 
215
224
  declare function isAsyncGenerator<T>(value: unknown): value is AsyncGenerator<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/common",
3
- "version": "0.6.14",
3
+ "version": "0.6.15",
4
4
  "description": "Common package for base types, interfaces, implementations.",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -28,15 +28,15 @@
28
28
  "lib/**"
29
29
  ],
30
30
  "devDependencies": {
31
- "@eslint/js": "^9.36.0",
32
- "@types/node": "^24.6.0",
33
- "@typescript/native-preview": "7.0.0-dev.20250930.1",
31
+ "@eslint/js": "^9.37.0",
32
+ "@types/node": "^24.6.2",
33
+ "@typescript/native-preview": "7.0.0-dev.20251003.1",
34
34
  "depcheck": "^1.4.7",
35
- "eslint": "^9.36.0",
35
+ "eslint": "^9.37.0",
36
36
  "globals": "^16.4.0",
37
37
  "tsup": "^8.5.0",
38
38
  "typedoc": "^0.28.13",
39
- "typescript": "^5.9.2",
39
+ "typescript": "^5.9.3",
40
40
  "typescript-eslint": "^8.45.0",
41
41
  "vitest": "^3.2.4"
42
42
  },