@unraven/env 1.0.0 → 1.0.1

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 (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -57,7 +57,7 @@ declare class Formatter<T extends Record<string, new (type: string) => Formatter
57
57
  private formatters;
58
58
  constructor(formatters: T);
59
59
  use<Type extends Format>(type: Type): InstanceType<T[Type]>;
60
- detect(file: string): string;
60
+ detect(file: string): "json" | "yaml" | "dotenv";
61
61
  format<Type extends Format>(type: Type, items: Formattable[], options?: Parameters<InstanceType<T[Type]>['format']>[1]): string;
62
62
  }
63
63
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unraven/env",
3
3
  "type": "module",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "description": "Environment utilities for Unraven projects.",
6
6
  "files": [
7
7
  "dist"