File tree 5 files changed +14
-14
lines changed
5 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1
1
cabal-version : 1.12
2
2
3
- -- This file has been generated from package.yaml by hpack version 0.31.1 .
3
+ -- This file has been generated from package.yaml by hpack version 0.31.2 .
4
4
--
5
5
-- see: https://github.com/sol/hpack
6
6
--
7
- -- hash: e7cff7f0f8e0a24c815714efc642a28f90928aa4c4dc7cc5743c8bfb9ece772c
7
+ -- hash: 107f33201b37a94190519b2e8eb100aa18aadf1f6567dca84d9482b4c7c68a8b
8
8
9
9
name : curl-runnings
10
10
version : 0.10.0
@@ -43,9 +43,8 @@ library
43
43
, hspec >= 2.4.4
44
44
, hspec-expectations >= 0.8.2
45
45
, http-client-tls >= 0.3.5.3
46
- , http-conduit >= 2.2.4
47
- , http-types >= 0.9.1
48
- , megaparsec >= 6.3.0
46
+ , http-conduit >= 2.3.6
47
+ , megaparsec >= 7.0.4
49
48
, pretty-simple >= 2.0.2.1
50
49
, regex-posix >= 0.95.2
51
50
, text >= 1.2.2.2
Original file line number Diff line number Diff line change @@ -31,9 +31,8 @@ library:
31
31
- directory >=1.3.0.2
32
32
- hspec >= 2.4.4
33
33
- hspec-expectations >=0.8.2
34
- - http-conduit >=2.2.4
35
- - http-types >=0.9.1
36
- - megaparsec >=6.3.0
34
+ - http-conduit >=2.3.6
35
+ - megaparsec >=7.0.4
37
36
- connection >=0.2.8
38
37
- http-client-tls >=0.3.5.3
39
38
- pretty-simple >=2.0.2.1
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ import qualified Data.Yaml.Include as YI
27
27
import Network.Connection (TLSSettings (.. ))
28
28
import Network.HTTP.Client.TLS (mkManagerSettings )
29
29
import Network.HTTP.Conduit
30
- import Network.HTTP.Simple
31
- import qualified Network.HTTP.Types.Header as HTTP
30
+ import Network.HTTP.Simple hiding ( Header )
31
+ import qualified Network.HTTP.Simple as HTTP
32
32
import System.Directory
33
33
import System.Environment
34
34
import Testing.CurlRunnings.Internal
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ parseQuery q =
48
48
let trimmed = T. strip q
49
49
in case Text.Megaparsec. parse parseFullTextWithQuery " " trimmed of
50
50
Right a -> Right a >>= validateQuery
51
- Left a -> Left $ QueryParseError (T. pack $ parseErrorPretty a) q
51
+ Left a -> Left $ QueryParseError (T. pack $ errorBundlePretty a) q
52
52
53
53
-- | Once we have parsed a query successfully, ensure that it is a legal query
54
54
validateQuery :: [InterpolatedQuery ] -> Either QueryError [InterpolatedQuery ]
@@ -137,11 +137,11 @@ interpolatedQueryParser = do
137
137
else return $ InterpolatedQuery (T. pack text) q
138
138
139
139
leadingText :: Parser String
140
- leadingText = manyTill anyChar $ lookAhead (symbol " $<" <|> " ${" )
140
+ leadingText = manyTill anySingle $ lookAhead (symbol " $<" <|> " ${" )
141
141
142
142
noQueryText :: Parser InterpolatedQuery
143
143
noQueryText = do
144
- str <- some anyChar
144
+ str <- some anySingle
145
145
eof
146
146
if " $<" `isInfixOf` str
147
147
then fail " invalid `$<` found"
Original file line number Diff line number Diff line change 15
15
# resolver:
16
16
# name: custom-snapshot
17
17
# location: "./custom-snapshot.yaml"
18
- resolver : lts-12.14
18
+ resolver : lts-13.13
19
19
20
20
# User packages to be built.
21
21
# Various formats can be used as shown in the example below.
@@ -40,6 +40,8 @@ packages:
40
40
# Dependency packages to be pulled from upstream that are not in the resolver
41
41
# (e.g., acme-missiles-0.3)
42
42
# extra-deps: []
43
+ extra-deps :
44
+ - pretty-simple-2.1.0.1
43
45
44
46
# Override default flag values for local packages and extra-deps
45
47
# flags: {}
You can’t perform that action at this time.
0 commit comments