dotenv 0.5.2.2 → 0.5.2.3
raw patch · 3 files changed
+10/−6 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +1/−1
- dotenv.cabal +1/−1
- src/Configuration/Dotenv/Parse.hs +8/−4
CHANGELOG.md view
@@ -1,5 +1,5 @@ ## MASTER-## Dotenv 0.5.2.2+## Dotenv 0.5.2.3 * Support `megaparsec` >= 6.4.0 ## Dotenv 0.5.2.1
dotenv.cabal view
@@ -1,5 +1,5 @@ name: dotenv-version: 0.5.2.2+version: 0.5.2.3 synopsis: Loads environment variables from dotenv files homepage: https://github.com/stackbuilders/dotenv-hs description:
src/Configuration/Dotenv/Parse.hs view
@@ -18,12 +18,16 @@ module Configuration.Dotenv.Parse (configParser) where import Configuration.Dotenv.ParsedVariable-#if !MIN_VERSION_megaparsec(6,4,0)-import Control.Applicative+#if MIN_VERSION_base(4,8,0)+import Control.Applicative (empty, many, some, (<|>))+#else+import Control.Applicative (empty, many, some, (*>),+ (<$>), (<*), (<*>), (<|>)) #endif-import Control.Monad+import Control.Monad (void) import Data.Void (Void)-import Text.Megaparsec+import Text.Megaparsec (Parsec, between, eof,+ sepEndBy, (<?>)) import Text.Megaparsec.Char import qualified Text.Megaparsec.Char.Lexer as L