Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
- name: Run tests
run: |
bower install
# npm run-script test --if-present
npm run-script test --if-present
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ Notable changes to this project are documented in this file. The format is based

## [Unreleased]

Breaking changes:

New features:

Bugfixes:

Other improvements:

## [v7.0.0](https://github.com/purescript-node/purescript-node-http/releases/tag/v7.0.0) - 2022-04-28

Breaking changes:
- Update project and deps to PureScript v0.15.0 (#41 by @JordanMartinez, @sigma-andex)

Expand Down
30 changes: 15 additions & 15 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@
"url": "https://github.com/purescript-node/purescript-node-http.git"
},
"devDependencies": {
"purescript-console": "master"
"purescript-console": "^6.0.0"
},
"dependencies": {
"purescript-arraybuffer-types": "main",
"purescript-contravariant": "master",
"purescript-effect": "master",
"purescript-foreign": "master",
"purescript-foreign-object": "master",
"purescript-maybe": "master",
"purescript-node-buffer": "master",
"purescript-node-net": "master",
"purescript-node-streams": "master",
"purescript-node-url": "master",
"purescript-nullable": "main",
"purescript-options": "main",
"purescript-prelude": "master",
"purescript-unsafe-coerce": "master"
"purescript-arraybuffer-types": "^3.0.2",
"purescript-contravariant": "^6.0.0",
"purescript-effect": "^4.0.0",
"purescript-foreign": "^7.0.0",
"purescript-foreign-object": "^4.0.0",
"purescript-maybe": "^6.0.0",
"purescript-node-buffer": "^8.0.0",
"purescript-node-net": "^3.0.0",
"purescript-node-streams": "^6.0.0",
"purescript-node-url": "^6.0.0",
"purescript-nullable": "^6.0.0",
"purescript-options": "^7.0.0",
"purescript-prelude": "^6.0.0",
"purescript-unsafe-coerce": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion test/Main.purs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ respond req res = do
, "</form>"
]
setHeader res "Content-Type" "text/html"
_ <- writeString outputStream UTF8 html (pure unit)
_ <- writeString outputStream UTF8 html mempty
end outputStream (pure unit)
"POST" -> void $ pipe inputStream outputStream
_ -> unsafeCrashWith "Unexpected HTTP method"
Expand Down