From e570e6416e6bc3efd4d8e58a34b8731dfdb64dae Mon Sep 17 00:00:00 2001 From: Przemek Kaminski Date: Wed, 15 Jan 2020 09:37:33 +0100 Subject: [PATCH 1/3] Update PS to 0.13.5 --- bower.json | 4 ++-- package.json | 5 ++++- src/Text/Markdown/SlamDown/Pretty.purs | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/bower.json b/bower.json index d8eeffa..85f257e 100644 --- a/bower.json +++ b/bower.json @@ -29,8 +29,8 @@ "purescript-ordered-collections": "^1.0.0", "purescript-parsing": "^5.0.1", "purescript-partial": "^2.0.0", - "purescript-precise": "^3.0.1", - "purescript-prelude": "^4.0.1", + "purescript-precise": "git@github.com:poorscript/purescript-precise", + "purescript-prelude": "^4.1.1", "purescript-strings": "^4.0.0", "purescript-unicode": "^4.0.1", "purescript-validation": "^4.0.0" diff --git a/package.json b/package.json index 83a2be5..3c1a749 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,11 @@ }, "devDependencies": { "pulp": "^12.3.0", - "purescript": "^0.12.0", + "purescript": "^0.13.5", "purescript-psa": "^0.6.0", "rimraf": "^2.5.4" + }, + "dependencies": { + "bower": "^1.8.8" } } diff --git a/src/Text/Markdown/SlamDown/Pretty.purs b/src/Text/Markdown/SlamDown/Pretty.purs index 07d7ed5..39ef91a 100644 --- a/src/Text/Markdown/SlamDown/Pretty.purs +++ b/src/Text/Markdown/SlamDown/Pretty.purs @@ -103,7 +103,7 @@ prettyPrintInline il = star = if r then "*" else" " in esc l <> star <> " = " <> prettyPrintFormElement e - where + where esc s = M.maybe s (const $ "[" <> s <> "]") $ S.indexOf (S.Pattern " ") s From 21784269e9335f7a958a29498a48a7a53061c7ac Mon Sep 17 00:00:00 2001 From: Przemek Kaminski Date: Wed, 15 Jan 2020 09:46:54 +0100 Subject: [PATCH 2/3] bower.json fix for the github source for purescript-precise --- bower.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 85f257e..f2832f1 100644 --- a/bower.json +++ b/bower.json @@ -29,7 +29,7 @@ "purescript-ordered-collections": "^1.0.0", "purescript-parsing": "^5.0.1", "purescript-partial": "^2.0.0", - "purescript-precise": "git@github.com:poorscript/purescript-precise", + "purescript-precise": "https://github.com/poorscript/purescript-precise.git", "purescript-prelude": "^4.1.1", "purescript-strings": "^4.0.0", "purescript-unicode": "^4.0.1", From b51ee0e4aa04c9e6a5a70f2552a400c3f9cad439 Mon Sep 17 00:00:00 2001 From: Przemek Kaminski Date: Thu, 16 Jan 2020 12:21:23 +0100 Subject: [PATCH 3/3] Remove bower as dependency --- package.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/package.json b/package.json index 3c1a749..782204b 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,5 @@ "purescript": "^0.13.5", "purescript-psa": "^0.6.0", "rimraf": "^2.5.4" - }, - "dependencies": { - "bower": "^1.8.8" } }