Skip to content

Upgrading dotenv 11 to 12

Breaking11.0.0 → 12.0.4Breaking1Changed3Other5

BreakingUpgrade verdict

1 breaking change.

  • If you relied on the package's Flow type definitions, they are no longer provided.
1 item needs code or config changes
Breaking1
Drops support for the Flow static type checker.

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • added: function config(options?: DotenvConfigOptions): DotenvConfigOutput
  • added: function parse<T extends DotenvParseOutput = DotenvParseOutput>(src: string | Buffer, options?: DotenvParseOptions): T
  • added: index DotenvParseOutput[name: string]: string
  • added: interface DotenvConfigOptions
  • added: interface DotenvConfigOutput
  • added: interface DotenvParseOptions
  • added: interface DotenvParseOutput
  • added: property DotenvConfigOptions.debug?: boolean
  • added: property DotenvConfigOptions.encoding?: string
  • added: property DotenvConfigOptions.path?: string
  • added: property DotenvConfigOutput.error?: Error
  • added: property DotenvConfigOutput.parsed?: DotenvParseOutput
  • added: property DotenvParseOptions.debug?: boolean
  • removed: const load: typeof config
  • removed: function config(options?: DotenvConfigOptions): DotenvConfigOutput
  • removed: function parse<T extends DotenvParseOutput = DotenvParseOutput>(src: string | Buffer, options?: DotenvParseOptions): T
  • removed: index DotenvParseOutput[name: string]: string
  • removed: interface DotenvConfigOptions
  • removed: interface DotenvConfigOutput
  • removed: interface DotenvParseOptions
  • removed: interface DotenvParseOutput
  • removed: property DotenvConfigOptions.debug?: boolean
  • removed: property DotenvConfigOptions.encoding?: string
  • removed: property DotenvConfigOptions.path?: string
  • removed: property DotenvConfigOutput.error?: Error
  • removed: property DotenvConfigOutput.parsed?: DotenvParseOutput
  • removed: property DotenvParseOptions.debug?: boolean