This repository was archived by the owner on Jun 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +16
-19
lines changed
src/Data/Json/Extended/Signature Expand file tree Collapse file tree 5 files changed +16
-19
lines changed Original file line number Diff line number Diff line change 11language : node_js
22dist : trusty
33sudo : required
4- node_js : 6
4+ node_js : stable
55install :
66 - npm install -g bower
77 - npm install
Original file line number Diff line number Diff line change 11# purescript-ejson
22
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 )
65
76EJSON data representation, as used by [ Quasar] ( https://github.com/quasar-analytics/quasar ) .
87
Original file line number Diff line number Diff line change 1515 " package.json"
1616 ],
1717 "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"
2626 }
2727}
Original file line number Diff line number Diff line change 77 },
88 "devDependencies" : {
99 "pulp" : " ^9.0.1" ,
10- "purescript" : " ^0.9 .1" ,
10+ "purescript" : " ^0.10 .1" ,
1111 "purescript-psa" : " ^0.3.9" ,
12- "rimraf" : " ^2.5.0 "
12+ "rimraf" : " ^2.5.4 "
1313 }
1414}
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ import Data.Either (fromRight)
88import Data.Foldable as F
99import Data.HugeNum as HN
1010import 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
1213import Data.Tuple as T
1314import Partial.Unsafe (unsafePartial )
1415
@@ -45,10 +46,7 @@ renderEJsonF rec d =
4546 → String
4647 → String
4748 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
5250
5351 -- | Surround text in double quotes, escaping internal double quotes.
5452 stringEJson
You can’t perform that action at this time.
0 commit comments