Commit Graph

30 Commits

Author SHA1 Message Date
sigma-andex
be78b82445
Fix justifill version 2022-05-22 20:08:29 +01:00
sigma-andex
bc36dfe116
Update bower.json 2022-05-22 19:41:37 +01:00
sigma-andex
1f0f1ac8d9
Update bower.json 2022-05-22 19:40:55 +01:00
sigma-andex
d257b561aa
Update bower.json 2022-05-22 19:37:50 +01:00
sigma-andex
e2426daa9d
Fix package meta info 2022-05-22 19:37:14 +01:00
sigma-andex
56ac8b263b
Update bower.json 2022-05-22 19:33:51 +01:00
Thomas Honeyman
42bf4475e0
Update for PureScript 0.15 (#194)
* Update shell and packages

* Fix code for 0.15

* Fix tests

* Format

* Add check-pulp command

* Generate bowerfile

* Add check-pulp to CI

* Add nixfmt to formatting

* Fixup test helpers

* Take 2

* PR comments (#1)

* Nix cleanup from PR

* Use arrows functions

* Remove unnecessary step

Co-authored-by: Connor Prussin <connor@prussin.net>
2022-05-04 14:02:29 -07:00
Connor Prussin
e99713c830
Regenerate bower.json 2021-11-20 09:47:43 -08:00
Connor Prussin
beb4621f4b
Update project setup (#183)
* Update project setup to use spago.

* Add license and repo info to spago.dhall

* Fix check.yaml

* Remove unused dependencies

* Remove --no-install from checks.yaml

* Minor cleanup

* Readd nix checks

* Migrate everything to spago & remove Makefile

* Split nix environment install from build in workflow

* Fix NIX_PATH

* Make build step of workflow build everything

* Fix github action

Co-authored-by: sigma-andex <sigma.andex@pm.me>
2021-11-12 23:46:59 -08:00
Connor Prussin
c913cca696
Modernize tooling & fix CI (#168)
* Modernize tooling & fix CI

- Remove old spago & psc-package files
- Update dependencies
- Move to github actions instead of travis CI
- Use purescript 0.14.0 in nix-shell

* Re-add all referenced dependencies to bower file

* Build in a separate action step
2021-03-20 15:44:36 -07:00
Gareth Smith
d37096dcce Add some type declarations to get compatibility with node-buffer 6.x. (#149)
Since node-buffer 6.x is not yet in the package set, compatibility with
node-buffer 5.x is maintained.
2019-09-24 17:09:29 -07:00
Gareth Smith
4d5518eff5 Update the tests to work with purescript-spec v4.0.0 (#147)
This version was already being pulled in by the package set, so the
tests were breaking.

Also update bower.json to match the package set dependencies.
2019-09-23 13:14:21 -07:00
Nick Saunders
88e1dcde9e Provide utils from purescript-globals instead of FFI (#145) 2019-08-16 12:03:38 -07:00
Ping Chen
2a02d41954 Use Buffer.concat instead of string concatenation (#141)
* Bump dependency versions

* Use Buffer.concat, then convert to string on end
2019-06-03 10:43:10 -07:00
Hardy Jones
5d7c2c8bda Use CaseInsensitiveString for Headers (#138)
* v0.8.1

* Add failing tests for `Headers`

There's currently a bug with `Headers`:
if a header is created with uppercase characters, it can never be found.
The problem is that we only look for lowercase characters in the
`Lookup` instance for `Headers`.

* Convert `Headers` to use `CaseInsensitiveString`

In an effort to be more true to HTTP,
we make the header keys case-insensitive.
This fixes the issue of looking up a header where the casing is different,
Since `CaseInsensitiveString`s compare in a way that ignore casing.

The API for consumers for `Headers` stays the same,
but we get more correct code.
A win for all!
2019-04-25 20:06:15 -07:00
Connor Prussin
e64565e497
Add missing packages 2019-02-26 22:15:34 -08:00
Connor Prussin
1adbcecaaa
Chunked responses (#107)
* Chunked responses

* Remove Chunked newtype wrapper around Streams

* Use child process instead of ffi stream for chunked example

* Rename additionalHeaders to defaultHeaders

* Add History.md entry

* General cleanup
2018-08-30 15:01:49 -07:00
Petri Lehtinen
8badd62b3e PureScript 0.12 support (#89)
- Upgrade all dependencies
- Use Effect instead of Eff
- Use Foreign.Object instead of StrMap
- Use Effect.Ref instead of Control.Monad.ST
- Drop SecureServerM, it's the same as ServerM now
2018-07-08 16:16:48 -07:00
Connor Prussin
435003e2ab
Uprev dependencies 2018-02-24 18:51:07 -08:00
Connor Prussin
d50be71fdc Make ResponseM async (#71) 2017-09-27 06:55:36 -07:00
Connor Prussin
278e110d59 Improve and simplify APIs (#68) 2017-09-25 23:08:07 -07:00
Connor Prussin
61a66c324a Move to upstream purescript-node-http. (#59)
Move to upstream `purescript-node-http`
2017-08-01 22:08:27 -07:00
Connor Prussin
bd58415e3b Add SSL support (#55) 2017-08-01 22:08:27 -07:00
Connor Prussin
2707ebee5c Add purescript-aff to runtime dependencies 2017-07-18 00:01:35 -07:00
Connor Prussin
a2d81b8606 Rename top level directories to be purescript standard 2017-07-17 23:29:51 -07:00
Connor Prussin
44df22e331 #22 add support for writing headers and status (#32)
* Add support for writing status code

* Add support for writing headers

* Code cleanup
2017-07-17 16:42:13 -07:00
Connor Prussin
35d3f13c3a Refactor to take advantage of pattern matching as routing mechanism (#24) 2017-07-13 23:28:57 -07:00
Connor Prussin
cfcd867729 Clean up file naming and directory structure (#21) 2017-07-10 12:06:14 -07:00
Connor Prussin
cfd0a4b243 Test all the things! (#20) 2017-07-10 03:17:13 -07:00
Connor Prussin
17d39fcdc2 Initial commit with basic functionality and library structure. 2017-05-25 12:12:29 -07:00