This repository was archived by the owner on Jun 15, 2023. It is now read-only.
File tree 5 files changed +16
-19
lines changed
src/Data/Json/Extended/Signature
5 files changed +16
-19
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
dist : trusty
3
3
sudo : required
4
- node_js : 6
4
+ node_js : stable
5
5
install :
6
6
- npm install -g bower
7
7
- npm install
Original file line number Diff line number Diff line change 1
1
# purescript-ejson
2
2
3
- [ ![ Latest release] ( http://img.shields.io/bower/v/purescript-ejson.svg )] ( https://github.com/slamdata/purescript-ejson/releases )
4
- [ ![ Build Status] ( https://travis-ci.org/slamdata/purescript-ejson.svg?branch=master )] ( https://travis-ci.org/slamdata/purescript-ejson )
5
- [ ![ Dependency Status] ( https://www.versioneye.com/user/projects/578d451f3e6a8b00457f8efe/badge.svg?style=flat )] ( https://www.versioneye.com/user/projects/578d451f3e6a8b00457f8efe )
3
+ [ ![ Latest release] ( http://img.shields.io/github/release/slamdata/purescript-ejson.svg )] ( https://github.com/slamdata/purescript-ejson/releases )
4
+ [ ![ Build status] ( https://travis-ci.org/slamdata/purescript-ejson.svg?branch=master )] ( https://travis-ci.org/slamdata/purescript-ejson )
6
5
7
6
EJSON data representation, as used by [ Quasar] ( https://github.com/quasar-analytics/quasar ) .
8
7
Original file line number Diff line number Diff line change 15
15
" package.json"
16
16
],
17
17
"dependencies" : {
18
- "purescript-argonaut-codecs" : " ^1 .0.0" ,
19
- "purescript-argonaut-core" : " ^1 .0.0 " ,
20
- "purescript-bifunctors" : " ^1 .0.0" ,
21
- "purescript-fixed-points" : " ^1 .0.0" ,
22
- "purescript-hugenums " : " ^2.0.0" ,
23
- "purescript-maps " : " ^1 .0.0" ,
24
- "purescript-parsing " : " ^1.0.0" ,
25
- "purescript-strongcheck" : " ^1 .0.0"
18
+ "purescript-argonaut-codecs" : " ^2 .0.0" ,
19
+ "purescript-argonaut-core" : " ^2 .0.1 " ,
20
+ "purescript-bifunctors" : " ^2 .0.0" ,
21
+ "purescript-fixed-points" : " ^2 .0.0" ,
22
+ "purescript-maps " : " ^2.0.0" ,
23
+ "purescript-parsing " : " ^3 .0.0" ,
24
+ "purescript-precise " : " ^1.0.0" ,
25
+ "purescript-strongcheck" : " ^2 .0.0"
26
26
}
27
27
}
Original file line number Diff line number Diff line change 7
7
},
8
8
"devDependencies" : {
9
9
"pulp" : " ^9.0.1" ,
10
- "purescript" : " ^0.9 .1" ,
10
+ "purescript" : " ^0.10 .1" ,
11
11
"purescript-psa" : " ^0.3.9" ,
12
- "rimraf" : " ^2.5.0 "
12
+ "rimraf" : " ^2.5.4 "
13
13
}
14
14
}
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ import Data.Either (fromRight)
8
8
import Data.Foldable as F
9
9
import Data.HugeNum as HN
10
10
import Data.Json.Extended.Signature.Core (EJsonF (..))
11
- import Data.String.Regex as Rx
11
+ import Data.String.Regex as RX
12
+ import Data.String.Regex.Flags as RXF
12
13
import Data.Tuple as T
13
14
import Partial.Unsafe (unsafePartial )
14
15
@@ -45,10 +46,7 @@ renderEJsonF rec d =
45
46
→ String
46
47
→ String
47
48
replaceAll i =
48
- Rx .replace $
49
- unsafePartial fromRight $
50
- Rx .regex i $
51
- Rx .noFlags { global = true }
49
+ RX .replace $ unsafePartial fromRight $ RX .regex i RXF .global
52
50
53
51
-- | Surround text in double quotes, escaping internal double quotes.
54
52
stringEJson
You can’t perform that action at this time.
0 commit comments